pud: use more secure strncpy
[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 "/usr/lib/olsrd_arprefresh.so.0.1"
22 {
23 }
24
25 LoadPlugin "/usr/lib/olsrd_dyn_gw.so.0.5"
26 {
27 }
28
29 LoadPlugin "/usr/lib/olsrd_nameservice.so.0.4"
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 "/usr/lib/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 "/usr/lib/olsrd_jsoninfo.so.1.1"
45 {
46     # PlParam "accept"         "0.0.0.0"
47
48     # for the configuration generation script
49     PlParam "port" "56789"
50 }
51
52 LoadPlugin "/usr/lib/olsrd_txtinfo.so.1.1"
53 {
54     # PlParam "accept"         "0.0.0.0"
55 }
56
57 InterfaceDefaults
58 {
59     # If you using this on Mac OS X, then comment this out because Mac OS X
60     # does weird things with 255.255.255.255. By commenting this out, olsrd
61     # will use the broadcast that's assigned to the network interface
62     Ip4Broadcast               255.255.255.255
63 }