2013-12-02 13:04:54 -07:00
|
|
|
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>'
|
2014-04-04 20:34:15 -06:00
|
|
|
option RtTable '30'
|
|
|
|
option RtTableDefault '31'
|
2014-04-09 00:19:45 -06:00
|
|
|
option LinkQualityAlgorithm 'etx_ffeth'
|
2014-04-04 20:34:15 -06:00
|
|
|
|
2013-12-02 13:04:54 -07:00
|
|
|
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'
|
|
|
|
|
2014-04-18 14:45:19 -06:00
|
|
|
config LoadPlugin
|
|
|
|
option library 'olsrd_secure.so.0.6'
|
|
|
|
option keyfile '/etc/olsrd.d/olsrd_secure_key'
|
2013-12-02 13:04:54 -07:00
|
|
|
|
|
|
|
config LoadPlugin
|
|
|
|
option library 'olsrd_dot_draw.so.0.3'
|
|
|
|
option accept '127.0.0.1'
|
|
|
|
option port '2003'
|
|
|
|
|
2014-08-08 00:13:54 -06:00
|
|
|
config LoadPlugin
|
|
|
|
option library 'olsrd_watchdog.so.0.1'
|
|
|
|
option file '/tmp/olsrd.watchdog'
|
|
|
|
option interval '5'
|
|
|
|
|
2013-12-02 13:04:54 -07:00
|
|
|
config Interface
|
|
|
|
list interface 'wifi'
|
2014-04-09 00:19:45 -06:00
|
|
|
|
|
|
|
config Interface
|
|
|
|
list interface 'dtdlink'
|
|
|
|
option Mode 'ether'
|