Omega2+ can't connect to wifi network during initial setup



  • Hello there,

    I am trying to get my new Omega2+ to connect to the Wifi network, but it fails for some reason. It is connected to a Battery Dock (without battery at the moment), has an Ethernet Expension sitting on it (no cable connected yet).

    I first tried the GUI way, and it just reports being unable to connect to my WiFi router.

    Then I tried to modify /etc/config/wireless, and I could see my router's SSID / password being there.

    Also, it reports Ω-ware: 0.1.5 b130 on login through SSH, if that's any helpful.

    But it fails to connect.

    Any idea how to tackle this?



  • @Patrick-Nou , could you try with a alternative dock or powering the omega without dock, that it gets constantly enough power?

    1. As about 1000 times said ... it is in most cases a power problem. Try alternative first.
    2. Check password and SSID if they have special characters.
    3. Be aware, using a old firmware has quite a view issues, please check the list.


  • Taking a picture of your installation would also help to see eventually power issues (to thin or to long cables etc.).



  • @Luciano-S. 1- Tried while connected to my laptop's USB port: FAILS.
    2- None of those have any special character in them.
    3- What old firmware? I can't update if I can't connect to the Internet, anyway.

    aps command yields:
    3 Zhone 22:02:71:XX:YY:ZZ WPA2PSK/AES 89 11b/g/n NONE In

    And the last part of /etc/config/wireless shows:

    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-F835'
    option ApCliSsid 'Zhone'
    option ApCliPassWord 'Password'
    option ApCliEnable '1'

    I don't have a picture, but this is a rather short cable, 1m long approximately.

    Any idea where the problem is? No other Wifi device have any issue, not even the current Omega (non 2) that are on the same network.



  • @Patrick-Nou said in Omega2+ can't connect to wifi network during initial setup:

    3- What old firmware? I can't update if I can't connect to the Internet, anyway.

    Of course you can, please check out manual/request how to update without wifi.

    Instead of laptop, use a external powered usb hub or try a other computer.



  • @Luciano-S. Already tried regular USB charger that has no problem charging an iPad (notoriously power-hungry), already powered the Omega (non-2 version), the Raspberry Pi (also very sensitive to bad power quality).

    I don't have another laptop handy, but a USB voltmeter shows it doesn't go lower than 4.75V, still within the 5% tolerance required.

    The documentation pages don't state explicitly how to manually update the firmware; however, I found this old documentation page through a G search, and deducted this would be the correct path to fetch the latest image for the Ω2+: http://repo.onion.io/omega2/images/omega2p-v0.1.9-b157.bin

    So the next step would be to
    1- somehow put this image into the /tmp directory
    Related problem: how do I perform a file transfer over SSH when SFTP is not available?

    2- perform:
    sysupgrade -n /tmp/omega-v0.1.9-b157.bin

    Am I correct?
    What are the chances of bricking the Ω?

    Not sure how I should feel knowing that a device I waited for months can't even complete its own simple setup.



  • @Patrick-Nou said in Omega2+ can't connect to wifi network during initial setup:

    So the next step would be to
    1- somehow put this image into the /tmp directory
    Related problem: how do I perform a file transfer over SSH when SFTP is not available?

    Press reset button while power on the omega and you will get an uboot menu. Start the Omega as Webserver .. put your laptop in the same subnet (do manual ip setup), this just works when your wifi connection can be established.

    No problem iff you would have it with a ethernet dock.

    There should be an option to copy the image from an USB.

    check it out!

    The chances to brick your omega is smal, if hardware is ok. If it existst a hw problem onion.io want see pics for an RMA.

    Yes, looks good with the image.

    Not sure how I should feel knowing that a device I waited for months can't even complete its own simple setup.

    I can't tell you how you should feel... just do understand if you feel pissed off!



  • @Luciano-S. I read somewhere the Battery dock didn't feature a CP2102 chip.
    However, I do have a regular Expansion Dock (for the Ω) whose power switch is broken.
    I also have a standalone CP2102, Breadboard Dock.

    The only missing information would be the full pinout of the Ethernet Expansion Board

    Broken switch below:
    0_1488274194381_FullSizeRender-2.jpg



  • @Patrick-Nou You have the tools to update your Omega to working - the broken switch on the Expansion dock has been common problem, can you use a small needle to make it work? To copy the update .bin file from your computer to the Omega - If your "standalone CP2102" is a USB (serial) TTL UART, then you can use it to connect to the Omega on your Expansion dock with a serial connection.

    Copy the correct firmware .bin file to a thumb drive and put that in the USB port on the Expansion dock - if your Omega is a Plus then use the Omega2pvXX version, ie has the "p" etc. Use a terminal program like Putty to open a Console session then follow the steps for Manual firmware installation from the Alternate Step 1 on, works fine from the V1.5 firmware that usually ships on the new Omega2s. With Sysupgrade, do use the -n option which will overwrite your setup to the default, so hopefully your Wifi connection will then work.



  • @Ken-Conrad said in Omega2+ can't connect to wifi network during initial setup:

    @Patrick-Nou You have the tools to update your Omega to working - the broken switch on the Expansion dock has been common problem, can you use a small needle to make it work?

    Actually I already tried the needle, but ended up breaking the switch further, in the OFF position. I guess I will have to replace it, but the solder points are really tiny and I may well tear away the fragile printed circuit.

    From the updated instructions, should I understand nor the serial connection or the Ethernet Expenasion aren't required anymore? I do have access to the SSH server, even if the Omega isn't set up yet.

    What filesystem should the USB key be formetted in?



  • @Patrick-Nou Since you broke off the switch ... if I had that problem I would solder a short jumper wire to connect the two pads needed to close the circuit, then the unit will always be on when it has power. How are you connecting via SSH, with the CP2102? If you can access the Console then sysupgrade should work. The thumb drives I've used are formatted as they came from the vendor, I believe FAT32. For SD storage and RAM buffering Linux seems to prefer EXT4 but the format doesn't matter for this upgrade/ restore. Do use the -n option as noted above.

    After you complete the update if you still have Wifi problems, PVadam gave helpful connecting advice in this post today.



  • Well, I did just that, attempting the upgrade from a previously downloaded image on a USB drive formatted in FAT32. I took the b157 version, the latest when I attempted to make the Ω2+ work.

    However, I still can't make it connect to my router :(
    I tried to create an unsecured, ad-hoc network on my computer for the Omega to connect to, but it also fails, and still doesn't give out any details.

    What would be next?



  • @Patrick-Nou said in Omega2+ can't connect to wifi network during initial setup:

    What would be next?

    Debugging !
    So, apparently it worked? The update?

    About your broken switch position ... against GPIO it is ON and away from GPIO is OFF.
    With what are you working now (dock)? Why did you not let this dock replace ?! RMA or at leas ask that they send you a good switch. Then you could ask a professional to fix that.

    Before turning off (take the power off) your device do you type in a halt command?

    It is really not easy, you ask for help. Then you do 10 Steps and ask what's next ... just give feedback and learn from the mistakes you do ;)



  • @Luciano-S. Actually I did contact the Onion team about the issue, they just acknowledged the problematic switch, but didn't offer an RMA. The switch is broken "away from the GPIO", i.e. OFF, and I can't move it back on. This Expansion Dock is essentially unusable until I replace the switch. I surely won't ask a professional to replace a 50cents part on a $15 board, that would cost me $50 at least (last time I asked for surface soldering service). This is a board to be tinkered with (somewhat), after all!

    Indeed, I managed to get the latest, b159 version on a USB key (FAT32), and install it manually. After that, it finally connected to the router. The Onion team has some great ideas, but should really test their firmware before shipping!

    For the record: I plugged the Ω2+ on the Battery Expansion Board, and didn't need the CP2102 standalone converter I had. Also, the USB key didn't mount automatically, but issuing command /etc/init.d/mountd restart mounted the key at /tmp/run/mountd/sda1, not /tmp/mounts (this directory doesn't exist)

    Buggy firmware + outdated documentation…



  • Well, bad news, it broke again. After I rebooted the newly installed b162 running on the Ω2+, the orange light flashed slowly for a few seconds as if booting normally, then turned off. It didn't broadcast any SSID.

    I then tried to put it on the small expansion board, same result.
    Tried pressing the reset button while turning it on, same result, no light and no SSID.

    What can I do now?



  • My Omegas are now gathering dust. They can't connect to the 802.11n network.

    How would I get a hint of what's not working?



  • I had this same problem with two of my new Omega 2+s last week. After lots of searching around and digging into config files...I tried power-cycling my router and then they both worked. Might be worth ruling that out first.



  • i think b162 was causing a lot of issues so it was withdrawn. unless i am looking at the wrong list, b160 is the current newest firmware. this is the list that i'm using,
    http://repo.onion.io/omega2/images/


Log in to reply
 

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