« Subversion tools | Main | OpenMoko as a phone »

Optimized Link State Routing protocol

I have returned from YAXWE with very good impressions about mash networking. I did some reading and in theory I already knew how this works, but to see actual implementation of idea in form of Freifunk Firmware was both useful and impressive :-)

On the other hand, installing OLSR on Debian boxes is so easy that there is no excuse in becoming local mash node:

  1. Install packages
    $ apt-get install olsrd olsrd-plugins
    
  2. Put your card in adhoc mode

    This part might be specific to your card, but for my atheros card it's something like:

    $ wlanconfig ath1 create wlandev wifi0 wlanmode adhoc
    $ iwconfig ath1 essid olsr.example.com

    You should also probably run dhclient or ifconfig to setup your IP adress depending of configuration of your local mash network
  3. Change network interface in configuration

    $ vi /etc/olsrd/olsrd.conf


    Something like: Interface "ath1"
  4. Start it automatically

    $ vi /etc/default/olsrd

    Change line to START_OLSRD="YES"
  5. Start daemon

    $ /etc/init.d/olsrd start

    And that's it!. You are now part of mash network.

TrackBack

TrackBack URL for this entry:
http://blog.rot13.org/mt/mt-tb.cgi/557

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on September 18, 2007 1:21 PM.

The previous post in this blog was Subversion tools.

The next post in this blog is OpenMoko as a phone.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type 4.1