Fix OLSR "jsoninfo" plugin not loaded
OLSR Daemon
Unable to connect to the OLSR daemon! Make sure that OLSRd is running, the “jsoninfo” plugin is loaded, configured on port 9090 and accepts connections from “127.0.0.1”.
How to resolve this
- Connect to your router
ssh root@frei.funk
- find the jsoninfo plugin
root@frei.funk:~# find / | grep jsoninfo.so /rom/usr/lib/olsrd_jsoninfo.so.1.1 /usr/lib/olsrd_jsoninfo.so.1.1
The version numer
1.1
is important to know. - Edit the file
/var/etc/olsrd.conf
vi /var/etc/olsrd.conf
- Go to a blank line and press
i
. - Insert this text:
LoadPlugin "olsrd_jsoninfo.so.1.1" { PlParam "accept" "0.0.0.0" }
Note that I am using the version number 1.1 here. You may have a different one in Step 2.
- Save the file: Press Escape, then
:q
and Enter. - Now you can restart the router.
If this did not work, chances are, somehing went wrong. In this case, you can look at OLSR debuggen.
You may also want to change the file /etc/config/olsrd.conf
.