Onion-Docs
Onion-Docs copied to clipboard
More console commands
In my case I wasn't able to install the console on omega2 as the disk space was used by python.
Some of the things that I discovered myself but would be nice to have in the docs:
- To install the console from command line: opkg install onion-console-base
- To do a factory reset run the command: mtd -r erase rootfs_data
- To set the timezone, edit the /etc/config/system file and put a timezone in the section "option timezone 'YOURTIMEZONE' from this list: https://wiki.openwrt.org/doc/uci/system#time_zones
- To edit the AP password, edit the file: /etc/config/wireless
- To add it to the cloud:
edit the file /etc/config/onion
and add a section as: config cloud 'cloud' option deviceId 'YOURDEVICEID' option secret 'YOURSECRETCODE'
-To view the disk space run the command '/usr/sbin/disk-space' (if the console is installed, otherwise get that script from the ipk)
The manual console installation is outlined in the Installing-the-Console.md file, published here. I've updated the page so that the heading on installing the console using the command line shows up in the sidebar.
I'll be working through the rest of the suggestions as well!