From owner-freebsd-questions@FreeBSD.ORG Wed Aug 18 10:18:42 2004 Return-Path: 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 BDAF116A4CE for ; Wed, 18 Aug 2004 10:18:42 +0000 (GMT) Received: from webmail.tiscali.de (relay1.tiscali.de [62.26.116.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA2AB43D49 for ; Wed, 18 Aug 2004 10:18:41 +0000 (GMT) (envelope-from walter@pelissero.de) Received: from daemon.home.loc (62.246.48.34) by webmail.tiscali.de (6.7.019) id 40FB89FE008FD607 for freebsd-questions@freebsd.org; Wed, 18 Aug 2004 12:18:39 +0200 Received: from hyde.home.loc (hyde.home.loc [10.0.0.2]) by daemon.home.loc (8.13.1/8.12.8) with ESMTP id i7IAHp41000421 for ; Wed, 18 Aug 2004 12:17:51 +0200 (CEST) (envelope-from wcp@hyde.home.loc) Received: from hyde.home.loc (localhost [127.0.0.1]) by hyde.home.loc (8.12.10/8.12.8) with ESMTP id i7IAILoX000850 for ; Wed, 18 Aug 2004 12:18:21 +0200 (CEST) (envelope-from wcp@hyde.home.loc) Received: (from wcp@localhost) by hyde.home.loc (8.12.10/8.12.6/Submit) id i7IAILKH000847; Wed, 18 Aug 2004 12:18:21 +0200 (CEST) (envelope-from wcp) From: "Walter C. Pelissero" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16675.11500.845219.591909@hyde.home.loc> Date: Wed, 18 Aug 2004 12:18:20 +0200 To: freebsd-questions@freebsd.org X-Mailer: VM 7.16 under Emacs 21.3.50.1 X-Attribution: WP X-For-Spammers: blacklistme@pelissero.de Subject: dhclient fails to get lease X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: walter@pelissero.de List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 10:18:42 -0000 On my laptop I'm experiencing a problem with dhclient. When I bootstrap the laptop (FreeBSD 5.2.1) after the server (FreeBSD 4.10), dhclient fails to get a lease within a useful time, while, if I bootstrap the server after the laptop, it gets immediately the lease. When the client is stuck in the first scenario I kill dhclient and restart and this would fix the problem: killall dhclient dhclient ep0 The ep0 interface is a PCMCIA, 3Com Etherlink III 3C589. The only suspicious thing is a couple of messages on /var/log/messages of the laptop: Aug 18 12:01:39 hyde dhclient: send_packet: No route to host Aug 18 12:01:44 hyde dhclient: send_packet: No route to host The /etc/dhclient.conf on the laptop is: timeout 60; retry 30; select-timeout 5; initial-interval 2; omapi port 7911; The relevant rc.conf settings on the laptop look like: pccard_enable=YES removable_interfaces="ep0" ifconfig_ep0=DHCP The rc.conf settings for dhcpd on the server are (mostly defaults): dhcpd_enable=YES dhcpd_flags="-q -early_chroot" dhcpd_conf="/usr/local/etc/dhcpd.conf" dhcpd_ifaces="" dhcpd_umask="022" dhcpd_chuser_enable="YES" dhcpd_withuser="dhcpd" dhcpd_withgroup="dhcpd" dhcpd_chroot_enable=NO dhcpd_rootdir="/var/db/dhcpd" Any help is greatly appreciated. -- walter pelissero http://www.pelissero.de