OpenWrt Forum Archive

Topic: Help to install openwrt either serially or tftp on wrt54gl

The content of this topic has been archived on 20 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi, I managed to compile the firmware and it is now located in the bin directory.

I have done up my serial mod and set the boot wait to on.

I have follow the instruction for tftp on http://wiki.openwrt.org/oldwiki/openwrt … ys/wrt54gl
but it doesn't seem to work.

any help? thanks

regards,
ian_wk

Hi Dogge,

Thanks for your help.
I went into CFE to set boot_wait and boot_time.

I execute the commands first before power up.
This is the tftp command I execute and i got the following error
@laptop:~$ tftp 192.168.2.1   
tftp> binary
tftp> trace
Packet tracing on.
tftp> put openwrt-wrt54g-squashfs.bin
sent WRQ <file=openwrt-wrt54g-squashfs.bin, mode=octet>
tftp: sendto: Network is unreachable
tftp>

I power up first then immediately execute the commands
@laptop:~$ tftp 192.168.2.1
tftp> binary
tftp> trace
Packet tracing on.
tftp> put openwrt-wrt54g-squashfs.bin
sent WRQ <file=openwrt-wrt54g-squashfs.bin, mode=octet>
sent WRQ <file=openwrt-wrt54g-squashfs.bin, mode=octet>
sent WRQ <file=openwrt-wrt54g-squashfs.bin, mode=octet>
sent WRQ <file=openwrt-wrt54g-squashfs.bin, mode=octet>
sent WRQ <file=openwrt-wrt54g-squashfs.bin, mode=octet>
Transfer timed out.

tftp>

How do the "put" command know where is the file located at? Do I have to place the file in any specific directory. Is there any wait to verify that boot_wait is on?


regards,
ian_wk

(Last edited by ian_wk on 13 Aug 2009, 08:51)

any help? any recommendation or stuffs that i can try..

thanks..

Did you connect the router directly to your PC and configure your PC to a static IP address?

Hi Dogge,

yea, I connect the router directly to my pc. I also assign a static IP address with the same subnet mask as the router.
After the failed attempt to tftp, I realised that my router reset back to default.

I am going to try this once I get home.

tftp 192.168.1.1
binary
trace
rexmt 1
put openwrt-wrt54g-squashfs.bin

rexmt 1 will try to keep on sending the file to the router right? Is it the same as trace?
Hope to get it done asap so that I can start to do some development on the router.
Side track abit. Do you happened to know any stuffs about wrt54gl GPIO pins? I want to expand the router capabilities such that the GPIO pins is able to turn on and off a device like GPS.

Sorry for all your trouble. Thanks alot. Have a nice day. big_smile

regards,
ian_wk

The discussion might have continued from here.