[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OpenBSD : DHCP Client Problem
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: OpenBSD : DHCP Client Problem
- From: "Fehmi Noyan Isi _EEE01" <fni18444_(_at_)_mail2_(_dot_)_gantep_(_dot_)_edu_(_dot_)_tr>
- Date: Tue, 28 Sep 2004 20:09:26 +0300
Unfortunatelly this did not work!
I ganna get crazy!!!
System : OpenBSD 3.5 i386
NetMaster Cable Modem
Realtek 8139 Ethernet adapter
On Mon, 27 Sep 2004 21:11:44 -0400, Jason Opperisano wrote
> On Mon, 2004-09-27 at 17:17, Fehmi Noyan Isi _EEE01 wrote:
> > First of all I read the FAQ and man pages related with this topic.
> > I have two network adapters and I will use one of the for internet
> > (rl0).
> > I first edit /etc/hostname.rl0
> > #echo "dhcp" > /etc/hostname.rl0
> > then
> > #route flush
> > #dhclient rl0
> > This assigns IP adresses as follows...
> > DHCPOFFER from 192.168.100.1
> > DHCPREQUEST on rl0 to 255.255.255.255 on port 67
> > DHCPACK from 192.168.100.1
> > New Network Number : 192.168.100.0
> > New Broadcast Address : 192.168.100.255
> > And the "ifconfig rl0" gives
> > ...
> > status : active
> > ..
> > ..
> > inet : 192.168.100.2
> > Then I try to ping somewhere (ie google), the system caanot "route"!
> > The /etc/resolv.conf includes
> > nameserver 192.168.100.1
This is waht was suggested
> try this:
> power off the modem.
> make sure the openbsd machine is connected to it via ethernet cable.
> make sure all dhclient processes are killed:
> ps auxww | grep dhclient
> will show you if you have any processes running
> if you do, kill each one with:
> kill $PID_OF_DHCLIENT
> remove the dhclient.leases file:
> rm -f /var/db/dhclient.leases
> power on the modem--make sure it gets connected on the WAN side.
> once everything's green on the WAN side of the modem, run:
> dhclient rl0
> no guarantees, but it sounds like either:
> (a) your modem isn't connected on the WAN side and is handing you a
> default DHCP lease
> (b) your modem has the MAC address of a previous machine cached wherever
> modems cache such things.
> It isn't necessary to have relatives in Kansas City in order to be
> unhappy. -- Groucho Marx