Most of the info on this page is available in a number of other places on the net. The only reason I’m creating this page is so I can easily find some of the useful info I personally want to know. If you find it useful as well then that’s great. I’ll provide links to the original sources as well so you can go and check out the full original information.
- Updating the Raspberry PI, running Raspbian (it’s all I run on mine right now, so any references to the OS will always be aimed at Raspbian)
Keeping Up to Date
You can use the standard Debian way to update your installation:
apt-get update && apt-get dist-upgrade
To get the newest kernel and firmware, rpi-update is included in this image.
Just run the following command:
rpi-update will only work after time has been set. Install ntp as described above or set the time with ntpdate:
apt-get install ntpdate
- Raspcontrol: I found this while looking for control apps to use on my Android devices. I found a couple apps in the play store, but honestly they’re all crap and some don’t even work. However, one of the apps requires something called Raspcontrol to be installed on your RPi. This gives a neat little web interface to the RPi so you can check it’s health and run some commands. It’s very simple and quite insecure so read the warnings on their site about not using it in production. However, saying that it is pretty neat. In running it for a couple of hours and wondering what was missing I started to hack about with the code and made some changes to some of the commands available to run. I’ve made some patch files HERE, these are for files in the ./app/_lib/include directory, you’ll notice there are 2 new files as well. Basically I’ve just added the SysInfo menu and a script to send me the IP address by SMS, while not overly useful in the browser if you’re on it but I added it there anyhow BTW, that script is run at boot time so I get the IP of the RPi.
- Configure Wi-Fi – There are lists of what wi-fi dongles work and what doesn’t. Some of the ones that are marked as working from the list I found on Ebay however most of them were between £10 – £20, a little much for a USB wi-fi dongle these days. I found one for under £5 and decided to just take a chance, and it worked out fine. I order THIS ONE. It worked right out of the box, no need to install anything. The only thing I had to do was edit the WPA config file (/etc/wpa.config), I used the instructions found on THIS PAGE, jump down to the section that starts “$ sudo nano /etc/wpa.config”. If you want to save the reading then this is what you edit:
Put this in:
ssid="YOUR SSID HERE"
psk="YOUR WPA PASSWORD HERE"
My file looks like:
iface lo inet loopback
iface eth0 inet dhcp
iface wlan0 inet dhcp
After that I tried to restart the networking (/etc/init.d/networking restart) but the box hung .. so I just rebooted it. As soon as it came up it connected to WI-FI AP with no problem at all.
- … more coming