Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Mar 2003 15:40:30 -0500
From:      "Dan Langille" <dan@langille.org>
To:        mobile@FreeBSD.ORG
Subject:   dhclient gives "no route to host" upon startup
Message-ID:  <3E7C83EE.9728.151A4A7B@localhost>

next in thread | raw e-mail | index | archive | help
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?
-- 
Dan Langille : http://www.langille.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E7C83EE.9728.151A4A7B>