tftp config problem (ltsp)
Frank DiPrete
fdiprete at comcast.net
Sun Nov 4 07:10:20 EST 2007
On Sat, 2007-11-03 at 19:08 -0400, sean wrote:
> I am trying to get LTSP working here.
> All appear on the right track with one apparent problem, tftp'ing the file.
>
> When I boot a client it appears to pull in the network information but
> when it starts to tftp the file, I receive a message that the file is
> not found on the client display.
>
> I have been following the instructions here,
> http://www.gentoo.org/doc/en/ltsp.xml
> and of course alter to what I need for my system.
> Am I missing something obvious or something less so?
>
> Thanks,
> Sean
>
>
> Below is my in.tftpd file.
> # /etc/init.d/in.tftpd
>
> # Path to server files from
> # Depending on your application you may have to change this.
> # This is commented out to force you to look at the file!
> #INTFTPD_PATH="/var/tftp/"
> INTFTPD_PATH="/tftpboot/"
> #INTFTPD_PATH="/tftproot/"
>
> # For more options, see in.tftpd(8)
> # -R 4096:32767 solves problems with ARC firmware, and obsoletes
> # the /proc/sys/net/ipv4/ip_local_port_range hack.
> # -s causes $INTFTPD_PATH to be the root of the TFTP tree.
> # -l is passed by the init script in addition to these options.
> #INTFTPD_OPTS="-R 4096:32767 -s ${INTFTPD_PATH}"
> INTFTPD_OPTS=" -s ${INTFTPD_PATH}"
>
>
> The tftp file looks exactly like the one specified in the instructions.
>
>
> Here is my dhcpd.conf file
>
> #General Options
> default-lease-time 21600;
> max-lease-time 21620;
> ddns-update-style ad-hoc;
> use-host-decl-names on;
> #authoritative;
>
> #Boot Options
> allow booting;
> allow bootp;
>
> #Network Options
> #option subnet-mask 255.255.255.0;
> #option broadcast-address 192.168.0.255;
> #option domain-name "mydomain.net";
> #option domain-name-servers 192.168.0.1;
> #option log-servers 192.168.0.11;
> #option routers 192.168.0.1;
>
> #LTSP Path Options
> option root-path "192.168.0.11:/opt/ltsp-4.2/i386";
> filename "/opt/ltsp-4.2/vmlinuz-2.6.17.8-ltsp-1";
> #filename "/tftboot/lts/ltsp-4.2/vmlinuz-2.6.17.8-ltsp-1";
> next-server 192.168.0.11;
>
> shared-network WORKSTATIONS
> {
> subnet 192.168.0.0 netmask 255.255.255.0
> {
> range dynamic-bootp 192.168.0.40 192.168.0.50;
> option subnet-mask 255.255.255.0;
> option broadcast-address 192.168.0.255;
> option domain-name "mydomain.net";
> option domain-name-servers 192.168.0.1;
> option log-servers 192.168.0.11;
> option routers 192.168.0.1;
> }
> }
>
>
> ls of the opt/ltsp location
>
> tardis / # cd opt/ltsp-4.2/
> tardis ltsp-4.2 # ls
> 2.6.17.8-ltsp-1 i386 vmlinuz-2.6.17.8-ltsp-1
> tardis ltsp-4.2 # pwd
> /opt/ltsp-4.2
> tardis ltsp-4.2 #
>
>
> ls of the tftpboot structure
>
> tardis tftpboot # pwd
> /tftpboot
> tardis tftpboot # ls
> lts pxe pxelinux.cfg
> tardis tftpboot # cd lts/
> tardis lts # ls
> vmlinuz-2.6.17.8-ltsp-1
> tardis lts # cd ..
> tardis tftpboot # cd pxe
> tardis pxe # ls
> bzImage-2.6.17.8-ltsp-1 eb-5.0.9-eepro100.lzpxe initramfs.gz
> eb-5.0.9-3c905c-tpo.lzpxe eb-5.0.9-rtl8139.lzpxe pxelinux.0
> tardis pxe #
>
>
> Here is the tail of the message log. If I am rading correctly, it looks
> proper and the client is trying to start the tftp session.
> Nov 3 18:44:18 tardis dhcpd: DHCPDISCOVER from 00:00:86:43:b9:c0 via eth0
> Nov 3 18:44:19 tardis dhcpd: DHCPOFFER on 192.168.0.40 to
> 00:00:86:43:b9:c0 via eth0
> Nov 3 18:44:20 tardis dhcpd: DHCPDISCOVER from 00:00:86:43:b9:c0 via eth0
> Nov 3 18:44:20 tardis dhcpd: DHCPOFFER on 192.168.0.40 to
> 00:00:86:43:b9:c0 via eth0
> Nov 3 18:44:24 tardis dhcpd: DHCPDISCOVER from 00:00:86:43:b9:c0 via eth0
> Nov 3 18:44:24 tardis dhcpd: DHCPOFFER on 192.168.0.40 to
> 00:00:86:43:b9:c0 via eth0
> Nov 3 18:44:32 tardis dhcpd: DHCPREQUEST for 192.168.0.40
> (192.168.0.11) from 00:00:86:43:b9:c0 via eth0
> Nov 3 18:44:32 tardis dhcpd: DHCPACK on 192.168.0.40 to
> 00:00:86:43:b9:c0 via eth0
> Nov 3 18:44:32 tardis xinetd[12818]: START: tftp pid=12826
> from=192.168.0.40
>
> Here is some info from the message log after starting xinetd.
> That file is at default.
>
>
> Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
> file: /etc/xinetd.d/chargen-dgram [file=/etc/xinetd.conf] [line=49]
> Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
> file: /etc/xinetd.d/chargen-stream [file=/etc/xinetd.d/chargen-stream]
> [line=67]
> Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
> file: /etc/xinetd.d/cups-lpd [file=/etc/xinetd.d/cups-lpd] [line=67]
> Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
> file: /etc/xinetd.d/daytime-dgram [file=/etc/xinetd.d/daytime-dgram]
> [line=12]
> Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
> file: /etc/xinetd.d/daytime-stream [file=/etc/xinetd.d/daytime-stream]
> [line=67]
> Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
> file: /etc/xinetd.d/discard-dgram [file=/etc/xinetd.d/discard-dgram]
> [line=67]
> Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
> file: /etc/xinetd.d/discard-stream [file=/etc/xinetd.d/discard-stream]
> [line=67]
> Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
> file: /etc/xinetd.d/echo-dgram [file=/etc/xinetd.d/echo-dgram] [line=67]
> Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
> file: /etc/xinetd.d/echo-stream [file=/etc/xinetd.d/echo-stream] [line=67]
> Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
> file: /etc/xinetd.d/ftp-sensor [file=/etc/xinetd.d/ftp-sensor] [line=67]
> Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
> file: /etc/xinetd.d/rexec [file=/etc/xinetd.d/rexec] [line=70]
> Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
> file: /etc/xinetd.d/rlogin [file=/etc/xinetd.d/rlogin] [line=12]
> Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
> file: /etc/xinetd.d/rsh [file=/etc/xinetd.d/rsh] [line=12]
> Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
> file: /etc/xinetd.d/tcpmux-server [file=/etc/xinetd.d/tcpmux-server]
> [line=12]
> Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
> file: /etc/xinetd.d/tftp [file=/etc/xinetd.d/tftp] [line=68]
> Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
> file: /etc/xinetd.d/time-dgram [file=/etc/xinetd.d/time-dgram] [line=11]
> Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
> file: /etc/xinetd.d/time-stream [file=/etc/xinetd.d/time-stream] [line=67]
> Nov 3 19:01:22 tardis xinetd[13084]: removing chargen
> Nov 3 19:01:22 tardis xinetd[13084]: removing chargen
> Nov 3 19:01:22 tardis xinetd[13084]: removing printer
> Nov 3 19:01:22 tardis xinetd[13084]: removing daytime
> Nov 3 19:01:22 tardis xinetd[13084]: removing daytime
> Nov 3 19:01:22 tardis xinetd[13084]: removing discard
> Nov 3 19:01:22 tardis xinetd[13084]: removing discard
> Nov 3 19:01:22 tardis xinetd[13084]: removing echo
> Nov 3 19:01:22 tardis xinetd[13084]: removing echo
> Nov 3 19:01:22 tardis xinetd[13084]: removing ftp
> Nov 3 19:01:22 tardis xinetd[13084]: removing exec
> Nov 3 19:01:22 tardis xinetd[13084]: removing login
> Nov 3 19:01:22 tardis xinetd[13084]: removing shell
> Nov 3 19:01:22 tardis xinetd[13084]: removing tcpmux
> Nov 3 19:01:22 tardis xinetd[13084]: removing time
> Nov 3 19:01:22 tardis xinetd[13084]: removing time
> Nov 3 19:01:22 tardis xinetd[13084]: xinetd Version 2.3.14 started with
> libwrap loadavg options compiled in.
> Nov 3 19:01:22 tardis xinetd[13084]: Started working: 1 available service
It looks like the client has gotten an IP address but does not load the
kernel.
Is there a default config file in /tftpboot/pxelinux.cfg/ ?
LABEL linux
KERNEL vmlinuz-2.4.22-1.2115.nptl
APPEND initrd=pxeboot.img.gz ramdisk_size=8192
from:
http://www.intra2net.com/de/produkte/opensource/diskless-howto/howto.html
http://www.kernel.org/pub/linux/utils/boot/syslinux/
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
>
>
More information about the gnhlug-discuss
mailing list