Salman Ahmed wrote:

> >>>>> "JBJ" == Jens B Jorgensen <[EMAIL PROTECTED]> writes:
>     >> (1) What Ethernet driver should I select for this NIC ? I got the
>     >> details of the HW from Windows NT which the machine already has
>     >> on it. Not sure if its a PCI or ISA NIC. Has anyone heard of this
>     >> NIC ?
>     JBJ>  Dunno. Sorry.
>
> I selected one of the Digital XXX modules (I think it was de4x5.o)
> during the install and it was detected fine.
>
>     >> (2) How do I setup the system to use DHCP once the ethernet card
>     >> is setup properly ? I never setup a machine to use DHCP but I am
>     >> assuming that it isn't too tricky.
>     JBJ>  Just install the dhcpcd package and in your
>     JBJ> /etc/init.d/network put in a line to start up this daemon with
>     JBJ> eth0 as an argument.
>     JBJ>
>
> I couldn't get DHCP to work using the dhcpd package. On our network,
> most of the DHCP clients are Win9*/NT workstations. I tried a number of
> things in the /etc/dhcpd.conf file but still couldn't get DHCP to
> work. In the end, I tried using the "dhclient" script:
>
>  dhclient eth0
>
> and it worked fine. What should I be putting in the /etc/dhcpd.conf file
> ?

/etc/dhcpd.conf belongs to the dhcp package which is the dhcp *server*, not
the client. Stick with dhclient, it'll work fine for you. Now, if you're
wondering about the /etc/dhclient.conf then you don't need to worry. I just
leave mine empty since the program's defaults seem to work fine. Just do
this:

touch /etc/dhclient.conf

> Can someone please post (or email to me directly) a
> copy of their DHCP client configuration file ? Our network admins only
> know about Windows so they haven't been any help to me in terms of
> giving info about DHCP configuration. The only thing that they have told
> me is:
>
>  (1) our default domain (I knew that already!)
>  (2) the IP address of our DNS server (I knew that too from looking
>      Windows Control Panel)
>
> I am still running slink, but will upgrade to potato soon. But I would
> like to have DHCP activated on boot time and don't like having to type
> "dhclient eth0" every time.

Type this as root:

echo '/sbin/dhclient eth0' >> /etc/init.d/network

Then it'll be started during the boot sequence at the appropriate time.

--
Jens B. Jorgensen
[EMAIL PROTECTED]

Reply via email to