[syslinux] TFTP-HPA beginner needs help

Geert Stappers stappers at stappers.nl
Sun Sep 6 03:13:07 PDT 2015


On Sat, Sep 05, 2015 at 09:55:45AM -0500, John via Syslinux wrote:
> At 03:21 PM 9/2/2015, Geert Stappers via Syslinux wrote:
> 
> Still having trouble:

 (-:   Welcome to real life  :-)


> > cd /tmp
  
Please confirm that it is done at the notyetOpenWRT device at 192.168.1.1.
Saying that the test is done from/at another computer is also fine.
(Bonuspoints for telling the IP-address)


> >   ping -c 3 192.168.0.9   # check if TFTP server respons on ping

New test request:
    ping -c 3 192.168.1.9   # check if TFTP server respons on ping

> >   tftp 192.168.0.9   # connect to TFTP server, you should get a new prompt
> 
> OK to here using 192.168.1.9 for NIC eth(0) and tftpd server 192.168.1.9

I do understand that your network is not 192.168.0.0 but 192.168.1.0.
I don't understand what information is in _twice_ stating 192.168.1.9.


> New prompt is tftp>

Okay the 'tftp>' is from the TFTP client.


> >   get aa
> 
> This times out

That is our problem, in fact a symptoom of the problem.


> and returns to tftp>  Unable to return to shell using exit command
> 
> >   exit
> >   # you shold be back in shell prompt

I was mistaken on 'exit', try 'quit' next time. 

> >   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,

 From which computer did you do that test?
(Is it your TFTP-server (192.168.1.9) (Yes/No, another one which has address ... )?)


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

Assuming that it is the same technology as a saw or a hammer.   :-)

And you are doing fine. You are curious, you presist,
you want to get it working.


Your Ubuntu PC, the computer at 192.168.1.9, can you connect to it from the
notyetOpenWRT device?  These three tests will tell us more

   # all three might time-out, report if they do
   telnet 192.168.1.9  23  # a connection refused is expected
   telnet 192.168.1.9  22  # a SSH-banner expected, just press enter
   telnet 192.168.1.9  80  # nothing, just a connect, press enter twice


These basic network test might also reveal if we are dealing with a firewall
on the TFTP port.


Looking forward on the feedback.


Groeten
Geert Stappers
Who also started as a beginner
-- 
Leven en laten leven


More information about the Syslinux mailing list