The installer has installed everything correctly. It is so specifically conceived that when entering on 192.168.3.1, Onion OS was opened because Onion console is not installed in new Omega2 during installation. To fix this, you may need to edit the file /www/index.html
A bit of context: OpenWrt (on which OnionOS is built) is a network router OS, and as such it needs to have a web-UI which can access and modify system configuration and status. This OpenWrt Web-UI is called LuCI
ubus (u=µ, micro bus) is one part of the infrastructure for that, as it allows to query and command various system parts. uci (the unified configuration interface) is another part, it allows to manage more static configuration in a standardized way, and is accessible via ubus.
So in order for LuCI to use ubus to do stuff, including using uci, there needs to be a http-to-ubus bridge, which comes in the form of a uhttpd plugin called uhttpd-mod-ubus. There's documentation about this here.
As I'm a user of stock OpenWrt on Omega2, I'm not absolutely sure about the exact state of OnionOS, but judging from the .config on github uhttpd-mod-ubus is installed by default and should be working.
So I guess you need to start at creating a ACL and read on to understand how how to login and get a session id via http.
I may be the only one who wants this, but if anyone else would like to use/modify this script, feel free. I added the ability to 'cancel' the SafePower mode by just running the script again.
Its possible this turns out to be a bad idea, but it cannot be worse than just pulling the power. I have not tried it, but I imagine running in SafePower mode would also not present much problems as ultimately there just is not a lot of flash writing going on (at least in my case).
@Vukan-Vuk Yes, @CAP-33 is correct - you can not turn off the POWER LED of Power Dock without some hardware action / modification.
The expled tool - originally - is able to control the RGB LED of an Expansion Dock via GPIO15, 16, 17.
See also Expansion Dock > Using the Dock > Controlling the RGB LED
Power Dock 2 has a virtual PB (PushButton) that we can push with the power-dock2 utility via GPIO16 (or unintentionally because GPIO16 is floating by default ;-).
See also Checking the Battery Level
Up to now I thought that PB is effective only if a battery is connected to the board.
It seems you have found a creative way when you are keep pushing it with an expled command - theoretically 200 times per second ;-).
You should try to stop the PWM signal on GPIO16 with fast-gpio set-input 16 - this was the default state of GPIO16.
Generate a software-based Pulse Width Modulated (PWM) signal on a selected pin. Specify the desired duty cycle and frequency of the PWM signal.
fast-gpio pwm <gpio> <freq in Hz> <duty cycle percentage>
This will launch a background process that will generate the PWM signal.
To stop the PWM signal, set the GPIO’s value:
fast-gpio <gpio> 0
fast-gpio set <gpio> 0 - set the output LOW (if there's an active LOW LED then it will be ON) or
fast-gpio set <gpio> 1 - set the output HIGH (if there's an active LOW LED then it will be OFF).
you may be able to set up your own local DNS server to handle just that request and any other request would fall through to the next DNS server you list. this would only work for the local network[s] served by the local DNS. what i recall is that there were many requests to fix this over 5 or 6 years and one day google just closed the issue marking it "won't fix (obsolete)" which makes no sense but when you're google it does not have to make sense. case in point is most recent google project tango. alternatively, you may be able to use a "hosts" file on android device but then that file would need to, if it worked, be on any device that needed access.
Yes, I've already started looking at webcams (on Amazon), and definitely found a few that have built in microphones. I was just hoping to hear from someone who can confirm that they've already tried it and that it does in fact work.
What about connecting 2 different USB devices to the Onion (ie: a webcam + audio device)? Does anyone here know of some kind of USB splitter or hub that doesn't require an external power source?
Disabled Categories are greyed out
This topic will be moved to the category
Looks like your connection to Community was lost, please wait while we try to reconnect.