WiFi on RaspberryPi

Easiest way I’ve found to configure wifi on RaspberryPi, not really being mentioned when you search for such. Not using separate wpa_supplicant configuration at all.

root@frontend:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback

iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid  NETWORK_NAME
wpa-psk NETWORK_KEY

iface default inet dhcp

Automating running Debian in VirtualBox

I’m experimenting with service separation by having each service run in its own operating system, all of the sharing hardware though. Why ? Separation seems to be the only secure approach to running any software. Check Joanna’s blog out. I went with VirtualBox on Debian 7 host, with, well, Debian 7 guests. First I’ve prepared template VM by creating a new VM and just proceeding with install. Then I tried spawning some clones of that, but having it done manually takes quite some time and is error prone. [Read More]

How to remove multiarch in debian 7

Just a quick one, for me to remember and for you to enjoy.

dpkg -l | grep :i386 | cut -s -d ' ' -f3 | xargs apt-get remove -y
dpkg --remove-architecture i386
apt-get update