Skip to main content

Setting UP LTSP 5 on Ubuntu 8.04

When you set up LTSP on Ubuntu 8.04 you will notice that it is very easy to get going in LTSP 5. Most of the configuration is automatically done for you. Install the Ubuntu 8.04.1 Desktop CD. You must have a graphical interface running on the server to be provided for the clients. Once you have installed the Desktop, be sure your network is set to operate on a static IP Address. Next you will need to install several programs required for the ltsp setup.

sudo apt-get install ltsp-server-standalone openssh-server

Create your Thin Client environment on the server with this command:

$ sudo ltsp-build-client

Update the Desktop System

$ sudo apt-get update

$ sudo apt-get upgrade

Configure DHCP

You will supply IP Addresses to the thin clients using DHCP. The file you want to edit is /etc/ltsp/dhcpd.conf. Note this is not the normal dhcpd.conf file that you would edit, this is a special file for LTSP only.

Here is a partial example file. The first line ensures that clients will use this DHCP server:

authoritative;

The subnet is declared with the network and netmask:

subnet 192.168.7.0 netmask 255.255.255.0 {

The next line which is indented is the range that your DHCP server will supply. So on this network example you could have static IP Addresses from 192.168.7.1-192.168.7.124 and then the range will define what dynamic IPs will be supplied by the DHCP server.

range 192.168.7.125 192.168.7.246;

It is a good idea to provide a DNS server for the clients:

option domain-name-servers 12.32.34.32;

Define the broadcast address:

option broadcast-address 192.168.7.255;

The optional router will also be the gateway for your network:

option routers 192.168.7.2;

Now you can set up individual diskless workstations. In these examples the hostname for the workstation is declared:

host ws205 {

Because you want to declare these hosts it is important that you modify your /etc/hosts file so the workstation is listed there. Here the workstation number is tied to the IP Address on the network so that it is easy to trouble shoot as you know right where to go to fix either a network problem or a hardware issue.
---cut---

ws202 192.168.7.202

ws203 192.168.7.203

ws205 192.168.7.205

ws206 192.168.7.206

---cut---

The hardware MAC address for each network card is listed so that you can tie the IP to a specific diskless workstation.

hardware ethernet 00:13:90:00:D7:8F;

The fixed IP Address is noted.

Fixed-address 192.168.7.205;

Finally a location to get the image for the diskless workstation is provided.

filename "/ltsp/i386/pxelinux.0";

That is the configuration for the clients as they will boot

#

# Default LTSP dhcpd.conf config file.

#

authoritative;

subnet 192.168.7.0 netmask 255.255.255.0 {

range 192.168.7.125 192.168.7.246;

option domain-name-servers 12.32.34.32;

option broadcast-address 192.168.7.255;

option routers 192.168.7.2;


host ws205 {

hardware ethernet 00:13:90:00:D7:8F;

fixed-address 192.168.7.205;

filename "/ltsp/i386/pxelinux.0";

}

host ws247 {

hardware ethernet 00:13:90:00:67:AF;

fixed-address 192.168.7.247;

filename "/ltsp/i386/pxelinux.0";

---cut---


When you have finished restart the server. Run these commands to update your ssh keys.

$ sudo ltsp-update-sshkeys
$ sudo ltsp-update-image

Be sure to do it in that order.


Comments

Popular posts from this blog

Howto Install BSNL wll clarity phone in Ubuntu

Hello linixians, Failed to access internet through your bsnl clarity phone.... Here is an easy way 1. Just download this executable..... bsnlclarity and save it to your home folder. 2. Connect your phone to the system with the usb cable. 3. Now at terminal type $ sudo ./bsnlclarity You will be asked for your username and password for accessing the internet enter it ..... now start surffing Ctrl+C to stop

Blank (or black) screen after boot process in Ubuntu

You may encounter a blank screen after boot in ubuntu. This will be due to some update of certain packages. Follow these steps to correct the problem. 1. Select recovery mode from the boot menu. 2. Select login as root from the menu in recovery mode. 3. Type this at the prompt # sudo apt-get remove xorg-driver-fglrx # sudo dpkg-reconfigure -phigh xserver-xorg 4. Exit # exit 5. Now select Resume normal boot from the menu. Every thing should be OK by now. Please comment about your experience.

gtalx: Howto Gtalk in ubuntu ( google talk )

Did you fail to use " gtalk in ubuntu " ... Now you can chat and talk to your gmail buddies in ubuntu... 1. check for gtk2.0 and qt4 $ sudo apt-get install libgtk2.0-dev $ sudo apt-get install libqt4-dev libogg-dev libtheora-dev $ sudo apt-get install libsdl-dev libavcodec-dev libswscale-dev $ sudo apt-get install libexpat-dev libraw1394-dev libvorbis-dev $ sudo apt-get install libgsm1-dev  libspeexdsp-dev libmediastreamer0-dev libortp-dev 2. Remove 'pulse audio sound server' Open synaptic package manager and remove pulse audio 3. "Download gtalx" from here Dowload it here 4. Extract the file.... $ tar -zxvf 0.0.4.tar.gz 5. Get into the directory.... $ cd 0.0.4 and then... $ sudo chmod u+x make $ ./make $ sudo ./make install 6. Enjoy..... Please comment about your installation(whether it was a success or not....) Take gtalx from Applications > Internet > gtalx Enter your gmail login information..and click connect...