Fon Flash - D-Link DIR-300

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Fon Flash - D-Link DIR-300

Post 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
fon flash.jpg (49.64 KiB) Viewed 22426 times
Any thoughts?

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: Fon Flash - D-Link DIR-300

Post 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.

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Fon Flash - D-Link DIR-300

Post 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

Code: Select all

^C
This is the result
dd-wrt.jpg
dd-wrt.jpg (12.79 KiB) Viewed 22425 times

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: Fon Flash - D-Link DIR-300

Post 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.

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Fon Flash - D-Link DIR-300

Post 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?

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: Fon Flash - D-Link DIR-300

Post by Eric »

Fon flash doesn't care what your router's ip is -- it detects it automatically.

baadnewz
Posts: 4
Joined: Sat Jun 06, 2009 4:07 am

Re: Fon Flash - D-Link DIR-300

Post 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

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Fon Flash - D-Link DIR-300

Post by ispyisail »

You need to first flash your router with dd-wrt for dir-300

They have made a hack for redboot

baadnewz
Posts: 4
Joined: Sat Jun 06, 2009 4:07 am

Re: Fon Flash - D-Link DIR-300

Post 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?

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Fon Flash - D-Link DIR-300

Post 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

Post Reply