Date: Tue, 7 Jan 2003 18:54:06 +0000 From: lewiz <purple@lewiz.info> To: Robin Damm <robin@damm.ca> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: dhclient - no DHCPOFFERS received. Message-ID: <20030107185406.GA614@lewiz.org> In-Reply-To: <20030106230503.GA1226@lulu.bad.dog> References: <20030106211835.GA23657@lewiz.org> <20030106230503.GA1226@lulu.bad.dog>
next in thread | previous in thread | raw e-mail | index | archive | help
--wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 06, 2003 at 05:05:03PM -0600, Robin Damm wrote: > I'm assuming the client eventually obtains a lease. Actually, this was the odd thing. It didn't obtain a new lease at bootup -- it actually used a cached lease (ie, couldn't contact the DHCP server but fell back to what it usually used). > Does the problem persist if you manually release/renew the IP? >=20 > # dhclient -r > # dhclient ep0 >=20 > A cache problem perhaps?=20 If I did this after it used the cached lease it actually started talking to the DHCP server, so, yes, you were correct here. I've actually solved the problem now. I can't understand quite what I'd done wrong (because it was working earlier). For some reason I hadn't changed the default media for the if from 10baseT/UTP to 10base2/BNC -- although it should have done so in the startup scripts. Instead, I've now got /sbin/ifconfig ep0 media 10base2/BNC in /etc/dhclient-enter-hooks, which gets executed _before_ dhclient starts searching. It all works fine now. Sorry for bothering everybody, it might have been a mistake on my part. -lewiz. --=20 Absent, adj.: Exposed to the attacks of friends and acquaintances; defamed; slandered. ------------------------------------------------------------------------ --|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||-- --wac7ysb48OaltWcw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+GyJOItq0KFQv7T8RArhtAKDd+EQ6Q2M8RYmGaKk4nSPmXmPowQCfd9HD G1/nFyfDxpZymPe5goKvyTM= =5Apc -----END PGP SIGNATURE----- --wac7ysb48OaltWcw-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030107185406.GA614>