A couple weeks ago I announced I was working on a headless configuration tool for Raspbian devices. I just pushed out an updated beta distro for general testing. I added a few things to the mix:
- Network Configuration - you can now configure your network via the web page.
- Network Profiles - not only can you configure the network via the web page, you can store configurations as "profiles" so you can easily move your device between different networking environments (home, work, mobile, etc.)
- Remote Reboot - If you have a remote device, you can now reboot it remotely with the web interface rather than walking over to it and power cycling it.
To test out the updated beta distro, just do this:
- Download the file http://sm5.us/2014-01-07-starless-raspbian.zip and unzip it. You should wind up with a file called 2014-01-07-starless-raspbian.img. Beware though, the zip file is about 800MB, so make sure you're downloading it over a decent connection.
- Copy this file onto a spare SD Card using your favorite tool. I use Ubuntu as my daily driver, so I use the command `sudo dd if=2014-01-07-starless-raspbian.img of=<SD Card Device> where <SD Card Device> is the name of the unix device file representing the SD Card. The good people over at eLinux.org have put together a good wiki page describing how to do this in non-unixy environments.
- Put the SD Card into your RasPi and give the thing a boot. If you're going to be doing wireless, make sure you're using a USB wireless interface that uses the Realtek 81XX chipset (like this one sold by AdaFruit.) But you should also be able to use the built-in ethernet adapter on the Raspberry Pi Model B's.
- It will take a little while to boot. If you have a PiSwitch board, you should see both the recovery and nominal lights turn on for a bit, then turn off, then turn on again. If you want to configure it via a handheld device like a tablet or iPhone, attach to the wireless network 'starless' using 'starless' as the WPA password.
- After the device has booted and you've joined the starless WiFi network, point your browser at: http://starless.local/ - you should be greeted with a user interface that looks something like this:
 
- Click on the "User Accounts" menu item to create a user account for yourself, then click on the "Network" menu item to create a network profile for your device. On the "Create Network Profile" screen, you can configure your device to attach to your local wireless network using DHCP like this:
 
- Now click on the "Reboot, etc." menu item and click the Reboot button. In about a minute you should be able to attach to the device from the wireless network you configured or via the wired ethernet network. The admin UI is still available at http://starless.local/ (if your device knows how to do mDNS) or you can ssh into the device and run the raspi-config utility:
 
And that's about it. Ping me with questions or comments here or on twitter (@OhMeadhbh) or via email at OhMeadhbh [at] gmail [dot] com.



 
