[K12OSN] Searching for server (DHCP)

Debbie Schiel debbieschiel at hotmail.com
Sat Aug 28 01:23:46 UTC 2004


Hi Bimal,

lan card address (client)
00:C0:4F:7A:19:71

Client Ethernet card
3Com Fast EtherLink XL 10/100Mb TX Ethernet NIC (3C905-TX)

and the 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.
#

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 {
	# YEAR456
	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.0";
			}
		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:0E:A6:65:E2:29;
		fixed-address 192.168.0.1;
		filename "/tftpboot/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              "/tftpboot/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.0";
    }
	# DSCHIEL addition...
	host ws004 {
		hardware ethernet 00:C0:4F:7A:19:71;
		fixed-address 192.168.0.4;
		filename      "/tftpboot/lts/boot/pxe/pxelinux.0";
		option option-128 e4:45:74:68:00:00;
		option option-129 "NIC=3com";
		allow unknown-clients;
		}
}
--
And the eth1 card
Intel Corp e100 82801BA/BAM/CA/CAM Ethernet Controller

And the eth0 card
Realtek RTL-8139/8139C/8139C+ 8139too


The client says now:
3Com PXE, version 0.99c.01
Copyright (C) 1997 Intel Corporation

DHCP MAC ADDR: 00 C0 4F 7A 19 71
DHCP....
PXE-E52: No IP address received from DHCP or BOOTP.
PXE-MOF: Exiting PXE

--
and I've run
[root at localhost root]# tail -f /var/log/messages
Aug 28 10:57:09 server dhcpd:
Aug 28 10:57:09 server dhcpd:    to which interface eth1 is attached. **
Aug 28 10:57:09 server dhcpd: Listening on 
LPF/eth0/00:03:ce:89:4c:54/WORKSTATIONS
Aug 28 10:57:09 server dhcpd:
Aug 28 10:57:09 server dhcpd: Sending on   
LPF/eth0/00:03:ce:89:4c:54/WORKSTATIONS
Aug 28 10:57:09 server dhcpd: Listening on 
LPF/eth0/00:03:ce:89:4c:54/WORKSTATIONS
Aug 28 10:57:09 server dhcpd: Sending on   Socket/fallback/fallback-net
Aug 28 10:57:10 server dhcpd: Sending on   
LPF/eth0/00:03:ce:89:4c:54/WORKSTATIONS
Aug 28 10:57:10 server dhcpd: Sending on   Socket/fallback/fallback-net
Aug 28 10:57:10 server dhcpd: dhcpd startup succeeded

and did a search on google for the PXE-E52 error
and got http://riv-mail.mesd.k12.or.us/mailarchives/k12ltspdig/306.html
where the writer says: "What version of pxe does
your client have? I've had success with 2.0 but not with .99."

My client has .99

