Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Mar 2003 14:54:54 -0800
From:      "Kevin Oberman" <oberman@es.net>
To:        "Dan Langille" <dan@langille.org>
Cc:        mobile@FreeBSD.ORG
Subject:   Re: dhclient gives "no route to host" upon startup 
Message-ID:  <20030322225454.486C15D08@ptavv.es.net>
In-Reply-To: Your message of "Sat, 22 Mar 2003 15:40:30 EST." <3E7C83EE.9728.151A4A7B@localhost> 

next in thread | previous in thread | raw e-mail | index | archive | help
> From: "Dan Langille" <dan@langille.org>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030322225454.486C15D08>