2 # olsr.org OLSR daemon config file
4 # Lines starting with a # are discarded
6 # This file was shipped with olsrd 0.X.X
9 # This file is an example of a typical
10 # configuration for a mostly static
11 # network(regarding mobility) using
12 # the LQ extention with fisheye like
13 # it's beeing used in freifunk meshes
15 # Fisheye mechanism for TC messages 0=off, 1=on
19 # Do not switch default route if LQ diff is small
20 # _and_ if another NAT gateway is selected by this.
25 # If set to 0 the daemon runs in the background
29 # IP version to use (4 or 6)
33 # FIBMetric ("flat", "correct", or "approx")
37 # Clear the screen each time the internal state changes
42 # syntax: netaddr netmask
43 # Example Internet gateway:
50 # more entries can be added:
51 # 192.168.1.0 255.255.255.0
55 # syntax: netaddr prefix
56 # Example Internet gateway:
61 # more entries can be added:
66 # Should olsrd keep on running even if there are
67 # no interfaces available? This is a good idea
68 # for a PCMCIA/USB hotswap environment.
73 # TOS(type of service) value for
74 # the IP header of control traffic.
75 # If not set it will default to 16
79 # The fixed willingness to use(0-7)
80 # If not set willingness will be calculated
81 # dynamically based on battery/power status
82 # if such information is available
86 # Allow processes like the GUI front-end
87 # to connect to the daemon.
91 # Determines how many simultaneously
92 # IPC connections that will be allowed
93 # Setting this to 0 disables IPC
97 # By default only 127.0.0.1 is allowed
98 # to connect. Here allowed hosts can
104 # You can also specify entire net-ranges
105 # that are allowed to connect. Multiple
106 # entries are allowed
108 #Net 192.168.1.0 255.255.255.0
111 # Wether to use hysteresis or not
112 # Hysteresis adds more robustness to the
113 # link sensing but delays neighbor registration.
114 # Used by default. 'yes' or 'no'
118 # Hysteresis parameters
119 # Do not alter these unless you know
120 # what you are doing!
121 # Set to auto by default. Allowed
122 # values are floating point values
123 # in the interval 0,1
124 # THR_LOW must always be lower than
133 # 0 = do not use link quality
134 # 1 = use link quality for MPR selection
135 # 2 = use link quality for MPR selection and routing
140 # Link quality aging factor
141 # Defaults to 0.1, smaller values mean faster reaction to changing links
143 #LinkQualityAging 0.1
145 # Link quality algorithm
146 # Defaults to "etx_fpm" for fixpoint based etx algorithm
148 LinkQualityAlgorithm "etx_ff"
150 # Polling rate in seconds(float).
151 # Default value 0.05 sec
155 # Interval to poll network interfaces for configuration
156 # changes. Defaults to 2.5 seconds
161 # Specifies how much neighbor info should
162 # be sent in TC messages
163 # Possible values are:
164 # 0 - only send MPR selectors
165 # 1 - send MPR selectors and MPRs
166 # 2 - send all neighbors
175 # Specifies how many MPRs a node should
176 # try select to reach every 2 hop neighbor
178 # Can be set to any integer >0
185 # Olsrd plugins to load
186 # This must be the absolute path to the file
187 # or the loader will use the following scheme:
188 # - Try the paths in the LD_LIBRARY_PATH
189 # environment variable.
190 # - The list of libraries cached in /etc/ld.so.cache
191 # - /lib, followed by /usr/lib
193 # Example plugin entries with parameters:
195 #LoadPlugin "olsrd_arprefresh.so.0.1"
199 #LoadPlugin "olsrd_dyn_gw_plain.so.0.4"
203 #LoadPlugin "olsrd_nameservice.so.0.3"
205 # PlParam "name" "your-pc-hostname"
206 # PlParam "hosts-file" "/var/run/hosts"
207 # PlParam "suffix" ".olsr"
208 # PlParam "interval" "180"
209 # PlParam "timeout" "3600"
210 # PlParam "latlon-file" "/var/run/latlon.js"
211 # PlParam "lat" "52.000001"
212 # PlParam "lon" "13.000001"
215 #LoadPlugin "olsrd_txtinfo.so.0.1"
217 # PlParam "Accept" "127.0.0.1"
220 #LoadPlugin "olsrd_dot_draw.so.0.3"
222 # PlParam "Accept" "127.0.0.1"
225 #LoadPlugin "olsrd_httpinfo.so.0.1"
227 # PlParam "port" "8080"
228 # PlParam "Host" "127.0.0.1"
229 # PlParam "Net" "104.0.0.0 255.0.0.0"
230 # PlParam "Net" "192.168.0.0 255.255.0.0"
233 #LoadPlugin "olsrd_dyn_gw.so.0.3"
235 # # Here parameters are set to be sent to the
236 # # plugin. Theese are on the form "key" "value".
237 # # Parameters ofcause, differs from plugin to plugin.
238 # # Consult the documentation of your plugin for details.
240 # # Example: dyn_gw params
242 # # how often to check for Internet connectivity
243 # # defaults to 5 secs
244 # PlParam "Interval" "40"
246 # # if one or more IPv4 addresses are given, do a ping on these in
247 # # descending order to validate that there is not only an entry in
248 # # routing table, but also a real internet connection. If any of
249 # # these addresses could be pinged successfully, the test was
250 # # succesful, i.e. if the ping on the 1st address was successful,the
251 # # 2nd won't be pinged
252 # PlParam "Ping" "141.1.1.1"
253 # PlParam "Ping" "194.25.2.129"
257 # Interfaces and their rules
258 # Omitted options will be set to the
259 # default values. Multiple interfaces
260 # can be specified in the same block
261 # and multiple blocks can be set.
263 # !!CHANGE THE INTERFACE LABEL(s) TO MATCH YOUR INTERFACE(s)!!
264 # (eg. wlan0 or eth1):
266 Interface "XXX" "YYY"
268 # Olsrd can autodetect changes in NIC
269 # configurations(IP address changes etc.).
270 # This is Enabled by default and the interval
271 # to poll for changes on is defined by
273 # This polling can be disabled pr. NIC by setting
274 # AutoDetectChanges to no.
276 # AutoDetectChanges yes
278 # IPv4 broadcast address to use. The
279 # one usefull example would be 255.255.255.255
280 # If not defined the broadcastaddress
281 # every card is configured with is used
283 # Ip4Broadcast 255.255.255.255
285 # IPv6 address scope to use.
286 # Must be 'site-local' or 'global'
288 # Ip6AddrType site-local
290 # IPv6 multicast address to use when
291 # using site-local addresses.
292 # If not defined, ff05::15 is used
294 # Ip6MulticastSite ff05::11
296 # IPv6 multicast address to use when
297 # using global addresses
298 # If not defined, ff0e::1 is used
300 # Ip6MulticastGlobal ff0e::1
303 # Emission intervals.
304 # If not defined, RFC proposed values will
305 # be used in most cases.
307 # Hello interval in seconds(float)
310 # HELLO validity time
311 HelloValidityTime 150.0
313 # TC interval in seconds(float)
319 # MID interval in seconds(float)
323 MidValidityTime 500.0
325 # HNA interval in seconds(float)
329 HnaValidityTime 125.0
332 # When multiple links exist between hosts
333 # the weight of interface is used to determine
334 # the link to use. Normally the weight is
335 # automatically calculated by olsrd based
336 # on the characteristics of the interface,
337 # but here you can specify a fixed value.
338 # Olsrd will choose links with the lowest value.
340 # Interface weight is used only when LinkQualityLevel is 0.
341 # For any other value of LinkQualityLevel, the interface ETX
342 # value is used instead.
346 # If a certain route should be preferred
347 # or ignored by the mesh, the Link Quality
348 # value of a node can be multiplied with a factor
349 # entered here. In the example the route
350 # using 192.168.0.1 would rather be ignored.
351 # A multiplier of 0.5 will result in a small
352 # (bad) LinkQuality value and a high (bad)
355 # Link quality multiplier is used only when
356 # LinkQualityLevel is > 0.
358 # LinkQualityMult 192.168.0.1 0.5
360 # This multiplier applies to all other nodes
361 # LinkQualityMult default 0.8