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

[SOLVED] Omega can't connect to WiFi



  • @Nito-Weber Perhaps you have changed some settings in /etc/config/network

    Here's the default content of that file:

    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 'fd28:1f13:5b38::/48'
    
    #config interface 'lan'
    #   option ifname 'eth0'
    #   option type 'bridge'
    #   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 'wan6'
    #   option ifname '@wan'
    #   option proto 'dhcpv6'
    
    #config switch
    #   option name 'switch0'
    #   option reset '1'
    #   option enable_vlan '1'
    
    #config switch_vlan
    #   option device 'switch0'
    #   option vlan '1'
    #   option ports '0 1 3'
    
    config interface 'wwan'
        option proto 'dhcp'
        option hostname 'OnionOmega'
    
    config interface 'wlan'
        option proto 'static'
        option ipaddr '192.168.3.1'
        option netmask '255.255.255.0'
    
    
    #config interface 'wlan'
    #   option ifname 'wlan0-1 wlan0'
    #   option type 'bridge'
    #   option proto 'static'
    #   option ipaddr '192.168.3.1'
    #   option netmask '255.255.255.0'
    #   option ip6assign '60'
    

    Can you copy and paste that in to /etc/config/network and execute /etc/init.d/network restart to reload the configuration? Please let me know if that helps.



  • I just got my omega today (looks great so far) but i can't connect to wifi in the house, i've tried scanning and manually adding it but no joy with either, heres what i get:Capture.PNG

    Any help would be great!
    Thanks
    Eoin



  • @Eoin-O'Dowd Can you add the following block to /etc/config/wireless:

    config wifi-iface
            option device 'radio0'
            option mode 'sta'
            option network 'wwan'
            option encryption 'psk2'
            option ssid '<Network Name>'
            option key '<Password>'
    

    You may need to change encryption to wep or psk for WEP encryption and WPA1, respectively. After you are done, just save the file and run:

    wifi
    

    This should restart your wifi service with the new configuration.

    Please let me know if this helps.



  • No, not working either, still the same! any other ideas?



  • @Eoin-O'Dowd Can you tell us which country you are in? Sometimes channel 13 does not work in certain European countries. In which case it will need to be disabled.



  • im in ireland.



  • @Nito-Weber If you edited it with vi, you will first press ESC to get out of Insert mode, then you will type :wq to write to file, and quit out of vi.



  • @Boken-Lin yeah thanks, i figured it out who vi works šŸ‘ but it doesn't seem to change anything. 'radio0' is still disabled and i down know where my mistake might be. I checked the default version of /etc/config/network and tried what you explained to @Eoin-O-x27-Dowd with /etc/config/wireless. both changes didn't show any effect. i have no idea why.



  • @Nito-Weber Can you try this for me?

    use wifisetup to attempt an connection to your wifi network. When you see wlan0: link is not ready, press Ctrl+C to terminate wifisetup. Then copy and paste the contents of both /etc/config/wireless and /etc/config/network here. Let's eliminate the possibility that it's an issue with the configuration.



  • I have tried everything above and i can't get the wifi working, this device is useless to me without internet.


  • administrators

    @Eoin-O'Dowd have you tried connecting to other wifi networks?

    Also, can you check if your wifi network uses TKIP encryption for the password. There's some issues with this type of encryption: https://community.onion.io/topic/137/ssh-from-lan-not-working/3



  • I have wpa2-psk on the router and have also setup a hotspot on my phone to test various types of encryption but it's almost as if it can't detect any network.



  • Thanks for the post above i have changed to AES encryption and still have no connection discovery or manual connection!



  • Sorry for the multiple post it's just sad that i cant get this to work, here is the output when trying to connecs to an open network:post.PNG


  • administrators

    @Eoin-O'Dowd can you try connecting to the open network with the following command:

    wifisetup -ssid <ssid> -auth none -password ""
    

    If that doesn't work, try:

    wifisetup -ssid <ssid> -auth none -password "" -disablewwancheck
    

    Let me know how it goes!



  • Output:

    post2.PNG



  • Hi @Eoin-O'Dowd, is there a chance that your router and phone hotspot are outputting 5GHz frequency? The Omega doesn't support WiFI AC yet. Also, are you able to access Omega's own WiFI AP? Let's first try to rule out the possibility that WiFi interface on the Omega might be broken.



  • As far as i can see the wifi is broken, i can't see the AP on any of my devices it just simply has no means of connecting to the wifi, how do i get a refund/replacement?



  • i just bought a relay shield + ethernet shield can you please send me a replacement onion with that aswell,?



  • Hi @Eoin-O'Dowd, I figured out what the issue is. It seems that the ART partition on your Omega wasn't flashed properly. This partition contains the WiFi calibration data. However, to fix this you will need the Ethernet expansion. Would you like to wait for Ethernet expansion or would you like us to show you how to hack it with resistors and capacitors?



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