[Olsr-users] dynamic gateway plugin

Xavier Martinez (spam-protected)
Sun Aug 3 12:32:05 CEST 2008


Hi!

We are currently using olsr in a mesh network in Manresa, near Barcelona. We
are currently using Linksys routers with the freifunk firmware but we would
like to move to atheros based routers. We are testing openwrt with and it
gives us good results. However, I had a problem with the dynamic gateway
plugin. It only pings the specified address few times and then, sooner or
later, it stops announcing the 0.0.0.0/0 network even though it is connected
to the internet (and an internet address does answer pings). Sometimes it
stops after the first ping and sometimes it works well for few hours. We use
the 0.5.6-rc7 version with the 0.4 version of the plugin in the trunk
version of openwrt. This is our configuration file:

DebugLevel              0
IpVersion               4
AllowNoInt              yes
Pollrate                0.1
TcRedundancy            2
MprCoverage             7
LinkQualityFishEye      1
LinkQualityWinSize      100
LinkQualityDijkstraLimit 0 6.0
LinkQualityLevel 2
UseHysteresis no
Interface "ath0"
        {
        HelloInterval           4.0
        HelloValidityTime       72.0
        TcInterval              3.0
        TcValidityTime          216.0
        MidInterval             12.0
        MidValidityTime         216.0
        HnaInterval             12.0
        HnaValidityTime         72.0
        }
LoadPlugin "olsrd_httpinfo.so.0.1"
        {
        PlParam     "port"   "8080"
        PlParam     "Net"    "0.0.0.0 0.0.0.0"
        }
LoadPlugin "olsrd_nameservice.so.0.3"
        {
        PlParam "name"          "InfantsNanostation"
        PlParam "hosts-file"    "/tmp/hosts.olsr"
        PlParam "resolv-file"   "/tmp/resolv.conf.olsr"
        PlParam "suffix"        ".olsr"
        }
LoadPlugin "olsrd_dyn_gw.so.0.4"
        {
        PlParam         "Interval"      "50"
        PlParam     "Ping"  "80.58.0.33"
        }
LoadPlugin "olsrd_txtinfo.so.0.1"
        {
        PlParam "Accept" "127.0.0.1"
        }

Are we doing something wrong?

Thanks!

Xavier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20080803/043316d7/attachment.html>


More information about the Olsr-users mailing list