Sysadmin, The Thinknic howto is really for LTSP v2.08
For LTSP 3.0, things are a bit different. Take a look at the pxestuff.tgz package on the ltsp.org download page. That contains the kernel and other goodies for making it work. Also, there's a readme file in the package that will help. Jim McQuillan [EMAIL PROTECTED] On Thu, 13 Jun 2002, sysadmin wrote: > > Am stuck getting a ThinkNIC to boot from a newly configured LTSP > server (have not used LTSP yet so I'm whacking on two problems at > once). Have downloaded the ThinkNIC-howto by John D. Robertson > at RRCI and installed as per instructions. Have also downloaded > the LTSP on Mandrake Linux 8.1 by Mark Watts and installed per > instructions. I obviously have something badly screwed up. > > This is a Mandrake 8.1 box that is running as a firewall and > email server. We use fetchmail to get mail from an ISP and > use IPTABLES. It's connected via a 10/100 switch to a LAN > that is also served by a SCO Unix system for their main biz apps > and DBMS. The Linux box eth1 is at 192.168.1.102 and is called > nawfil02. > > > It appears the final stage init (after pivot_root) is not getting > fired up (let me know if you think this analysis is wrong). > > > Here's what the NIC console says AFTER loading vmlinuz.thinknic: > > ... > IP-Config: Complete: > device=eth0, addr=192.168.1.51, mask=255.255.255.0, gw=192.168.1.102, > host=NIC_051, domain=xxx.xx.com, nis-domain=(none), > bootserver=192.168.1.102, rootserver=192.168.1.102, > rootpath=192.168.1.102:/opt/ltsp/i386 > > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0 > Looking up port of RPC 100003/2 on 192.168.1.102 > Looking up port of RPC 100005/2 on 192.168.1.102 > VFS: Mounted root (nfs filesystem) readonly. > Freeing unused kernel memory: 72k freed > Warning: unable to open initial console > Kernel panic: No init found. Try passing init= option to kernel. > > > The doc says this probably means that we are mounting the wrong > filesystem as root. > It may be that we have a completely wrong config something. > Here are the log files and config files: > > > > Various log file entries: > > Apr 16 15:52:25 nawfil02 dhcpd: DHCPDISCOVER from 00:e0:06:f5:ab:87 via > eth1 > Apr 16 15:52:25 nawfil02 dhcpd: DHCPOFFER on 192.168.1.51 to > 00:e0:06:f5:ab:87 via eth1 > Apr 16 15:52:26 nawfil02 dhcpd: DHCPDISCOVER from 00:e0:06:f5:ab:87 via > eth1 > Apr 16 15:52:26 nawfil02 dhcpd: DHCPOFFER on 192.168.1.51 to > 00:e0:06:f5:ab:87 via eth1 > Apr 16 15:52:28 nawfil02 dhcpd: DHCPDISCOVER from 00:e0:06:f5:ab:87 via > eth1 > Apr 16 15:52:28 nawfil02 dhcpd: DHCPOFFER on 192.168.1.51 to > 00:e0:06:f5:ab:87 via eth1 > Apr 16 15:52:32 nawfil02 dhcpd: DHCPREQUEST for 192.168.1.51 > (192.168.1.102) from 00:e0:06:f5:ab:87 via > eth1 > Apr 16 15:52:32 nawfil02 dhcpd: DHCPACK on 192.168.1.51 to > 00:e0:06:f5:ab:87 via eth1 > > Apr 16 19:52:32 nawfil02 in.tftpd[29159]: RRQ from 192.168.1.51 filename > pxelinux.0 > Apr 16 19:52:32 nawfil02 in.tftpd[29159]: tftp: client does not accept > options > Apr 16 19:52:32 nawfil02 in.tftpd[29160]: RRQ from 192.168.1.51 filename > pxelinux.0 > Apr 16 19:52:32 nawfil02 in.tftpd[29161]: RRQ from 192.168.1.51 filename > pxelinux.cfg/C0A80133 > Apr 16 19:52:32 nawfil02 in.tftpd[29162]: RRQ from 192.168.1.51 filename > vmlinuz.thinknic > > Apr 16 15:52:39 nawfil02 dhcpd: DHCPDISCOVER from 00:e0:06:f5:ab:87 via > eth1 > Apr 16 15:52:39 nawfil02 dhcpd: DHCPOFFER on 192.168.1.51 to > 00:e0:06:f5:ab:87 via eth1 > Apr 16 15:52:39 nawfil02 dhcpd: DHCPREQUEST for 192.168.1.51 > (192.168.1.102) from 00:e0:06:f5:ab:87 via > eth1 > Apr 16 15:52:39 nawfil02 dhcpd: DHCPACK on 192.168.1.51 to > 00:e0:06:f5:ab:87 via eth1 > > > Apr 16 15:52:39 nawfil02 rpc.mountd: authenticated mount request from > 192.168.1.51:800 for /tftpboot/lts/ltsroot > (/tftpboot/lts/ltsroot) > > > > > The /tftpboot/pxelinux.cfg/C0A80133 file (corresponds to IP address of > NIC): > prompt=0 > label linux > kernel vmlinuz.thinknic > append root=/dev/nfs nfsroot=192.168.1.102:/tftpboot/lts/ltsroot ip=dhcp > > (Note that the above path is NOT the same as /opt/ltsp/i386.) > > > The /etc/exports file: > # > ## LTS-begin ## > > # > # The lines between the 'LTS-begin' and the 'LTS-end' were added > # on: Tue Apr 16 14:17:52 EDT 2002 by the ltsp installation script. > # For more information, visit the ltsp homepage > # at http://www.ltsp.org > # > > /tftpboot/lts/ltsroot 192.168.1.0/255.255.255.0(ro,no_root_squash) > /opt/ltsp/i386 192.168.1.0/255.255.255.0(ro,no_root_squash) > /var/opt/ltsp/swapfiles 192.168.1.0/255.255.255.0(rw,no_root_squash) > > # > # The following entries need to be uncommented if you want > # Local App support in ltsp > # > #/home 192.168.1.0/255.255.255.0(rw,no_root_squash) > > ## LTS-end ## > > > > I have two config files, one in the /tftpboot tree and the other > in /opt/ltsp. I am not sure which one to use: > > > The /tftpboot/lts/ltsroot/etc/lts.conf file: > # > # Config file for the Linux Terminal Server Project (www.ltsp.org) > # > > [Default] > SERVER = 192.168.1.102 > XSERVER = XF86_SVGA > X_MOUSE_PROTOCOL = "PS/2" > X_MOUSE_DEVICE = "/dev/psaux" > X_MOUSE_RESOLUTION = 400 > X_MOUSE_BUTTONS = 3 > USE_XFS = N > LOCAL_APPS = N > LOCAL_WM = N > UI_MODE = GUI > > #------------------------------------------------------------------------------ > # Example ThinkNIC terminal > # > [NIC_051] > UI_MODE = GUI > > # The companion XF86Config-thinknic file uses XFS > USE_XFS = Y > > > The /opt/ltsp/i386/etc/lts.conf file: > # > # Config file for the Linux Terminal Server Project (www.ltsp.org) > # > > [Default] > SERVER = 192.168.1.102 > XSERVER = auto > X_MOUSE_PROTOCOL = "PS/2" > X_MOUSE_DEVICE = "/dev/psaux" > X_MOUSE_RESOLUTION = 400 > X_MOUSE_BUTTONS = 3 > USE_XFS = N > LOCAL_APPS = N > RUNLEVEL = 5 > > #------------------------------------------------------------------------------ > # > # ThinkNIC entries > # > [NIC_051] > UI_MODE = GUI > USE_XFS = Y > > > > > > The /opt/ltsp/i386 directory: > total 44 > drwxr-xr-x 2 root root 4096 Apr 16 14:23 bin/ > drwxr-xr-x 2 root root 4096 Oct 18 00:57 dev/ > drwxr-xr-x 4 root root 4096 Apr 16 15:33 etc/ > drwxr-xr-x 3 root root 4096 Apr 16 14:23 lib/ > lrwxrwxrwx 1 root root 8 Apr 16 14:17 mnt -> /tmp/mnt > drwxr-xr-x 2 root root 4096 Aug 18 2001 oldroot/ > drwxr-xr-x 2 root root 4096 Jun 23 2001 opt/ > drwxr-xr-x 2 root root 4096 Jun 23 2001 proc/ > drwxr-xr-x 2 root root 4096 Jun 23 2001 root/ > drwxr-xr-x 2 root root 4096 Apr 16 14:17 sbin/ > drwxr-xr-x 2 root root 4096 Jun 23 2001 tmp/ > drwxr-xr-x 7 root root 4096 Dec 18 01:36 usr/ > lrwxrwxrwx 1 root root 8 Apr 16 14:17 var -> /tmp/var > > > > The /opt/ltsp/i386/etc directory: > total 168 > -rw-r--r-- 1 root root 428 Apr 25 2001 bashrc > -rw-r--r-- 1 root root 1097 Jul 1 2001 devfsd.conf > -rwxr-xr-x 1 root root 1846 Oct 26 01:14 dhclient-script* > drwxr-xr-x 2 root root 4096 Oct 26 01:14 dhcpc/ > -rw-r--r-- 1 root root 0 Apr 25 2001 fstab > -rw-r--r-- 1 root root 19 Jun 30 2001 group > -rw-r--r-- 1 root root 26 Apr 25 2001 host.conf > lrwxrwxrwx 1 root root 10 Apr 16 14:17 hosts -> /tmp/hosts > lrwxrwxrwx 1 root root 15 Apr 16 14:17 initrunlvl -> /tmp/initrunlvl > -rw-r--r-- 1 root root 516 Nov 3 02:44 inittab > lrwxrwxrwx 1 root root 15 Apr 16 14:17 ioctl.save -> /tmp/ioctl.save > -rw-r--r-- 1 root root 5748 Sep 13 2001 ld.so.cache > -rw-r--r-- 1 root root 24 Jun 24 2001 ld.so.conf > -rw-r--r-- 1 root root 2400 Apr 16 14:17 lts.conf > -rw-r--r-- 1 root root 16378 Dec 2 18:57 lts.conf.readme > -rw-r--r-- 1 root root 2396 Dec 18 02:00 lts.orig > -rw-r--r-- 1 root root 564 Oct 21 23:23 ltsp_functions > -rw-r--r-- 1 root root 0 Apr 25 2001 modules.conf > -rw-r--r-- 1 root root 2859 Jul 1 2001 modules.devfs > lrwxrwxrwx 1 root root 12 Apr 16 14:17 mtab -> /proc/mounts > -rw-r--r-- 1 root root 1566 Sep 14 2001 nsswitch.conf > -rw-r--r-- 1 root root 61 Jun 30 2001 passwd > -rw-r--r-- 1 root root 1567 Apr 25 2001 protocols > drwxr-xr-x 2 root root 4096 Apr 16 14:17 rc.d/ > -rwxr-xr-x 1 root root 13366 Nov 30 19:23 rc.local* > -rw-r--r-- 1 root root 8435 Nov 30 19:45 rc.setupx > -rw-r--r-- 1 root root 12101 Oct 28 22:19 rc.setupx3 > lrwxrwxrwx 1 root root 16 Apr 16 14:17 resolv.conf -> /tmp/resolv.conf > -rw-r--r-- 1 root root 1595 Apr 25 2001 rpc > -rw-r--r-- 1 root root 11941 Apr 25 2001 services > lrwxrwxrwx 1 root root 16 Apr 16 14:17 syslog.conf -> /tmp/syslog.conf > -rw-r--r-- 1 root root 100 Apr 16 14:17 version > -rw-r--r-- 1 root root 18735 Dec 18 01:33 vidlist > lrwxrwxrwx 1 root root 15 Apr 16 14:23 XF86Config -> /tmp/XF86Config > > > > > The /etc/dhcpd.conf file: > default-lease-time 21600; > max-lease-time 21600; > ddns-update-style ad-hoc; > > option subnet-mask 255.255.255.0; > option broadcast-address 192.168.1.255; > option routers 192.168.1.102; > option domain-name-servers 192.168.1.102; > option domain-name "nawfil02.nawfi.com"; > option netbios-name-servers 192.168.1.102; > option root-path "192.168.1.102:/opt/ltsp/i386"; > > > subnet 192.168.1.0 netmask 255.255.255.0 { > range dynamic-bootp 192.168.1.20 192.168.1.40; > use-host-decl-names on; > option log-servers 192.168.1.102; > allow unknown-clients; > filename "vmlinuz.all"; > next-server 192.168.1.102; > > host nawfil02 { > hardware ethernet 00:50:ba:d2:02:83; > fixed-address 192.168.1.102; > } > host NIC_051 { > hardware ethernet 00:E0:06:F5:AB:87; > fixed-address 192.168.1.51; > filename "pxelinux.0"; > option dhcp-client-identifier "PXEClient"; > option vendor-encapsulated-options > >09:0f:80:00:0c:4e:65:74:77:6f:72:6b:20:62:6f:6f:74:0a:07:00:50:72:6f:6d:70:74:06:01:02:08:03:80:00:00:47:04:80:00:00:00:ff; > } > } > > > > /etc/hosts.allow contains the following pertinent entries: > # > # hosts.allow This file describes the names of the hosts which are > # allowed to use the local INET services, as decided > # by the '/usr/sbin/tcpd' server. > # > # > ALL: 192.168.1.101 > ALL: 192.168.1.102 > ## LTS-begin ## > > # > # The lines between the 'LTS-begin' and the 'LTS-end' were added > # on: Tue Apr 16 14:17:52 EDT 2002 by the ltsp installation script. > # For more information, visit the ltsp homepage > # at http://www.ltsp.org > # > > bootpd: 0.0.0.0 > in.tftpd: 192.168.1. > portmap: 192.168.1. > > ## LTS-end ## > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas - >http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > > _____________________________________________________________________ > 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.openprojects.net > -- _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink _____________________________________________________________________ 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.openprojects.net