LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 09-23-2004, 09:36 AM   #1
mikz
Member
 
Registered: Sep 2004
Distribution: Slackware current
Posts: 109

Rep: Reputation: 15
Slackware 10 and LTSP


Is there anybody who has successfully installed LSTP (4.1.0) on a Slackware 10 system.?
If yes, do you know of any Howto's that are specific to Slackware.
I've tried LTSP on Fedora and it was as slow as molasses.
 
Old 10-11-2004, 10:02 AM   #2
Zod
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Rep: Reputation: 0
I installed it on my slack 10, but I don't know any howto. I've done it by hand.
The problem is that the installation of LTSP is automated for "pretty much all of" the linux distros (as said on their website), but not for slack !
Nevertheless, it's not that hard if you know a little about networking and if you're not to scared with editing conf files by hand !

I took some notes while installing LTSP, I can paste them here if it can help.

Quote:
I've tried LTSP on Fedora and it was as slow as molasses.
What is your server ? It works just fine for me, even with 10Mbps ethernet's.
 
Old 10-11-2004, 10:45 AM   #3
mikz
Member
 
Registered: Sep 2004
Distribution: Slackware current
Posts: 109

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Zod

Nevertheless, it's not that hard if you know a little about networking and if you're not to scared with editing conf files by hand !

I took some notes while installing LTSP, I can paste them here if it can help.
I would appreciate any notes that you may have. In particular things to be aware of under Slackware. For instance is there a set order of things to do. What do I need to install.?
 
Old 10-11-2004, 05:10 PM   #4
philipacamaniac
Member
 
Registered: Oct 2003
Distribution: Slackware 10, Slackware-current, Slax
Posts: 50

Rep: Reputation: 15
I've gotten as far as configuring everything with ltspcfg (and doing a ton of stuff by hand), but now when I try to run ltspadmin, it says I need libwww-perl. So I went and compiled and installed libwww-perl (wait-did I remember to actually install? I think so...) but it's still a no go.

Writing a how-to wouldn't be too hard. But, neither would making a dang install script for slackware.
 
Old 10-12-2004, 01:16 PM   #5
Zod
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Rep: Reputation: 0
As I remember, ltspadmin jut download the ltsp packages and untar them. ltspcfg configures some files and tries (but fail because slack is not supported) to launch the services.

Ok, here's some kind of mini-howto.

First, you need to dl (almost) all the ltsp packages from http://www.ltsp.org/ltsp-4.1/

