Re: pxe booting problem
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";
> }
>
> 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, ??
Yes, that's correct: the tftp-Server is not running stand-alone, but it
will be executed by inetd whenever neede (so you have to verify that the
inetd-server ist really running).
Of course - if you prefer - you can also use the standalon tftp-Server
and uncomment the line in inetd.conf - it shouldn't make any difference
> 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
>
The easiest would be to use a network sniffer like wireshark in order to
verify which file the client is trying to download exactly. However, in
your configuration of the tftp-Server, the file
"/var/lib/tftpboot/pxelinux.0" on the server will be accessed by
"pxelinux.0" - without the directory. So just try
filename "pxelinux.0";
instead of
filename "/var/lib/tftpboot/pxelinux.0";
maybe that will work...
HTH,
Axel
Reply to: