dhclient gives "no route to host" upon startup
"Dan Langille" <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.mobile |
|---|---|
| Message-ID | <3E7C83EE.9728.151A4A7B@localhost> |
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 [email protected] with "unsubscribe freebsd-mobile" in the body of the message