From owner-freebsd-questions Tue Jan 7 12:42:16 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FBF337B401 for ; Tue, 7 Jan 2003 12:42:14 -0800 (PST) Received: from angelfish.lewiz.org (dialup.212-50-181-189.karoo.KCOM.COM [212.50.181.189]) by mx1.FreeBSD.org (Postfix) with SMTP id D796A43EDC for ; Tue, 7 Jan 2003 12:42:00 -0800 (PST) (envelope-from lewiz@turtle.lewiz.org) Received: (qmail 25982 invoked by uid 85); 7 Jan 2003 18:54:49 -0000 Received: from lewiz@turtle.lewiz.org by angelfish by uid 0 with qmail-scanner-1.14 (sophie: 2.10/3.62. spamassassin: 2.43. Clear:SA:0(-3.7/5.0):. Processed in 2.178912 secs); 07 Jan 2003 18:54:49 -0000 X-Spam-Status: No, hits=-3.7 required=5.0 Received: from turtle.lewiz.org (192.168.0.9) by angelfish.lewiz.org with SMTP; 7 Jan 2003 18:54:43 -0000 Received: (nullmailer pid 633 invoked by uid 1001); Tue, 07 Jan 2003 18:54:06 -0000 Date: Tue, 7 Jan 2003 18:54:06 +0000 From: lewiz To: Robin Damm Cc: freebsd-questions@FreeBSD.ORG Subject: Re: dhclient - no DHCPOFFERS received. Message-ID: <20030107185406.GA614@lewiz.org> Mail-Followup-To: lewiz , Robin Damm , freebsd-questions@FreeBSD.ORG References: <20030106211835.GA23657@lewiz.org> <20030106230503.GA1226@lulu.bad.dog> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wac7ysb48OaltWcw" Content-Disposition: inline In-Reply-To: <20030106230503.GA1226@lulu.bad.dog> X-GPG-Fingerprint: 90A4 939E 3847 A3E4 8103 2A48 22DA B428 542F ED3F X-GPG-Info: http://www.westwood.karoo.net/pgpkey / horowitz.surfnet.nl User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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