[K12OSN] LTSP server with 3 NICs? SOME SUCCESS!
Joseph Bishay
joseph.bishay at gmail.com
Wed Dec 24 18:51:00 UTC 2008
Hello,
As you requested, I'm attaching the /etc/exports and also lts.conf
since I'm a bit confused as to how only to put one "server' line when
it is specific to a subnet.
#
# Copyright (c) 2002 by James A. McQuillan (McQuillan Systems, LLC)
#
# This software is licensed under the Gnu General Public License.
# The full text of which can be found at http://www.LTSP.org/license.txt
#
#
# Config file for the Linux Terminal Server Project (www.ltsp.org)
#
[Default]
# IP address of the LTSP server
## changed below by Joseph Bishay
# SERVER = 192.168.0.254
SERVER = 192.168.2.254
SERVER = 192.168.3.254
# LTSP 4.2 now defaults to restricting the video driver to 90%
# of the total memory available on the terminal. Setting this
# somewhere between 90 and 100 may help terminals with a marginal
# mount of memory, but it is probably a better idea to set
# USE_NBD_SWAP=Y for such terminals (see examples below)
XRAMPERC = 90
# Video drivers for the terminals
XSERVER = "auto"
# XFree 4 drivers: ati cirrus cyrix fbdev i128 i740 i810 mga
# neomagic nv r128 radeon rendition s3 s3virge savage
# siliconmotion sis tdfx tga trident tseng vesa vga via
X4_MODULE_01 = glx
# add the GLX module by default, blender and the like need it
## Uncomment the following line to enable remote monitoring/control of
## terminals, especially if you use fl_teachertool:
# X4_MODULE_02 = vnc
# Mice drivers for the terminals
X_MOUSE_PROTOCOL = "auto"
X_USBMOUSE_PROTOCOL = "auto"
# Mouse protocols: ExplorerPS/2 GlidePoint GlidePointPS/2
# IMPS/2 IntelliMouse Microsoft MouseManPlusPS/2
# NetMousePS/2 NetScrollPS/2 PS/2 ThinkingMouse
# ThinkingMousePS/2 usb
X_MOUSE_DEVICE = "/dev/psaux"
X_USBMOUSE_DEVICE = "/dev/input/mice"
X_MOUSE_RESOLUTION = 400
X_USBMOUSE_RESOLUTION = 400
X_MOUSE_BUTTONS = 3
X_USBMOUSE_BUTTONS = 3
USBEMULATE_3_BUTTONS = "off"
# Keyboards
XkbSymbols = "us(pc101)"
XkbModel = "pc101"
XkbLayout = "us"
# Example of setting a different (German) keyboard mapping,
# XkbLayout = "de"
# also see:
# http://www.xfree86.org/current/XKB-Config2.html
# http://www.ltsp.org/documentation/ltsp-3.0-4-en.html#AEN1213
# /opt/ltsp/i386/usr/X11R6/lib/X11/xkb/rules/xfree86.lst
# (/opt/ltsp/i386/usr/X11R6/lib/X11/xkb/symbols/)
# (/opt/ltsp/i386/usr/X11R6/lib/X11/xkb/keymap/xfree86)
USE_XFS = N
LOCAL_APPS = N
SCREEN_01 = startx
#SCREEN_02 = shell
#SCREEN_03 = telnet
# TELNET_HOST = 192.168.0.254
#SCREEN_04 = rdesktop
# RDP_SERVER = your.2k.server
# RDP_OPTIONS = -F -u fred -d ltsp
# local storage device (USB keys, cdrom, etc)
LOCAL_STORAGE = Y
LTSPFSD_OPTIONS=""
# uncomment the following line to enable SNMP support
#SNMPD = Y
# enable sound by default
SOUND = Y
# choose either esd or nasd to be the default (esd only on x86_64)
SOUND_DAEMON = "esd"
# SOUND_DAEMON = "nasd"
# default sound volume
VOLUME = 75
### For ISA sound cards, you have to specify the module to use:
# SMODULE_01 = "sb io=0x220 irq=5 dma=1"
Rest was commented out so I didn't paste it to save space.
-------------------------------------------------------------
/etc/exports
## LTS-begin ##
#
# The lines between the 'LTS-begin' and the 'LTS-end' were added
# on: Wed Nov 28 11:19:42 PST 2001 by the ltsp installation script.
# For more information, visit the ltsp homepage
# at http://www.ltsp.org
#
## Modified the below to reflect the new network address - Joseph
Bishay - December 24, 2008
# Original below:
# /opt/ltsp/i386 192.168.0.0/255.255.255.0(ro,no_root_squash,sync)
# /var/opt/ltsp/swapfiles 192.168.0.0/255.255.255.0(rw,no_root_squash,async)
# New for subnet 1
/opt/ltsp/i386 192.168.2.0/255.255.255.0(ro,no_root_squash,sync)
/var/opt/ltsp/swapfiles 192.168.2.0/255.255.255.0(rw,no_root_squash,async)
# New for subnet 2
/opt/ltsp/i386 192.168.3.0/255.255.255.0(ro,no_root_squash,sync)
/var/opt/ltsp/swapfiles 192.168.3.0/255.255.255.0(rw,no_root_squash,async)
#
# The following entries need to be uncommented if you want
# Local App support in ltsp
#
#/home 192.168.0.0/255.255.255.0(rw,root_squash,sync)
## LTS-end ##
## LTS-begin ##
#
# The lines between the 'LTS-begin' and the 'LTS-end' were added
# on: Wed Nov 28 11:19:42 PST 2001 by the ltsp installation script.
# For more information, visit the ltsp homepage
# at http://www.ltsp.org
#
## Original below:
#/usr/X11R6/lib/X11/fonts 192.168.0.0/255.255.255.0(ro,no_root_squash,sync)
#/usr/share/AbiSuite/fonts 192.168.0.0/255.255.255.0(ro,no_root_squash,sync)
#/usr/share/fonts 192.168.0.0/255.255.255.0(ro,no_root_squash,sync)
#/usr/lib/openoffice/share/fonts
192.168.0.0/255.255.255.0(ro,no_root_squash,sync)
## New for subnet 1
/usr/X11R6/lib/X11/fonts 192.168.2.0/255.255.255.0(ro,no_root_squash,sync)
/usr/share/AbiSuite/fonts 192.168.2.0/255.255.255.0(ro,no_root_squash,sync)
/usr/share/fonts 192.168.2.0/255.255.255.0(ro,no_root_squash,sync)
/usr/lib/openoffice/share/fonts
192.168.2.0/255.255.255.0(ro,no_root_squash,sync)
## New for subnet 2
/usr/X11R6/lib/X11/fonts 192.168.3.0/255.255.255.0(ro,no_root_squash,sync)
/usr/share/AbiSuite/fonts 192.168.3.0/255.255.255.0(ro,no_root_squash,sync)
/usr/share/fonts 192.168.3.0/255.255.255.0(ro,no_root_squash,sync)
/usr/lib/openoffice/share/fonts
192.168.3.0/255.255.255.0(ro,no_root_squash,sync)
## LTS-end ##
## LTS-end ##
## LTS-begin ##
#
# The lines between the 'LTS-begin' and the 'LTS-end' were added
# on: Wed Nov 28 11:19:42 PST 2001 by the ltsp installation script.
# For more information, visit the ltsp homepage
# at http://www.ltsp.org
#
/opt/ltsp/ppc 192.168.0.0/255.255.255.0(ro,no_root_squash,sync)
## LTS-end ##
Thank you
Joseph
More information about the K12OSN
mailing list