Archive for September, 2009

bird on slitaz

| September 29th, 2009

got the BIRD internet routing daemon, bird, compiled and will package it today and set it up in the repos for slitaz. as far as i know it will be the only routing daemon packaged for slitaz. The reason i got interested in BIRD is that right now among the other daemons in the linux world, this one seems to be the latest in updates. i guess working on it and later making a live cd for the same will benefit BIRD as more people can then get on to it. Im still waiting for the day when i can get a open source, without hassles, mpls/bgp vpn up on linux.

ruby and bgp

| September 29th, 2009

well, somebody has made a very limited implementation of bgp in the ruby programming language, and it available here http://github.com/mc/rubybgp . it would be fun to read and learn again BGP from totally different point of view, i know a little bit of ruby, just enough to make small network monitoring scripts along with bash. so i guess i can start learning a little bit more by reading and trying to make sense of the rubybgp code, there is also another project here http://rubyforge.org/projects/bgp4r/ which i intend to pick apart too.

Oh how i wish i had more time.

vlan in slitaz linux

| September 25th, 2009

slitax linux busybox already has vconfig in it, which if you did’nt know ( i did’nt till an hour back), lets you setup vlan interfaces in your linux box, like sub-interfaces in your cisco router. so you too can make your slitaz laptop a router on a stick very easily with this. the command goes like this, as root type

vconfig add eth0 47

the above command adds a interface eth0.47 which will have encapsulation of 802.1q, if you get any errors when you give the command, most probably it will be that the vlan module has not been loaded, on slitaz we load it like this

modprobe 8021q

then you try again and you should not get any errors, after that all you have to do is

ifconfig eth0.47 up

and confirm that the interface is up with the ifconfig command.

there you have it, slitaz linux router on a stick.

notes: for linux to act as a router , you have type in the following command

echo 1 > /proc/sys/net/ipv4/ip_forward

also i add 8021q to the modules section in /etc/rcS.conf

A nice article on vlans in linux is available here, http://www.linuxjournal.com/article/7268

slitaz as a router

| September 22nd, 2009

well not a full blown router yet, but good enough for static routes. So its quite simple to get your slitaz box to act as a router, just install iptables, with the command

tazpkg get-install iptables

and once that is installed just type in the foll. command as root

echo 1 > /proc/sys/net/ipv4/ip_forward

and there you have it, you slitaz box is all ready to forward ip packets (tell you the truth, im not sure if you even need iptables for routing, i still need to learn this stuff on linux).

anyways next work on slitaz is to start a pppoe access authentication server and then hook it up with freeradius, later i’ll start work with quagga, though  i have already compiled it before, i never got to work with it, neither have i packaged it, so hopefully by the end of the month ill finish these three.

your a e-loafer aren’t you

| September 19th, 2009

nice article by jug suraiya

http://blogs.timesofindia.indiatimes.com/jugglebandhi/entry/let-s-face-it