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

Wifi Seems to Connect then Immediately Disconnect?



  • Hello, I have two Onions and they both seem to exhibit an issue.

    Initially, it seems like I couldn't connect to my wifi.
    Upon further investigation, it seems that after I do wifisetup, I can momentarily ping 8.8.8.8, but disconnects right after.

    If someone could help, it would be much appreciated!

    Here are some ouptuts:

       ____       _             ____
      / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
     / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
     \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
     W H A T  W I L L  Y O U  I N V E N T ? /___/
     -----------------------------------------------------
       Ω-ware: 0.1.5 b130
     -----------------------------------------------------
    root@Omega-0FD5:~# ping 8.8.8.8
    PING 8.8.8.8 (8.8.8.8): 56 data bytes
    64 bytes from 8.8.8.8: seq=0 ttl=122 time=21.236 ms
    64 bytes from 8.8.8.8: seq=1 ttl=122 time=11.040 ms
    64 bytes from 8.8.8.8: seq=2 ttl=122 time=7.487 ms
    ^C
    --- 8.8.8.8 ping statistics ---
    3 packets transmitted, 3 packets received, 0% packet loss
    round-trip min/avg/max = 7.487/13.254/21.236 ms
    root@Omega-0FD5:~# oupgrade
    > Device Firmware Version: 0.1.5 b130
    > Checking latest version online...
    > ERROR: Could not connect to Onion Firmware Server! Check your internet connection and try again!
    root@Omega-0FD5:~# ping 8.8.8.8
    PING 8.8.8.8 (8.8.8.8): 56 data bytes
    ^C
    --- 8.8.8.8 ping statistics ---
    5 packets transmitted, 0 packets received, 100% packet loss
    root@Omega-0FD5:~# 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].ApCliEnable='1'
    wireless.@wifi-iface[0].ApCliEncrypType='AES'
    wireless.@wifi-iface[0].ssid='Omega-0FD5'
    wireless.@wifi-iface[0].ApCliAuthMode='WPA2PSK'
    wireless.@wifi-iface[0].ApCliPassWord='oneonetwotwothreethree'
    wireless.@wifi-iface[0].ApCliSsid='Memes'
    wireless.@wifi-config[0]=wifi-config
    wireless.@wifi-config[0].ssid='Memes'
    wireless.@wifi-config[0].encryption='WPA2PSK'
    wireless.@wifi-config[0].key='oneonetwotwothreethree'
    wireless.@wifi-config[1]=wifi-config
    wireless.@wifi-config[1].ssid='Memes'
    wireless.@wifi-config[1].encryption='WPA2PSK'
    wireless.@wifi-config[1].key='oneonetwotwothreethree'
    root@Omega-0FD5:~# 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'
    root@Omega-0FD5:~# 
    


  • @Hirokazu-Tei said in Wifi Seems to Connect then Immediately Disconnect?:

    0.1.5 b130

    That is an extremely old firmware.

    Upgrade using oupgrade --latest and retry.



  • I would love to update this little guy, however, I cannot connect wifi in the first place so I also cannot download the update.

    root@Omega-0FD5:~# oupgrade --latest
    > Device Firmware Version: 0.1.5 b130
    > Checking latest version online...
    > ERROR: Could not connect to Onion Firmware Server! Check your internet connection and try again!
    root@Omega-0FD5:~# 
    

    Is there a way to oupgrade --latest without needing internet connectivity from the onion?

    Thank you!



  • you will need to get a copy of the *.bin from the onion server somehow which requires internet. you can try to download directly from server.
    http://repo.onion.io/omega2/images/ and then flash that.
    look in the documentation for the instructions.
    https://docs.onion.io/omega2-docs/
    look for download to usb storage.
    https://docs.onion.io/omega2-docs/manual-firmware-installation.html
    if you have a dock with usb then,
    https://docs.onion.io/omega2-docs/usb-storage.html#usb-storage
    otherwise a serial cable will help in the transfer.



  • @Hirokazu-Tei So you have two Omegas, one of them Omega2 with a fairly old v0.1.5-b130 FW and its Internet connection works sometimes.

    These are the latest FWs in http://repo.onion.io/omega2/images/

    • with the MediaTek WiFi driver v0.1.10-b160
    • with the new Warp Core WiFi driver v0.2.0-b192

    Try to download one of them directly to your Omega2 and install it - for example:
    cd /tmp
    wget http://repo.onion.io.s3.amazonaws.com/omega2/images/omega2-v0.2.0-b192.bin
    (or try to copy the downloaded file from your desktop to the /tmp dir of your Omega2)

    sysupgrade omega2-v0.2.0-b192.bin

    BTW What type of dock and extension do you have please?
    Good luck!



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