I will organize these at some point, but right now I just want to store these somewhere....
I tried to register for the OnionCloud as part if the initial setup - it just hung. Reading some other user experiences, it seems it is better to update firmware, etc, first, before trying. So i just went back to the browser to 192.168.3.1 and restarted the setup...
Changing IP Address
(from online manual)
For example, if we wanted to change the Omega’s IP Address to 192.168.9.1 we would enter the following:
uci set network.wlan.ipaddr=192.168.9.1
Now once we have set our IP address, we’ll want to save this. The generic command to save a setting is the following:
uci commit <CONFIG>
The config we’re changing is network, so we’ll enter the following to save our changes:
uci commit network
Now once you’ve saved your settings, you’ll need to restart the network to apply the changes with this command:
Upgrading the OS
Connect through ssh to the onion
Note that this is the latest, not necessarily the --stable release
Use the wifisetup command line tool
wifisetup remove -ssid network_ssid
To run a simple command line setup:
Setting up a Cross-Compiler
The Omega2 is pretty space limited, and apparently compiling a non-trivial program can take a while. The solution is to cross compile the program on a laptop, and then download the program to the Omega. There are a couple of different tutorials on doing this, but some of them do not work. I eventually found this tutorial that does (caveta: "hopefully will" as i write this). I fired up an Ubuntu 18.04 instance in VirtualBox and set up the cross compiler stuff there.
Setting up this environment is sure easier said than done. So far no luck, but i will keep trying as time permits....
Got it working (finally). I used the instructions from the Onion documentation (not docker). Need to apply the above patch. (Base system was Ubunto 18.04)
- need to compile libugpio through the LEDE system (menuconfih, pick in Libraries, then make)
to build the example gpioRead program
sh xCompile.sh -buildroot ~/onion/source -lib ugpio
copy file to omega
rsync -a ./gpioRead email@example.com:~/
Back to Main Page