So I've switched the cable to a different client, the one specified in
host ws001 {
		hardware ethernet 00:0E:A6:65:E2:29;

Restarted with a boot floppy... and receive these messages (some but not all 
copied - by hand!)
Etherboot 5.0.1
found VIA 6102 at 0xE800, ROM address 0x0000
probing... [VIA 86C100 lrhine.c  V1.0.0 2000-01-07
IO address E800 Ethernet Address: 0x00:0x0E:0XA6:0X65:0XE2:0X29
Analyzing media type, this will take several seconds... ok
Linespeed=100Mbs Fullduplex
Searching for server (DHCP)...
<sleep>

ARG!!!!
ok so it is not a problem with the client, yes?
I am going to try buy a new switch and a new network card to cancel out 
those two as possible problems.
I know it shouldn't be this difficult... I think I must be missing something 
very obvious... So I will keep on until I get it right!

Thanx for your help.

Best regards,

Debbie


----- Original Message -----
From: "bimal pandit" <bimalp at indoasian.com>
To: <nospam at debstar.com>
Sent: Friday, August 27, 2004 7:47 PM
Subject: Re: [K12OSN] Searching for server (DHCP)


 > Oh!!, i think i am not able to explain!
 >
 > well what i mean is for a while just put off the web server and connect
 > a cable from that lancard to switch.
 >
 > see
 >
 > eth0 ------->|      |------>CLIENT-001
 >      |SWITCH|------>CLIENT-002
 > eth1 ------->|      |------>CLIENT-003
 >
 > further could you send me your lan card address and the dhcpd.conf
 > details??
 >
 > i think i could help you in better way then...
 >
 > regards,
 >
 > Bimal Pandit
 >
 >
 >
 > On Fri, 2004-08-27 at 14:00, Debbie Schiel wrote:
 > > Hi Bimal,
 > >
 > > A lot of detective work going on!
 > >
 > > I swapped the cables and rebooted and got this on startup:
 > > determining IP info for eth1...       failed:    no link present
 > > check cable?
 > >
 > > I also changed the cables around to check that they both worked, no
flaws in
 > > the cables then.
 > >
 > > And I have also figured out how to make the client look for DHCP 
without
a
 > > floppy boot (I'm learning a lot today).
 > >
 > > But still nothing.... so I'm going to try a different network card on
eth0
 > > and see if that helps.
 > >
 > > Thanks Bimal, I wouldn't have got this far without your help.
 > >
 > >
 > > Debbie
 > >
 > > ----Original Message Follows----
 > > From: bimal pandit <bimalp at indoasian.com>
 > > Reply-To: "Support list for opensource software in schools."
 > > <k12osn at redhat.com>
 > > To: nospam at debstar.com,"software in schools." Support list for
opensource
 > > <k12osn at redhat.com>
 > > Subject: Re: [K12OSN] Searching for server (DHCP)
 > > Date: 27 Aug 2004 12:35:35 +0530
 > >
 > > Dear Debbie,
 > >
 > > also check which lan card is it!!
 > >
 > > i mean try swapping the cable, may be your client are requesting for 
the
 > > IP and other stuff(dhcp server) from the lancard which is used for web
 > > server!!
 > >
 > > or else for quick -- just connect both the cards(using cable) to your
 > > switch and see whether your clients are coming up.
 > >
 > > hope will help
 > >
 > > regards
 > >
 > > Bimal Pandit
 > >
 > > On Fri, 2004-08-27 at 11:46, Debbie Schiel wrote:
 > >  > Thanks Bimal,
 > >  >
 > >  > I've tried it...
 > >  > [root at server root]# service iptables stop
 > >  > Flushing firewall rules:                                   [  OK  ]
 > >  > Setting chains to policy ACCEPT: nat filter                [  OK  ]
 > >  > Unloading iptables modules:                                [  OK  ]
 > >  >
 > >  > and then restarted the client but it is still searching & 
sleeping!!!
 > >  > :o(
 > >  >
 > >  > Is it maybe the client's network card?
 > >  > >3Com Fast EtherLink XL 10.100Mb TX Ethernet NIC (3C905-TX)
 > >  >
 > >  > If you have anymore ideas, I'll give them a go.
 > >  >
 > >  > Thanks again,
 > >  >
 > >  > Debbie
 > >  >
 > >  > ----Original Message Follows----
 > >  > From: bimal pandit <bimalp at indoasian.com>
 > >  > Reply-To: "Support list for opensource software in schools."
 > >  > <k12osn at redhat.com>
 > >  > To: nospam at debstar.com,"software in schools." Support list for
opensource
 > >  > <k12osn at redhat.com>
 > >  > Subject: Re: [K12OSN] Searching for server (DHCP)
 > >  > Date: 27 Aug 2004 11:15:39 +0530
 > >  >
 > >  > yes,
 > >  >
 > >  > stop iptables !!
 > >  >
 > >  > you can do by any of theses
 > >  >
 > >  > service iptables stop
 > >  >
 > >  > /etc/rc.d/init.d/iptables stop
 > >  >
 > >  > iptables -F
 > >  >
 > >  > hope this will help
 > >  >
 > >  > regards,
 > >  >
 > >  > bimal pandit
 > >  >
 > >  > On Fri, 2004-08-27 at 11:04, Debbie Schiel wrote:
 > >  >  > Thanks to TP, Sudev, and Andrew for helpful hints and general
 > > education
 > >  > (!)
 > >  >  >
 > >  >  > Here's where I am now at -
 > >  >  >
 > >  >  > re-installed K12LTSP after putting in the second network card
 > >  >  > eth0 & eth1 now both active
 > >  >  >
 > >  >  > have one ethernet cable supplying web to the server
 > >  >  > and a second cable running from the server to ethernet switch
 > > 10/100MBps
 > >  >  > and a third cable running from the switch to my test client
machine.
 > >  >  >
 > >  >  > Made a boot floppy using bootrom from rom-o-matic but client 
finds
no
 > >  >  > server.
 > >  >  >
 > >  >  > Some (not all) of the messages on the client screen:
 > >  >  >
 > >  >  > DellSystem Optiplex GXa300L EM+
 > >  >  >
 > >  >  > Etherboot 5.0.1
 > >  >  > Found 3Com905-TX at 0xDC80
 > >  >  > Mac Address = 00:C0:4F:7A:19:71
 > >  >  > Connectors present: MII
 > >  >  > Searching for server (DHCP)...
 > >  >  > <sleep>
 > >  >  > <sleep>
 > >  >  >
 > >  >  > I have visited the LTSP support pages and tried this command
 > >  >  > netstat -an | grep ":67 "
 > >  >  > and have confirmed that DHCP is running and listening.
 > >  >  >
 > >  >  > I have added my client's mac address to the config file.
 > >  >  >
 > >  >  > The next thing on the list to try is
 > >  >  > ipchains -L -v
 > >  >  > and reponse is...
 > >  >  > bash: ipchains: command not found
 > >  >  >
 > >  >  > *Could this be a problem?*
 > >  >  >
 > >  >  > I also tried
 > >  >  > iptables -L -v
 > >  >  > and the response is...
 > >  >  >
 > >  >  > Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 > >  >  > pkts bytes target     prot opt in     out     source
 > >  >  > destination
 > >  >  > 4613 3412K RH-Firewall-1-INPUT  all  --  any    any     anywhere
 > >  >  > anywhere
 > >  >  >
 > >  >  > Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 > >  >  > pkts bytes target     prot opt in     out     source
 > >  >  > destination
 > >  >  >     0     0 RH-Firewall-1-INPUT  all  --  any    any     anywhere
 > >  >  >   anywhere
 > >  >  >
 > >  >  > Chain OUTPUT (policy ACCEPT 4314 packets, 2726K bytes)
 > >  >  > pkts bytes target     prot opt in     out     source
 > >  >  > destination
 > >  >  >
 > >  >  > Chain RH-Firewall-1-INPUT (2 references)
 > >  >  > pkts bytes target     prot opt in     out     source
 > >  >  > destination
 > >  >  > 2662 2503K ACCEPT     all  --  lo     any     anywhere
 > >  > anywhere
 > >  >  >     0     0 ACCEPT     all  --  eth0   any     anywhere
 > >  > anywhere
 > >  >  >     0     0 ACCEPT     icmp --  any    any     anywhere
 > >  > anywhere
 > >  >  >          icmp any
 > >  >  >     0     0 ACCEPT     ipv6-crypt--  any    any     anywhere
 > >  >  > anywhere
 > >  >  >     0     0 ACCEPT     ipv6-auth--  any    any     anywhere
 > >  >  > anywhere
 > >  >  > 1923  904K ACCEPT     all  --  any    any     anywhere
 > >  > anywhere
 > >  >  >         state RELATED,ESTABLISHED
 > >  >  >     0     0 ACCEPT     tcp  --  any    any     anywhere
 > >  > anywhere
 > >  >  >          state NEW tcp dpt:http
 > >  >  >     0     0 ACCEPT     tcp  --  any    any     anywhere
 > >  > anywhere
 > >  >  >          state NEW tcp dpt:https
 > >  >  >     0     0 ACCEPT     tcp  --  any    any     anywhere
 > >  > anywhere
 > >  >  >          state NEW tcp dpt:ssh
 > >  >  >    28  4974 REJECT     all  --  any    any     anywhere
 > >  > anywhere
 > >  >  >          reject-with icmp-host-prohibited
 > >  >  >
 > >  >  >
 > >  >  > *Do I need to be worried about that REJECT at the end?*
 > >  >  >
 > >  >  > I've tried plugging the cable into another newer client with
another
 > > boot
 > >  >  > floppy but the response is much the same - No server found. Which
 > > makes
 > >  > me
 > >  >  > think that it's a problem at the server end.
 > >  >  >
 > >  >  > I have webmin up and running if that can help me at all.
 > >  >  >
 > >  >  > If anyone can throw some suggestions my way I'd be very grateful.
 > >  >  > I have a meeting with our principal on Monday and he will want to
know
 > >  > how
 > >  >  > the trial is going. I *SO* do not want to give up and go the
windows
 > > 2003
 > >  >  > route.
 > >  >  >
 > >  >  > Thanks,
 > >  >  >
 > >  >  > Debbie
 > >  >  > --
 > >  >  > http://www.redeemer.qld.edu.au/
 > >  >  > http://www.debstar.com/
 > >  >  >
 > >  >  > _________________________________________________________________
 > >  >  > Want to block unwanted pop-ups? Download the free MSN Toolbar 
now!
 > >  >  > http://toolbar.msn.co.uk/
 > >  >  >
 > >  >  >
 > >  >  > _______________________________________________
 > >  >  > K12OSN mailing list
 > >  >  > K12OSN at redhat.com
 > >  >  > https://www.redhat.com/mailman/listinfo/k12osn
 > >  >  > For more info see <http://www.k12os.org>
 > >  >
 > >  >
 > >  > _______________________________________________
 > >  > K12OSN mailing list
 > >  > K12OSN at redhat.com
 > >  > https://www.redhat.com/mailman/listinfo/k12osn
 > >  > For more info see <http://www.k12os.org>
 > >  >
 > >  > _________________________________________________________________
 > >  > Want to block unwanted pop-ups? Download the free MSN Toolbar now!
 > >  > http://toolbar.msn.co.uk/
 > >  >
 > >  >
 > >  > _______________________________________________
 > >  > K12OSN mailing list
 > >  > K12OSN at redhat.com
 > >  > https://www.redhat.com/mailman/listinfo/k12osn
 > >  > For more info see <http://www.k12os.org>
 > >
 > >
 > > _______________________________________________
 > > K12OSN mailing list
 > > K12OSN at redhat.com
 > > https://www.redhat.com/mailman/listinfo/k12osn
 > > For more info see <http://www.k12os.org>
 > >
 > > _________________________________________________________________
 > > It's fast, it's easy and it's free. Get MSN Messenger today!
 > > http://www.msn.co.uk/messenger
 > >
 > >
 > > _______________________________________________
 > > K12OSN mailing list
 > > K12OSN at redhat.com
 > > https://www.redhat.com/mailman/listinfo/k12osn
 > > For more info see <http://www.k12os.org>
 >

_________________________________________________________________
Stay in touch with absent friends - get MSN Messenger 
http://www.msn.co.uk/messenger





More information about the K12OSN mailing list