"tftp put" does not work

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

Moderator: Moderators

Post Reply
jenom
Posts: 48
Joined: Wed Jul 06, 2011 1:38 pm
Location: Canada

"tftp put" does not work

Post by jenom »

I am getting ping response grom 192.168.1.1 and I can use putty through 192.168.1.1 to log into Busybox.
Although I can goto 192.168.1.1 with browser, a greenish screen with some file list shows up,but since my gargoyle web giu has missing packages , so nothing I can do from there!
Trying to re-install missing packages with OPKD (see post about it), so far no success. (0 kb space )
As an alternative, want to just TFTP the whole image file into a router, all my attemps failed so far.....getting no response from router.

Maybe there is no TFTP server running ?
What is the manual command the gargoyle web gui uses to upgrade the firmware?

Any help will be appreciated !

behappy
Posts: 84
Joined: Thu Mar 31, 2011 5:06 pm

Re: "tftp put" does not work

Post by behappy »

Since you have wrt54G

- Get tftp2 prog. from DDWRT wiki
- Tftp the squashfs img (quickest and safest)
- Fixed IP on yr pc (192.168.1.xx)
- Reset to default for yr router (192.168.1.1)
- Boot the router in failsafe mode
- Ping yr router, when get an active ping do imediately tftp

jenom
Posts: 48
Joined: Wed Jul 06, 2011 1:38 pm
Location: Canada

Re: "tftp put" does not work

Post by jenom »

thanks for your reply

- Get tftp2 prog. from DDWRT wiki >>>>>>> have it, used it
- Tftp the squashfs img (quickest and safest)
- Fixed IP on yr pc (192.168.1.xx) >>>>>>>>>done
- Reset to default for yr router (192.168.1.1)>>>it is
- Boot the router in failsafe mode>>>>>>>>>> NOT USED
- Ping yr router, when get an active ping do imediately tftp >>>done

Done everything, except "booting failsafe mode"

I am pinging continuosly with ping -t -w 2 192.168.1.1
When reply comes (takes about 30-40 sec), I am sending the tftp
Either by manually : tftp -i 192.168.1.1 put xxxx.bin or using other small tftp giu programs, like tftp2, tftp32, etc...

Going to do a research for failsafe -mode-boot !
Thanks!

jenom
Posts: 48
Joined: Wed Jul 06, 2011 1:38 pm
Location: Canada

Re: "tftp put" does not work

Post by jenom »

Found this lovely article about fail-safe-mode-boot, here to share:

How to enter failsafe mode:

* Unplug your router completely
* Plug in the router's power cord
* Wait until the DMZ LED lights up
* Again: DO NOT PRESS THE BUTTON IF THE DMZ LED IS NOT ON!
* When the DMZ LED comes to light, wait a fraction of a second
* Then immediately press the "Cisco Systems" logo (this is the "Easy Setup button").
* If you press it too early (immediately) it does not work.
* If you press it too late it does not work.
* Keep it pressed for 3 seconds, then release.
* If everything works, the DMZ LED starts flashing. It flashes with 3 Hz (this is 3 times a second).
* The flashing can either happen while you are pressing or a short time (up to 5s) after.
* The Power LED blinks in a very unusual way and it stays blinking all the time, same is true for the DMZ LED but if flashes regularily.
* Plug in your PC's ethernet cable
* Note that the ethernet cable can be plugged into any of the router's Interface, even the WAN interface pings on 192.168.1.1
* Give your PCs interface a static IP 192.168.1.X where X is 2 to 253
* ping 192.168.1.1
* It should nearly immediatelty ping (max. 3 seconds) provided your Interface keeps the static IP and does not try DHCP

However, this will not work if the nvram boot_wait is turned OFF !
Suggestion was made to do:

nvram set boot_wait= on
nvram set boot_time=10
nvram commit && reboot && exit

Going to try those out too !

jenom
Posts: 48
Joined: Wed Jul 06, 2011 1:38 pm
Location: Canada

Re: "tftp put" does not work

Post by jenom »

just checked "nvram get boot_wait" status and it returned OFF

so I can tftp forever, in any way, shape or form >>>>>it will not work
looks like someone does not want any tftp transfers

well, going to put it ON, and set wait time to 10 sec and try tftp again

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

Re: "tftp put" does not work

Post by DoesItMatter »

Can you put DD-WRT back on the WRT54G?

Try and put one of the Mini versions of DD-WRT on that router.

Once you can get that on, you can flash to version 1.2.5
of Gargoyle right from the DD-WRT GUI.

I would NOT recommend Gargoyle 1.3.x series on the WRT54G V3

It really doesn't have enough RAM to handle it well.

If you had a WRT54G-TM with 8MB flash and 32MB ram,
then that would work for the 1.3.x series.

4MB Flash and 16MB Ram - stick with Gargoyle 1.2.5
: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

jenom
Posts: 48
Joined: Wed Jul 06, 2011 1:38 pm
Location: Canada

Re: "tftp put" does not work

Post by jenom »

I am going to give it a try !
Thanks!

Post Reply