[K12OSN] DHCP Problem

Victor Yip victor at hiplik.com.hk
Sun Mar 28 15:31:59 UTC 2004


Hi,
Normally dhcp starts by /usr/sbin/dhcpd, which invokes dhcpd on eth0 device.
In your case, the dhcp should start on eth2 (as you mention), you should
then run /usr/sbin/dhcpd eth2 to invoke dhcpd on eth2 device.
You may need to change the file in /etc/rc.d/init.d/dhcpd to make it
invoke the eth2 device.
Hope this solve your problem.
Victor

corywynn at comcast.net:

>I just recently installed a default version of K12LTSP-4.0.1 on my machine.  I sit everything behind a Linksys Wireless hub that connects to eth0 for which I have it as dhcp client and it receives (192.168.1.102) from the hub in order to access the internet.  I also have eth2 which I made static, per K12LTSP instructions to 192.168.0.254/255.255.255.0.  This runs a null cable to the uplink port of my hub which in turn connects my lone test terminal client.  I am able to access the internet and when running
>
>service dhcpd status
>
>I get the following:
>
>dhcpd (pid 1066) is running..
>
>Now in configuring my client I have 3Com900b-tp0  card which I made a boot floppy for and upon booting my client pc I receive the following message:
>
>Etherboot 5.0.1 (GPL) Tagged ELF for [3C595]
>Found 3Com900B-TPO at 0x100, ROM address 0x0000
>Probing....[3C595]utp[*utp]: disable 'auto select' with DOS util! Ethernet address: 00:50:04:72:39:B7
>selected utp. (default)
>Searching for server (DHCP).....
>
>My question is how do I allow for my lone terminal client to find my dhpc server from the statically assigned card?  I have read and browsed the archives for almost 6 hrs trying to find the answer as well as double and triple checked my cable connections and lights.  If anyone can help me I would certainly appreciate it.  I know it has to be something small that I am overlooking since my client is probing for an address.  I also have attached a copy of my dhcpd.conf file as well.  If I need to be more specific pleez let me know.  
>
>-------------------------------------------------------------------------------
>dhcpd.conf file
>-------------------------------------------------------------------------------
># 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.
>#
> 
>default-lease-time            21600;
>max-lease-time                21600;
>ddns-update-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";
>option option-128 code 128 = string;
>option option-129 code 129 = text;
> 
>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;
> 
>     # trick from Peter Rundle <peter.rundle at au.interpath.net>
>     if substring (option vendor-class-identifier, 0, 9) = "PXEClient"
>     {
>        filename      "/lts/pxe/pxelinux.bin";
>          # NOTE: kernels are specified in /tftpboot/lts/pxe/pxelinux.cfg/
>     }
>     else
>     {
>        filename    "/lts/vmlinuz.ltsp";
>     }
>  }
>}
> 
># example configurations for specifying specific kernels to specific clients
>#group  {
>#    use-host-decl-names       on;
>#    option log-servers        192.168.0.254;
>#
>#    host ws001 {
>#        hardware ethernet     00:E0:06:E8:00:84;
>#        fixed-address         192.168.0.1;
>#        filename              "/lts/vmlinuz.ltsp";
>#        option option-128 e4:45:74:68:00:00;
>#        option option-129 "NIC=3c509";
>#    }
>#    host ws002 {
>#        hardware ethernet     00:D0:09:30:6A:1C;
>#        fixed-address         192.168.0.2;
>#        filename              "/lts/vmlinuz.ltsp";
>#        option option-128 e4:45:74:68:00:00;
>#        option option-129 "NIC=ne";
>#    }
>#    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";
>#    }
>#}
>
>
>_______________________________________________
>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