mirror of https://github.com/aredn/aredn.git
49 lines
1.1 KiB
Plaintext
49 lines
1.1 KiB
Plaintext
config olsrd
|
|
# uncomment the following line to use a custom config file instead:
|
|
#option config_file '/etc/olsrd.conf'
|
|
|
|
option IpVersion '4'
|
|
option MainIp '<wifi_ip>'
|
|
option RtTable '30'
|
|
option RtTableDefault '31'
|
|
option LinkQualityAlgorithm 'etx_ffeth'
|
|
option AllowNoInt 'yes'
|
|
|
|
config LoadPlugin
|
|
option library 'olsrd_arprefresh.so.0.1'
|
|
|
|
config LoadPlugin
|
|
option library 'olsrd_httpinfo.so.0.1'
|
|
option port '1978'
|
|
list Net '0.0.0.0 0.0.0.0'
|
|
option Resolve 'true'
|
|
|
|
config LoadPlugin
|
|
option library 'olsrd_txtinfo.so.0.1'
|
|
option accept '0.0.0.0'
|
|
|
|
config LoadPlugin
|
|
option library 'olsrd_jsoninfo.so.0.0'
|
|
option accept '0.0.0.0'
|
|
|
|
#config LoadPlugin
|
|
# option library 'olsrd_secure.so.0.6'
|
|
# option keyfile '/etc/olsrd.d/olsrd_secure_key'
|
|
|
|
config LoadPlugin
|
|
option library 'olsrd_dot_draw.so.0.3'
|
|
option accept '127.0.0.1'
|
|
option port '2003'
|
|
|
|
config LoadPlugin
|
|
option library 'olsrd_watchdog.so.0.1'
|
|
option file '/tmp/olsrd.watchdog'
|
|
option interval '5'
|
|
|
|
config Interface
|
|
list interface 'wifi'
|
|
|
|
config Interface
|
|
list interface 'dtdlink'
|
|
option Mode 'ether'
|