aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/olsrd/files/olsrd.conf
blob: dbd0472803d99627e034395241494f4630803233 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
#
# olsr.org configuration file
#

#
# Periodically print the internal state, including information on
# route calculation
#

DebugLevel		2

#
# Clear the screen each time the internal state changes
#

ClearScreen		yes

#
# IP version to use
#

IpVersion		4

#
# IPv4 HNAs - syntax: netaddr netmask
#

Hna4
{
#	0.0.0.0 0.0.0.0
}

#
# Do not use hysteresis
#

UseHysteresis		no

#
# If using hysteresis, use "smooth" parameters
#

HystScaling		0.10
HystThrHigh		0.80
HystThrLow		0.30

#
# Which neighbours should be advertised via TC messages?
#
# 0 - only advertise our MPR selectors
# 1 - advertise our MPR selectors and our MPRs
# 2 - advertise all neighbors
#

TcRedundancy		2

#
# Specifies by how many MPRs each two-hop neighbour should be covered
#

MprCoverage		9

#
# Enable the link quality extensions?
#
# 0 - no
# 1 - yes, use link quality for MPR selection
# 2 - yes, use link quality for MPR selection and routing
#

LinkQualityLevel	2

#
# Windows size for packet loss calculation
#

LinkQualityWinSize	20

#
# Load the dot draw plugin
#

LoadPlugin "olsrd_httpinfo.so.0.1"
{
	PlParam "Port" "8080"
	PlParam "Net" "192.168.0.0 255.255.255.0"
}

#LoadPlugin "olsrd_dot_draw.so.0.3"
#{
	# accept connection from IP:
	# default 127.0.0.1 (localhost)	
	#PlParam     "accept" "192.168.0.5"
#}

#
# Interfaces - 
# change to the name of your WLAN interface
#

Interface "eth0" "wlan0" "wlan1" "ath0" "ath1"
{

	#
	# HELLO interval in seconds (float)
	#

	HelloInterval		2.0

	#
	# HELLO validity time
	#

	HelloValidityTime	40.0

	#
	# TC interval in seconds (float)
	#

	TcInterval		3.0

	#
	# TC validity time
	#

	TcValidityTime		15.0

	#
	# MID interval in seconds (float)
	#

	MidInterval		5.0

	#
	# MID validity time
	#

	MidValidityTime		15.0

	#
	# HNA interval in seconds (float)
	#

	HnaInterval		5.0

	#
	# HNA validity time
	#

	HnaValidityTime 	15.0
}