Redboot Issues

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
pbix
Developer
Posts: 1373
Joined: Fri Aug 21, 2009 5:09 pm

Redboot Issues

Post by pbix »

I have an MR3201A router which normally I upgrade easily with FONFLASH. Well for whatever reason this not working for me today so after several hours of frustration I am delving into the world of RedBoot.

The good news is that I can telnet into the router on port 9000 and get the redboot prompt. The router comes up on 192.168.0.1 and my XP machine is 192.168.0.2. I did a "fis init" which seems to work OK. But loading images on this thing seems to be an issue. To check network connectivity I tried the 'PING -v -h 192.168.0.2' and I am not getting any responses. Using wireshark I can see that no ICMP requests are coming out of the router. If I ping from my XP machine I get valid responses.

So now I am confused. How can telnet be working over ethernet but the ping command not work? Is there some configuration somewhere that I need to set.

Output from 'fconfig'

Code: Select all

RedBoot> fconfig -l
Run script at boot: true
Boot script:

Boot script timeout (1000ms resolution): 3
Use BOOTP for network configuration: false
Gateway IP address: 192.168.0.2
Local IP address: 192.168.0.1
Local IP address mask: 255.255.255.0
Default server IP address: 192.168.0.2
Console baud rate: 9600
GDB connection port: 9000
Force console for special debug messages: false
Network debug at boot time: false
RedBoot>
I am afraid I have no experience with Redboot and hope someone can help me.
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: Redboot Issues

Post by DoesItMatter »

I used to do a lot of Redboot stuff with my Fon 2201+ before it died.

Try doing a full format using the command

fis init -f

It'll take a little longer, but it completely formats any data area
and also checks for bad spots in the flash

It's how I found out my Fon 2201+ was dying, it started having
flash memory errors

Can you still FonFlash the 1.3.x series of images?
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

pbix
Developer
Posts: 1373
Joined: Fri Aug 21, 2009 5:09 pm

Re: Redboot Issues

Post by pbix »

Thanks for the tip. I tried the command you gave and yes it took quite a bit longer to complete. But it did complete and there were no errors reported. At this point I don't think it matters what version of Gargoyle I attempt to load because it never gets to the point that it actually loads anything.

Here is what Fon Flash says and then it just hangs and I have to kill it.

Code: Select all

Reading image file D:\Z\Gargoyle\gargoyle_1.5.x-atheros-root.squashfs with 2883584 bytes, rounded to 0x002c0000
Reading image file D:\Z\Gargoyle\gargoyle_1.5.x-atheros-vmlinux.lzma with 851968 bytes, rounded to 0x000d0000
No packet.
No packet.
No packet.
No packet.
No packet.
No packet.
No packet.
Peer MAC: 00:12:cf:a4:3a:04
Peer IP : 192.168.0.1
Your MAC: 00:ba:be:ca:ff:ee
Your IP : 192.168.0.0

Setting IP address...
ip_addr -l 192.168.0.1/8 -h 192.168.0.0


Initializing partitions ...
fis init
As I said I can telnet into the device and get the RedBoot> prompt. Its just that things like PING and LOAD do not work.

I would hate to chuck this router because I think its pretty cool and take it traveling with me sometimes.
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

pbix
Developer
Posts: 1373
Joined: Fri Aug 21, 2009 5:09 pm

Re: Redboot Issues

Post by pbix »

After thinking about this for a day I tried running a freshly downloaded copy of Fon Flash on a different computer. The result was a successful flash and recovered router. I have no idea why this worked and no longer care but thought I would document what happened in this case.
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

Post Reply