Gustik's Websitepowered-by-FreeBSD


  • Asterisk 12 makes some trouble on Arch Linux at least. I discovered this problem running Arch Linux with Asterisk 12 on my RaspberryPi:

    loader.c: Error loading module '': cannot open shared object file: No such file or directory

    Without this module Asterisk 12 will not be able to do RTP, so that it will not transport audio or video, making Asterisk unusable for setting up calls. So I looked into this, by using ldd first:

    ldd /usr/lib/asterisk/modules/ => not found => not found => not found => /usr/lib/ (0xb6f63000) => /usr/lib/ (0xb6df5000) => /usr/lib/ (0xb6d98000) => /usr/lib/ (0xb6c61000)
    /usr/lib/ (0xb6fa9000) => /usr/lib/ (0xb6c56000) => /usr/lib/ (0xb6c3b000) => /usr/lib/ (0xb6c15000)

    So the problem here is that he can not find the libpj library. So we have to install it, since it is not installed by dependency yet:

    pacman -Ss pj

    we get:

    extra/liborigin2 20110829-3
    A library for reading OriginLab OPJ project files
    extra/liborigin2-docs 20110829-3
    Documentation for liborigin2: a library for reading OriginLab OPJ project files
    aur/pjproject 2.2.1-2.1
    Open source SIP stack and media stack

    So pjproject looks good, so we try that:

    pacman -S pjproject

    After installing it, it works: => /usr/lib/ (0xb6ea4000) => /usr/lib/ (0xb6e7b000) => /usr/lib/ (0xb6e52000) => /usr/lib/ (0xb6e32000) => /usr/lib/ (0xb6cc4000) => /usr/lib/ (0xb6c67000) => /usr/lib/ (0xb6b30000)
    /usr/lib/ (0xb6ef9000) => /usr/lib/ (0xb6b23000) => /usr/lib/ (0xb6ab0000) => /usr/lib/ (0xb6aa1000) => /usr/lib/ (0xb6a95000) => /usr/lib/ (0xb6a7a000) => /usr/lib/ (0xb6a54000)

    Now we verify it by module show like rtp_asterisk after restarting Asterisk by core restart now and we get:

    Module Description Use Count Status Asterisk RTP Stack 0 Running

    All done!

  • I bought a MikroTik Router Board 750GL (50€) for use in our home in the city of Piešťany/Slovakia (link to official website of the city there), where the device is working now, running OpenWRT firmware (version AA).

    It does have 5x Gigabit LAN RJ45 interfaces and has some 128 MB of Flash disk, 64 MB RAM and about ½ GHz CPU, but that is not important, since that device is powerful enough to do everything one might need on a home network. With OpenWRT you are able to adjust VLAN for each port, so you can divide up your network into more subnetworks, letting your Router Board doing the routing and firewalling on it, so that a client on one network can not use the printer of another network and so on. The MikroTik RouterBoard 750GL is a good alternative to my Netgear WNDR3800 for everyone who does not need WLan where you have the router. I am using separate devices for WLan, mainly WRT54GL v1.1 and D-Link DIR-300, all with OpenWRT running on it.

    You can take a look at my setup inside of our house in Piešťany/Slovakia area here , running this RB750GL (OpenWRT) as a DSL Router (PPPoE), dividing networks into separate VLANs, doing Asterisk telephony PBX (version 1.8), doing restrictive firewalling and IPv6 tunneling (HEnet) for this connection that does not have native IPv6 yet. It is distributing IPv4 addresses using DHCPv4 and IPv6 addresses through SLAAC (RtAdv).