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'
|
2015-03-23 23:55:09 -06:00
|
|
|
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'
|
2015-03-23 23:57:48 -06:00
|
|
|
option AllowNoInt 'yes'
|
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'
|
|
|
|
|
2016-01-05 11:00:22 -07:00
|
|
|
config LoadPlugin
|
|
|
|
option library 'olsrd_jsoninfo.so.0.0'
|
|
|
|
option accept '0.0.0.0'
|
|
|
|
|
2014-09-12 00:02:47 -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'
|