Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 2013 14:19:09 -0700
From:      Kurt Buff <kurt.buff@gmail.com>
To:        freebsd-wireless@freebsd.org
Subject:   iwn on a Lenovo 5100 - can't connect to wireless
Message-ID:  <CADy1Ce4MOSniHWZ-DOsdC%2BTBbsvE0%2B2C22=sTw576d5o36Yzbg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I'm sure I'm making a silly mistake in the config somewhere, but I'm
working from these two pages:
http://www.freebsd.org/cgi/man.cgi?query=wpa_supplicant.conf&amp;sektion=5
and
http://www.freebsd.org/doc/handbook/network-wireless.html

Situation as follows: multiple WAPS running multiple SSIDs, on
multiple channels (1,6,11) but I'm only interested in one SSID. It's
WPA PSK.

The laptop is running 9.2-RELEASE and configured with the folllowing:

>From /boot/loader.conf
if_iwn_load="YES"
wlan_wep_load="YES
wlan_ccmp_load="YES"
wlan_tkip_load="YES"

>From /etc/rc.conf (DHCP configuration doesn't work, either)
defaultrouter="192.168.15.1"
wlans_iwn0="wlan0"
ifconfig_wlan0="inet 192.168.15.50 netmask 255.255.255.0 ssid wireless"

>From /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
     ssid="wireless"
     scan_ssid=1
     key_mgmt=WPA-PSK
     psk="longrandompassword"
}

When I boot the machine, and run 'ifconfig wlan0', I see "status: no carrier".

If I do 'ifconfig wlan0 scan', I get results, seeing the WAPs near me,
etc., but I can't ping anything.

When I manually run

'wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf',

I get connection, and can ping from a different console session, but
once I ^c out of wpa_supplicant, I lose the network.

Can anyone tell me what I'm missing on this?

Kurt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADy1Ce4MOSniHWZ-DOsdC%2BTBbsvE0%2B2C22=sTw576d5o36Yzbg>