The Dreaded TFTP error 2 (Access Violation)

George Gambill plug-discuss@lists.plug.phoenix.az.us
Thu, 19 Dec 2002 13:06:08 -0700


The Dreaded TFTP error 2 (Access Violation)

Booting the ThinClient (ws001) form a RH 8 server displays the following Me:
Me:  192.168.100.151, Server: 192.168.100.66  
Both are correct indicating DHCP is alive and well

Then comes the dreaded TFTP error 2 (Access Violation) message(s):

Loading 192.168.100.66:/lts/vmlinuz-2.4.19-ltsp-1  .TFTP error 2 (Access
Violation)
Unable to load file"

The "Loading 192.168.100.66:/lts/vmlinuz-2.4.19-ltsp-1" portion of the TFTP
message looks good.

The ".TFTP error 2 (Access Violation): portion of the TFTP message does not
look so good.
Nor does the "Unable to load file".

/lts/vmlinuz-2.4.19-ltsp-1  is actually in /ltspboot/lts/
(/ltspboot/lts/vmlinuz-2.4.19-ltsp-1) but the documentation claims this is
OK.
Permissions on   /tftpboot/lts/vmlinuz-2.4.19-ltsp-1 are now 655 (I changed
them while Easter Egging)
Permissions on /tftpboot/ are 755
Permissions on /tftpboot/lts/ are 755

Just in case, I created /lts/ and copied vmlinuz-2.4.19-ltsp-1 to it.  No
luck.

FYI, this is a simple network, no DNS required, no Router required, only two
machines (on of which it ThinClient) one hub, two connections, no outside
connection.  The server was setup with "medium security" which may be an
issue (haven't got to that part of the book yet)

/opt/ltsp/i386/etc/lts.conf contains (in part):
  [default]
    SERVER  = 192.168.100.66
  [ws001]
    XSERVER  = auto
    USE_NFS_SWAP  = N
    SWAPFILE_SIZE  = 48m
    RUNLEVEL  = 5

chkconfig -list | grep tftp shows it on (running).

/etc/hosts contains (in total):
127.0.0.1	nowhere localhost.colaldomain localhost
192.168.100.66    server
192.168.100.151	ws001

/etc/hosts.conf contains (in total):
order hosts,bind

/etc/hosts.allow contains the following (in total):
  ALL: 192.168.100.       : ALLOW
  swat: 126.0.0.1              : ALLOW
  swat: 192.168.100.        :ALLOW 
  swat:  192.168.100.66   : ALLOW
  swat:  192.168.100.151  :ALLOW
  in.tftpd:  192.168.100.66
  swat:   ALL : DENY

/etc/hosts.deny contains (in total):
  swat:  ALL EXCEPT 127.0.0.1
  ALL:  ALL 

/etc/xinetd.d/services (contains in part):
   disable    = yes
    only_from = 127.0.0.1
as does /etc/xinetd.d/dervers

/opt/ltsp/i386/etc/;ts/cpnf contains (in part)
[DEFAULT}
  SERVER    = 192.168.100.66
#  DNS_SERVER   = 192.168.100.66
    SEARCH_DOMAIN  = "cgcltsp.org
   XSERVER     = auto
  [ws001]
    USE_NFS_SWAP   = N
    SWAPFILE_SIZE   = 48 m

/etc/exports contains (in total):
    /opt/ltsp/i286 192.168.100.66/255.255.255.0 (no,no_root_squash, sync)
    /var/opt/ltsp/swapfiles  192.168.100.66/255.255.255.0
(no,no_root_squash, sync)

Any thoughts would be greatly appreciated.