[syslinux] pxelinux: first contact with tftp is bad
Philip Rowlands
phr at doc.ic.ac.uk
Wed Jul 7 04:56:52 PDT 2004
On Wed, 7 Jul 2004, Beber wrote:
>Here is the /etc/dhcp3/dhcpd.conf important lines :
>subnet 193.252.239.16 netmask 255.255.255.240 {
> option broadcast-address 193.252.239.31;
> option routers 193.252.239.26;-> IP Adress of srvbck
> option subnet-mask 255.255.255.240;
> option domain-name-servers 193.252.239.27;-> IP Adress of packa
> allow bootp;
> allow booting;
> default-lease-time 600;
> max-lease-time 7200;
> option tftp-server-name "193.252.239.26";
> next-server 193.252.239.26;
> filename "/pxelinux.0";
> option ntp-servers 193.252.239.27;
Looks OK, although I'd check that the "filename" line works from a
standalone tftp client. This is what I have...
dhcpd.conf (simplified):
subnet 10.1.1.0 netmask 255.255.255.0 {
range 10.1.1.200 10.1.1.201;
next-server 10.1.1.10;
filename "/tftpboot/pxelinux.0";
}
[sysadmin at 10.1.1.10]$ ls -lR /tftpboot
/tftpboot:
lrwxrwxrwx 1 sysadmin 21 Jun 3 15:38 memdisk -> syslinux/memdisk.2.09
lrwxrwxrwx 1 sysadmin 26 Jun 3 15:37 pxelinux.0 -> syslinux/pxelinux.bin.2.09
drwxr-xr-x 2 sysadmin 4096 Feb 25 18:42 pxelinux.cfg
drwxr-xr-x 2 sysadmin 4096 Jun 3 15:37 syslinux
lrwxrwxrwx 1 root 1 Feb 23 19:59 tftpboot -> .
/tftpboot/pxelinux.cfg:
-rw-r--r-- 1 sysadmin users 1281 Jun 16 20:48 default
[sysadmin at 10.1.1.10 tftpboot]$ cat /etc/xinetd.d/tftp
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
}
Cheers,
Phil
More information about the Syslinux
mailing list