[syslinux] TFTP-HPA beginner needs help

Geert Stappers stappers at stappers.nl
Thu Sep 3 14:19:41 PDT 2015


On Wed, Sep 02, 2015 at 04:53:21PM -0500, John wrote:
> At 03:21 PM 9/2/2015, Geert Stappers wrote:
> > On Wed, Sep 02, 2015 at 08:28:22AM -0500, John wrote:
> >>
> >>
> >> 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
> >
> 
} Thank you for the info Stappers.
> 
> 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.

ASCII art, so use a monospace font


    ------+------------------------------+------------     Switch
          |                              |
      +---+---+                     +----+----+
      | Server|                     | Client  |            hosts
      +-------+                     +---------+


Server and Client are on the same LAN, Local Area Network.
They are configured for the _same_ network.
It is you in the role of networkadministrator who
decides which IP-addresses are used. (Yes, the begining is though)


> The files I want to upload are in /srv/tftpboot, so I'm not sure why
> the command cd /tmp was used.


The directory /srv/tftpboot is on host, the `cd /tmp' and
the "TFTP get" is done on another host. 


Groeten
Geert Stappers
-- 
Leven en laten leven


More information about the Syslinux mailing list