Omega2+ fails to connect to wifi
-
Hello!
I have same issue with connecting Omega2+ to my Mikrotik router. I'm from Russia, so I'm not using channels 12, 13 and so on.
FW Version 0.1.7 b140
Here is the output from Omega2:wifisetup scan
root@Omega-B8B3:/# wifisetup Onion Omega Wifi Setup Select from the following: 1) Scan for Wifi networks 2) Type network info q) Exit Selection: 1 Scanning for wifi networks... Select Wifi network: 1) Home 2) Why-Fi 3) TP_New 4) MGTS_GPON_9615 5) MY_dlink_wi-fi 6) 2kom-234 7) Tenda_067638
wifisetup list
oot@Omega-B8B3:/# wifisetup list { "results": [ { "ssid": "Why-Fi", "encryption": "WPA2PSK", "password": "PASSWORD" } ] }
uci show wireless
root@Omega-B8B3:/# uci show wireless wireless.ra0=wifi-device wireless.ra0.type='ralink' wireless.ra0.mode='9' wireless.ra0.channel='auto' wireless.ra0.txpower='100' wireless.ra0.ht='20' wireless.ra0.country='RU' wireless.ra0.countryregion='1' wireless.ra0.disabled='0' wireless.@wifi-iface[0]=wifi-iface wireless.@wifi-iface[0].device='ra0' wireless.@wifi-iface[0].network='wlan' wireless.@wifi-iface[0].mode='ap' wireless.@wifi-iface[0].encryption='psk2' wireless.@wifi-iface[0].key='12345678' wireless.@wifi-iface[0].ApCliAuthMode='WPA2PSK' wireless.@wifi-iface[0].ApCliEncrypType='AES' wireless.@wifi-iface[0].ssid='Omega-B8B3' wireless.@wifi-iface[0].ApCliSsid='Why-Fi' wireless.@wifi-iface[0].ApCliPassWord='PASSWORD' wireless.@wifi-iface[0].ApCliEnable='0' wireless.@wifi-config[0]=wifi-config wireless.@wifi-config[0].ssid='Why-Fi' wireless.@wifi-config[0].encryption='WPA2PSK' wireless.@wifi-config[0].key='PASSWORD'
uci show network
root@Omega-B8B3:/# uci show network network.loopback=interface network.loopback.ifname='lo' network.loopback.proto='static' network.loopback.ipaddr='127.0.0.1' network.loopback.netmask='255.0.0.0' network.globals=globals network.globals.ula_prefix='fd1d:48c4:7633::/48' network.wlan=interface network.wlan.type='bridge' network.wlan.ifname='eth0.1' network.wlan.proto='static' network.wlan.ipaddr='192.168.3.1' network.wlan.netmask='255.255.255.0' network.wlan.ip6assign='60' network.wan=interface network.wan.ifname='eth0' network.wan.proto='dhcp' network.wwan=interface network.wwan.ifname='apcli0' network.wwan.proto='dhcp'
cat /etc/config/wireless
root@Omega-B8B3:/# cat /etc/config/wireless config wifi-device 'ra0' option type 'ralink' option mode '9' option channel 'auto' option txpower '100' option ht '20' option country 'RU' option countryregion '1' option disabled '0' config wifi-iface option device 'ra0' option network 'wlan' option mode 'ap' option encryption 'psk2' option key '12345678' option ApCliAuthMode 'WPA2PSK' option ApCliEncrypType 'AES' option ssid 'Omega-B8B3' option ApCliSsid 'Why-Fi' option ApCliPassWord 'PASSWORD' option ApCliEnable '0' config wifi-config option ssid 'Why-Fi' option encryption 'WPA2PSK' option key 'PASSWORD'
-
Hi, I too have this problem. Brand new Omega2+ out of the box; unable to connect to Microtik CRS109-8G-1S-2HnD router wifi 2GHz b/g/n 20/40MHz HT Above, channel 3+7 (mixed-mode).
I used my ethernet attachment and a network bridge to update it- the behavior is still present in 0.1.7 b139
root@Omega-76EB:~# wifisetup Onion Omega Wifi Setup Select from the following: 1) Scan for Wifi networks 2) Type network info q) Exit Selection: 1 Scanning for wifi networks... Select Wifi network: --snip-- 4) nnnn --snip-- Selection: 4 Network: nnnn Authentication type: WPA2PSK Enter password: REDACTED > Restarting wifimanager for changes to take effect root@Omega-76EB:~# root@Omega-76EB:~# wifisetup list { "results": [ { "ssid": "nnnn", "encryption": "WPA2PSK", "password": "REDACTED" } ] } root@Omega-76EB:~# uci show wireless wireless.ra0=wifi-device wireless.ra0.type='ralink' wireless.ra0.mode='9' wireless.ra0.channel='auto' wireless.ra0.txpower='100' wireless.ra0.ht='20' wireless.ra0.country='US' wireless.ra0.disabled='0' wireless.@wifi-iface[0]=wifi-iface wireless.@wifi-iface[0].device='ra0' wireless.@wifi-iface[0].network='wlan' wireless.@wifi-iface[0].mode='ap' wireless.@wifi-iface[0].encryption='psk2' wireless.@wifi-iface[0].ssid='Omega-76EB' wireless.@wifi-iface[0].key='12345678' wireless.@wifi-iface[0].ApCliAuthMode='WPA2PSK' wireless.@wifi-iface[0].ApCliEncrypType='AES' wireless.@wifi-iface[0].ApCliSsid='nnnn' wireless.@wifi-iface[0].ApCliPassWord='REDACTED' wireless.@wifi-iface[0].ApCliEnable='0' wireless.@wifi-config[0]=wifi-config wireless.@wifi-config[0].ssid='whargarbl' wireless.@wifi-config[0].encryption='WPA2PSK' wireless.@wifi-config[0].key='REDACTED' root@Omega-76EB:~# uci show network network.loopback=interface network.loopback.ifname='lo' network.loopback.proto='static' network.loopback.ipaddr='127.0.0.1' network.loopback.netmask='255.0.0.0' network.globals=globals network.globals.ula_prefix='fd1d:48c4:7633::/48' network.wlan=interface network.wlan.type='bridge' network.wlan.ifname='eth0.1' network.wlan.proto='static' network.wlan.ipaddr='192.168.3.1' network.wlan.netmask='255.255.255.0' network.wlan.ip6assign='60' network.wan=interface network.wan.ifname='eth0.2' network.wan.proto='dhcp' network.wwan=interface network.wwan.ifname='apcli0' network.wwan.proto='dhcp' oot@Omega-76EB:~# cat /etc/config/wireless 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 ssid 'Omega-76EB' option key '12345678' option ApCliAuthMode 'WPA2PSK' option ApCliEncrypType 'AES' option ApCliSsid 'nnnn' option ApCliPassWord 'REDACTED' option ApCliEnable '0' config wifi-config option ssid 'nnnn' option encryption 'WPA2PSK' option key 'REDACTED'
-
Bumping. Same issue with
Device Firmware Version: 0.1.7 b139
-
@Zogg-Baubas , try the newer image file:
http://repo.onion.io/omega2/images/
Check out in manual how to update manually in terminal.
-
Same issue for me as well.
Omega2+
Exp dockDevice Firmware Version: 0.1.7 b140
root@Omega-C5A3:~# wifisetup Onion Omega Wifi Setup Select from the following: 1) Scan for Wifi networks 2) Type network info q) Exit Selection: 1 Scanning for wifi networks... Select Wifi network: 1) foo 2) bar 3) baz Selection: 3 Network: baz Authentication type: WPA2PSK Enter password: redacted > Restarting wifimanager for changes to take effect root@Omega-C5A3:~#
root@Omega-C5A3:~# uci show network network.loopback=interface network.loopback.ifname='lo' network.loopback.proto='static' network.loopback.ipaddr='127.0.0.1' network.loopback.netmask='255.0.0.0' network.globals=globals network.globals.ula_prefix='fd1d:48c4:7633::/48' network.wlan=interface network.wlan.type='bridge' network.wlan.ifname='eth0.1' network.wlan.proto='static' network.wlan.ipaddr='192.168.3.1' network.wlan.netmask='255.255.255.0' network.wlan.ip6assign='60' network.wan=interface network.wan.ifname='eth0' network.wan.proto='dhcp' network.wwan=interface network.wwan.ifname='apcli0' network.wwan.proto='dhcp'
root@Omega-C5A3:~# uci show wireless wireless.ra0=wifi-device wireless.ra0.type='ralink' wireless.ra0.mode='9' wireless.ra0.channel='auto' wireless.ra0.txpower='100' wireless.ra0.ht='20' wireless.ra0.country='US' wireless.ra0.disabled='0' wireless.@wifi-iface[0]=wifi-iface wireless.@wifi-iface[0].device='ra0' wireless.@wifi-iface[0].network='wlan' wireless.@wifi-iface[0].mode='ap' wireless.@wifi-iface[0].encryption='psk2' wireless.@wifi-iface[0].key='12345678' wireless.@wifi-iface[0].ApCliAuthMode='WPA2PSK' wireless.@wifi-iface[0].ApCliEncrypType='AES' wireless.@wifi-iface[0].ssid='Omega-C5A3' wireless.@wifi-iface[0].ApCliSsid='baz' wireless.@wifi-iface[0].ApCliPassWord='redacted' wireless.@wifi-iface[0].ApCliEnable='0' wireless.@wifi-config[0]=wifi-config wireless.@wifi-config[0].ssid='baz' wireless.@wifi-config[0].encryption='WPA2PSK' wireless.@wifi-config[0].key='redacted'
-
@Luciano-S. Manual
sysupgrade
does not work:root@Omega-6D3B:/# sysupgrade -v --force /omega2p-v0.1.7-b140.bin Saving config files... etc/config/dhcp etc/config/dropbear etc/config/firewall etc/config/mountd etc/config/network etc/config/onion etc/config/rpcd etc/config/system etc/config/ubootenv etc/config/uhttpd etc/config/wireless etc/dropbear/dropbear_rsa_host_key etc/fw_env.config etc/group etc/hosts etc/inittab etc/opkg/keys/1afebb2008639538 etc/opkg/keys/2ea9a9bc60cbc099 etc/opkg/keys/60366ca0eb621637 etc/opkg/keys/6405feca1ff7d881 etc/opkg/keys/72a57f2191b211e0 etc/opkg/keys/7afde20b15076f21 etc/opkg/keys/9ef4694208102c43 etc/opkg/keys/b5043e70f9a75cde etc/opkg/keys/dace9d4df16896bf etc/opkg/keys/dd6de0d06bbd3d85 etc/passwd etc/profile etc/rc.local etc/shadow etc/shells etc/sysctl.conf etc/sysctl.d/local.conf root/.config/htop/htoprc killall: watchdog: no process killed Sending TERM to remaining processes ... onion-helper udhcpc dnsmasq mountd ntpd ubusd askfirst logd rpcd netifd odhcpd uhttpd device-client avahi-daemon Sending KILL to remaining processes ... askfirst Switching to ramdisk... Performing system upgrade... Could not get image magic Image check failed. Upgrade completed Rebooting system... umount: can't unmount /dev/pts: Resource busy umount: can't unmount /dev: Resource busy
And the Omega boots into the old image:
@arte ➜ Zemeplytis rvm:(system) ssh root@Omega-6D3B.local root@omega-6d3b.local's password: BusyBox v1.25.1 () built-in shell (ash) ____ _ ____ / __ \___ (_)__ ___ / __ \__ _ ___ ___ ____ _ / /_/ / _ \/ / _ \/ _ \ / /_/ / ' \/ -_) _ `/ _ `/ \____/_//_/_/\___/_//_/ \____/_/_/_/\__/\_, /\_,_/ W H A T W I L L Y O U I N V E N T ? /___/ ----------------------------------------------------- Ω-ware: 0.1.7 b139 -----------------------------------------------------
-
@Zogg-Baubas yikes! why the
--force
flag??
-
@Lazar-Demin said in Omega2+ fails to connect to wifi:
@Zogg-Baubas yikes! why the
--force
flag??Hey, Administrators, when will you resolve the wifi connectivity issues that we're talking about on this thread?
-
@Lazar-Demin said in Omega2+ fails to connect to wifi:
@Zogg-Baubas yikes! why the
--force
flag??Because without it I'v got the same result. Figured, as this particular Omega was useless in this state, it couldn't get worse even if bricked. In the end '--force' didnt achieve anything that unforced version didnt.
-
@Zogg-Baubas It seems that we have to find the solution by ourselves, the Admins do not help at all.
Have you tried the new version of firmware?
-
@Zogg-Baubas I already instructed you in http://community.onion.io/topic/1178/wifi-connection-problem-with-omega2/21 how to flash the image correctly.
-
@Kostas-David - I tried
omega2p-v0.1.8-b145.bin
and still no luck getting the wi-fi working yet. I'm using a Mikrotik router and I've never had any issues with other devices.
-
I had also connection problems because i had special characters in my wlan password! After the upgrade of the firmware it also works with special letters!
-
@xmatt I also confirm that upgrading the firmware didn't help.
@Gerald-Schalek my wlan password does not container special characters but the wifi does not connect
-
Status update: By installing firmware omega2p-v0.1.8-b145.bin I managed to get connected to my Android phone's mobile hotspot with no security.
Problems:- Omega cannot get connected to Access points with security enabled (WPA, WPA2 etc)
- No access to cloud, it is shown as "Offline"
- LED is constantly blinking, even after restart
- No internet access from the SSH terminal
- Sometimes there is internet access from Console (it checks for new firmware successfully.
Still unusable...
-
Hello, I would like to share my progress. I finally managed to connect Omega2 to my router. The problem was the encryption type. My router uses "TKIP" but Omega2 has "AES".
So, I entered the following:
uci set wireless.@wifi-iface[0].ApCliEncrypType=TKIP
uci commit wireless
etc/init.d/network restartNote: The firmware I am using is 0.1.7 b139 because for some strange reason the firmware update downloads this version instead of 0.1.8. But it works
-
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'
inconfig 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 inconfig 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.
-
@Mikaël-PIRIO After trying everything else, only this worked. Thanks for putting in time for this answer.
-
@Mikaël-PIRIO Thanks for finding the issue and posting the guide!
We'll try to fix this in the coming weeks. For now, I've added it to the known issues listing
-
@Mikaël-PIRIO While this worked for me as well, it required me to modify the settings of my wireless network; namely 1) making it 802.11g/n (previously hard-set to 802.11n only), 2) downgrade from AES to using TKIP. WPA or WPA2 doesn't seem to matter. Having to decrease the encryption strength of the network and switching MAC/PHY standard doesn't seem like a good long-term solution.
Some other puzzling observations: my previous router settings (802.11n, WPA2 with AES) works fine with the Omega 1; also, the Omega 2 works fine when connecting to my mobile phone configured as a hotspot with AES. Seems like an odd corner-case with the Omega 2 and certain APs when using AES. I suspect the 4-way handshake never gets completed since my router never receives the DHCP requests, but verifying/debugging this would require doing some wireless packet captures.