tftp on linux?

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
dbvanhorn
DD-WRT Novice


Joined: 04 Sep 2006
Posts: 25

PostPosted: Mon May 28, 2007 22:40    Post subject: tftp on linux? Reply with quote
I have a confused WR850G here that I'd like to change firmware on.
On powerup, it responds to pings on 192.168.10.1 as it should.
Problem is, I am running linux, and don't have tftp.

How can I load the firmware file to the router?
Sponsor
h3xis
DD-WRT User


Joined: 01 Nov 2006
Posts: 132
Location: SC, USA

PostPosted: Mon May 28, 2007 23:25    Post subject: Reply with quote
What's the problem with installing tftp? If you're running a Debian derivative run apt-get install tftp with root privs or if you're using an RPM based distro use the native package manager to install it; if none of the above applies to you then find the source and compile it.
dbvanhorn
DD-WRT Novice


Joined: 04 Sep 2006
Posts: 25

PostPosted: Tue May 29, 2007 1:13    Post subject: Reply with quote
Hmm.. I didn't realize it was available for linux. Ok, then I can do it from this machine after I reconfigure. That one dosen't have tftp yet, and won't have net access until I can get the router up and running DD-WRT, but this one will do.

Thanks
dbvanhorn
DD-WRT Novice


Joined: 04 Sep 2006
Posts: 25

PostPosted: Tue May 29, 2007 4:56    Post subject: Reply with quote
Well, that was a lead balloon...

dave@silmarillion:~$ tftp -i 192.168.10.1 put fw.bin
usage: tftp host-name [port]


Umm.. Now what?

I renamed the file to fw.bin, as I've done before on winDOHs machines.
The rest is literally cut and pasted from the wiki.

I can ping the router for a few seconds, then it goes off and does whatever they do in this state, but tftp doesn't seem to work quite the same in linuxland.
BanditRider
DD-WRT Novice


Joined: 15 May 2007
Posts: 4

PostPosted: Tue May 29, 2007 9:48    Post subject: Reply with quote
Try:
tftp -m binary 192.168.10.1 -c put fw.bin
dbvanhorn
DD-WRT Novice


Joined: 04 Sep 2006
Posts: 25

PostPosted: Tue May 29, 2007 12:38    Post subject: Reply with quote
It doesn't like that either, same response.
GunTolo
DD-WRT Guru


Joined: 09 Aug 2006
Posts: 1103
Location: Surabaya, Indonesia

PostPosted: Tue May 29, 2007 14:36    Post subject: Reply with quote
never try with dd-wrt, but it's work with openwrt

tftp commands in my fedora box

tftp 192.168.1.1
binary
rexmt 1
timeout 60
trace
Packet tracing on.
tftp> put file-xxx-x.xx.bin

_________________
365'pc WRT54GL 1.1 + DD-WRT
wds - client mode - client bridge
337 GL+DD-WRT v23 SP1 Std
28 GL+DD-WRT v23 SP3 Std
13 WRT300N v.1 v24 06-20-07
2 GL/SP1/200 mW+Hyperlink 24 db >> 16 km Point to Point
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum