Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jul 2011 18:51:20 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        _ <pancakeking79@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: WLAN issue
Message-ID:  <20110703165120.GA3806@tinyCurrent>
In-Reply-To: <CAKnE0ZvQpmiCcncU74AH1GK1%2BCxOQ7139Lwcp7Gwgid7tSU%2BDw@mail.gmail.com>
References:  <CAKnE0ZvQpmiCcncU74AH1GK1%2BCxOQ7139Lwcp7Gwgid7tSU%2BDw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <guru@unixarea.de> - w http://www.unixarea.de/



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