[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pxe booting problem



On Mon, Sep 14, 2009 at 12:53:31PM +0100, abdelkader belahcene wrote:
> Hi,
> I tried to install debian via PXE.
> following the doc, I install netboot.tar.gz  which contains pxe file.
> I configured the dhcpd.conf   here is relevant part :
> 
> host 00016CB3066E{   #     MAC
>     hardware ethernet 00:01:6C:B3:06:6E;
>     fixed-address    172.19.6.224;
>     server-name    debian225;
>     next-server    debian225;
>     filename "/var/lib/tftpboot/pxelinux.0";

Make that:

      filename "/tftpboot/pxelinux.0";

Note the option -s in the command-line of tftpd .

> }
> 
> I decompressed  netboot.tar in /var/lib/tftpboot ,
> I installed  tftpd-hpa
> first problem:
> the file contains /etc/default/tftpd-hpa
> 
> 
> RUN_DAEMON="no"
> OPTIONS="-l -s /var/lib/tftpboot"
> 
> so the standalone tftpd-hpa is disabled, ??
>  While the file /etc/inetd.conf  contains the good line
> tftp           dgram   udp     wait    root  /usr/sbin/in.tftpd
> /usr/sbin/in.tftpd -s /var/lib/tftpboot
> 
> 
> When I boot  a remote machine,  I get correct address from the dhcp,
> 
> but the error is :  file not found  tftp error   ?????
>             why  I declared  pxelinux0  in the /var/lib/tftpboot

This should indeed be easy to test. 'tftp' is a tftp client.

> 
> question:  must I run a standlone /tftpd-hpa  or thru inetd, where I have to
> declare pxelinux0    for the connection

Shouldn't really matter.

-- 
Tzafrir Cohen         | tzafrir@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir@cohens.org.il |                    |  best
ICQ# 16849754         |                    | friend


Reply to: