]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/olsrd/files/olsrd.conf
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / olsrd / files / olsrd.conf
1 #
2 # olsr.org configuration file
3 #
4
5 #
6 # Periodically print the internal state, including information on
7 # route calculation
8 #
9
10 DebugLevel              2
11
12 #
13 # Clear the screen each time the internal state changes
14 #
15
16 ClearScreen             yes
17
18 #
19 # IP version to use
20 #
21
22 IpVersion               4
23
24 #
25 # IPv4 HNAs - syntax: netaddr netmask
26 #
27
28 Hna4
29 {
30 #       0.0.0.0 0.0.0.0
31 }
32
33 #
34 # Do not use hysteresis
35 #
36
37 UseHysteresis           no
38
39 #
40 # If using hysteresis, use "smooth" parameters
41 #
42
43 HystScaling             0.10
44 HystThrHigh             0.80
45 HystThrLow              0.30
46
47 #
48 # Which neighbours should be advertised via TC messages?
49 #
50 # 0 - only advertise our MPR selectors
51 # 1 - advertise our MPR selectors and our MPRs
52 # 2 - advertise all neighbors
53 #
54
55 TcRedundancy            2
56
57 #
58 # Specifies by how many MPRs each two-hop neighbour should be covered
59 #
60
61 MprCoverage             9
62
63 #
64 # Enable the link quality extensions?
65 #
66 # 0 - no
67 # 1 - yes, use link quality for MPR selection
68 # 2 - yes, use link quality for MPR selection and routing
69 #
70
71 LinkQualityLevel        2
72
73 #
74 # Windows size for packet loss calculation
75 #
76
77 LinkQualityWinSize      20
78
79 #
80 # Load the dot draw plugin
81 #
82
83 LoadPlugin "olsrd_httpinfo.so.0.1"
84 {
85         PlParam "Port" "8080"
86         PlParam "Net" "192.168.0.0 255.255.255.0"
87 }
88
89 #LoadPlugin "olsrd_dot_draw.so.0.3"
90 #{
91         # accept connection from IP:
92         # default 127.0.0.1 (localhost) 
93         #PlParam     "accept" "192.168.0.5"
94 #}
95
96 #
97 # Interfaces - 
98 # change to the name of your WLAN interface
99 #
100
101 Interface "eth0" "wlan0" "wlan1" "ath0" "ath1"
102 {
103
104         #
105         # HELLO interval in seconds (float)
106         #
107
108         HelloInterval           2.0
109
110         #
111         # HELLO validity time
112         #
113
114         HelloValidityTime       40.0
115
116         #
117         # TC interval in seconds (float)
118         #
119
120         TcInterval              3.0
121
122         #
123         # TC validity time
124         #
125
126         TcValidityTime          15.0
127
128         #
129         # MID interval in seconds (float)
130         #
131
132         MidInterval             5.0
133
134         #
135         # MID validity time
136         #
137
138         MidValidityTime         15.0
139
140         #
141         # HNA interval in seconds (float)
142         #
143
144         HnaInterval             5.0
145
146         #
147         # HNA validity time
148         #
149
150         HnaValidityTime         15.0
151 }