Hej
Jeg prøver at installere LTSP på min mandrake 8.2 server. Jeg har fulgt
eksempler fra disse links:
http://www.ltsp.org/documentation/mandrake_ltsp.html og
http://www.ltsp.org/documentation/ltsp-3.0.0/ltsp-3.0.html til at lave min
opsætning af serveren. Men jeg har store problemer med at få dhcp-server til
at køre. Jeg har udført "urpmi dhcp-server", men når jeg så gerne vil starte
dhcp med kommandoen "service dhcpd start" kommer der blot en fejl.
Jeg har følgende opsætning af dhcpd.conf:
////////////////////////////////////////////////////////////////////////////
///////////
# Sample configuration file for ISCD dhcpd
#
# Don't forget to set run_dhcpd=1 in /etc/init.d/dhcpd
# once you adjusted this file and copied it to /etc/dhcpd.conf.
#
ddns-update-style none;
default-lease-time 21600;
max-lease-time 21600;
option subnet-mask 255.255.255.0;
option broadcast-address 10.0.0.255;
option routers 10.0.0.254;
option domain-name-servers 10.0.0.254;
option domain-name "ltsp.org";
option root-path "10.0.0.254:/opt/ltsp/i386";
option option-128 code 128 = string;
option option-129 code 129 = text;
shared-network WORKSTATIONS {
subnet 10.0.0.0 netmask 255.255.255.0 {
}
}
group {
use-host-decl-names on;
option log-servers 10.0.0.254;
host ws001 {
hardware ethernet 00:AA:00:AE:77:C0;
fixed-address 10.0.0.2;
filename "/lts/vmlinux-2.4.9-ltsp-1";
## option option-128 e4:45:74:68:00:00;
## option option-129 "NIC=eepro100";
}
# host ws002 {
# hardware ethernet 00:D0:09:30:6A:1C;
# fixed-address 192.168.0.2;
# filename "/lts/vmlinuz-2.4.9-ltsp-6";
## option option-128 e4:45:74:68:00:00;
## option option-129 "NIC=tulip";
}
}
////////////////////////////////////////////////////////////////////////////
/////////////////
I /etc/init.d/dhcpd tilføjer jeg denne linje: run_dhcpd=1
Min /opt/ltsp/i386/etc/lts.conf ser sådan her ud:
////////////////////////////////////////////////////////////////////////////
/////////////////
#
# Config file for the Linux Terminal Server Project (
www.ltsp.org)
#
[Default]
SERVER = 10.0.0.254 #192.168.0.254
XSERVER = auto
X_MOUSE_PROTOCOL = "PS/2"
X_MOUSE_DEVICE = "/dev/psaux"
X_MOUSE_RESOLUTION = 400
X_MOUSE_BUTTONS = 3
USE_XFS = N
LOCAL_APPS = N
RUNLEVEL = 5
#---------------------------------------------------------------------------
---
#
# Example of specifying X settings for a workstation
#
[ws001]
#XSERVER = auto
LOCAL_APPS = N
USE_NFS_SWAP = N
SWAPFILE_SIZE = 48m
RUNLEVEL = 5
#[ws002]
# XSERVER = XF86_SVGA
# LOCAL_APPS = N
# USE_NFS_SWAP = N
# SWAPFILE_SIZE = 64m
# RUNLEVEL = 3
#
# ws004 is my virtual workstation running in a VMware session
#
#[ws004]
# DNS_SERVER = 192.168.0.254
# XSERVER = auto
# X4_BUSID = "PCI:0:15:0"
# X_MODE_0 = 800x600
# LOCAL_APPS = N
# USE_NFS_SWAP = N
# SWAPFILE_SIZE = 64m
# RUNLEVEL = 5
#---------------------------------------------------------------------------
---
#
# Example of a workstation configured to load some modules
#
#[ws001]
# MODULE_01 = agpgart.o # This is for i810 video
# MODULE_02 = uart401.o
# MODULE_03 = sb.o io=0x220 irq=5 dma=1
# MODULE_04 = opl3.o
#---------------------------------------------------------------------------
---
#
# Example of ws001 configured for local apps
#
#[ws001]
# LOCAL_APPS = Y
# LOCAL_WM = Y
# NIS_DOMAIN = ltsp
# NIS_SERVER = 192.168.0.254
#---------------------------------------------------------------------------
---
#
# Example of a serial printer attached to /dev/ttyS1 on workstation ws001
#
#[ws001]
# PRINTER_0_DEVICE = /dev/ttyS1
# PRINTER_0_TYPE = S # P-Parallel, S-Serial
# PRINTER_0_PORT = 9100 # tcp/ip port: defaults to 9100
# PRINTER_0_SPEED = 9600 # baud rate: defaults to 9600
# PRINTER_0_FLOWCTRL = S # Flow control: S-Software (XON/XOFF),
# # H-Hardware (CTS/RTS)
# PRINTER_0_PARITY = N # Parity: N-None, E-Even, O-Odd
# # (defaults to 'N')
# PRINTER_0_DATABITS = 8 # Databits: 5,6,7,8 (defaults to 8)