Welcome to the CSIR Meraka Institute's "COIN" Blog

Monday, July 04, 2005

a few tips with olsr on openwrt freifunk

I had this problem with the OLSR web interface on the Freifunk openwrt implementation. If entered the following for the HNA4 field


Which should advertise the whole 10.3.13.x net it would advertise the net. I discovered that it needs the subnet mask in this format instead


A few other things I learnt

1. NVRAM variable ff_hna4 stores the HNA4 setting
2. /etc/olsr.conf is ignored by freifunk
3. /rom/etc/olsrd.conf stores a permanent copy of the olsrd setup
4. /var/etc/olsrd.conf is a symbolic link to /tmp/etc/olsrd.conf ... this file is copied from /rom/etc/olsrd.conf into RAM (ramfs filesystem) and is the one called by olsrd.

ps -A will reveal that olsrd is called as follows

olsrd -f /var/etc/olsrd.conf -d 0

1 comment:

Mark Gaved said...

Thanks for this. I'm trying to build a small network using freifunk to enable a mobility disabled student participate in a university fieldtrip, and I'm finding the documentation pretty poor... cheers for putting up useful information on your site!