I tried configured it manually by calling uci set wireless.@wifi-iface[1].ssid
etc... following what's inside wifisetup.sh
and referring to https://wiki.openwrt.org/doc/uci/wireless#wpa_enterprise_client it just won't even attempt to connect. After executing wifi
, I'm only getting.
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
It only works if I'm connecting to psk/psk2 SSID.
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
wlan0-1: authenticate with xx:xx:xx:xx:xx:xx
wlan0-1: send auth to xx:xx:xx:xx:xx:xx (try 1/3)
wlan0-1: authenticated
If I set the encryption to psk2
for an WPA2-EAP SSID, it won't even try to connect, or at least that's what I get from the console.
Below is the output from my cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11g'
option path 'platform/ar933x_wmac'
option htmode 'HT20'
option disabled '0'
option channel '9'
option txpower '30'
option country 'US'
config wifi-iface
option device 'radio0'
option encryption 'none'
option ssid 'Omega-1678'
option network 'wlan'
option mode 'sta'
config wifi-iface
option device 'radio0'
option mode 'sta'
option auth 'auth=MSCHAPV2'
option network 'wwan'
option password 'xxxxxxxx'
option eap_type 'peap'
option identity 'xxxxxx\xxxxxxxxxxx'
option encryption 'wpa+tkip'
option ssid 'xxxxxxxx'
Executing ubus call iwinfo scan '{"device":"wlan0"}'
gets me
{
"ssid": "XXXXXXX",
"bssid": "xx:xx:xx:xx:xx:xx",
"mode": "Master",
"channel": 8,
"signal": -76,
"quality": 34,
"quality_max": 70,
"encryption": {
"enabled": true,
"wpa": [
1,
2
],
"authentication": [
"802.1x"
],
"ciphers": [
"tkip",
"ccmp"
]
}
},