Archive for August, 2006

BMW M6… *suck*

Monday, August 28th, 2006

Om jag hade en miljon kronor som låg och skvalpade i bakfickan utan att fylla någon egentlig funktion skulle jag vara “lätt” frestad att lägga dem på en BMW M6.

http://www.autopower.se/prov/m6/default.asp

Eller… hmmm… man kanske kan önska sig en i julklapp??

Checking out Asterisk

Monday, August 28th, 2006

Asterisk is an open-source PBX and I am currently evaluating whether it could be used to replace our 2 PRI connections, for our “legacy” PBX and a Cisco router, which are quite expensive.

The idea is to put a 2-port PRI card into a Linux box and connect one port to the PBX and the other to the Cisco. Then our two number series would be ported to a SIP provider and the SIP trunk fed to Asterisk box which should route incoming calls to PBX and router respectively.

Currently I am also looking at the Digium and Sangoma PRI cards in order to find out which way to go. It would seem Sangoma are praised for their technical support.

To be continued…

Some useful(?) links:

http://www.voip-info.org/wiki/view/Asterisk+PRI
http://www.voip-info.org/wiki/view/Sangoma

Lidingöloppet

Tuesday, August 15th, 2006

So, the other day I signed up for Lidingöloppet. It is a 30 km cross-country race at Lidingö, just outside of Stockholm. Last year was the first time I tried it and I finished in 2.50. This year I will improve that, I hope…

Toyota Aygo

Tuesday, August 15th, 2006

Idag provkörde jag en Toyota Aygo.

För den som missat denna bil marknadsför Toyota den med “prenumerera på en bil”. Det är alltså frågan om en privatleasing där allt utom skatt (och bensin) ingår. Prislappen börjar på 1.850 kr per månad.
Jag blev minst sagt fascinerad över hur rymlig denna lilla bil var. När man är 195 cm lång som jag så är man ganska van att “vika in sig” i småbilar, men här var det inga problem. Med en hyfsat fräsch inredning, en trevlig och bensinsnål motor, CD-radio och A/C känns det som ett kap. Vi kommer nog att slå till på denna lagom tills vi flyttar till vårt nya hus.

Multiple default gateways in Linux

Tuesday, August 15th, 2006

We have a web server which can be accessed via two different internet connections. So far the secondary connection has been using NAT on the firewall in order since the default gateway in the web server points to the primary connection. However, when using NAT you miss all web statistics.

So, I decided to find out whether it is possible to use multiple default gateways in Linux. The approach would be to use 2 different virtual IP addresses on the box and have different default gateways depending on which virtual IP is accessed.

This turned out to be very easy indeed using iptables.

The box is running RedHat 9 using iptables 1.2.7a.

All needed was this:

/sbin/ip route add default via 10.2.4.253 table T1
/sbin/ip rule add from 10.2.4.12 table T1
/sbin/ip route flush cache

after adding an entry for ”T1″ in /etc/iproute2/rt_table.

We will move October 6

Thursday, August 3rd, 2006

Today we got the final date for our moving to the new house.

It will be on October 6… so close, yet so far away… :-)