OLSRConfig
This is a plain jane, generic OLSRd config file for Linux (and OpenWRT), no comments.
You need to edit the lines highlighted in red to work on your box.
If you choose to advertise your subnet to the rest of the network, uncomment the Hna4 section, and change the address to match your IP block. This will allow machines in your subnet to access the rest of the OLSR network without them needing to run the OLSR daemon. They will need to set their default gateway to the address of your OLSR router though.
For more info, please see OLSRExperiment
#/etc/olsrd.conf
LoadPlugin "olsrd_nameservice.so.0.2"
{
PlParam "add-hosts" "/etc/local.hosts"
PlParam "hosts-file" "/tmp/hosts.olsr"
PlParam "resolv-file" "/tmp/resolv.conf"
}
Interface "eth1" "wlan0"
{
HelloInterval 5.0
HelloValidityTime 200.0
TcInterval 0.5
TcValidityTime 260.0
MidValidityTime 100.0
HnaValidityTime 100.0
}
#Hna4
#{
# 10.10.145.44 255.255.255.240
#}
LoadPlugin "olsrd_httpinfo.so.0.1"
{
PlParam "port" "1978"
PlParam "Net" "0.0.0.0 0.0.0.0"
}
DebugLevel 0
IpVersion 4
ClearScreen yes
AllowNoInt yes
UseHysteresis no
LinkQualityLevel 2
LinkQualityWinSize 100
Pollrate 0.05
TcRedundancy 2
MprCoverage 7
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 5.0
Version 3 (current) modified Mon, 26 Jul 2021 12:49:29 +0000 by
Dan [EditText] [Spelling] [Current] [Raw] [Code] [Diff] [Subscribe] [VersionHistory] [Revert] [Delete] [RecentChanges]