Is there an easy to see interconnected link topology database via the CLI?
73's
Is there an easy to see interconnected link topology database via the CLI?
73's
I am not sure this is exactly what you want but if you want to see what a node is connected to along with information on each node ‘lsnodes’ will do that to any node via the web. It is built into the BBB. All you need to do is route port 80 (or whatever port you have the http servr on) and access the node with a web browser. Locally you can do it without forwarding a port.
73 Doug
WA3DSP
WA3DSP Amateur Radio Resources
Date: Sat, 15 Nov 2014 21:59:24 -0500
From: Bryan@bryanfields.net
To: app_rpt-users@ohnosec.org
Subject: [App_rpt-users] Show link topology from cli?Is there an easy to see interconnected link topology database via the CLI?
73’s
–
Bryan Fields727-409-1194 - Voice
727-214-2508 - Fax
http://bryanfields.net
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-usersTo unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the “Unsubscribe or edit options button”
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
I'm not running a web server or have a BBB(?).
I know there is a bubble map that the stats.allstarlink.org draws, but how can
I get this data out of asterisk directly?
I can figure out my directly connected neighbors, but how can I figure out
who's connected to them?
Think of it like looking at OSPF neighbors vs. looking at the OSPF database on
a router. I want to see the database.
Thanks,
On 11/16/14, 1:11 AM, Doug Crompton wrote:
I am not sure this is exactly what you want but if you want to see what a node
is connected to along with information on each node 'lsnodes' will do that to
any node via the web. It is built into the BBB. All you need to do is route
port 80 (or whatever port you have the http servr on) and access the node with
a web browser. Locally you can do it without forwarding a port.
--
Bryan Fields
727-409-1194 - Voice
727-214-2508 - Fax
http://bryanfields.net
I don’t know of a way to print that to the console. There is a command to speak it. Have a look at cop 15 (v. cop 5). The horrid thing about this it can take a long time to read back all the connect nodes on even a reasonably small network. And worse, it will read back on all nodes with telemetry enabled (not just your node).
fyi, cop (and all other) commands are listed in the comments at the top of rpt.c
Correction: that ilink 15, not cop 15. Not that that is what you want, but just for the sake of correctness.
–
Tim
:wq
On Nov 16, 2014, at 8:50 PM, Tim Sawyer tim.sawyer@mac.com wrote:
I don’t know of a way to print that to the console. There is a command to speak it. Have a look at cop 15 (v. cop 5). The horrid thing about this it can take a long time to read back all the connect nodes on even a reasonably small network. And worse, it will read back on all nodes with telemetry enabled (not just your node).
fyi, cop (and all other) commands are listed in the comments at the top of rpt.c
<app_rpt_comments.pdf>
–
Tim
:wq
On Nov 16, 2014, at 8:24 PM, Bryan Fields Bryan@bryanfields.net wrote:
I know there is a bubble map that the stats.allstarlink.org draws, but how can
I get this data out of asterisk directly?
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-usersTo unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the “Unsubscribe or edit options button”
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
Bryan,
The BBB is a single board Allstar implementation - hamvoip.org
There is no way to get a local bubble map. This must be done through stats.allstarlink.org
Locally you can see the nodes you are connected to with the Asterisk CLI by doing -
rpt nodes <your-node_number>
To relate that to a database of what they are you would have to write some code. I have done this in the ‘lsnodes’ Perl script and as I said this is built-in to the BBB code. It also could be installed in the Acid code. Instructions are here -
http://crompton.com/hamradio/allstar/lsnodes.html
If you wanted to do this yourself you would have to download the node call/QTH/Location database and cross it with the nodes you are connected to. This would give a nicely annotated list, as lsnodes does, of your connections. It would not however show a bubble map. lsnodes has a link to the bubble map to make it easy.
73 Doug
WA3DSP
WA3DSP Amateur Radio Resources
Date: Sun, 16 Nov 2014 23:24:13 -0500
From: Bryan@bryanfields.net
To: doug@crompton.com; app_rpt-users@ohnosec.org
Subject: Re: [App_rpt-users] Show link topology from cli?On 11/16/14, 1:11 AM, Doug Crompton wrote:
I am not sure this is exactly what you want but if you want to see what a node
is connected to along with information on each node ‘lsnodes’ will do that to
any node via the web. It is built into the BBB. All you need to do is route
port 80 (or whatever port you have the http servr on) and access the node with
a web browser. Locally you can do it without forwarding a port.I’m not running a web server or have a BBB(?).
I know there is a bubble map that the stats.allstarlink.org draws, but how can
I get this data out of asterisk directly?I can figure out my directly connected neighbors, but how can I figure out
who’s connected to them?Think of it like looking at OSPF neighbors vs. looking at the OSPF database on
a router. I want to see the database.Thanks,
Bryan Fields
727-409-1194 - Voice
727-214-2508 - Fax
http://bryanfields.net
or with rpt lstats <your-node_number>
Allmon looks like this…
–
Tim
:wq
On Nov 16, 2014, at 9:04 PM, Doug Crompton doug@crompton.com wrote:
Locally you can see the nodes you are connected to with the Asterisk CLI by doing -
rpt nodes <your-node_number>
Yes, Allmon is certainly another choice that I think would give you what you want.
73 Doug
WA3DSP
WA3DSP Amateur Radio Resources
From: tim.sawyer@mac.com
Date: Sun, 16 Nov 2014 21:12:59 -0800
To: app_rpt-users@ohnosec.org
Subject: Re: [App_rpt-users] Show link topology from cli?
or with rpt lstats <your-node_number>
Allmon looks like this…
–
Tim
:wq
On Nov 16, 2014, at 9:04 PM, Doug Crompton doug@crompton.com wrote:
Locally you can see the nodes you are connected to with the Asterisk CLI by doing -
rpt nodes <your-node_number>
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the “Unsubscribe or edit options button”
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.