Hi all,
I'm trying to set up a tftp + DHCP server for a PXE installation on a machine running Fedora 9. My requirement is to setup a method for OS installation on an old notebook, without CD-ROM, without floppy and without USB boot capability. A nightmare!
I have followed the guide lines in the howto
http://www.stanford.edu/~alfw/PXE-Ki...Kickstart.html. In summary I have modified the file /etc/dhcpd.conf file (on an already working DHCP server)
Code:
$ cat /etc/dhcpd.conf
# DHCP configuration generated by Firestarter
not authoritative;
ddns-update-style interim;
ignore client-updates;
allow bootp;
allow booting;
subnet 192.168.0.0 netmask 255.255.255.0 {
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
option domain-name-servers XXX.XXX.XXX.XX;
option ip-forwarding off;
range dynamic-bootp 192.168.0.16 192.168.0.24;
default-lease-time 21600;
max-lease-time 43200;
}
group {
next-server ocean-1;
filename "/tftpboot/pxelinux.0";
}
then I restarted the dhcp daemon using /etc/init.d/dhcpd restart.
After that I installed the tftp-hpa server version 5.0 downloaded from
http://www.kernel.org/pub/software/network/tftp/. I created a /tftpboot directory with user nobody, group nobody and world-readable permissions. I open port 69 on the local firewall. Then I started the tftp server by
Code:
# /sbin/chkconfig xinetd on
# /sbin/chkconfig tftp on
I checked that the server is actually listening on port 69 using netstat. Now the actual problem. When I try to connect from a tftp client, I get a
transfer timed out error. Here is the transcript of a session:
Code:
$ tftp 192.168.0.1
tftp> status
Connected to 192.168.0.1.
Mode: netascii Verbose: off Tracing: off Literal: off
Rexmt-interval: 5 seconds, Max-timeout: 25 seconds
tftp> get testfile
Transfer timed out.
tftp> status
Connected to 192.168.0.1.
Mode: netascii Verbose: off Tracing: off Literal: off
Rexmt-interval: 5 seconds, Max-timeout: 25 seconds
tftp> quit
I really don't know what to try next. I googled around but no real solution has been given to similar problems. Thank you.