The complete list is
Code:
ltsp-audiofile-1.0-0-i386.tgz 
ltsp-aumix-1.0-0-i386.tgz 
ltsp-bash-1.0-0-i386.tgz 
ltsp-busybox-1.0-0-i386.tgz 
ltsp-devfsd-1.0-0-i386.tgz 
ltsp-e2fsprogs-1.1-0-i386.tgz 
ltsp-esd-1.0-0-i386.tgz 
ltsp-freetype-1.0-0-i386.tgz 
ltsp-gdb-1.0-0-i386.tgz 
ltsp-getltscfg-1.2-0-i386.tgz 
ltsp-glibc-1.0-0-i386.tgz 
ltsp-haltsys-1.0-0-i386.tgz 
ltsp-kernel-1.4-0-i386.tgz 
ltsp-libgcc_s-1.0-0-i386.tgz 
ltsp-libpng-1.0-0-i386.tgz 
ltsp-libvncserver-1.0-0-i386.tgz 
ltsp-localdev-1.1-0-i386.tgz 
ltsp-lp_server-1.1-0-i386.tgz 
ltsp-ltspinfod-1.1-0-i386.tgz 
ltsp-ltsptree-1.7-0-i386.tgz 
ltsp-modules-1.4-0-i386.tgz 
ltsp-modutils-1.0-0-i386.tgz 
ltsp-ncurses-1.0-0-i386.tgz 
ltsp-net-tools-1.0-0-i386.tgz 
ltsp-open-1.1-0-i386.tgz 
ltsp-openssl-1.0-0-i386.tgz 
ltsp-pam-1.0-0-i386.tgz 
ltsp-pci_scan-1.0-0-i386.tgz 
ltsp-popt-1.1-0-i386.tgz 
ltsp-portmap-1.0-0-i386.tgz 
ltsp-prep_swap-1.0-0-i386.tgz 
ltsp-rdesktop-1.3-0-i386.tgz 
ltsp-samba-1.0-0-i386.tgz 
ltsp-snmpd-1-0-i386.tgz 
ltsp-ssh-1.0-0-i386.tgz 
ltsp-startsess-1.1-0-i386.tgz 
ltsp-strace-1.0-0-i386.tgz 
ltsp-sysvinit-1.0-0-i386.tgz 
ltsp-tcp_wrappers-1.0-0-i386.tgz 
ltsp-util-linux-1.0-0-i386.tgz 
ltsp-vidlist-1.1-0-i386.tgz 
ltsp-x-core-1.2-0-i386.tgz 
ltsp-x-fonts-1.0-0-i386.tgz 
ltsp-x-fonts-100dpi-1.0-0-i386.tgz 
ltsp-x336_3DLabs-1.0-0-i386.tgz 
ltsp-x336_8514-1.0-0-i386.tgz 
ltsp-x336_AGX-1.0-0-i386.tgz 
ltsp-x336_I128-1.0-0-i386.tgz 
ltsp-x336_Mach32-1.0-0-i386.tgz 
ltsp-x336_Mach64-1.0-0-i386.tgz 
ltsp-x336_Mach8-1.0-0-i386.tgz 
ltsp-x336_Mono-1.0-0-i386.tgz 
ltsp-x336_P9000-1.0-0-i386.tgz 
ltsp-x336_S3_S3V-1.0-0-i386.tgz 
ltsp-x336_SVGA-1.0-0-i386.tgz 
ltsp-x336_VGA16-1.0-0-i386.tgz 
ltsp-x336_W32-1.0-0-i386.tgz 
ltsp-xinetd-1.0-0-i386.tgz 
ltsp-ypbind-1.0-0-i386.tgz 
ltsp-zlib-1.0-0-i386.tgz 
ltsp_nasd-1.1-0-i386.tgz
The ".ltsp" files contain information like dependences, description... : the are not needed for us.
The files ltsp-sound-1.0-0.1{tar.bz2,noarch.rpm} can be installed on the server for re-directing sound to the client, but I didn't try.

The tarball "ltsp-kernel-1.4-0-i386.tgz" need to be untared in /tftpboot/lts",
while all other's need to be untared in "/opt/ltps/" (ltsp-sound is not concerned !)

Four services are required : DHCP, TFTP, NFS, XDMCP and optionaly DNS.
So the following (Slackware) packages must be installed :
dhcpcd, portmap, nfs-utils, tcpip and X off course

The network :
Netmask 255.255.255.0
The LTS has the IP 192.168.0.1
The first client named "ws001" will have IP 192.168.0.21
The second named "ws002" 192.168.0.22 and so on.

Now the config files :

In order to make the tftp service available, we need to uncomment the following line in "/etc/inetd.conf"
Code:
tftp  dgram   udp     wait    root    /usr/sbin/in.tftpd  in.tftpd -s /tftpboot -r blksize
Next, "/etc/dhcpd.conf" :
Code:
# dhcpd.conf
#
# Configuration file for ISC dhcpd (see 'man dhcpd.conf')
#

default-lease-time          600;
max-lease-time              7200;
ddns-update-style           none;

option subnet-mask          255.255.255.0;
option broadcast-address    192.168.0.255;
option domain-name          "home";
option domain-name-servers  192.168.0.1;
option routers              192.168.0.1;
option root-path            "192.168.0.1:/opt/ltsp/i386";

subnet 192.168.0.0 netmask 255.255.255.0 {
}

