[K12OSN] Do I miss something ? part2
Joe Guenther
jguenther at chinooksedge.ab.ca
Mon May 31 23:53:02 UTC 2004
Pete
When a client computer boots, the first thing it looks for is the DHCP server. There the client gets its IP address, host name and boot file. The dhcpd.conf file can be populated with the mac address (the hardcoded hardware address of the network card in the client)
= = = EXAMPLE DHCPD.CONF file .... this is only the later part of the file ... the top part of the file is left that way it comes from the installation
host ws003 {
hardware ethernet 00:D0:09:30:28:B2;
fixed-address 192.168.0.3;
# kernels are specified in /tftpboot/lts/boot/pxe/pxelinux.cfg/
filename "/lts/boot/pxe/pxelinux.bin";
}
#Compaq Deskpro PIII-600
host ws005 {
hardware ethernet 00:D0:B7:C8:A8:4D;
fixed-address 192.168.0.5;
# kernels are specified in /tftpboot/lts/pxe/pxelinux.cfg/
filename "/lts/pxe/pxelinux.bin";
}
#Compaq Deskpro 4000S P233MMX, 32Mb RAM
host ws006 {
hardware ethernet 00:01:03:C1:5F:B2;
fixed-address 192.168.0.6;
# kernels are specified in /tftpboot/lts/pxe/pxelinux.cfg/
filename "/lts/pxe/pxelinux.bin";
}
#PAC P133, 32Mb RAM
host ws007 {
hardware ethernet 00:01:02:DA:EF:43;
fixed-address 192.168.0.7;
# kernels are specified in /tftpboot/lts/pxe/pxelinux.cfg/
filename "/lts/pxe/pxelinux.bin";
}
#HUGO PII-300, 32Mb RAM - on end of row...
host ws008 {
hardware ethernet 00:01:03:68:F3:F5;
fixed-address 192.168.0.8;
# kernels are specified in /tftpboot/lts/pxe/pxelinux.cfg/
filename "/lts/pxe/pxelinux.bin";
}
THEN the host names here correspond with the entires in the LTS.CONF file....
# Compaq Deskpro 4000S P233MMX, 32Mb RAM
[ws006]
XSERVER = auto
X_MOUSE_PROTOCOL = "IMPS/2"
LOCAL_APPS = N
USE_NFS_SWAP = N
SWAPFILE_SIZE = 48m
#PAC P133, 32Mb RAM
[ws007]
XSERVER = cirrus
X_MOUSE_PROTOCOL = "Microsoft"
X_MOUSE_DEVICE = "/dev/ttyS1"
X_MOUSE_RESOLUTION = 50
X_MOUSE_BUTTONS = 3
X_MOUSE_BAUD = 1200
LOCAL_APPS = N
USE_NFS_SWAP = N
SWAPFILE_SIZE = 48m
X_MODE_0 = 1024x768 65 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
#HUGO PII-300, 32Mb RAM - on end of row...
[ws008]
XSERVER = auto
X_MOUSE_PROTOCOL = "Microsoft"
X_MOUSE_DEVICE = "/dev/ttyS0"
X_MOUSE_RESOLUTION = 50
X_MOUSE_BUTTONS = 3
X_MOUSE_BAUD = 1200
LOCAL_APPS = N
USE_NFS_SWAP = N
SWAPFILE_SIZE = 48m
# X_MODE_0 = 800x600 40 800 840 968 1056 600 601 605 628 +hsync +vsync
notice how you can specify numerous variables specific to that client ... the VGA card, a serial mouse, an attached printer, the video resolution, swap file size, etc.
Configure those two files and viola! ... life will be happy.
greetings
Joe Guenther
-----Original Message-----
From: Pete <pvdw at criticalcontrol.com>
To: "Support list for opensource software in schools." <k12osn at redhat.com>
Date: Mon, 31 May 2004 15:54:52 -0600
Subject: [K12OSN] Do I miss something ? part2
Hi K12LTSP fans :
I am fairly new to this stuff and was wondering about how you guys
handle different types of terminals.
As far as I can see you have to make sure that a certain terminal gets
the same IP number each time (DHCP & mac address)
and then you can tweak certain thing in lts.conf... no?
In my opinion this gets ugly quite fast, is there a better way?
Example I got 10 clients with a cirrus video card and 10 with another card.
If I set the XSERVER = cirrus
10 pc work fine the 10 other are blank.
when I change the setting to auto
The other 10 pc's do work...
So this means 10 entries and 10 fixed DHCP leases?
Hints appreciated
Peter
_______________________________________________
K12OSN mailing list
K12OSN at redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
More information about the K12OSN
mailing list