You are here

olsr-topology-view not working

7 posts / 0 new
Last post
AB4YY
olsr-topology-view not working

I just realized recently that my I can no longer successfully run my olsr-topology-view script.  Here is the error I get:

cannot connect to port 2004 at localnode!
is the olsrd_dot_draw plugin loaded and configured to allow connections from this host?

My guess is something is no longer in the current builds and that's why it's not working.

I am running firmware version 3.20.3.0 but think this has not worked for at least the last one or two nightly builds.

Anyone have any ideas?

Thanks, Mike ab4yy

AE6XE
AE6XE's picture
It works on my localnode, but
It works on my localnode, but the firewall rules aren't letting access to remote nodes, on 3.20.3.0.  Are you trying this from a device on the LAN of a node, to the localnode?
AB4YY
This is run on a Raspberry Pi

This is run on a Raspberry Pi on the LAN of the node (10.x.x.x.).

My script that is called has been running fine since October 2018.  I do a cron run of a script that calls that script but only logs runs that I do manually.  It's a little hard to see when the problem occurred, it could have been with the new release.  I think 3-17-2020 was a good run so I may have been running "aredn-1375-812c007" at that time which I still have on file.  (I also have "aredn-1394-ff2e935".).

Unfortunately at this point, I am running this with the default which is against the localnode ($SERVER = "localnode";) which is an hAPac with all my services and more on it.  I suppose I could tell the script to run against my 5 GHz node (less important) and see if the problem is still there and if so I might try reverting to an earlier nightly on that node and see if that fixes it.  (Or I could just run another device 'on the bench'.)  I know it's not good to revert versions.  Hopefully sysupgrade will work.  Do you think it will?

- Mike

AE6XE
AE6XE's picture
Mike,  since this is not
Mike,  since this is not reproduced elsewhere, and there hasn't been any changes to this area of the code for a couple of years,  the likely candidate is a local issue -- laptop firewall, etc.    debug by doing a "telnet localnode 2004" command on the RasPi,  what is the response?

Joe
AB4YY
Here is what I get:
Here is what I get:
telnet localnode 2004
Trying 10.43.142.33...
telnet: Unable to connect to remote host: Connection refused

I also tried it from a stand-alone Linux laptop and get the connection refused message.

- Mike
AE6XE
AE6XE's picture
I reloaded a fresh image of 3
I reloaded a fresh image of 3.20.3.0 and was able to reproduce.   Do this on the command line of your localnode,  "/etc/init.d/xinetd start", then see if it works to compare notes.  I'll investigate why this process is not functioning.  The "connection refused" error was misleading, as the firewall is open.  

Joe AE6XE 
AB4YY
I ran that and it fixed the
I ran that and it fixed the problem.
Thanks!

- Mike

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer