Re: dhclient gives "no route to host" upon startup
"Kevin Oberman" <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.mobile |
|---|---|
| Message-ID | <[email protected]> |
> From: "Dan Langille" <[email protected]> > Date: Sat, 22 Mar 2003 15:40:30 -0500 > Sender: [email protected] > > 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: [email protected] Phone: +1 510 486-8634 To Unsubscribe: send mail to [email protected] with "unsubscribe freebsd-mobile" in the body of the message