After i've set up a GSM-VoIP Gateway to forward calls via SIP, i wanted to see the caller name too instead just the calling number. I guess there are sure ways to import contacts into a PBX like Asterisk, that way you would need to keep it up-to-date by importing contacts over and over again what is simple but not practical. Maybe there are even modules available to work with Google, but i was lazy tinkering with Asterisk and just quickly wrote a bash script to do that job and even notifying me via mail.

(article work in progress)


# yum install make gcc bison flex git

# wget http://www.olsr.org/releases/0.6/olsrd-

# tar xfz olsrd-

# cd olsrd-

# make

src/cfgparser/oparse.c:422:6: warning: "YYENABLE_NLS" is not defined

src/cfgparser/oparse.c:1154:6: warning: "YYLTYPE_IS_TRIVIAL" is not defined

# make install

# cd lib/txtinfo/

# make

# make install


# nano /etc/olsrd.conf

# DebugLevel  1


DebugLevel  0

#Interface "<OLSRd-Interface1>" "<OLSRd-Interface2>"

Interface "eth0"


set ip and mask of mesh network

# setup


# olsrd


 *** olsr.org -  - ***

 Build date: 2013-08-07 20:00:48 on voip.duer9.funkfeuer.at



Parsing file: "/etc/olsrd.conf"

Debug level: 0

Link quality fish eye 0

Plugin: olsrd_txtinfo.so.0.1


Interface Defaultssetting ifs_in_curr_cfg = 0

IPv4 broadcast/multicast : AUTO (d)

Mode           : mesh (d)

IPv6 multicast           : ff02::6d

HELLO emission/validity  : 2.00 (d)/20.00 (d)

TC emission/validity     : 5.00 (d)/300.00 (d)

MID emission/validity    : 5.00 (d)/300.00 (d)

HNA emission/validity    : 5.00 (d)/300.00 (d)

Autodetect changes       : yes

IPv4 broadcast/multicast : AUTO

Mode           : mesh

IPv6 multicast           : ::

HELLO emission/validity  : 0.00/0.00

TC emission/validity     : 0.00/0.00

MID emission/validity    : 0.00/0.00

HNA emission/validity    : 0.00/0.00

Autodetect changes       : no

olsr.org -  - detaching from the current process...



persistent setup for start when boot:

put "/usr/local/sbin/olsrd" into /etc/rc.local


There are some small projects from friends next to my own private website that im hosting. Because there are no further requirements like HTTPS, i just basically installed the webserver with PHP/Python and MySQL only. Yesterday a friend told me about creating a Facebook Application where HTTPS is a requirement. Using Apache2 i'll describe here how i managed to set up SSL.