
For an Omega with the default credentials, where the username is root and the password is onioneer, the file would look like this: root It has to hold the username and password for the Omega the USB drive is intended to be used with. The credentials file must be named auth.txt and must be on the root directory of the USB drive. The credentials file is a security mechanism to ensure only authorized users can make use of USB auto-run (we thought it would be a pretty bad idea if just any script would auto-run). To configure a USB drive for auto-run, you’ll just need to create and populate two files on the drive: a credentials file and an auto-run script file. See our guide on updating the Omega for more details.Īfter the update, your Omega will be equipped to handle USB drives configured for auto-run! Configuring a USB Drive for Auto-Run It is important to backup your files on the Omega prior to upgrading if you don’t want to lose any of your work. Warning: When an upgrade is performed, only the /root and /etc folders are preserved. To upgrade to the latest firmware, connect to the command line and run the following command: oupgrade To support USB auto-run, your Omega must be on firmware v0.2.1 b199 or higher. This goes for both regular USB drives and those configured for auto-run.

What’s great about this is that regular USB usage still works the USB drive will be automatically mounted and can be used just like before. All you need is a USB drive and an auto-run script that you can write yourself, giving you unlimited flexibility. Well, that’s no longer an issue thanks to the Omega’s new USB drive auto-run capabilities. If the USB drive holds a (correctly configured) auto-run script, the Omega will automatically execute the script immediately after the drive is plugged in.Įssentially, USB auto-run provides a headless (no other computer required) and quick way to get what you need done. This is fine for a single Omega every once in a while, but it can become tedious when you just need to grab a single datapoint or do a repeated set of actions on multiple Omegas – just imagine connecting 100 Omegas to a WiFi network one at a time. While the Omega itself is a fully fledged computer with memory, storage, and an operating system, most interactions with it require an additional computer, whether it’s to access the command line or OnionOS.
