Hi All Folk,
I just finished install LTSP-3.0 on a RH7.3 boix and encountered starting
problem. I also have Samba server installed on the same box but without
starting it. The diskless workstartion was taken from K12SON project and
proved workable. Hereinunder are my test results.
Kindly help. Thanks in advance.
Stephen Liu
******** TEST ********
eth0 (for connection to diskless workstation)
check "Activate device when computer starts"
check "Statically set IP addresses"
Under "Manual IP Address Setting"
Address: 192.168.0.254
Subnet Mask 255.255.255.0
Under "Hosts" tab
192.168.0.12 ws002.ltsp ws002
127.0.0.1 localhost.localdomain localhost
192.168.0.1 IWILL.localdomain IWILL
192.168.0.254 server.ltsp server
192.168.0.11 ws001.ltsp ws001
(Remark: There is a Samba server running on this PC
"192.168.0.1 IWILL.localdomain IWILL"
is its client)
/etc/hosts
192.168.0.254 server.ltsp server
192.168.0.11 ws001.ltsp ws001
192.168.0.12 ws002.ltsp ws002
# Do not remove the following line, or various programs
# that require network functionality will fail
127.0.0.1 localhost.localdomain localhost
192.168.0.1 IWILL.localdomain IWILL
/etc/dhcpd.conf
# Sample configuration file for ISCD dhcpd
#
# Make changes to this file and copy it to /etc/dhcpd.conf
default-lease-time 21600;
max-lease-time 21600;
ddns-lease-style none;
allow booting
allow bootp
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.254;
option domain-name-servers 192.168.0.254;
option domain-name "ltsp";
option root-path "192.168.0.254:/opt/ltsp/i386";
shared-network WORKSTATIONS {
subnet 192.168.0.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.0.100 192.168.0.253;
use-host-decl-names on;
option log-servers 192.168.0.254;
}
}
group {
use-host-decl-names on;
option log-servers 192.168.0.254;
host ws001 {
hardware ethernet 00:E0:18:E8:04:82;
fixed-address 192.168.0.11;
filename "/lts/boot/bootp/vmlinuz.eepro100.bootp";
## option option-128 e4:45:74:68:00:00; #This is NOT a MAC address
}
}
/opt/ltsp/i386/etc/lts.conf
#
# Config file for the Linux Terminal Server Project (www.ltsp.org)
#
[Default]
SERVER = 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
[ws001]
# XSERVER = auto
# LOCAL_APPS = N
USE_NFS_SWAP = Y
SWAPFILE_SIZE = 48m
RUNLEVEL = 5
[ws002]
XSERVER = XF86_SVGA
LOCAL_APPS = N
USE_NFS_SWAP = Y
SWAPFILE_SIZE = 64m
RUNLEVEL = 3
TESTING *********
[root@server /]# netstat -an | grep ":67" (NO RESPONSE)
[root@server /]# ps aux | grep dhcpd
root 1665 0.0 0.4 1760 596 pts/1 S 15:44 0:00 grep dhcpd
[root@server /]# service dhcpd start
dhcpd: unrecognized service
[root@server /]# ipchains -L -v
Chain input (policy ACCEPT: 0 packets, 0 bytes):
pkts bytes target prot opt tosa
tosx ifname mark outsize source destination
ports
2 110 ACCEPT udp ------ 0xFF
0x00 any 210.0.144.26 anywhere
domain -> 1025:65535
3 245 ACCEPT udp ------ 0xFF
0x00 any 210.0.144.66 anywhere
domain -> 1025:65535
6 3456 ACCEPT udp ------ 0xFF
0x00 eth0 anywhere anywhere
bootps:bootpc -> bootps:bootpc
1 328 ACCEPT udp ------ 0xFF
0x00 eth1 anywhere anywhere
bootps:bootpc -> bootps:bootpc
60 4200 ACCEPT all ------ 0xFF
0x00 lo anywhere anywhere
n/a
0 0 ACCEPT all ------ 0xFF
0x00 eth0 anywhere anywhere
n/a
20 560 ACCEPT all ------ 0xFF
0x00 eth1 anywhere anywhere
n/a
0 0 REJECT tcp -y---- 0xFF
0x00 any anywhere anywhere
any -> 0:1023
0 0 REJECT tcp -y---- 0xFF
0x00 any anywhere anywhere
any -> nfs
0 0 REJECT udp ------ 0xFF
0x00 any anywhere anywhere
any -> 0:1023
0 0 REJECT udp ------ 0xFF
0x00 any anywhere anywhere
any -> nfs
0 0 REJECT tcp -y---- 0xFF
0x00 any anywhere anywhere
any -> x11:6009
0 0 REJECT tcp -y---- 0xFF
0x00 any anywhere anywhere
any -> xfs
Chain forward (policy ACCEPT: 0 packets, 0 bytes):
Chain output (policy ACCEPT: 65 packets, 4480 bytes):
[root@server /]# iptables -L -v
/lib/modules/2.4.18-3/kernel/net/ipv4/netfilter/ip_tables.o: init_module:
Device or resource busy
Hint: insmod errors can be caused by incorrect module parameters, including
invalid IO or IRQ parameters
/lib/modules/2.4.18-3/kernel/net/ipv4/netfilter/ip_tables.o: insmod
/lib/modules/2.4.18-3/kernel/net/ipv4/netfilter/ip_tables.o failed
/lib/modules/2.4.18-3/kernel/net/ipv4/netfilter/ip_tables.o: insmod
ip_tables failed
iptables v1.2.5: can't initialize iptables table `filter': iptables who?
(do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
[root@server /]# tail -f /var/log/messages
Aug 19 15:36:04 server kernel: ac97_codec: AC97 Audio codec, id:
0x8384:0x7605 (SigmaTel STAC9704)
Aug 19 15:36:04 server modprobe: modprobe: Can't locate module
sound-service-0-0
Aug 19 15:36:04 server modprobe: modprobe: Can't locate module sound-slot-1
Aug 19 15:36:04 server modprobe: modprobe: Can't locate module
sound-service-1-0
Aug 19 15:36:04 server modprobe: modprobe: Can't locate module sound-slot-1
Aug 19 15:36:04 server modprobe: modprobe: Can't locate module
sound-service-1-0
Aug 19 15:39:08 server modprobe: modprobe: Can't locate module Default
Aug 19 15:39:08 server modprobe: modprobe: Can't locate module freeDefault
Aug 19 15:39:08 server kernel: udf: registering filesystem
Aug 19 15:39:13 server kernel: UDF-fs INFO UDF 0.9.5-rw (2001/10/10)
Mounting volume 'SoftWare', timestamp 2002/07/19 19:07 (11e0)
[root@server /]# ps -e | grep nfs
1179 ? 00:00:00 nfsd
1180 ? 00:00:00 nfsd
1181 ? 00:00:00 nfsd
1182 ? 00:00:00 nfsd
1183 ? 00:00:00 nfsd
1184 ? 00:00:00 nfsd
1185 ? 00:00:00 nfsd
1186 ? 00:00:00 nfsd
[root@server /]# ps -e | grep mountd
1173 ? 00:00:00 rpc.mountd
[root@server /]# /etc/rc.d/init.d/nfs restart
Stopping NFS mountd: [ OK ]
Stopping NFS daemon: [ OK ]
Stopping NFS services: [ OK ]
Stopping NFS quotas: [ OK ]
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS mountd: [ OK ]
Starting NFS daemon: [ OK ]
[root@server /]# ps -e | grep nfs
1807 ? 00:00:00 nfsd
1808 ? 00:00:00 nfsd
1809 ? 00:00:00 nfsd
1810 ? 00:00:00 nfsd
1811 ? 00:00:00 nfsd
1812 ? 00:00:00 nfsd
1813 ? 00:00:00 nfsd
1814 ? 00:00:00 nfsd
[root@server /]# rpcinfo -p localhost
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 1024 status
100024 1 tcp 1024 status
391002 2 tcp 1025 sgi_fam
100011 1 udp 702 rquotad
100011 2 udp 702 rquotad
100011 1 tcp 705 rquotad
100011 2 tcp 705 rquotad
100005 1 udp 1028 mountd
100005 1 tcp 1028 mountd
100005 2 udp 1028 mountd
100005 2 tcp 1028 mountd
100005 3 udp 1028 mountd
100005 3 tcp 1028 mountd
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100021 1 udp 1029 nlockmgr
100021 3 udp 1029 nlockmgr
100021 4 udp 1029 nlockmgr
[root@server /]# ah /tmp/start_ws
bash: ah: command not found
# netstat -ap | grep xdmcp
udp 0 0 *:xdmcp *:* 1375/kdm
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.openprojects.net