summaryrefslogtreecommitdiff
path: root/recipes/olsrd/files/olsrd.conf
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/olsrd/files/olsrd.conf
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/olsrd/files/olsrd.conf')
-rw-r--r--recipes/olsrd/files/olsrd.conf151
1 files changed, 151 insertions, 0 deletions
diff --git a/recipes/olsrd/files/olsrd.conf b/recipes/olsrd/files/olsrd.conf
new file mode 100644
index 0000000000..dbd0472803
--- /dev/null
+++ b/recipes/olsrd/files/olsrd.conf
@@ -0,0 +1,151 @@
+#
+# olsr.org configuration file
+#
+
+#
+# Periodically print the internal state, including information on
+# route calculation
+#
+
+DebugLevel 2
+
+#
+# Clear the screen each time the internal state changes
+#
+
+ClearScreen yes
+
+#
+# IP version to use
+#
+
+IpVersion 4
+
+#
+# IPv4 HNAs - syntax: netaddr netmask
+#
+
+Hna4
+{
+# 0.0.0.0 0.0.0.0
+}
+
+#
+# Do not use hysteresis
+#
+
+UseHysteresis no
+
+#
+# If using hysteresis, use "smooth" parameters
+#
+
+HystScaling 0.10
+HystThrHigh 0.80
+HystThrLow 0.30
+
+#
+# Which neighbours should be advertised via TC messages?
+#
+# 0 - only advertise our MPR selectors
+# 1 - advertise our MPR selectors and our MPRs
+# 2 - advertise all neighbors
+#
+
+TcRedundancy 2
+
+#
+# Specifies by how many MPRs each two-hop neighbour should be covered
+#
+
+MprCoverage 9
+
+#
+# Enable the link quality extensions?
+#
+# 0 - no
+# 1 - yes, use link quality for MPR selection
+# 2 - yes, use link quality for MPR selection and routing
+#
+
+LinkQualityLevel 2
+
+#
+# Windows size for packet loss calculation
+#
+
+LinkQualityWinSize 20
+
+#
+# Load the dot draw plugin
+#
+
+LoadPlugin "olsrd_httpinfo.so.0.1"
+{
+ PlParam "Port" "8080"
+ PlParam "Net" "192.168.0.0 255.255.255.0"
+}
+
+#LoadPlugin "olsrd_dot_draw.so.0.3"
+#{
+ # accept connection from IP:
+ # default 127.0.0.1 (localhost)
+ #PlParam "accept" "192.168.0.5"
+#}
+
+#
+# Interfaces -
+# change to the name of your WLAN interface
+#
+
+Interface "eth0" "wlan0" "wlan1" "ath0" "ath1"
+{
+
+ #
+ # HELLO interval in seconds (float)
+ #
+
+ HelloInterval 2.0
+
+ #
+ # HELLO validity time
+ #
+
+ HelloValidityTime 40.0
+
+ #
+ # TC interval in seconds (float)
+ #
+
+ TcInterval 3.0
+
+ #
+ # TC validity time
+ #
+
+ TcValidityTime 15.0
+
+ #
+ # MID interval in seconds (float)
+ #
+
+ MidInterval 5.0
+
+ #
+ # MID validity time
+ #
+
+ MidValidityTime 15.0
+
+ #
+ # HNA interval in seconds (float)
+ #
+
+ HnaInterval 5.0
+
+ #
+ # HNA validity time
+ #
+
+ HnaValidityTime 15.0
+}