Folks,

  I successfully run LTSP in four schools, and attempt to do
  remote maintenance of these.

  I have the following :-

  * Wizzy server, 256M RAM, running the following :-
    - DHCP, tftp
    - NFS - both for client machines (/opt/ltsp/i386) and
            for user home dirs (/var/home).
            No thin client swap (they have 32M RAM min.)
    - named
    - openLDAP - authentication
    - exim and courier-imap for mail
    - WWW server, for webmail, wwwoffle as caching www server

  * Two thin client servers, running all applications, gdm,
    nfs-mounting /home from wizzy server.

  * 100BaseT switched network - 40 or so clients.

  I have successfully modified the rc.local script to allow
  redundant font-servers (so you can specify multiple fs's)
  and to ping the thin client servers for one that is up
  and then do an X -indirect to that one.

  I am particularly happy at being able to dump X support
  from the wizzy server.

  (small) patch attached.

  The busybox ping does not have a -w option, but I use -c 1
  and it seems to work OK.

  I have a problem - I hope you can help - unrelated (I think)
  to the above. Occasionally my wizzy server crashes. I have
  observed, upon reboot, that it hangs just after bringing up
  the network interface.

  * If I reset the Thin Client servers, it is still hung.
  * If I turn off the switches, it continues booting as if
    nothing has happened.

  I surmise this is because the thin clients are flooding
  the network (panicing) trying to remount /opt/ltsp/i386,
  and the wizzy server is flooded with interrupts.

  I cannot check the Ethernet card brand now, but it is either an
  RTL8139 or a Davicom DM9102 (NE2000 clone ??) card.

  Is it possible that this card (or its drivers) is crummy, and
  buying another would improve things ?

  Best one to buy ?

  Has anyone seen this before ?

Cheers,    Andy!        http://www.wizzy.org.za/  (bit dated)

--- /opt/ltsp/i386/etc/rc.local 2002-07-21 04:09:33.000000000 +0200
+++ /tmp/rc.local       2003-06-10 16:30:57.000000000 +0200
@@ -388,6 +388,15 @@
 
     XDM_SERVER=`get_cfg XDM_SERVER ${DEFAULT_SERVER}`
 
+    for i in $XDM_SERVER
+    do
+       if ping -c 1 $i
+       then
+           XDM_SERVER=$i
+           break
+       fi
+    done
+
     case "${XSERVER}" in
 
         XF86_*)  XBINARY="${XSERVER}"
@@ -423,9 +432,9 @@
     fi
 
     if [ -w /proc/progress ]; then
-        echo "/usr/X11R6/bin/${XBINARY} ${XOPTS} ${ACC_CTRL} -query ${XDM_SERVER} 
>/dev/tty3 2>&1" >/tmp/start_ws
+        echo "/usr/X11R6/bin/${XBINARY} ${XOPTS} ${ACC_CTRL} -indirect ${XDM_SERVER} 
>/dev/tty3 2>&1" >/tmp/start_ws
     else
-        echo "/usr/X11R6/bin/${XBINARY} ${XOPTS} ${ACC_CTRL} -query ${XDM_SERVER}" 
>/tmp/start_ws
+        echo "/usr/X11R6/bin/${XBINARY} ${XOPTS} ${ACC_CTRL} -indirect ${XDM_SERVER}" 
>/tmp/start_ws
     fi
 
     chmod 0755 /tmp/start_ws
--- /opt/ltsp/i386/etc/rc.setupx        2001-12-01 02:45:11.000000000 +0200
+++ /tmp/rc.setupx      2003-06-10 16:28:38.000000000 +0200
@@ -81,9 +81,16 @@
 
 if [ "${USE_XFS}" = "Y" ]; then
     XFS_SERVER=`get_cfg XFS_SERVER ${DEFAULT_SERVER}`
-    cat <<-EOF >>${XF86CONFIG}
+cat <<-EOF >>${XF86CONFIG}
 Section "Files"
-        FontPath   "tcp/${XFS_SERVER}:7100"
+EOF
+echo -n FontPath   \" >>${XF86CONFIG}
+for f in $XFS_SERVER
+do
+       echo -n tcp/${f}:7100, >>${XF86CONFIG}
+done
+echo \" >>${XF86CONFIG}
+cat <<-EOF >>${XF86CONFIG}
 EndSection
 EOF
 else

Reply via email to