Hi Evan

    I am trying to setup Thin client on Redhat 7.3. I am looking this
artilce on the web
http://www.extremeoverclocking.com/articles/howto/FAH_Diskless_Farm_1.html
which is very nice. I have two Ethernet card.(eth0 for Internet and eth1 for
thin Client).

eth0 192.168.105.140    GW =192.168.105.254        ( This is for Internet )

eth1 192.168.2.100     GW =192.168.105.140     ( Shoul I assing IP Address
and GW to eth1?)

When I try to start DHCPD I got this error

# /etc/init.d/dhcpd start
Can't bind to dhcp address: Address already in use exiting.

I Have these config files
=====================
# more /etc/sysconfig/dhcpd
----------------------------------------------------
# Command line options here

DHCPDARGS=eth1         <<= I added eth1 there and call this DHCPDARGS form
/etc/init.d/dhcpd file which is this

#more /etc/init.d/dhcpd
----------------------------------------------------

#!/bin/sh
#
# dhcpd         This shell script takes care of starting and stopping
#               dhcpd.
#
# chkconfig: - 65 35
# description: dhcpd provide access to Dynamic Host Control Protocol.

# Source function library.
. /etc/rc.d/init.d/functions

# Source networking configuration.
. /etc/sysconfig/network
. /etc/sysconfig/dhcpd

# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0

[ -f /usr/sbin/dhcpd ] || exit 0
[ -f /etc/dhcpd.conf ] || exit 0
[ -f /var/lib/dhcp/dhcpd.leases ] || exit 0

RETVAL=0
prog="dhcpd"

start() {
        # Start daemons.
        echo -n $"Starting $prog: "
        daemon /usr/sbin/dhcpd ${DHCPDARGS}

..............
..
..
----------------------------------------------------
 my /etc/dhcpd.conf
----------------------------------------------------
/etc/dhcpd.conf
# Make changes to this file and copy it to /etc/dhcpd.conf
#
# If the setting below doesn't work,
# then try changing to the following setting:

default-lease-time 21600;
max-lease-time 21600;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.2.255;
option routers 192.168.2.100;
option domain-name-servers 192.168.105.140;
option domain-name "local.domain.com";
option root-path "192.168.2.100:/opt/ltsp/i386";

shared-network WORKSTATIONS {
  subnet 192.168.2.0 netmask 255.255.255.0 {
    range 192.168.2.101 192.168.2.200;
  }
}

group {
  use-host-decl-names on;
  option log-servers 192.168.2.100;
  host ws001 {
    hardware ethernet 00:01:03:C0:0C:EB;
    fixed-address 192.168.2.101;
    filename "/lts/vmlinuz-2.4.19-ltsp-1";
  }

----------------------------------------------------

# more /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.105.140
NETMASK=255.255.255.0
GATEWAY=192.168.105.254

----------------------------------------------------

#more /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
BOOTPROTO="dhcp"
IPADDR=""
NETMASK=255.255.255.0
ONBOOT="yes"

----------------------------------------------------

# more /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1                       localhost.localdomain localhost
192.168.105.140             thinclient.local.domain.com
192.168.2.100              client1.local.domain.com
----------------------------------------------------

/opt/ltsp/i386/etc/lts.conf

#
# Config file for the Linux Terminal Server Project (www.ltsp.org)
#
[Default]
SERVER = 192.168.2.100
DNS_SERVER = 192.168.105.140
 SEARCH_DOMAIN = "thinclient.local.domain.com"
USE_XFS = N
LOCAL_APPS = N
RUNLEVEL = 4
USE_NFS_SWAP = N
#--------------------------------------------------
[client1]
USE_NFS_SWAP = N
SWAPFILE_SIZE = 32m
RUNLEVEL = 3
RCFILE_01 = startfah

#--------------------------------------------------
/etc/exports
#--------------------------------------------------

## LTS-begin ##
# Note, some lines might wrap because of length, each entry
# should be only one line!
/opt/ltsp/i386 192.168.2.100/255.255.255.0 (ro,no_root_squash,sync)
/var/opt/ltsp/swapfiles 192.168.2.100/255.255.255.0
(rw,no_root_squash,async)

/fah/ws001 192.168.2.100/255.255.255.0 (rw,no_root_squash,sync)
/fah/ws002 192.168.2.100/255.255.255.0 (rw,no_root_squash,sync)

## LTS-end ##

==================================================
When I try to start I got this

# /etc/init.d/dhcpd start
Can't bind to dhcp address: Address already in use exiting.

I don't know, why It is not working. please help me

Thanks

Bimal



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_____________________________________________________________________
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

Reply via email to