New Firmware, No Wifi, Maybe New Name? Omega2+ 03.2-20230330.bin
-
@Amalee said in New Firmware, No Wifi, Maybe New Name? Omega2+ 03.2-20230330.bin:
Firmware: 03.2-20230330.bin
Yeah, that's all I'm trying to do right now. Get the Onion 2+ back up and running.
Months ago, I updated the firmware to Firmware: 03.2-20230330.bin
Assuming I understand correctly, the aforementioned firmware does not have a wireless driver. I did not know that at the time I updated it.
After putting that firmware's version on it, I have not been able to get my Onion2+ connected to the internet/connected to the SSH, so I can't do anything with it.
I figured I would flash my Onion back to the previous firmware (or basically any stable firmware).
After a few attempts, I learned I cannot rollback or update the firmware because the instructions say it requires internet access.
-
@Amalee said in New Firmware, No Wifi, Maybe New Name? Omega2+ 03.2-20230330.bin:
Assuming I understand correctly, the aforementioned firmware does not have a wireless driver. I did not know that at the time I updated it.
The beta firmware does indeed have a wifi driver. In your OP the screenshots show that you were connected to the Omega's WiFi AP. Then a few posts later, it looks like you disabled the WiFi AP.
That explains why you can no longer connect to it.
Follow these steps to get back up and running with the stable firmware:
- Do a factory reset (with the reset button) to go back to the default configuration, so the Omega's WiFi AP is running. More info here: http://docs.onion.io/omega2-docs/factory-reset.html#with-the-reset-button-1
- On your computer, download the latest v0.3.4-b257 stable firmware from here: http://repo.onioniot.com/omega2/images/
- Since you have an Omega2+, download the firmware name
omega2p-v0.3.4-b257.bin
- Since you have an Omega2+, download the firmware name
- After the factory restore, connect your computer to the Omega's WiFi AP and connect to the Omega using SSH
- Use scp to transfer the firmware downloaded in step 2 to the Omega2. More info here: https://linuxize.com/post/how-to-use-scp-command-to-securely-transfer-files/
- On the Omega, use the sysupgrade command to install the firmware. More info here: http://docs.onion.io/omega2-docs/manual-firmware-installation.html#step-2-upgrading-your-omega-to-the-downloaded-firmware
-
@Lazar-Demin I'm completely unfamiliar with command prompts that show if I've successfully restored to the initial version of onion omega software. I made sure to hold the reset button for 10 seconds, and also ran the command:
firstboot -y
sync
reboot
which did function by turning of the system, but it doesn't make it clear which version I am currently on. Even though I ran a version command block to see if it would even give me the information. And to my surprise it didn't. I tried one last thing to see if it could retrieve the needed assets. With wget http://repo.onioniot.com.s3.amazonaws.com/omega2/images/omega2p-v0.3.4-b257.bin .However, it did not successfully compile it in the screenshot provided along to this thread.
-
@CXP In your case, we're doing a factory restore in order to reset your device to the default configuration where the WiFi AP is on. You can see the version number
For future reference, you can see the firmware version number in the login banner:
With regards to the wget command not working, is your Omega connected to the internet through your local wifi network?
In my previous post, I outlined steps you can follow so that you can avoid connecting the Omega to your local wifi network. Instead you can copy the firmware from your computer directly to the Omega.
-
@Lazar-Demin said in New Firmware, No Wifi, Maybe New Name? Omega2+ 03.2-20230330.bin:
reference, you can see the firmware version number
You mentioned in your previous response that I disabled wifi , so I need to reset the onion. I followed that step, and reset it several times. I still cannot get access to wifi. The picture below shows it.
Thus, it is not connected to our local wifi network (or any wifi network). (There are a couple of us now working on it since this has been a nightmare; got some fresh eyes on it. I explained to my friend the method he took is impossible.)
Instead, we tried again via USB.
Mounted successfully, but we cannot figure out how to get files from the USB to the Onion.
We got the firmware you suggested onto a USB (omega2p-v0.3.4-b257.bin).
Successfully mounted the USB.
Unable to download file from USB to Onion.
-
This post is deleted!
-
This post is deleted!
-
I tried to locate all of the files from PuTTY config. Successfully I can easily read the files listed. The onion omega article http://docs.onion.io/omega2-docs/usb-storage.html#usb-storage
specifically wants us to add command block cp <FILE YOU WANT TO COPY> <DESTINATION> . But the example doesn't clearly show us what to fill for the destination parameter. The issue is how do we copy the file from the thumb drive onto the omega 2+ board?Here's a screenshot of what it shows me:
-
@Nomadic-Homebody execute these commands:
cd /tmp
cp /mnt/sda1/omega2p-v0.3.4-b257.bin .
sysupgrade -F omega2p-v0.3.4-b257.bin
-
Follow @crispyoz's commands, they will work for what you're trying to accomplish.
@Nomadic-Homebody said in New Firmware, No Wifi, Maybe New Name? Omega2+ 03.2-20230330.bin:
I still cannot get access to wifi. The picture below shows it.
Again, the beta firmware works differently from the stable v0.3.4 firmware, so the methods to set up wifi are different.
The
wifisetup
command is for the stable v0.3.4 firmware and will not work on the beta firmware.For future reference, to set up wifi on the beta openwrt 22.03 firmware, follow these instructions on Github: https://github.com/OnionIoT/OpenWRT-Packages/blob/openwrt-22.03/technical-doc.md#sta
To set up wifi on the stable v0.3.4 firmware, follow this documentation article: http://docs.onion.io/omega2-docs/connecting-to-wifi-networks-command-line.html
-
Not future reference, present reference. This has is what I've been trying to get to for months.
Went to the link, and I I tried, and this is what popped up.
I tried the command for STA.
This is what it showed:
-
@Nomadic-Homebody you need to put the ssid in single quotes:
='CPX Guest'
-
After I put in the third line, an error message popped up, uci: Invalid argument
Double checked the SSID name and password, both correct.
I put the quotes on everything as instructed in single quotes.
-
@Nomadic-Homebody the third line is misspelled, you have cllient instead of client.
-
I double checked the spelling.
There are no error messages within the terminal.
Do you know what happened?
-
@Nomadic-Homebody when you commit the WiFi configuration the network restarts so this will be why you got kicked off. You should be able to reconnect. Then use the command ifconfig to see if your WiFi changes worked.
-
@crispyoz it doesn't work. I followed the directions, but it will not work.
Please get me a stable firmware that I can install without internet.
-
@Nomadic-Homebody what doesn't work? Your screenshot shows a valid ip has been assigned.
-
This is what ends up showing after running the commands.
Then I tried opening the onion Wi-Fi wizard setup, but it doesn't open it. Something is preventing me from opening it.
-
@Nomadic-Homebody the beta firmware does not have the wifi setup wizard.
From your screenshot, it looks like your Omega is connected to the "CXP Guest" network and has an IP address
Connect your computer back to the CXP Guest network and you will be able follow the instructions I mentioned above.
Use scp to copy the stable firmware to the
/tmp
directory of the Omega. Assuming you've downloaded the latest available stable firmware,omega2p-v0.3.4-b257.bin
and using the IP address from your screenshot, the scp command will look something like:scp omega2p-v0.3.4-b257.bin root@192.168.10.92:/tmp/omega2p-v0.3.4-b257.bin
You will need to enter the Omega's password, which is
onioneer
by default.After the transfer is complete, connect to the Omega and use the sysupgrade command to install the stable firmware.
The commands will look something like:cd /tmp sysupgrade -F -n omega2p-v0.3.4-b257.bin