LTSP

LTSP on Debian Lenny

Some differences between LTSP on Debian Lenny and upstream

--- contents of /etc/nbd-server/config START
[generic]
# If you want to run everything as root rather than the nbd user, you
# may either say "root" in the two following lines, or remove them
# altogether. Do not remove the [generic] section, however.
        user = nbd
        group = nbd

# What follows are export definitions. You may create as much of them as
# you want, but the section header has to be unique.
[export]
        port = 9210
        exportname = /home/ltsp-5/swapfiles/swapfile.%s
--- contents of /etc/nbd-server/config STOP

  mkdir /home/ltsp-5/swapfiles
  

  dd if=/dev/zero of=/home/ltsp-5/swapfiles/swapfile.241.131.119.123 bs=1024k count=256
  

  chown -R nbd:nbd /home/ltsp-5/swapfiles
  

  echo "nbdswapd: ALL: keepalive" >> /etc/hosts.allow
  

  /etc/init.d/nbd-server stop
  /etc/init.d/nbd-server start
  

   [00:48:54:6a:e2:d9]
       NBD_SWAP=Y
       SIZE=256
       NBD_PORT=9210
   

Using a non-x86 machine as LTSP server

The problem is that you cannot use the server to manage /opt/ltsp/i386 with chroot, since these binaries requires a x86 kernel. Solution:

   /home/ltsp-5              241.131.119.123(rw,no_root_squash,sync,subtree_check)
   
mount -o remount,rw /

IP specific files in LTSP

I wanted to migrate a terminal to another IP, what files did I have to change?

Sound when alsa is not available

sb io=0x220 irq=5 dma=1 dma16=5

However, I found that alsa did work if only Plug'n Play was not used.

modprobe snd-sb16 isapnp=0

Still, pulseaudio often made the terminal freeze when there was non-audio related network traffic, so I reverted to using esd.

modprobe snd-pcm-oss
modprobe snd-mixer-oss
esd -public -tcp -noterminate &

comments powered by Disqus


Back to the index

Blog roll

R-bloggers, Debian Weekly
Valid XHTML 1.0 Strict [Valid RSS] Valid CSS! Emacs Muse Last modified: oktober 17, 2019