Page 1 of 2

Flash Fonera2100 - problem

Posted: Tue Nov 17, 2015 10:36 am
by pathlost
Hello,

I had this old router with DD-WRT on it, a Fonera 2100. Somehow, the DD-WRT got corrupted, but I still had access to Redboot on 192.168.1.254.
Anyway, the dd-wrt support forum is awful and the build I was using was not working correctly in client mode. Hence, I got the idea to try out Gargoyle!

So, I downloaded Fonflash and the 2 files needed for stable version 1.4.7 (Atheros 231x). I set Fonflash to openwrt/Gargoyle, hit start flash and then plugin the router to power supply. I thought that, since I had the router with problems and needed to access Redboot to recover it, I might as well do in one step - loading a proper firmware with Fonflash, which I think is also accessing the Redboot.

After connecting to power supply, Fonflash started working, but it stalled right on the beggining:

>fis init...

And never went past this point. Which I think is not normal.
After more than 40 minutes, I uplugged the router and tested it. No more access to redboot on 192.168.1.254 :(. Also tested 192.168.1.1 and the last LAN IP the router had. No access. Fonflash also cannot connect anymore.

The only good news is that the router still receives IP via DHCP. I have it now with a dynamic IP on my LAN, but I can't connect to it in any way (SSH, telnet, http....).

Can someone point me the right way to recover it?
I think I will need to do a proper formating, maybe with "fis init -f" command, but for that I need redboot access...

Re: Flash Fonera2100 - problem

Posted: Wed Nov 18, 2015 4:22 am
by ispyisail
what operating system are you using?

Vista is the last OS that I could use fon flash with

windows XP is better for fon flash

Re: Flash Fonera2100 - problem

Posted: Wed Nov 18, 2015 10:52 am
by pathlost
I did the operation in 2 Foneras.
The 2nd one was OK, same method.

The first had some probelmas already, before using Fonflash. I can now acess to redboot, it is on the received IP (via DHCP), port 9000, mode telnet. What should I do now to cure the router?

"fis list" shows:

RedBoot> fis list
Name FLASH addr Mem addr Length Entry point
0xA8000000 0xA8000000 0x00030000 0x00000000
0xA8030000 0x80041000 0x00622000 0x80041000
0xA87E0000 0xA87E0000 0x0000F000 0x00000000
0xA87EF000 0xA87EF000 0x00001000 0x00000000


I might try to upload new software via redboot, but shouldn't I check the flash or something? The router got malfunctioning during some settings changes with DD-WRT build 14929. Maybe "fis init -f" to start with?

EDIT: just started the "fis init -f" command. It asked a confirmation question, I hit "y", and now... nothing... no output on putty so far... Has anyone experienced this behaviour?

Re: Flash Fonera2100 - problem

Posted: Wed Nov 18, 2015 5:38 pm
by pathlost
I lose connection everytime I do a "fis init" command.
The fis list is now empty!

I can still access to Redboot, I can transfer a "linux.bin" firmware file ok, but when I try to create the partition with "fis create linux", the connetion is lost (i'm monitoring with ping) and nothing appears on terminal window.

When I unplug and power in again, fonera is in the same state: no partitions created...

What can I do now?

fconfig -l shows this:
RedBoot> fconfig -l
Run script at boot: false
Use BOOTP for network configuration: true
Default server IP address: 0.0.0.0
Console baud rate: 9600
GDB connection port: 9000
Force console for special debug messages: false
Network debug at boot time: false
RedBoot>

Maybe the boot script is not OK?

Re: Flash Fonera2100 - problem

Posted: Thu Nov 19, 2015 5:37 am
by pathlost
Ok,

I have discovered that the write/erase opeations are taking a huge time to complete!! I let the router doing FIS INIT all night and it was completed in teh morning.

Can someone point me how to load Gargoyle manually? That is, without fonflash? I need to load and execute very gradually...

Re: Flash Fonera2100 - problem

Posted: Sat Nov 21, 2015 7:26 am
by pathlost
The router seems to be having some flash problems. Even editing and saving the boot script seems not to work. When I reboot, it still has the default values.

I already tried "fis init -f" several times
I already erased nvram.
I also tried to load "linux.bin" and "exec" in RAM to see if it boots, but no.

Does nyone know some useful commands in the redboot shell to better diagnose the issue? It seems almost like the FLASH is locked down, I can't write anything there...

Re: Flash Fonera2100 - problem

Posted: Sat Nov 21, 2015 3:51 pm
by nworbnhoj
You may get a better response to these type of low level technical questions over at the OpenWRT forum.

Re: Flash Fonera2100 - problem

Posted: Sat Nov 21, 2015 4:24 pm
by ispyisail
I suspect your hardware has failed?

Re: Flash Fonera2100 - problem

Posted: Sat Nov 21, 2015 8:05 pm
by pathlost
ispyisail wrote:I suspect your hardware has failed?
Maybe... i just want to be sure, so I can have peace of mind ;)
Also, it is always a good opportunity to learn something. For example, what is to be expected to get with "fis list" after we do "fis init"?

The image list is empty...

Re: Flash Fonera2100 - problem

Posted: Sun Nov 22, 2015 12:01 am
by ispyisail
pathlost wrote:
ispyisail wrote:I suspect your hardware has failed?
Maybe... i just want to be sure, so I can have peace of mind ;)
Also, it is always a good opportunity to learn something. For example, what is to be expected to get with "fis list" after we do "fis init"?

The image list is empty...
I know what you mean