[Gllug] Linux Terminal Server (LTSP) problem : workstation could not find TFTP files

Martin Stevens budgester at budgester.com
Mon Aug 26 15:51:15 UTC 2002


Not sure if it'll help, but i did something similar getting
and Indy to remote boot.

So the first thing I would check is the tftp server is pointing to the
directory that you have the kernel image in, check the /etc/inetd.conf 
to see where it's looking for the rom image.

But I don't know why thats not turning up in /var/log/messages

BOOTP, DHCP, TFTP all the arcance joys of networking :-)

Note: Can you mix and match bootp and dhcp ?

On Sun, Aug 25, 2002 at 10:40:48PM +0800, Stephen Liu wrote:
> Hi All Folks,
> 
> I tried several days to set up a LTSP server (Linux Terminal Server) but 
> met with frustration.  Hereinbelow are my test results and problem.  Hoping 
> that some folks on the list can give me a hand.
> 
> Thanks in advance.
> 
> Stephen Liu
> 
> 
> LTSP server (v3.0) setup without problem
> Diskless workstation is borrowed from K12osn project.  It works fine there 
> with boot ROM on LAN card
> OS: RH7.3
> LTSP server : ethernet cards activated
> 
> 
> Problem :  TFTP file not found
> ===========================
> Workstation starts to boot ending :-
> ............
> ....... TFTP error 1 (File not found).  Unable to load file
> <sleep>
> <abort>
> 
> [Repeat above message.  Continue to boot]
> 
> 
> ------   TEST RESULTS  -------
> 
> # chkconfig --list|grep tftp
> tftp: on
> 
> dhcpd started without problem
> 
> # service ipchains stop
> Flushing all chains: [ OK ]
> Removing user defined chains: [ OK ]
> Resetting built-in chains to the default ACCEPT policy: [ OK ]
> 
> 
> Here are 2  /etc/dhcpd.conf  files which have been tested but with the same 
> result generated,
> 
> /etc/dhcpd.conf  (Sample No.1)
> ===============
> default-lease-time            21600;
> max-lease-time                21600;
> 
> option subnet-mask            255.255.255.0;
> option broadcast-address      192.168.0.255;
> option routers                192.168.0.254;
> option domain-name-servers    192.168.0.254;
> option domain-name            "ltsp";
> option root-path              "192.168.0.254:/opt/ltsp/i386";
> 
> shared-network WORKSTATIONS {
>     subnet 192.168.0.0 netmask 255.255.255.0 {
>     }
> }
> 
> group   {
>     use-host-decl-names       on;
>     option log-servers        192.168.0.254;
> 
>     host ws001 {
>         hardware ethernet     00:E0:06:E8:00:84;
>         fixed-address         192.168.0.1;
>         filename              "/lts/boot/bootp/vmlinuz.eepro100.bootp";
>     }
> }
> 
> 
> /etc/dhcpd  (Sample No. 2)
> ====================
> (REMARK :  2 tests
> 
> 1)  change made to   filename "/lts/vmlinuz-2.4.18-3"  (previous  filename 
> "/lts/boot/bootp/vmlinuz.eepro100.bootp")
> 
> 2)  change also made to kernel to read    filename 
> "/lts/vmlinuz-2.4.18-ltsp-1" )
> 
> ==============
> # Sample configuration file for ISCD dhcpd
> #
> # Make changes to this file and copy it to /etc/dhcpd.conf
> #
> 
> default-lease-time            21600;
> max-lease-time                21600;
> allow booting;
> allow bootp;
> 
> option subnet-mask            255.255.255.0;
> option broadcast-address      192.168.0.255;
> option routers                192.168.0.254;
> option domain-name-servers    192.168.0.254;
> option domain-name            "ltsp.org";
> option root-path              "192.168.0.254:/opt/ltsp/i386";
> 
> shared-network WORKSTATIONS {
>     subnet 192.168.0.0 netmask 255.255.255.0 {
>      range dynamic-bootp 192.168.0.100 192.168.0.253;
>      use-host-decl-names       on;
>      option log-servers        192.168.0.254;
>     }
> }
> 
> group   {
>     use-host-decl-names       on;
>     option log-servers        192.168.0.254;
> 
>     host ws001 {
>         hardware ethernet     00:E0:06:E8:00:84;
>         fixed-address         192.168.0.1;
>         filename              "/lts/vmlinuz-2.4.18-3";
> ##        option option-128     e4:45:74:68:00:00;   #This is NOT a MAC 
> address
> ##        option option-129     "NIC=ne IO=0x300";
>     }
>     host ws002 {
>         hardware ethernet     00:D0:09:30:6A:1C;
>         fixed-address         192.168.0.2;
>         filename              "/lts/vmlinuz-2.4.18-3";
>     }
> }
> 
> 
> # tail -f /var/log/messages
> Aug 24 15:59:11 ltsp dhcpd: DHCPREQUEST for 192.168.0.100 from 
> 00:50:fc:6c:70:f7 via eth0
> Aug 24 15:59:11 ltsp dhcpd: DHCPACK on 192.168.0.100 to 00:50:fc:6c:70:f7 
> via eth0
> Aug 24 15:59:16 ltsp dhcpd: DHCPDISCOVER from 00:50:fc:6c:70:f7 via eth0
> Aug 24 15:59:16 ltsp dhcpd: DHCPOFFER on 192.168.0.100 to 00:50:fc:6c:70:f7 
> via eth0
> Aug 24 15:59:16 ltsp dhcpd: DHCPREQUEST for 192.168.0.100 from 
> 00:50:fc:6c:70:f7 via eth0
> Aug 24 15:59:16 ltsp dhcpd: DHCPACK on 192.168.0.100 to 00:50:fc:6c:70:f7 
> via eth0
> Aug 24 15:59:21 ltsp dhcpd: DHCPDISCOVER from 00:50:fc:6c:70:f7 via eth0
> Aug 24 15:59:21 ltsp dhcpd: DHCPOFFER on 192.168.0.100 to 00:50:fc:6c:70:f7 
> via eth0
> 
> 
> # ls -IR /tftpboot
> lts
> 
> 
> # cat /etc/dhcpd.conf
> # Sample configuration file for ISCD dhcpd
> #
> # Make changes to this file and copy it to /etc/dhcpd.conf
> 
> default-lease-time 21600;
> max-lease-time 21600;
> allow booting;
> allow bootp;
> 
> option subnet-mask 255.255.255.0;
> option broadcast-address 192.168.0.255;
> option routers 192.168.0.254;
> option domain-name-servers 192.168.0.254;
> option domain-name "ltsp.org";
> option root-path "192.168.0.254:/opt/ltsp/i386";
> 
> shared-network WORKSTATIONS {
> subnet 192.168.0.0 netmask 255.255.255.0 {
> range dynamic-bootp 192.168.0.100 192.168.0.253;
> use-host-decl-names on;
> option log-servers 192.168.0.254;
> }
> }
> 
> group {
> use-host-decl-names on;
> option log-servers 192.168.0.254;
> 
> host ws001 {
> hardware ethernet 00:E0:06:E8:00:84;
> fixed-address 192.168.0.1;
> filename "/lts/vmlinuz-2.4.18-3";
> ## option option-128 e4:45:74:68:00:00; #This is NOT a MAC address
> ## option option-129 "NIC=ne IO=0x300";
> }
> host ws002 {
> hardware ethernet 00:D0:09:30:6A:1C;
> fixed-address 192.168.0.2;
> filename "/lts/vmlinuz-2.4.18-3";
> }
> }
> 
> 
> # cat /opt/ltsp/i386/etc/lts.conf
> #
> # Config file for the Linux Terminal Server Project (www.ltsp.org)
> #
> 
> [Default]
> SERVER = 192.168.0.254
> 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
> 
> #------------------------------------------------------------------------------
> #
> # Example of specifying X settings for a workstation
> #
> [ws001]
> XSERVER = auto
> LOCAL_APPS = N
> USE_NFS_SWAP = N
> SWAPFILE_SIZE = 48m
> RUNLEVEL = 5
> 
> [ws002]
> XSERVER = XF86_SVGA
> LOCAL_APPS = N
> USE_NFS_SWAP = N
> SWAPFILE_SIZE = 64m
> RUNLEVEL = 3
> 
> #
> # ws004 is my virtual workstation running in a VMware session
> #
> [ws004]
> DNS_SERVER = 192.168.0.254
> XSERVER = auto
> X4_BUSID = "PCI:0:15:0"
> X_MODE_0 = 800x600
> LOCAL_APPS = N
> USE_NFS_SWAP = N
> SWAPFILE_SIZE = 64m
> RUNLEVEL = 5
> 
> #------------------------------------------------------------------------------
> #
> # Example of a workstation configured to load some modules
> #
> #[ws001]
> # MODULE_01 = agpgart.o # This is for i810 video
> # MODULE_02 = uart401.o
> # MODULE_03 = sb.o io=0x220 irq=5 dma=1
> # MODULE_04 = opl3.o
> 
> #------------------------------------------------------------------------------
> #
> # Example of ws001 configured for local apps
> #
> #[ws001]
> # LOCAL_APPS = Y
> # LOCAL_WM = Y
> # NIS_DOMAIN = ltsp
> # NIS_SERVER = 192.168.0.254
> 
> #------------------------------------------------------------------------------
> #
> # Example of a serial printer attached to /dev/ttyS1 on workstation ws001
> #
> #[ws001]
> # PRINTER_0_DEVICE = /dev/ttyS1
> # PRINTER_0_TYPE = S # P-Parallel, S-Serial
> # PRINTER_0_PORT = 9100 # tcp/ip port: defaults to 9100
> # PRINTER_0_SPEED = 9600 # baud rate: defaults to 9600
> # PRINTER_0_FLOWCTRL = S # Flow control: S-Software (XON/XOFF),
> # # H-Hardware (CTS/RTS)
> # PRINTER_0_PARITY = N # Parity: N-None, E-Even, O-Odd
> # # (defaults to 'N')
> # PRINTER_0_DATABITS = 8 # Databits: 5,6,7,8 (defaults to 8)
> 
> 
> 
> 
> -- 
> Gllug mailing list  -  Gllug at linux.co.uk
> http://list.ftech.net/mailman/listinfo/gllug

-- 
Budgester Technologies Ltd
Office : 01992 718568
Mobile : 07815 982380
mailto:martin at budgester.com
http://www.budgester.com

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list