Page 1 of 2
Fon Flash - D-Link DIR-300
Posted: Mon Apr 06, 2009 5:21 pm
by ispyisail
Hi
Im having problems installing gargoyle
I've flashed my dir-300 with dd-wrt and can manually access redboot.
Im sure that i could flash Gargoyle the manual way but i want to use "fon flash"
This is the error I get when i try to use fon flash

- fon flash.jpg (49.64 KiB) Viewed 25428 times
Any thoughts?
Re: Fon Flash - D-Link DIR-300
Posted: Tue Apr 07, 2009 7:21 am
by Eric
Well... it sounds like it can't get a redboot prompt on the router. For whatever reason it is having trouble getting in to redboot to run the necessary commands. Have you tried multiple times all with the same result? If not, try again and see if the same thing happens -- it could be the wait time is set really short on your router, and you'll need to try multiple times to get the query sent at just the right moment.
I don't have a Dir-300 so identifying the problem is difficult. I've only tested FonFlash on my La Fonera routers, and I haven't run into this problem.
Re: Fon Flash - D-Link DIR-300
Posted: Tue Apr 07, 2009 6:20 pm
by ispyisail
I tried "Fon Flash" a few times with the same result. I've increased the redboot wait time to 5 seconds so that shouldn't be a problem.
I use a batch file to connect to my router. First i set my ip address to 192.168.1.10 then run
redboot.bat
Code: Select all
rem echo off
:start
rem ------------------------------------------------
ping 192.168.1.1 -n 1 -w 5 > NULL
IF ERRORLEVEL 1 goto start
rem putty
rem ------------------------------------------------
break
putty.exe telnet://192.168.1.1:9000 -m redboot.txt
exit
redboot.txt
This is the result

- dd-wrt.jpg (12.79 KiB) Viewed 25427 times
Re: Fon Flash - D-Link DIR-300
Posted: Tue Apr 07, 2009 7:15 pm
by Eric
Ahhhh.... there's the problem. FonFlash expects the prompt to be "Redboot>" instead of "DD-WRT>" DD-WRT switched the boot prompt from the default.
This shouldn't be too hard to fix in the code, but I'll need to recompile for the various different operating systems which may take a day or two.
Re: Fon Flash - D-Link DIR-300
Posted: Tue Apr 07, 2009 7:26 pm
by ispyisail
Does "fon flash" look for a router at both 192.168.1.1 and 192.168.1.254
I was thinking about changing the dir-300 router to 192.168.1.254 ?
Am i on the wrong path?
Re: Fon Flash - D-Link DIR-300
Posted: Thu Apr 09, 2009 2:25 pm
by Eric
Fon flash doesn't care what your router's ip is -- it detects it automatically.
Re: Fon Flash - D-Link DIR-300
Posted: Sat Jun 06, 2009 4:08 am
by baadnewz
Code: Select all
Non arp received. Make sure, the device is connected directly!
Peer MAC: 00:22:b0:98:82:e4
Peer IP : 192.168.20.81
Your MAC: 00:ba:be:ca:ff:ee
Your IP : 192.168.20.0
Setting IP address...
ip_addr -l 192.168.20.81/8 -h 192.168.20.0
Initializing partitions ...
fis init
and now what should i do?
Thx
Re: Fon Flash - D-Link DIR-300
Posted: Sat Jun 06, 2009 5:02 am
by ispyisail
You need to first flash your router with dd-wrt for dir-300
They have made a hack for redboot
Re: Fon Flash - D-Link DIR-300
Posted: Sat Jun 06, 2009 1:46 pm
by baadnewz
ok thx the only problem now is i cant get back from stock firmware to dd-wrt (i did once and then revert to stock)
i get into redboot...load ap61.ram, go, router reboots but i cant connect to it anymore (i changed ip to 192.168.1.2 and telnet to 192.168.1.1 9000 but.. cant connect.. ideas?
Re: Fon Flash - D-Link DIR-300
Posted: Sat Jun 06, 2009 3:03 pm
by ispyisail
from memory there is a bug in the documentation
half way through you need to enable the IP address again
There is a thread about in the dd-wrt forum