group {
  use-host-decl-names  on;
#  option log-servers  192.168.0.1;

  host ws001 {
    hardware ethernet  00:AA:F5:17:CD:7D;
    fixed-address      192.168.0.21;
    filename           "/lts/vmlinuz-2.4.26-ltsp-2";
  }

  host ws002 {
    hardware ethernet  BB:F3:7E:71:DC:D6;
    fixed-address      192.168.0.22;
    filename           "/lts/vmlinuz-2.4.26-ltsp-2";
  }
}
The "hardware ethernet" are the MAC addresses of the client ethernet cards.
You can uncomment the line "# option log-servers 192.168.0.1;" if you want the clients to send their logs to the server, but syslog need to be configured to accept remote logs.
The option domain-name-servers can be your internet provider's dns ip.

Let's configure NFS now:
"/etc/exports" needs to contain the two lines
Code:
/opt/ltsp                 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)
If your "/etc/hosts.deny" contains "ALL: ALL" (as it should be ), "/etc/hosts.allow" should contain the following lines
Code:
portmap:        192.168.0.0/255.255.255.0
# for nfs
lockd:          192.168.0.0/255.255.255.0
mountd:         192.168.0.0/255.255.255.0
rquotad:        192.168.0.0/255.255.255.0
statd:          192.168.0.0/255.255.255.0

# for ltsp
in.tftpd:       192.168.0.0/255.255.255.0
dhcpcd:         192.168.0.0/255.255.255.0	
bootpd:         192.168.0.0/255.255.255.0
otherwise you can let the files /etc/hosts.{allow,deny} empty (this is a good idea in a first time because simpler)

Put the names and IPs of the clients in the "/etc/resolv.conf" file :
Code:
192.168.0.21 ws001.home ws001
192.168.0.22 ws002.home ws002
...
OK, now, XDMCP must be activated. It depends on what you use : xdm, gdm or kdm.
For xdm :
edit "/etc/X11/xdm/xdm-config" and comment the (last for me) line (with a "!" not a "#") :
Code:
!DisplayManager.requestPort:    0
For gdm :
edit "/etc/X11/gdm/gdm.conf", in the section "[xdmcp]" enable :
Code:
Enable=true
For kdm :
I don't know ! But it should be similar.

Now the services are configured. The last file to edit (and maybe create) is "/opt/lts/i386/etc/lts.conf", mine is
Code:
[Default]
        SERVER             = 192.168.0.1
        XSERVER            = auto
        X_MOUSE_PROTOCOL   = "PS/2"
        X_MOUSE_DEVICE     = "/dev/psaux"
        X_MOUSE_RESOLUTION = 400
        X_MOUSE_BUTTONS    = 3
        USE_XFS            = N
        SCREEN_01          = startx

[ws001]
        XF86CONFIG_FILE    = X11/xorg-ws001.conf

[ws002]
        XF86CONFIG_FILE    = X11/xorg-ws002.conf
where "xorg-ws00[12].conf" files are in "/opt/ltsp/i386/etc/X11/". See http://www.ltsp.org/documentation/lt...en.html#AEN524 for more infos about that (and about all done before as well).

This is it !
Now start the services and force inetd to reread it's conf file :
Code:
killall -HUP inetd
/etc/rc.d/rc.portmap start
/etc/rc.d/rc.nfsd start
/etc/rc.d/rc.dhcpd start
CTRL+SHIFT+BACKSPACE #to restart X, ok this a little barbarian but this is the *true* power ! ;)
It's all folks !

Note that, for the services to start at boot time, you have to
Code:
chmod +x /etc/rc.d/rc.{portmap,nfsd,dhcpd}
 
Old 10-12-2004, 04:30 PM   #6
Zod
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Rep: Reputation: 0
Exclamation

