lkml.org 
[lkml]   [1998]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectDHCP HELP!
<HTML>
I am trying to setup a linux box (kernel v2.0.35) to boot linux across
the network. I&nbsp;havea boot prom demo disk from incom (www.incom.com).
I have the ICS DHCP&nbsp;Server (it is running) and a TFTP&nbsp;server.
The boot disk runs OK. It issues a BOOTP/DHCP&nbsp;request and gets a response
(log file to follow):

<P>DHCPDISCOVER&nbsp;from 00:60:08:9d:bf:b8 via eth0
<BR>DHCPOFFER&nbsp;on 192.168.0.10 to 00:60:08:9d:bf:b8 via eth0

<P>(it is on a closed private network, so don't worry about addresses)

<P>It then start downloading my linux image from the tftp demon (log file
to follow):
<BR>tftpd: trying to get file /tftproot/bp192.168.0.10.PX

<P>The image boots...get to this point:

<P>eth0: 3c509 at 0x300 tag 1, 10baseT port, address 00 60 08 9d bf b8.
IRQ&nbsp;10.
<BR>3c509.x 1.12 6/4/97 becker@cesdis.gsfc.nasa.gov
<BR>Sending BOOTP and RARP requests...........

<P>and continues to try this until it times out.....
<BR>The log file on the server shows the following etries until the client
times out:
<BR>dhcpd:&nbsp;BOOTREQUEST&nbsp;from 00:60:08:9d:bf:b8 via eth0
<BR>dhcpd: BOOTREPLY for 192.168.0.10 to sexy (00:60:08:9d:bf:b8) via eth0

<P>(Sexy is the name of the PC)

<P>altas is the name of the server. eamhome.org is the domainname I&nbsp;am
using on the net.

<P>I think I&nbsp;didn't setup something right in my dhcpd.conf becuase
it doesn't seem to get the reply back from the server. Here is my dhcpd.conf
file...
<BR># dhcpd.conf
<BR>#
<BR># Configuration file for ISC dhcpd
<BR>#

<P>server-identifier atlas.eamhome.org;

<P>option domain-name "eamhome.org";

<P>shared-network EAMHOME {
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option subnet-mask 255.255.255.0;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default-lease-time 120;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; max-lease-time 120;

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; subnet 192.168.0.0 netmask
255.255.255.0 {
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
option routers 192.168.0.1;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
option subnet-mask 255.255.255.0;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
<BR>&nbsp;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; host sexy {
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
hardware ethernet 00:60:08:9D:BF:B8;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
fixed-address 192.168.0.10;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
server-name "192.168.0.1";
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
filename "/tftpboot/bp192.168.0.10.PX";
<BR>##&nbsp;&nbsp;&nbsp; option option-177 "nfsaddrs=192.168.0.10:192.168.0.1:192.168.0.1:255.255.255.0:sexy:eth0:both";
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
option host-name "sexy";
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }

<P>}
<BR>&nbsp;

<P>I've tried the above conf file with and without the ## commented section.
When I&nbsp;use the ##&nbsp;section it gets past the above hangup but can't
talk to nfs the server (I now the nfs server is running). I've alse tried
using atlas.eamhome.org in the server-name option and a few other confis...Can;t
remember though...

<P>Any ideas would be appreciated....

<P>Thank&nbsp; You
<PRE>---&nbsp;
Edward Muller
eam@eclipse.net

-----------------------------------
Waste Not Computers &amp; Supplies
<A HREF="http://www.wastenotcomputers.com/">http://www.wastenotcomputers.com/</A>
(201) 384-4444 x204
edwardm@wastenotcomputers.com</PRE>
&nbsp;</HTML>
\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.045 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site