Here's my dhcpd.conf
Code:
# dhcpd.conf
#
# Configuration file for ISC dhcpd (see 'man dhcpd.conf')
#
option domain-name-servers 192.168.1.1;
default-lease-time 86400;
max-lease-time 604800;
authoritative;
allow booting;
allow bootp;
# global parameters
subnet 192.168.1.0 netmask 255.255.255.0
{
range 192.168.1.100 192.168.1.254;
filename "pxelinux.0";
next-server 192.168.1.130;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
}
Have tftpd setup from inetd
Code:
# Tftp service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."
tftp dgram udp wait nobody /usr/sbin/in.tftpd in.tftpd -s /tftpboot -r blksize
Also ran
Code:
mkdir -r /tftpboot/pxelinux.cfg
touch /tftpboot/pxelinux.cfg/default
I have a slackware 13.0.iso that I want my comp booting off pxe to boot to.
Here's my /tftpboot/pxelinux.cfg/default
Code:
default linux
timeout 0
prompt 1
display display.msg
label linux
kernel vmlinuz
append initrd=initrd.iso
I have vmlinuz and initrd.iso in /tftpboot/pxelinux.cfg
vmlinuz is linked to /boot/vmlinuz-huge-smp-2.6.29.6-smp
initrd.iso is linked to /tftpboot/slackware-13.0-install-dvd.iso
The pxe boot computer and the one booting to pxe are both connected to the same switch.
When I turn on the computer that is gonna logon to the pxe boot server, it gets assigned an IP from the DHCP server, then it says TFTP PXE-E11 ARP Timeout.
So I figured my in.ftpd server was not configured correctly. I checked lsof -i and udp *:tftp is there. However when I run grep -i tftpd /var/log/syslog, I get
Code:
Feb 4 23:38:53 server in.tftpd[27754]: recvfrom: Socket operation on non-socket
Is this because in.ftpd is running through inetd? I thought inetd uses sockets?
I'm confused about the purpose of what 'filename "pxelinux.0";' does in /etc/dhcpd.conf?
Any ideas on the problem?