I forgot something : for gdm (and xdm and kdm I think, but I didn't try), you need to add
Code:
gdm:     192.168.0.1/255.255.255.0
to "/etc/hosts.allow".
 
Old 07-11-2006, 04:25 PM   #7
strikernzl
LQ Newbie
 
Registered: Sep 2003
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
Hi,
did you manage to get sound working on the thin cient? If so how? because with NAS it keeps biffing up cant find the /dev/dsp and RealPlayer10 supposedly doesnt support ESD..
 
Old 07-11-2006, 06:39 PM   #8
Zod
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Rep: Reputation: 0
Hi strikernzl,

I can't help you with NAS becaus I never tried it.

But if you get sound work with esd, you should try the esddsp command
Code:
$ man esddsp
ESDDSP(1)

NAME
       esddsp - attempt to reroute audio device to esd

DESCRIPTION
       esddsp can allow non-esd applications to be routed through esd.

USAGE
[...]
 
Old 07-17-2006, 12:33 AM   #9
strikernzl
LQ Newbie
 
Registered: Sep 2003
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by Zod
Hi strikernzl,

I can't help you with NAS becaus I never tried it.

But if you get sound work with esd, you should try the esddsp command
Code:
$ man esddsp
ESDDSP(1)

NAME
       esddsp - attempt to reroute audio device to esd

DESCRIPTION
       esddsp can allow non-esd applications to be routed through esd.

USAGE
[...]
Hi Zod.
well, I have sorta managed to get sound working lol. now I just need to get it stream properly at present its playing at like 20 times the speed it should be, but hey at least its a step forward.

regards
strikernzl
 
Old 11-24-2006, 07:00 PM   #10
mighty-d
LQ Newbie
 
Registered: Nov 2006
Posts: 1

Rep: Reputation: 0
Question Can't get it to word

Hello, Im using SLACKWARE 11 with LTSP 4-2, the thin client is using an ethernet rom-o-matic cd rom image, so far the thin client gets its ip address but when it says: downloading 192.168.2.4:/lts/vmlinuz-2.6.16.1-ltsp-2 it keeps printing dots. It seems tftp isn't working?? my server ip address is 192.168.2.4 , the thin ip is 192.168.2.11. My files are:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# dhcpd.conf

default-lease-time 600;
max-lease-time 7200;
ddns-update-style none;

#ddns-update-style ad-hoc;

option subnet-mask 255.255.255.0;
option broadcast-address 192.168.2.255;
option routers 192.168.2.4;
option domain-name-servers 192.168.2.4;
option domain-name "mighty-d.org"; # You really should fix this
option option-128 code 128 = string;
option option-129 code 129 = text;


#get-lease-hostnames true;

next-server 192.168.2.4;
option root-path "192.168.2.4:/opt/ltsp/i386";

subnet 192.168.2.0 netmask 255.255.255.0 {
range 192.168.2.100 192.168.2.199;
if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
filename "/lts/2.6.16.1-ltsp-2/pxelinux.0";
}
else{
filename "/lts/vmlinuz-2.6.16.1-ltsp-2";
}
}

group {
use-host-decl-names on;
# option log-servers 192.168.0.1;

host ws100 {
hardware ethernet 00:40:F4:92:BE:1A;
fixed-address 192.168.2.11;
filename "/lts/vmlinuz-2.6.16.1-ltsp-2";
}

}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
#resolv.conf file
nameserver 192.168.2.1
nameserver 200.13.224.254
nameserver 200.13.249.101
nameserver 200.13.224.8


#ltsp

192.168.2.11 ws100.home ws100
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
#inetd.conf

tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot -r blksiz

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

please help me, im starting to get crazy with this matter :P
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling driver for LTSP 2.4.26-ltsp-2 ardian Linux - Software 2 10-21-2005 01:40 AM
LTSP and Slackware 10 mikz Slackware 0 09-17-2004 01:02 PM
Ltsp acdc Linux - Networking 1 06-11-2004 12:38 PM
Ltsp acdc Linux - Software 1 06-11-2004 04:53 AM
LTSP on Slackware 9.0 Dr.Lun Slackware 0 04-05-2003 10:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 02:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration