tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wpa_supplicant and wi(4)



(I know wi(4) doesn't support wpa - this isn't about wpa)

I'm trying to use wpa_supplicant on 4.0_STABLE/i386 to configure wi0 to an open network. My wpa_supplicant.conf file is:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
        ssid="MyNetwork"
        scan_ssid=1
        priority=1
        key_mgmt=NONE
}

The connection does not become active, wi0 is configured like this:
wi0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ssid MyNetwork nwkey 65536:"","","",""
        powersave off
        address: 00:06:25:2c:b1:d8
        media: IEEE802.11 autoselect (DS2)
        status: no network

If I run "ifconfig wi0 -nwkey", the network becomes active:

wi0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ssid MyNetwork
        powersave off
        bssid 00:18:f8:ae:96:c2 chan 1
        address: 00:06:25:2c:b1:d8
        media: IEEE802.11 autoselect (DS2)
        status: active

I'm sure that wpi(4) and ral(4) haven't shown this problem.

--
Stephen


Home | Main Index | Thread Index | Old Index