We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

Wifi connection problem with Omega2



  • Here is /etc/config/network from a working WiFi-setup:

    
    config interface 'loopback'
            option ifname 'lo'
            option proto 'static'
            option ipaddr '127.0.0.1'
            option netmask '255.0.0.0'
    
    config globals 'globals'
            option ula_prefix 'fd1d:48c4:7633::/48'
    
    config interface 'wlan'
            option type 'bridge'
            option ifname 'eth0.1'
            option proto 'static'
            option ipaddr '192.168.3.1'
            option netmask '255.255.255.0'
            option ip6assign '60'
    
    config interface 'wan'
            option ifname 'eth0'
            option proto 'dhcp'
    
    config interface 'wwan'
            option ifname 'apcli0'
            option proto 'dhcp'
    

    And here is /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 key '12345678'
    	option ApCliEnable '1'
    	option ApCliAuthMode 'WPA2PSK'
    	option ApCliEncrypType 'AES'
    	option ssid 'Omega-616B'
    	option ApCliSsid 'PUTYOUROWNSSIDHERE'
    	option ApCliPassWord 'PUTYOURPASSWORDHERE'
    
    config wifi-config
    	option ssid 'PUTYOUROWNSSIDHERE'
    	option encryption 'WPA2PSK'
    	option key 'PUTYOURPASSWORDHERE'
    
    

    Modify your files similarly and hopefully you'll get WiFi working. If your WiFi-network is on a channel higher than 9, you may have to change the channel from auto to whatever channel you're using -- auto didn't work for me when I tested my WiFi on channel 13, even with correct countryregion-settings.



  • @WereCatf Nope, that does nothing either. I'v tried all the suggestions in all the other threads. I can't even flash (manually) firmware on this Omega - the sysupgrade fails to do the job. šŸ˜ž



  • @Zogg-Baubas said in Wifi connection problem with Omega2:

    the sysupgrade fails to do the job. šŸ˜ž

    What do you mean with that?



  • @WereCatf said in Wifi connection problem with Omega2:

    @Zogg-Baubas said in Wifi connection problem with Omega2:

    the sysupgrade fails to do the job. šŸ˜ž

    What do you mean with that?

    Heres the post where I'v put the sysupgrade logs: https://community.onion.io/topic/1149/omega2-fails-to-connect-to-wifi/14



  • @Zogg-Baubas Why did you use --force? You made two mistakes with sysupgrade: 1) move the image to /tmp. It won't work from /, like you noticed. 2) use sysupgrade -n yourimagehere.bin to have it wipe all current settings while upgrading.

    If you do it correctly it'll work.



  • @Zogg-Baubas I upgraded mine by using the serial console over USB. To do this, install the driver from and follow the directions on https://wiki.onion.io/Tutorials/Connecting-to-Omega-via-Serial-Terminal then do the steps below per http://community.onion.io/topic/1154/omega-2-usb-firmware-install-after-brick-resolved/2

    1. Download firmware file to USB flash drive
    2. Rename the file to Omega2.bin (this works for both Omega2 & Omega 2+)
    3. Connect PC to Omega 2 via device supporting USB to serial connectivity.
    4. Hold the reset button down and power on the omega.
    5. Select option #2, install firmware from USB.


  • @WereCatf I'll give your network config a try this weekend, thanks!



  • @WereCatf said in Wifi connection problem with Omega2:

    @Zogg-Baubas Why did you use --force? You made two mistakes with sysupgrade: 1) move the image to /tmp. It won't work from /, like you noticed. 2) use sysupgrade -n yourimagehere.bin to have it wipe all current settings while upgrading.

    If you do it correctly it'll work.

    Thanks, will do once my USB-Serial cable arrives. šŸ˜‰ For now it is bricked.



  • I've done everything I have seen on this community and still have not gotten a single positive result. I'm also running 0.1.8 b145. Still shocked my ESP8266 and ESP32 are connecting to Wi-Fi but this somehow struggles with its superior specs...



  • @legotheboss Have you tried this?



  • i have same issue on mikrotik router and airties router. it seems just connecting on my s7edge's hotspot. i've tried everything in this thread and links but nothing changed.
    have anyone has real fix?
    i also tried to change country to us on my router but seems nothing change too.

    edit1: i also tried fw 0.1.5 to 0.1.8 and result same



  • @mehmet-bozkurt Could you post content of your /etc/config/wireless config file and aps command output?



  • @MikaĆ«l-PIRIO ok here is it.

    /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 key '12345678'
    option ApCliEncrypType 'AES'
    option ApCliAuthMode 'WPA2PSK'
    option ssid 'Omega-A1AF'
    option ApCliSsid 'WoLFStationLVLm'
    option ApCliPassWord 'xxxxx'
    option ApCliEnable '1'

    config wifi-config
    option ssid 'WoLFStationLVLm'
    option encryption 'WPA2PSK'
    option key 'xxxxx'
    ~~

    aps
    ~~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
    6 WoLFStationLVLm 4e:66:41:56:b3:53 WPA2PSK/AES 100 11b/g/n NONE In
    6 ZyXEL fc:f5:28:f7:dd:6f WPA2PSK/AES 0 11b/g/n NONE In
    6 123efe e8:94:f6:fb:d9:2a WPA2PSK/AES 0 11b/g/n BELOW In
    7 AgaKa-2 f0:b4:29:59:fe:39 WPA1PSKWPA2PSK/TKIPAES 10 11b/g/n ABOVE In
    7 WoLFStationLVL4 4c:5e:0c:70:fd:b0 WPA2PSK/AES 94 11b/g/n ABOVE In
    10 Fiberhat_Balcioglu a4:2b:b0:fd:d4:12 WPA2PSK/AES 0 11b/g/n BELOW In
    11 Elin ec:08:6b:f0:33:f4 WPA2PSK/AES 0 11b/g/n NONE In
    11 agakax 18:28:61:f8:ab:3d WPA2PSK/AES 24 11b/g/n NONE In
    ~~



  • @mehmet-bozkurt Your config file seems to be OK šŸ˜” .

    Have you check your subnet: no collision (see here)?

    Perhaps could you try to force option channel to '6'? Run nr command after and check if you get an IP with ia command...



  • @MikaĆ«l-PIRIO no collision. its on different subnet. how can i force channel to 6? on router side ?



  • @mehmet-bozkurt No. In your /etc/config/wireless config file, in the "config wifi-device 'ra0'" section.



  • @MikaĆ«l-PIRIO same result. btw i found my "xiaomi mi router nano" and seems omega2 can connect this router too.
    seems something wrong on omega2 firmware side



  • Call me crazy, but I had a wifi password of 63 characters, including special characters like space, ',' and even '<'. I changed it to a normal 12-character password and now my Omega2 can connect.



  • Hi,
    Is there someone from Onion team working on this issue ?
    I've made upgrade to latest firmware and none of my two Omega2 boards doesn't connect to my WiFi (Mikrotik WPA2).
    Old Onion works OK.

    For now I have to small bricks on my desk..



  • Hello everyone,

    As far as I've noticed, there's something really weird happening. Since I got my Omega2+, I tried for a few hours to get it online, with no succes. Ultimately, by continuosly re-scaning for wifi networks, I stumbled upon my personal one. But when I tried to connect to it, it was unsuccesful, and when I re-scanned for SSID's, it was gone again. So I thought to myself, I'll just play for the lottery, and have patience...and yes, somehow, the omega seems to have connected for a few moments to my wi-fi network, allowing me to update it to the latest firmware, and afterwards, to connect to it...but ONLY locally. Right now, I am still unable to connect to my wi-fi network...and don't worry, I've been through every suggestion I could find on this community( there isn't any collision going on, there are no problems with the channels, or the encryption, or my router). It would seem that it just connects and disconnects as it pleases, whenever it pleases...it works perfectly fine as a local AP, but that's it...what is even more weird, is that, when I am connected to it, it implies that I do have internet access, although I don't. Well, anyway, don't know how much this helps...all I have to say is that I am quite disappointed...I've been waiting for this since August, and apparently it's full of bugs and I can't use it for anything, for now. I hope you guys figure it out soon, best of luck and kind regards!



Looks like your connection to Community was lost, please wait while we try to reconnect.