Gentoo Archives: gentoo-user

From: sean <tech.junk@×××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] tftp config problem (ltsp)
Date: Sat, 03 Nov 2007 23:12:49
Message-Id: 472CFEE7.5010008@verizon.net
1 I am trying to get LTSP working here.
2 All appear on the right track with one apparent problem, tftp'ing the file.
3
4 When I boot a client it appears to pull in the network information but
5 when it starts to tftp the file, I receive a message that the file is
6 not found on the client display.
7
8 I have been following the instructions here,
9 http://www.gentoo.org/doc/en/ltsp.xml
10 and of course alter to what I need for my system.
11 Am I missing something obvious or something less so?
12
13 Thanks,
14 Sean
15
16
17 Below is my in.tftpd file.
18 # /etc/init.d/in.tftpd
19
20 # Path to server files from
21 # Depending on your application you may have to change this.
22 # This is commented out to force you to look at the file!
23 #INTFTPD_PATH="/var/tftp/"
24 INTFTPD_PATH="/tftpboot/"
25 #INTFTPD_PATH="/tftproot/"
26
27 # For more options, see in.tftpd(8)
28 # -R 4096:32767 solves problems with ARC firmware, and obsoletes
29 # the /proc/sys/net/ipv4/ip_local_port_range hack.
30 # -s causes $INTFTPD_PATH to be the root of the TFTP tree.
31 # -l is passed by the init script in addition to these options.
32 #INTFTPD_OPTS="-R 4096:32767 -s ${INTFTPD_PATH}"
33 INTFTPD_OPTS=" -s ${INTFTPD_PATH}"
34
35
36 The tftp file looks exactly like the one specified in the instructions.
37
38
39 Here is my dhcpd.conf file
40
41 #General Options
42 default-lease-time 21600;
43 max-lease-time 21620;
44 ddns-update-style ad-hoc;
45 use-host-decl-names on;
46 #authoritative;
47
48 #Boot Options
49 allow booting;
50 allow bootp;
51
52 #Network Options
53 #option subnet-mask 255.255.255.0;
54 #option broadcast-address 192.168.0.255;
55 #option domain-name "mydomain.net";
56 #option domain-name-servers 192.168.0.1;
57 #option log-servers 192.168.0.11;
58 #option routers 192.168.0.1;
59
60 #LTSP Path Options
61 option root-path "192.168.0.11:/opt/ltsp-4.2/i386";
62 filename "/opt/ltsp-4.2/vmlinuz-2.6.17.8-ltsp-1";
63 #filename "/tftboot/lts/ltsp-4.2/vmlinuz-2.6.17.8-ltsp-1";
64 next-server 192.168.0.11;
65
66 shared-network WORKSTATIONS
67 {
68 subnet 192.168.0.0 netmask 255.255.255.0
69 {
70 range dynamic-bootp 192.168.0.40 192.168.0.50;
71 option subnet-mask 255.255.255.0;
72 option broadcast-address 192.168.0.255;
73 option domain-name "mydomain.net";
74 option domain-name-servers 192.168.0.1;
75 option log-servers 192.168.0.11;
76 option routers 192.168.0.1;
77 }
78 }
79
80
81 ls of the opt/ltsp location
82
83 tardis / # cd opt/ltsp-4.2/
84 tardis ltsp-4.2 # ls
85 2.6.17.8-ltsp-1 i386 vmlinuz-2.6.17.8-ltsp-1
86 tardis ltsp-4.2 # pwd
87 /opt/ltsp-4.2
88 tardis ltsp-4.2 #
89
90
91 ls of the tftpboot structure
92
93 tardis tftpboot # pwd
94 /tftpboot
95 tardis tftpboot # ls
96 lts pxe pxelinux.cfg
97 tardis tftpboot # cd lts/
98 tardis lts # ls
99 vmlinuz-2.6.17.8-ltsp-1
100 tardis lts # cd ..
101 tardis tftpboot # cd pxe
102 tardis pxe # ls
103 bzImage-2.6.17.8-ltsp-1 eb-5.0.9-eepro100.lzpxe initramfs.gz
104 eb-5.0.9-3c905c-tpo.lzpxe eb-5.0.9-rtl8139.lzpxe pxelinux.0
105 tardis pxe #
106
107
108 Here is the tail of the message log. If I am rading correctly, it looks
109 proper and the client is trying to start the tftp session.
110 Nov 3 18:44:18 tardis dhcpd: DHCPDISCOVER from 00:00:86:43:b9:c0 via eth0
111 Nov 3 18:44:19 tardis dhcpd: DHCPOFFER on 192.168.0.40 to
112 00:00:86:43:b9:c0 via eth0
113 Nov 3 18:44:20 tardis dhcpd: DHCPDISCOVER from 00:00:86:43:b9:c0 via eth0
114 Nov 3 18:44:20 tardis dhcpd: DHCPOFFER on 192.168.0.40 to
115 00:00:86:43:b9:c0 via eth0
116 Nov 3 18:44:24 tardis dhcpd: DHCPDISCOVER from 00:00:86:43:b9:c0 via eth0
117 Nov 3 18:44:24 tardis dhcpd: DHCPOFFER on 192.168.0.40 to
118 00:00:86:43:b9:c0 via eth0
119 Nov 3 18:44:32 tardis dhcpd: DHCPREQUEST for 192.168.0.40
120 (192.168.0.11) from 00:00:86:43:b9:c0 via eth0
121 Nov 3 18:44:32 tardis dhcpd: DHCPACK on 192.168.0.40 to
122 00:00:86:43:b9:c0 via eth0
123 Nov 3 18:44:32 tardis xinetd[12818]: START: tftp pid=12826
124 from=192.168.0.40
125
126 Here is some info from the message log after starting xinetd.
127 That file is at default.
128
129
130 Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
131 file: /etc/xinetd.d/chargen-dgram [file=/etc/xinetd.conf] [line=49]
132 Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
133 file: /etc/xinetd.d/chargen-stream [file=/etc/xinetd.d/chargen-stream]
134 [line=67]
135 Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
136 file: /etc/xinetd.d/cups-lpd [file=/etc/xinetd.d/cups-lpd] [line=67]
137 Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
138 file: /etc/xinetd.d/daytime-dgram [file=/etc/xinetd.d/daytime-dgram]
139 [line=12]
140 Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
141 file: /etc/xinetd.d/daytime-stream [file=/etc/xinetd.d/daytime-stream]
142 [line=67]
143 Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
144 file: /etc/xinetd.d/discard-dgram [file=/etc/xinetd.d/discard-dgram]
145 [line=67]
146 Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
147 file: /etc/xinetd.d/discard-stream [file=/etc/xinetd.d/discard-stream]
148 [line=67]
149 Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
150 file: /etc/xinetd.d/echo-dgram [file=/etc/xinetd.d/echo-dgram] [line=67]
151 Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
152 file: /etc/xinetd.d/echo-stream [file=/etc/xinetd.d/echo-stream] [line=67]
153 Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
154 file: /etc/xinetd.d/ftp-sensor [file=/etc/xinetd.d/ftp-sensor] [line=67]
155 Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
156 file: /etc/xinetd.d/rexec [file=/etc/xinetd.d/rexec] [line=70]
157 Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
158 file: /etc/xinetd.d/rlogin [file=/etc/xinetd.d/rlogin] [line=12]
159 Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
160 file: /etc/xinetd.d/rsh [file=/etc/xinetd.d/rsh] [line=12]
161 Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
162 file: /etc/xinetd.d/tcpmux-server [file=/etc/xinetd.d/tcpmux-server]
163 [line=12]
164 Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
165 file: /etc/xinetd.d/tftp [file=/etc/xinetd.d/tftp] [line=68]
166 Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
167 file: /etc/xinetd.d/time-dgram [file=/etc/xinetd.d/time-dgram] [line=11]
168 Nov 3 19:01:22 tardis xinetd[13084]: Reading included configuration
169 file: /etc/xinetd.d/time-stream [file=/etc/xinetd.d/time-stream] [line=67]
170 Nov 3 19:01:22 tardis xinetd[13084]: removing chargen
171 Nov 3 19:01:22 tardis xinetd[13084]: removing chargen
172 Nov 3 19:01:22 tardis xinetd[13084]: removing printer
173 Nov 3 19:01:22 tardis xinetd[13084]: removing daytime
174 Nov 3 19:01:22 tardis xinetd[13084]: removing daytime
175 Nov 3 19:01:22 tardis xinetd[13084]: removing discard
176 Nov 3 19:01:22 tardis xinetd[13084]: removing discard
177 Nov 3 19:01:22 tardis xinetd[13084]: removing echo
178 Nov 3 19:01:22 tardis xinetd[13084]: removing echo
179 Nov 3 19:01:22 tardis xinetd[13084]: removing ftp
180 Nov 3 19:01:22 tardis xinetd[13084]: removing exec
181 Nov 3 19:01:22 tardis xinetd[13084]: removing login
182 Nov 3 19:01:22 tardis xinetd[13084]: removing shell
183 Nov 3 19:01:22 tardis xinetd[13084]: removing tcpmux
184 Nov 3 19:01:22 tardis xinetd[13084]: removing time
185 Nov 3 19:01:22 tardis xinetd[13084]: removing time
186 Nov 3 19:01:22 tardis xinetd[13084]: xinetd Version 2.3.14 started with
187 libwrap loadavg options compiled in.
188 Nov 3 19:01:22 tardis xinetd[13084]: Started working: 1 available service
189
190 --
191 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] tftp config problem (ltsp) Roger Mason <rmason@×××××××.ca>