Hello, I am trying to flash new firmware into a router using TFTP-HPA. I am running Ubuntu 14.04 on a flash drive and still learning how to use Linux. I have also installed XINETD.D In one of the README files that comes with TFTP-HPA it said not to call it using tptp. Here are the instructions I'm trying to follow: cd /tmp ; tftp -gl aa 192.168.0.9; sh aa I do not know what tftp server was used by the person that wrote these commands and cannot seem to get a password to post on board on which they were posted. Can you tell me how I should modify these commands? John
On Wed, Sep 02, 2015 at 08:28:22AM -0500, John via Syslinux wrote:> > > Hello, > > I am trying to flash new firmware into a router using TFTP-HPA. I > am running Ubuntu 14.04 on a flash drive and still learning how to > use Linux. I have also installed XINETD.D > > In one of the README files that comes with TFTP-HPA it said not to > call it using tptp. > > Here are the instructions I'm trying to follow: > > cd /tmp ; tftp -gl aa 192.168.0.9; sh aaTranslated: go to directory /tmp ; TFTP get file 'aa' from 192.168.0.9, where 192.168.0.9 is your TFTP server ; execute the commands in 'aa'> I do not know what tftp server was used by the person that wrote > these commands and cannot seem to get a password to post on board on > which they were posted. > > Can you tell me how I should modify these commands? >cd /tmp ping -c 3 192.168.0.9 # check if TFTP server respons on ping tftp 192.168.0.9 # connect to TFTP server, you should get a new prompt get aa exit # you shold be back in shell prompt cat aa # check the aa script cat aa # double check sh aa # the aa script comes alive ... Please report your milage Groeten Geert Stappers -- Leven en laten leven
Thank you for the info Groeten. I have the TFTPD-HPA server address set to 192.168.1.9:69 I am unable to ping this address and I wonder if the server address should be the same as the network interface card (ethernet card) I am using. The files I want to upload are in /srv/tftpboot, so I'm not sure why the command cd /tmp was used. John At 03:21 PM 9/2/2015, Geert Stappers via Syslinux wrote:>On Wed, Sep 02, 2015 at 08:28:22AM -0500, John via Syslinux wrote: > > > > > > Hello, > > > > I am trying to flash new firmware into a router using TFTP-HPA. I > > am running Ubuntu 14.04 on a flash drive and still learning how to > > use Linux. I have also installed XINETD.D > > > > In one of the README files that comes with TFTP-HPA it said not to > > call it using tptp. > > > > Here are the instructions I'm trying to follow: > > > > cd /tmp ; tftp -gl aa 192.168.0.9; sh aa > >Translated: go to directory /tmp ; TFTP get file 'aa' from 192.168.0.9, > where 192.168.0.9 is your TFTP server ; execute the commands in 'aa' > > > > I do not know what tftp server was used by the person that wrote > > these commands and cannot seem to get a password to post on board on > > which they were posted. > > > > Can you tell me how I should modify these commands? > > > > > cd /tmp > ping -c 3 192.168.0.9 # check if TFTP server respons on ping > tftp 192.168.0.9 # connect to TFTP server, you should get a new prompt > get aa > exit > # you shold be back in shell prompt > cat aa # check the aa script > cat aa # double check > sh aa # the aa script comes alive ... > > >Please report your milage > > >Groeten >Geert Stappers >-- >Leven en laten leven >_______________________________________________ >Syslinux mailing list >Submissions to Syslinux at zytor.com >Unsubscribe or set options at: >http://www.zytor.com/mailman/listinfo/syslinux
Still having trouble:>> cd /tmp >> ping -c 3 192.168.0.9 # check if TFTP server respons on ping >> tftp 192.168.0.9 # connect to TFTP server, you should get a new promptOK to here using 192.168.1.9 for NIC eth(0) and tftpd server 192.168.1.9 New prompt is tftp>>> get aaThis times out and returns to tftp> Unable to return to shell using exit command>> exit >> # you shold be back in shell prompt >> cat aa # check the aa script >> cat aa # double check >> sh aa # the aa script comes alive ...The router (client) is on eth(0) and I can connect to it using Firefox 192.168.1.1, but router page is all in Chinese language which I don't understand. That is why I want to use tftp to flash new firmware to the router: http://wiki.openwrt.org/toh/tp-link/tl-wr703n#tftp_install_necessary_on_v17_hardware Address in the openWRT article have all been changed to 192.168.1.9 (server) and 192.168.1.1 target PC is Ubuntu 14.04 on flash drive with xinetd and tftp-hpa What am I doing incorrectly? John At 03:21 PM 9/2/2015, Geert Stappers via Syslinux wrote:>On Wed, Sep 02, 2015 at 08:28:22AM -0500, John via Syslinux wrote: > > > > > > Hello, > > > > I am trying to flash new firmware into a router using TFTP-HPA. I > > am running Ubuntu 14.04 on a flash drive and still learning how to > > use Linux. I have also installed XINETD.D > > > > In one of the README files that comes with TFTP-HPA it said not to > > call it using tptp. > > > > Here are the instructions I'm trying to follow: > > > > cd /tmp ; tftp -gl aa 192.168.0.9; sh aa > >Translated: go to directory /tmp ; TFTP get file 'aa' from 192.168.0.9, > where 192.168.0.9 is your TFTP server ; execute the commands in 'aa' > > > > I do not know what tftp server was used by the person that wrote > > these commands and cannot seem to get a password to post on board on > > which they were posted. > > > > Can you tell me how I should modify these commands? > > > > > cd /tmp > ping -c 3 192.168.0.9 # check if TFTP server respons on ping > tftp 192.168.0.9 # connect to TFTP server, you should get a new prompt > get aa > exit > # you shold be back in shell prompt > cat aa # check the aa script > cat aa # double check > sh aa # the aa script comes alive ... > > >Please report your milage > > >Groeten >Geert Stappers >-- >Leven en laten leven >_______________________________________________ >Syslinux mailing list >Submissions to Syslinux at zytor.com >Unsubscribe or set options at: >http://www.zytor.com/mailman/listinfo/syslinux