Jim McQuillan wrote:
Adam,
You need to also know how your tftp is setup. Which tftp server do you
have installed, and is it configured to do a 'chroot' to a specific
directory, like /tftpboot, before grabbing
'/lts/2.4.24-ltsp-4/pxelinux.0'.
netstat tells me tftp is running
netstat -anp | grep ":69 "
udp 0 0 0.0.0.0:69 0.0.0.0:* 4227/inetd
Also, /etc/inetd.conf contains
#:BOOT: 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/tcpd /usr/sbin/in.tftpd /boot
... but which tftp server is installed and whether it is configured to do a 'chroot' to a specific directory,
like tftboot, is not clear to me.
I'm wondering if you even have the kernel package installed. You should
have the kernel files in /tftpboot/lts, do you have anything there?
If I search for '/tftpboot.lts' I get
Tux:/# find -name */tftpboot/lts* -print find: ./proc/5499/task: No such file or directory
But if I search for 2.4.26-ltsp-2 it tells me it is there.
Tux:/# find -name 2.4.26-ltsp-2 -print find: ./proc/5499/task: No such file or directory ./opt/ltsp/i386/lib/modules/2.4.26-ltsp-2 ./tftpboot/lts/2.4.26-ltsp-2
The 'S' option in ltspcfg gives me
ltspcfg v0.10 The Linux Terminal Server Project (http://www.LTSP.org)
Interface IP Address Netmask Network Broadcast Used
eth0 203.79.110.81 255.255.255.0 203.79.110.0 203.79.110.255 <-----
Service Installed Enabled Running Notes dhcpd Yes Yes no Version 2 tftpd Yes Yes Yes No '-s' flag portmapper Yes Yes Yes nfs Yes Yes Yes xdmcp Yes no Yes xdm, gdm Using: gdm
File Configured Notes /etc/hosts Yes /etc/hosts.allow Yes /etc/exports Yes /opt/ltsp/i386/etc/lts.conf Yes
Configured runlevel: 5 (value of initdefault in /etc/inittab) Current runlevel: 5 (output of the 'runlevel' command)
Installation dir...: /opt/ltsp
Press <enter> to continue..
which tells me dhcpd is not running - and that tftp is. When I try to run dhcpd I get the message
No subnet declaration for eth0 (203.79.110.81).INTERFACES="eth1"
Please write a subnet declaration in your dhcpd.conf file for the network segment to which interface eth0 is attached. exiting.
which I don't understand as 203.79.110.81 does not appear in /etc/dhcpd - see below.
option domain-name-servers 192.168.0.1; option routers 192.168.0.1; option subnet-mask 255.255.255.0; default-lease-time 21600; max-lease-time 21600;
option root-path "192.168.0.1:/opt/ltsp/i386"; filename "/lts/2.4.24-ltsp-4/pxelinux.0"; option log-servers 192.168.0.1;
subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.3 192.168.0.10; }
I had it running previously but etherboot on ws001 could not find it.
I have INTERFACES="eth1" in /etc/default/dhcp
Why the confusion between eth0 & eth1 ? (My ISP uses static for eth0, hence no dhcp).
Should the option under root-path in /etc/dhcpd perhaps be './tftpboot/lts/2.4.26-ltsp-2' ?
Adam Bogacki, [EMAIL PROTECTED]
Based on the version of the kernel that you are looking for, i'm guessing that you are using LTSP-4.0, and not LTSP-4.1. LTSP-4.0 didn't automatically install a kernel. Take a look at http://www.ltsp.org/ltsp-4.html for info about the kernel package.
If you are using LTSP-4.1, then the kernel should have been installed automatically, but it would be 2.4.26-ltsp-2.
Jim McQuillan [EMAIL PROTECTED]
On Mon, 22 Nov 2004, Adam Bogacki wrote:
Hi,
My /etc/dhcpd.conf defines a filename to search for
filename "/lts/2.4.24-ltsp-4/pxelinux.0";
but 'find' cannot find it.
Tux:/# find -name /lts/2.4.24-ltsp-4/pxelinux.0 -print
find: ./proc/12675/task: No such file or directory
[I didn't use pxelinux - rather *zdsk with the CONFIG_PCI_DIRECT option.]
Using a different search option gives me same result.
Tux:/# find -name */lts/2.4.24-ltsp-4* -print
find: ./proc/12675/task: No such file or directory
All I am trying to do here is verify that LTSP's 2.4.24 kernel is where /etc/dhcpd.conf says it is.
Or am I missing something .. ?
Adam. Bogacki, [EMAIL PROTECTED]
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
