From owner-freebsd-questions@FreeBSD.ORG Sun Jul 3 16:51:25 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 023801065673 for ; Sun, 3 Jul 2011 16:51:25 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 8F09A8FC24 for ; Sun, 3 Jul 2011 16:51:24 +0000 (UTC) Received: from [93.104.88.190] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1QdPtD-0002Fi-08; Sun, 03 Jul 2011 18:51:23 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id p63GpLDl003841; Sun, 3 Jul 2011 18:51:21 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id p63GpKjL003840; Sun, 3 Jul 2011 18:51:20 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 3 Jul 2011 18:51:20 +0200 From: Matthias Apitz To: _ Message-ID: <20110703165120.GA3806@tinyCurrent> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 93.104.88.190 Cc: freebsd-questions@freebsd.org Subject: Re: WLAN issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jul 2011 16:51:25 -0000 El día Sunday, July 03, 2011 a las 06:03:35PM +0200, _ escribió: > Hi List, > > I can't get my WLAN (WPA) to work and I am somewhat at a loss, as to what > else to try... > > > The /etc/rc.conf portion looks like this: > > ifconfig_wi0="WPA DHCP" > > > My /etc/wpa_supplicant.conf looks like this: > > network={ > ssid="my_ssid" > psk="my_psk" > } > > The above should be fine in terms of how it is set up. > > > Invoking ifconfig on the interface tells me that it is connected, however, > there's still no internet connection. > > # ifconfig wi0 > wi0: flags=8843 metric 0 mtu 1500 > ether 00:02:2d:0f:4f:99 > inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 > media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps) > status: associated > ssid WLAN-5C7E88 channel 11 (2462 Mhz 11b) bssid 88:25:2c:5c:7e:38 > stationname "FreeBSD WaveLAN/IEEE node" > authmode WPA1+WPA2/802.11i privacy MIXED deftxkey UNDEF bmiss 7 > scanvalid 60 roaming MANUAL You are well associated to the AP, but don't have an IP addr; does the AP supports DHCP, i.e. is willing to give you an IP addr? maybe your MAC addr must be known by the AP; check with the Admin of the AP; also check with 'ps ax | fgrep dhc' if you run the DHCP client, if not force this by hand with: # dhclient wi0 HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/