linux
A very geeky Holidays break
Was your break as geeky as mine? Come on, admit it: you’ve done at least one incredibly unsexy thing in the last couple weeks. I know I have. Well, in fact, I had to take a four weeks-long break and it shows in the number of silly things I’ve played with.
In no particular order:
- I improved this blog’s look — well, I like to think that I have:

- I finally created a personalized Twitter page:

- I also created a Twitter page for Twitterified:

- I created an icon set call “More Blaqua“:

- I added a drawer to the Twitterified client - you will see why sometime in January, hopefully!

(Oh, and I finally mastered transparency in Flex, too! Yay)
- I started separating nextBBS v2’s components so that the framework can be used on its own and the message board part is now a module.
It is the first MVC PHP framework that seamlessly support plug-ins.
- I added to nextBBS v2 a limited amount of compatibility with Wordpress plug-ins.
I re-read Getting Things Done by David Allen and made a new year resolution to stick with the program, this time.
So far my Inbox is empty and my tasks list still is a manageable size…
I have installed Medialink on my iMac and use it to stream Divx movies to my PS3. Works flawlessly.
I have also installed PlayOn! in Parallels to stream Netflix. I wish there was an equivalent program for OS X. Well, I “kind of” wish because Netflix’s streaming choice is not that exciting. Not to mention that Netflix innovates by being, to my knowledge, the first company to proudly blog about letting go 50 employees.
- I setup an old P4 with Nexentra. The project bills itself as “The land of free and open source distribution combining OpenSolaris kernel with Ubuntu userland.”
In fact I installed it because I wanted to create a ZFS array. Unfortunately the clunky old PC is way too noisy. Fortunately I realized that a read-write implementation of ZFS for Leopard is available at Mac OS Forge.
- I cancelled XM Radio. They had been annoying me for quite a while, inserting their stupid advertisements in talk radio channels, and now that they merged with Sirius they got rid of some channels I happened to like so, good riddance XM, welcome free radios on my iPhone! — and ironically but quite logically I have better reception in tunnels.
If you enjoyed this post, make sure you subscribe to my RSS feed!
How I setup networking for VirtualBox on Ubuntu
Just a quick note: I use VirtualBox daily at work. It provides excellent emulation for my original XP install (the one that came pre-installed on my Dell box!) while my main OS is Ubuntu. Setting up networking is not as straightforward as with VMWare, so here is what I had to do:
First, edit /etc/udev/rules.d/20-names.rules and make sure this line exists:
KERNEL="tun", NAME="net/%k" |
Then create this script - you will run it whenever you wish to reconfigure your network:
#!/bin/bash echo "Erasing old configuration" sudo route del default sudo ifconfig tap0 down sudo ifconfig eth0 down sudo ifconfig br0 down sudo brctl delbr br0 sleep 1 echo "Creating virtual interface" sudo chown chris /dev/sdc1 sudo tunctl -t tap0 -u chris sleep 1 echo "Creating bridge interface" sudo brctl addbr br0 sleep 1 echo "Making physical interface promiscuous" sudo ifconfig eth0 0.0.0.0 promisc sleep 1 echo "Binding bridge to physical interface" sudo brctl addif br0 eth0 sleep 1 #sudo ifconfig br0 10.255.203.34 netmask 255.255.255.0 echo "Configuring IP address" sudo ifconfig br0 198.206.186.210 netmask 255.255.255.0 # sudo dhclient br0 # The new way! sleep 1 echo "Binding bridge to virtual interface" sudo brctl addif br0 tap0 sleep 1 echo "Enabling virtual interface" sudo ifconfig tap0 up sleep 1 #sudo route add default gw 10.255.203.254 echo "Adding default route" sudo route add default gw 198.206.186.254 echo "All done!" |
What’s that, then?
We start by getting rid of any existing configuration; then I change my virtual interface device’s owner to my own user, since I am logged in as a non-root user. Obviously you need to replace ‘chris’ with your own user name. From now on, tap0 will be the virtual interface seen by VirtualBox.
I make sure that my real interface is in promiscuous mode, which then allows me to bind it with a bridge interface.
All that is left to do it configure my bridge interface so that it can take over communicating with the rest of the world!
If you enjoyed this post, make sure you subscribe to my RSS feed!





