sgw: policy script: log invocations and add cleanup mode
[olsrd.git] / files / olsrd.conf.commotion
1 # http://commotionwireless.net/
2
3 DebugLevel                     0
4 AllowNoInt                     yes
5 IpVersion                      4
6 LinkQualityLevel               2
7 LinkQualityAlgorithm           "etx_ffeth"
8 SmartGateway                   yes
9
10 Hna4
11 {
12     # 101.149.21.0 255.255.255.0
13     # 102.149.21.0 255.255.255.0
14     # 103.149.21.0 255.255.255.0
15 }
16
17 Interface "wlan0"
18 {
19 }
20
21 LoadPlugin "olsrd_arprefresh.so.0.1"
22 {
23 }
24
25 LoadPlugin "olsrd_dyn_gw.so.0.5"
26 {
27 }
28
29 LoadPlugin "olsrd_nameservice.so.0.3"
30 {
31     # you should set this to your own node name
32     PlParam "name"             "commotion-7814921"
33     PlParam "sighup-pid-file"  "/var/run/dnsmasq.pid"
34     PlParam "suffix"           ".mesh"
35 }
36
37 LoadPlugin "olsrd_p2pd.so.0.1.0"
38 {
39     PlParam "NonOlsrIf"        "eth0"
40     PlParam "P2pdTtl"          "5"
41     PlParam "UdpDestPort"      "224.0.0.251 5353"
42 }
43
44 LoadPlugin "olsrd_jsoninfo.so.0.0"
45 {
46     # PlParam "accept"         "0.0.0.0"
47 }
48
49 LoadPlugin "olsrd_txtinfo.so.0.1"
50 {
51     # PlParam "accept"         "0.0.0.0"
52 }
53
54 InterfaceDefaults
55 {
56     # If you using this on Mac OS X, then comment this out because Mac OS X
57     # does weird things with 255.255.255.255. By commenting this out, olsrd
58     # will use the broadcast that's assigned to the network interface
59     Ip4Broadcast               255.255.255.255
60 }