Skip to content
This repository has been archived by the owner on Nov 19, 2022. It is now read-only.

pjobson/onion_omega2p_experiments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Experiments and Notes for Onion Omega2+

NOTE: These things are in order as to what I prefer, you do not have to do all or any of these.

NOTE: The OpenWRT distribution which Onion makes is a completely broken POS, better to just not bother with these units if you want to anything basic like opkg list which throws a freaking segfault, not joking at all. If you install opkg from the repos, it'll brick you device.

I bricked the units I got and just dumped the rest of their crap products into the waste bin.

Table of Contents

Introduction

This repo will contain experiments I do with my Omega2+ as well as some notes for doing various things.

I exclusively use vi in this documentation, you may substitute nano after installing it.

My Omega's IP address is shown in examples here as 10.10.10.250, you'll need to substitute your own IP address.

My client machine is OSX or Linux, I don't really know how to do anything on Windows any more, I have not really used MS products since WinXP. These instructions are geared toward using the shell in those operating systems, you can install VirtualBox and Linux in your Windows OS and play along if you'd like.

Command Line

This is geard toward people who are used to working in Linux terminal environment. If you don't have much experience with this, I highly recommend you setup a Linux computer or Virutal Machine and experiment. Checkout LinuxCommand.org to get you started.

One thing I found with rebooting, sometimes your local terminal can get locked up. When I reboot, I also exit:

reboot && exit

Experiments

I've just been messing with the OS, there's nothing here yet.

Eventually you'll be able to clone this to your Omega and mess around with it.

Helper Scripts

Description of scripts in the bin/ path.

docs/helper_scripts.md

Wifi Setup from Command Line

This section describes connecting to the device's wifi network and connecting to it via SSH. This is useful if you do not want to mess around with the Web UI.

docs/wifi_setup_from_command_line.md

Installing Web Console from Command Line

Now that your Omega is all setup and ready to go, you can install the console if you fancy a GUI/Web Interface. Run the following commands:

uci set onion.console.setup=1
uci set onion.console.install=2
uci commit onion

Information on using the console is available from Onion at Accessing the Console.

SSH (After Wifi Setup)

Infomation about connecting via SSH to the Omega after you've completed the wifi setup.

docs/ssh.md

Configure Access Point

docs/configure_access_point.md

Basic Upgrades

docs/basic_upgrades.md

Setting Up SDCARD for /root and SWAP

Information about setting up your SDCARD to be used as your home directory and SWAP space.

docs/setting_up_sdcard_for_root_and_swap.md

Create Your Profile

Information about creating a .profile file and adding some stuff to it.

docs/create_profile.md

Setting Up Git

If you want to use git and be able to do pushes and commits from your device you should follow these instructions.

docs/git_setup.md

Update Firmware from Command Line

docs/update_firmware_from_command_line.md

Forcing an IP Address in an OpenWRT Router

docs/force_ip_openwrt.md

Install & Setup Node.js

docs/install_node_js.md

File Transfer with SCP

To send/receive files to/from the device I recommend using scp, you'll want to substitute your device's IP for the one I have listed.

# Receive a single file from your etc to your local machine
scp root@10.10.10.250:/etc/openwrt_release .

# Receive a full directory from /www to your local machine
scp -r root@10.10.10.250:/www .

# Send a single file to your root directory
scp localfile.txt root@10.10.10.250:~/

# Send a full directory to your root directory
scp -r /some_path root@10.10.10.250:~/

External WiFi Antenna

Using an external wifi antenna.

docs/external_antenna.md

Serial Connection

docs/serial_connection.md

About

Experiments and Notes for Onion Omega2+

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages