Hi,
I had the same problem but I solved it. Here's how i did:
- connect to your Omega2
- list APs with this command:
aps
root@Omega-XXXX:~# aps
WRTnode AP scaner.
Begin scaning APs, pls wait...
Finished.
APs available are...
ra0 get_site_survey:
Ch SSID BSSID Security Signal(%) W-Mode ExtCH NT
...
10 MyAP 02:6f:d7:3e:8e:60 WPAPSK/TKIPAES 50 11b/g/n NONE In
...
This command give you more information about your AP. The most important is Security
.
- Take this conversion table to modify your
/etc/config/wireless
config file:
aps:Security vw:ApCliAuthMode/ApCliEncrypType
=========================================================
WPA1PSKWPA2PSK/TKIPAES WPA2PSK/AES
WPA2PSK/AES WPA2PSK/AES
WPA2PSK/TKIP WPA2PSK/TKIP
WPAPSK/TKIPAES WPAPSK/TKIP
WPAPSK/AES WPAPSK/AES
WPAPSK/TKIP WPAPSK/TKIP
WEP WEP/WEP
Before edit it, my /etc/config/wireless
contained:
config wifi-device 'ra0'
option type 'ralink'
option mode '9'
option channel 'auto'
option txpower '100'
option ht '20'
option country 'US'
option disabled '0'
config wifi-iface
option device 'ra0'
option network 'wlan'
option mode 'ap'
option encryption 'psk2'
option key '12345678'
option ApCliEncrypType 'TKIP'
option ApCliSsid 'MyAP'
option ApCliPassWord 'xxxxxxxx'
option ssid 'Omega-xxxx'
option ApCliEnable '1'
config wifi-config
option ssid 'MyAP'
option encryption 'WPA1PSK'
option key 'xxxxxxxx'
With convertion table, i edited it like this:
config wifi-device 'ra0'
option type 'ralink'
option mode '9'
option channel 'auto'
option txpower '100'
option ht '20'
option country 'US'
option disabled '0'
config wifi-iface
option device 'ra0'
option network 'wlan'
option mode 'ap'
option encryption 'psk2'
option key '12345678'
option ApCliEncrypType 'TKIP'
option ApCliSsid 'MyAP'
option ApCliPassWord 'xxxxxxxx'
option ssid 'Omega-xxxx'
option ApCliEnable '1'
config wifi-config
option ssid 'MyAP'
option encryption 'WPAPSK'
option key 'xxxxxxxx'
(I modified option encryption 'WPA1PSK'
-> option encryption 'WPAPSK'
in config wifi-config
section)
- To finish, restart network:
root@Omega-xxxx:/etc/config# nr
- After some time, you can reconnect to your Omega and verify if you have an IP:
root@Omega-xxxx:~# ia
apcli0 Link encap:Ethernet HWaddr 42:A3:6B:00:BE:3B
inet addr:192.168.1.16 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::40a3:6bff:fe00:be3b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:265 errors:0 dropped:0 overruns:0 frame:0
TX packets:281 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:74379 (72.6 KiB) TX bytes:25424 (24.8 KiB)
- You can continue with Onion Setup Wizard web interface (http://omega-xxxx.local/) if you want
ps: after network restart, i checked my /etc/config/wireless
, and i saw that a new line was added in config wifi-iface
section: option ApCliAuthMode 'WPAPSK'
:
config wifi-device 'ra0'
option type 'ralink'
option mode '9'
option channel 'auto'
option txpower '100'
option ht '20'
option country 'US'
option disabled '0'
config wifi-iface
option device 'ra0'
option network 'wlan'
option mode 'ap'
option encryption 'psk2'
option key '12345678'
option ApCliEncrypType 'TKIP'
option ApCliSsid 'MyAP'
option ApCliPassWord 'xxxxxxxx'
option ssid 'Omega-xxxx'
option ApCliEnable '1'
option ApCliAuthMode 'WPAPSK'
config wifi-config
option ssid 'MyAP'
option encryption 'WPAPSK'
option key 'xxxxxxxx'
Hope this help you.