Hi list,
I have installed DHCP, PXE and the TFTP-Server tftp-hpa. I'm running Debian
Woody on my server and I want to boot a PXE-Client with this server. I have
installed all as it is described in the docs found on the net.
Under root:
/tftpboot/
/tftpboot/X86PC/linux
/tftpboot/X86PC/linux/messages
/tftpboot/X86PC/linux/linux.0
/tftpboot/X86PC/linux/vmlinuz
/tftpboot/X86PC/linux/pxelinux.cfg
/tftpboot/X86PC/linux/pxelinux.cfg/C0A801
C0A801 contains:
LABEL linux
KERNEL vmlinuz
APPEND root=/dev/nfs nfsroot=192.168.1.1:/home/clients,wsize=8192,rsize=8192
IPAPPEND 1
dhcpd.conf contains:
...
#LocalNet
subnet 192.168.1.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.1.100 192.168.1.200;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
option domain-name "arcsrob.at";
option dhcp-class-identifier "PXEClient";
option vendor-encapsulated-options ff;
option domain-name-servers 193.170.135.160, 193.170.135.161;
}
...
pxe.conf contains:
# which interface to use
interface=eth1
default_address=192.168.1.1
# the multicast ip address to listen on
multicast_address=224.0.1.2
# mtftp info
mtftp_address=224.1.5.1
mtftp_client_port=1758
mtftp_server_port=1759
# the port to listen on
listen_port=4011
# enable multicast?
use_multicast=1
# enable broadcast?
use_broadcast=0
# user prompt
prompt=Press F8 to view menu ...
prompt_timeout=10
# what services to provide, priority in ordering
# CSA = Client System Architecture
# service=<CSA>,<min layer>,<max
layer>,<basename>,<menu entry>
service=X86PC,0,0,local,Local boot
service=X86PC,0,2,linux,Linux install
# tftpd base dir
tftpdbase=/tftpboot
# domain name
domain=robonet.at
And under /home/clients is installed a full distribution.
The boot process is as follows:
Client: DHCP Discover
Server: DHCP Offer
Client: DHCP Request
Server: DHCP ACK
Client: ARP
Server: ARP
Client: UDP bootpc->4011 (PXE - The packet seems to be ok.)
Server: UDP 4011->bootpc (PXE - The packet seems to be ok.)
And just here the boot process hangs. The client repeats the pxe-requests 2
times then it repeats the dhcp-requests and then it repeats the
pxe-requests...
What's wrong with my configuration????
Greetings, Martin
Hi, Martin Bammer <martin at cyberlady.arcs.ac.at> schrieb am 03.02.03 16:18:23:> I have installed DHCP, PXE and the TFTP-Server tftp-hpa. I'm running Debian > Woody on my server and I want to boot a PXE-Client with this server. I have > installed all as it is described in the docs found on the net. > > Under root: > /tftpboot/ > /tftpboot/X86PC/linux > /tftpboot/X86PC/linux/messages > /tftpboot/X86PC/linux/linux.0 > /tftpboot/X86PC/linux/vmlinuz > /tftpboot/X86PC/linux/pxelinux.cfg > /tftpboot/X86PC/linux/pxelinux.cfg/C0A801Do you also have pxelinux.0 there?> C0A801 contains: > LABEL linux > KERNEL vmlinuz > APPEND root=/dev/nfs nfsroot=192.168.1.1:/home/clients,wsize=8192,rsize=8192 > IPAPPEND 1Seems ok, but your client doesn't get there ...> > dhcpd.conf contains: > ... > #LocalNet > subnet 192.168.1.0 netmask 255.255.255.0 { > range dynamic-bootp 192.168.1.100 192.168.1.200; > option broadcast-address 192.168.1.255; > option routers 192.168.1.1; > option domain-name "arcsrob.at"; > option dhcp-class-identifier "PXEClient"; > option vendor-encapsulated-options ff; > option domain-name-servers 193.170.135.160, 193.170.135.161; > } > ... > > > pxe.conf contains: > [..]You should first try to get it to work without a PXE server. The PXE roms are quite different, and most of them accept dhcp/tftp, some of them refuse to work with dhcp/pxe/tftp. Oh, and what rom and what network card do you use? Some of them can't even boot anything, and some want some magic configurations - see the home page for examples.> The boot process is as follows: > Client: DHCP Discover > Server: DHCP Offer > Client: DHCP Request > Server: DHCP ACK > Client: ARP > Server: ARP > Client: UDP bootpc->4011 (PXE - The packet seems to be ok.) > Server: UDP 4011->bootpc (PXE - The packet seems to be ok.)Usually some more packets should follow - the pxe server is basically a stripped down dhcp server, so there seems something missing here. Regards, Josef ______________________________________________________________________________ Keine Lust, immer Ihre Adressdaten in eine E-Mail zu schreiben? Mit der vCard ist Schluss damit! Infos - http://freemail.web.de/features/?mc=021153