Notes: USB/IP

September 25th, 2016

USB/IP is a Linux tool for sharing USB ports with other computers on your network.

It’s been available as part of the Kernel since 3.2, but thanks to the older package still being in the Ubuntu repository, it causes confusion. The following is the proper way to use it.

Read the rest of this entry »

Notes: Time Sync

September 21st, 2016

TBH I don’t have this figured out yet.

In my case, the HW clock is wrong (off by 1 hour).

It should be using NTP, but NTP doesn’t seem to take effect. I’ve read a bunch of conflicting information, like using “ntpd -qg” (which can’t be run until you stop the ntp service), or that a command “hwclock –systohc” will do it. One other dude said there’s some sort of check by hwclock that wont do it unless the date is only slightly off (safety feature). I don’t really buy that though.

Ah well, I just wanted a quick note for this.

Notes: Setting up a Webcam Server

September 21st, 2016


I have a small room, also known as a closet *cough* that I have my printer and some small computers in. Some day I plan to put a 3D printer there as well. It would be wise to set up a simple webcam, so I can check on it. You know, in case of fire and stuff. 😉

Read the rest of this entry »

Notes: Rogers Wireless E-mail to Text

September 20th, 2016

Rogers has 2 ways (that I know of) for sending short e-mails to people as text messages.

Read the rest of this entry »

Notes: Setting up a modern Mail Server and Relay

September 19th, 2016

This is an attempt to clean up these notes:

References go there. This post is a summary.

Read the rest of this entry »

Orange Pi Lite Notes

August 30th, 2016

Hey! It’s more notes!



Orange Pi Lite is, IMO, the only difficult Orange Pi to get working. Primarily, because it has WiFi, and no Network socket.

For an OS, use Armbian.

WARNING: the device will be unlit, no LEDs, until the OS image begins to boot. It could be half a minute before you see anything.

It can sometimes take a few tries to program the SD card correctly (either that or I’m using bad SD cards).

NOTE: Armbian will reboot a few times after first inserting a fresh memory card. You should wait a few minutes before you attempt to log in. When you see the red-light flashing, that means it’s about to reboot.

You’re going to need a way to view the console. Either by plugging in a mouse/keyboard/tv, or via a USB UART cable. UART pins are beside the USB ports. According to the image above, WHITE, GREEN, BLACK (TX, RX, GND). NEVER use the red (doesn’t provide enough power).

root password is 1234

Now for the work.

If you’re like me, you have a WPA2 protected WiFi network. I also hide my SSID, so there’s an extra step needed if you do that.

First, if you’re not already, become root.

It’ll save you a bunch of headaches, so again, become root. Don’t try to do this with sudo.

Generate a wpa_supplicant configuration.

Edit this file.

For security reasons, you may want to remove the line that shows your password.

If you use a hidden network, add a line “scan_ssid=1” to the network section. It should now look something like this:

Save and close the file. You can test the configuration like so.

If you wanted to manually connect to the internet, right now, you could do this.

To make this permanent, open up /etc/network/interfaces

Comment out or delete everything but the loopback. Your file should look something like this:

You can then restart networking.

And you should be on the internet now, and any time you reboot.

You can also now SSH in to it, and stop using your tv/mouse/keyboard. Hooray!