From owner-freebsd-mobile Mon Mar 24 5:37: 3 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 D6A5237B401 for ; Mon, 24 Mar 2003 05:37:00 -0800 (PST) Received: from web20506.mail.yahoo.com (web20506.mail.yahoo.com [216.136.226.141]) by mx1.FreeBSD.org (Postfix) with SMTP id 6D78E43F85 for ; Mon, 24 Mar 2003 05:37:00 -0800 (PST) (envelope-from mailing_lists_br@yahoo.com.br) Message-ID: <20030324133659.79486.qmail@web20506.mail.yahoo.com> Received: from [200.196.226.74] by web20506.mail.yahoo.com via HTTP; Mon, 24 Mar 2003 10:36:59 ART Date: Mon, 24 Mar 2003 10:36:59 -0300 (ART) From: =?iso-8859-1?q?Luis=20Carlos=20Toledo?= Subject: Re: dhclient gives "no route to host" upon startup To: mobile@freebsd.org Cc: Kevin Oberman , Dan Langille MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_OSIRUSOFT_COM version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) 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 To get ip using dhcp in wireless network you must be associated before. Put in your: /etc/rc.conf pccard_enable="YES" pccard_ifconfig="NO" defaultrouter="NO" /etc/start_if.wi0 wicontrol -i wi0 -n linksys (or ifconfig wi0 ssid linksys) /sbin/dhclient -pf /var/run/dhclient.wi0.pid wi0 Toledo > On 22 Mar 2003 at 14:54, Kevin Oberman wrote: > > > > 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 ... _______________________________________________________________________ Yahoo! Mail O melhor e-mail gratuito da internet: 6MB de espaço, antivírus, acesso POP3, filtro contra spam. http://br.mail.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message