Merge pull request #78 from ffontaine/master
[olsrd.git] / files / olsrd.conf.commotion
index 3709ed5..308ac0d 100644 (file)
@@ -1,55 +1,63 @@
-
 # http://commotionwireless.net/
 
-DebugLevel 0
-AllowNoInt yes
-IpVersion 4
-LinkQualityLevel 2
-LinkQualityAlgorithm "etx_ffeth"
-SmartGateway yes
+DebugLevel                     0
+AllowNoInt                     yes
+IpVersion                      4
+LinkQualityLevel               2
+LinkQualityAlgorithm           "etx_ffeth"
+SmartGateway                   yes
 
 Hna4
 {
-#              101.149.21.0 255.255.255.0
-#              102.149.21.0 255.255.255.0
-#              103.149.21.0 255.255.255.0
+    # 101.149.21.0 255.255.255.0
+    # 102.149.21.0 255.255.255.0
+    # 103.149.21.0 255.255.255.0
 }
 
-LoadPlugin "olsrd_arprefresh.so.0.1"
+Interface "wlan0"
 {
 }
 
-LoadPlugin "olsrd_dyn_gw.so.0.5"
+LoadPlugin "/usr/lib/olsrd_arprefresh.so.0.1"
 {
 }
 
-LoadPlugin "olsrd_httpinfo.so.0.1"
+LoadPlugin "/usr/lib/olsrd_dyn_gw.so.0.5"
 {
-       PlParam "Net" "0.0.0.0 0.0.0.0"
-       PlParam "port" "1978"
 }
 
-LoadPlugin "olsrd_nameservice.so.0.3"
+LoadPlugin "/usr/lib/olsrd_nameservice.so.0.4"
 {
-       PlParam "name" "commotion-7814921"
-       PlParam "sighup-pid-file" "/var/run/dnsmasq.pid"
-       PlParam "suffix" ".mesh"
+    # you should set this to your own node name
+    PlParam "name"             "commotion-7814921"
+    PlParam "sighup-pid-file"  "/var/run/dnsmasq.pid"
+    PlParam "suffix"           ".mesh"
 }
 
-LoadPlugin "olsrd_p2pd.so.0.1.0"
+LoadPlugin "/usr/lib/olsrd_p2pd.so.0.1.0"
 {
-       PlParam "NonOlsrIf" "eth0"
-       PlParam "P2pdTtl" "5"
-       PlParam "UdpDestPort" "224.0.0.251 5353"
+    PlParam "NonOlsrIf"        "eth0"
+    PlParam "P2pdTtl"          "5"
+    PlParam "UdpDestPort"      "224.0.0.251 5353"
 }
 
-LoadPlugin "olsrd_txtinfo.so.0.1"
+LoadPlugin "/usr/lib/olsrd_jsoninfo.so.1.1"
 {
-       PlParam "accept" "0.0.0.0"
+    # PlParam "accept"         "0.0.0.0"
+
+    # for the configuration generation script
+    PlParam "port" "56789"
 }
 
-Interface "wlan0"
+LoadPlugin "/usr/lib/olsrd_txtinfo.so.1.1"
 {
-       Ip4Broadcast 255.255.255.255
+    # PlParam "accept"         "0.0.0.0"
 }
 
+InterfaceDefaults
+{
+    # If you using this on Mac OS X, then comment this out because Mac OS X
+    # does weird things with 255.255.255.255. By commenting this out, olsrd
+    # will use the broadcast that's assigned to the network interface
+    Ip4Broadcast               255.255.255.255
+}