summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/olsrd-luci/files/etc/config
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-09-13 17:23:58 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-09-13 17:23:58 +0000
commit2a88e23db5715360aef9448c6a96415f5a5a11f4 (patch)
treec8355c2aa93622ca9feea351fdc529ce21ced36a /contrib/package/olsrd-luci/files/etc/config
parentf9303705a0210a5c8dd7b44697c3ff31e1473b1a (diff)
* luci/contrib/olsr: sync initscript and config format to current Kamikaze version
Diffstat (limited to 'contrib/package/olsrd-luci/files/etc/config')
-rw-r--r--contrib/package/olsrd-luci/files/etc/config/olsr42
-rw-r--r--contrib/package/olsrd-luci/files/etc/config/olsrd22
2 files changed, 22 insertions, 42 deletions
diff --git a/contrib/package/olsrd-luci/files/etc/config/olsr b/contrib/package/olsrd-luci/files/etc/config/olsr
deleted file mode 100644
index 5361b7081c..0000000000
--- a/contrib/package/olsrd-luci/files/etc/config/olsr
+++ /dev/null
@@ -1,42 +0,0 @@
-config 'olsr' 'general'
- option 'DebugLevel' '0'
- option 'IpVersion' '4'
- option 'AllowNoInt' 'yes'
- option 'Pollrate' '0.025'
- option 'TcRedundancy' '2'
- option 'MprCoverage' '7'
- option 'LinkQualityFishEye' '1'
- option 'LinkQualityWinSize' '100'
- option 'LinkQualityDijkstraLimit' '0 9.0'
- option 'LinkQualityLevel' '2'
- option 'UseHysteresis' 'no'
-
-config 'LoadPlugin' 'dyn_gw'
- option 'Library' 'olsrd_dyn_gw.so.0.4'
-
-config 'LoadPlugin' 'nameservice'
- option 'Library' 'olsrd_nameservice.so.0.3'
- option 'suffix' '.olsr'
- option 'latlon_infile' '/tmp/latlon.txt'
- option 'hosts_file' '/var/etc/hosts'
- option 'name' 'luci-node'
-
-config 'LoadPlugin' 'txtinfo'
- option 'Library' 'olsrd_txtinfo.so.0.1'
- option 'Accept' '127.0.0.1'
-
-config 'Interface'
- option 'HelloInterval' '6.0'
- option 'MidValidityTime' '324.0'
- option 'TcInterval' '4.0'
- option 'HnaValidityTime' '108.0'
- option 'HelloValidityTime' '108.0'
- option 'TcValidityTime' '324.0'
- option 'HnaInterval' '18.0'
- option 'MidInterval' '18.0'
- option 'Interface' 'br-lan'
-
-config 'ipc' 'IpcConnect'
- option 'MaxConnections' '0'
- option 'Host' '127.0.0.1 10.0.0.5'
- option 'Net' '192.168.1.0 255.255.255.0 10.0.0.0 255.0.0.0'
diff --git a/contrib/package/olsrd-luci/files/etc/config/olsrd b/contrib/package/olsrd-luci/files/etc/config/olsrd
new file mode 100644
index 0000000000..5ef2bb25eb
--- /dev/null
+++ b/contrib/package/olsrd-luci/files/etc/config/olsrd
@@ -0,0 +1,22 @@
+config 'olsrd'
+ option 'IpVersion' '4'
+ option 'FIBMetric' 'flat'
+ option 'LinkQualityAlgorithm' 'etx_ff'
+
+config 'Interface'
+ option 'interface' 'ff'
+ option 'Ip4Broadcast' '255.255.255.255'
+
+config 'LoadPlugin'
+ option 'library' 'olsrd_dyn_gw.so.0.4'
+ option 'Ping' '141.1.1.1'
+ option 'HNA' '192.168.80.0 255.255.255.0'
+ option 'Interval' '60'
+
+config 'LoadPlugin'
+ option 'library' 'olsrd_nameservice.so.0.3'
+ option 'name' 'luci-node.olsr'
+
+config 'LoadPlugin'
+ option 'library' 'olsrd_txtinfo.so.0.1'
+ option 'accept' '127.0.0.1'