From owner-freebsd-mobile Sat Mar 22 14:54:58 2003 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 958B237B401 for ; Sat, 22 Mar 2003 14:54:56 -0800 (PST) Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3E2543F75 for ; Sat, 22 Mar 2003 14:54:55 -0800 (PST) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP id MUA74016; Sat, 22 Mar 2003 14:54:53 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 486C15D08; Sat, 22 Mar 2003 14:54:54 -0800 (PST) To: "Dan Langille" Cc: mobile@FreeBSD.ORG Subject: Re: dhclient gives "no route to host" upon startup In-reply-to: Your message of "Sat, 22 Mar 2003 15:40:30 EST." <3E7C83EE.9728.151A4A7B@localhost> Date: Sat, 22 Mar 2003 14:54:54 -0800 From: "Kevin Oberman" Message-Id: <20030322225454.486C15D08@ptavv.es.net> Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > From: "Dan Langille" > Date: Sat, 22 Mar 2003 15:40:30 -0500 > Sender: owner-freebsd-mobile@FreeBSD.ORG > > I have a FreeBSD 4.8-PRERELEASE laptop upon which dhclient doesn't > get an IP address during start up. After logging in, a tail -F > /var/log/messages will show this: > > Mar 22 15:05:38 laptop login: ROOT LOGIN (root) ON ttyv0 > Mar 22 15:09:58 laptop dhclient: send_packet: No route to host > Mar 22 15:10:34 laptop last message repeated 3 times > Mar 22 15:12:36 laptop last message repeated 8 times > > If I kill dhclient, and run it manually, it gets an IP address: > > # /sbin/dhclient -pf /var/run/dhclient.wi0.pid wi0 > > Mar 22 15:12:58 laptop dhclient: New Network Number: 192.168.0.0 > Mar 22 15:12:58 laptop dhclient: New Broadcast Address: 192.168.0.255 > Mar 22 15:12:58 laptop dhclient: New IP Address (wi0): 192.168.0.34 > Mar 22 15:12:58 laptop dhclient: New Subnet Mask (wi0): 255.255.255.0 > Mar 22 15:12:58 laptop dhclient: New Broadcast Address (wi0): > 192.168.0.255 > Mar 22 15:12:58 laptop dhclient: New Routers: 192.168.0.21 > > The above test was with a wireless Orinoco card. The problem occurs > with a wired Linksys NIC. > > Any ideas? How is your system starting dhclient at initialization? Do you use pccard_ether? What do you have in rc.conf for this? Do you have any pccard entries? It sounds like there is a problem with getting the card fully configured and running before dhclient tries to get an address. You might try sniffing the wire to see what, if anything, is actually sent out by either your system or the DHCP server. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message