Click to See Complete Forum and Search --> : DHCP problems


Antipop
12-21-2000, 07:48 PM
I'm setting up an DHCP connection (@Home) on a Slackware 7.1 box. I created my /etc/dhclient.conf file and it looks like this:
# dhclient.conf
#
# Configuration file for ISC dhclient (see 'man dhclient.conf')
#
timeout 60;
retry 60;
reboot 10;
select-timeout 5;
initial-interval 2;

interface "eth0" {
send host-name "hostname";
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, host-name;
script "/etc/dhclient-script";
}

"hostname" is of course my real hostname. When I run dhclient it sends out a request, but I never get a response. My ethernet card is setup and fine, anyone know what else it might be?

iDxMan
12-21-2000, 08:51 PM
I probably wont be of much help, but have you tried just using dhcpcd ?

I just use that and haven't messed with dhclient.conf ..

-r

ExHand
12-21-2000, 10:19 PM
When you run 'ifup eth0' are you getting 'no DHCP offer messages'? I know it can be "challenging" for me to make contact with @homes servers sometimes. Try running 'ifconfig eth0 up' a couple of times. If that doesn't work you might check out the mini-HOWTO at: http://www.oswg.org/oswg-nightly/oswg/en_US.ISO_8859-1/articles/DHCP/DHCP.html

iDxMan
12-21-2000, 11:36 PM
BTW, what distro you use?

`ifup` (isn't that a RH script?) isn't on all distros..

Or at least in my case, not in Slackware..

-r

mdwatts
12-22-2000, 06:55 AM
Ensure your /etc/resolv.conf is setup.

domain yourispdomainname
nameserver xx.xx.xx.xx # isp dns 1
nameserver xx.xx.xx.xx # isp dns 2