[K12OSN] LTSP server with 3 NICs? SOME SUCCESS!
"Terrell Prudé Jr."
microman at cmosnetworks.com
Wed Dec 24 19:22:09 UTC 2008
I see one problem with /etc/exports. Change this line:
/opt/ltsp/i386 192.168.3.0/255.255.255.0(ro,no_root_squash,sync)
to
/opt/ltsp/i386-3 192.168.3.0/255.255.255.0(ro,no_root_squash,sync)
and make sure that you've copied /opt/ltsp/i386 to /opt/ltsp/i386-3!
You need a *separate* /opt/ltsp/<arch> directory for each client's subnet.
So, just do a "cp -Rpv /opt/ltsp/i386 /opt/ltsp/i386-3", and that should
do it.
After you do that....
Then modify your /etc/dhcpd.conf file, which we did earlier this week,
to point your second scope (192.168.3.0, in your case) to
/opt/ltsp/i386-3. Restart DHCPD.
Then (no, you haven't tried booting a thin client on 192.168.3.0 yet!),
modify /opt/ltsp/i386-3/lts.conf so that there is only one "SERVER = "
line. Make sure that this points to 192.168.3.254.
*Now* try booting a thin client on both 192.168.2.x and 192.168.3.x and
let us know.
--TP
_______________________________
Do you GNU <http://www.gnu.org>?
Microsoft Free since 2003 <http://www.cmosnetworks.com>--the ultimate
antivirus protection!
Joseph Bishay wrote:
> 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
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20081224/df6c5963/attachment.htm>
More information about the K12OSN
mailing list