[arm-allstar] Stopping DNS lookup
Doug Crompton
doug at crompton.com
Fri Jan 30 21:29:39 EST 2015
Cole,
Leave the dns lookup alone. If you do not register anything then the rc.updatenodelist script should fail and not update the nodes but apparently it is not. It writes the nodes to /tmp/rpt_extnodes which is a symbolic link at /var/lib/asterisk/rpt_extnodes
Do you have any active (not commented) register lines in iax.conf? If so take them out and reboot and see if it updates the list in /tmp/rpt_extnodes If it doesn't then disregard the following. It not then do the following to stop all updates.
rc.updatenodelist is located in /usr/local/etc and is run by the rc.allstar in that same directory.
Open /usr/local/etc/rc.allstar and comment the lines to load the databases -
# get node to IP database
/usr/local/etc/rc.updatenodelist & <<<<< put a # before this line
# get node detail database
/usr/local/sbin/astdb.php & <<<<< put a #before this line
Don't change anything else in the file and save.
Reboot and you should have no outside nodes listed. Be sure to comment the statpost lines in all nodes.
Let me know what you ended up doing.
73 Doug
WA3DSP
http://www.crompton.com/hamradio
From: colecaz at gmail.com
To: arm-allstar at hamvoip.org
Date: Fri, 30 Jan 2015 18:46:01 -0700
Subject: Re: [arm-allstar] Stopping DNS lookup
Doug, I think you confused me, Cole, with Corey. He helped me with a few suggestions but he’s not the one trying to do something out of the box. Yes, we are trying to make a completely private network of repeaters, links, and simplex control radios using your BBB edition. We have no intention of registering any of the nodes with Allstar and don’t want to interact with it in any way. We plan to do our own linking system, likely using something like the Ubiquiti products, so we want to keep the internet type of IP addresses. So that’s why I’m trying to get the Allstar DNS refresh function turned off and the function removed for updating it. I had planned on listing all the nodes in rpt.conf, but in exploring the DNS function am now wondering if I can get it turned off, would it work to make my own node file in /var/rpt_extnodes format and let the system use it. That would be helpful because we potentially could have over 100 nodes, each on a BBB, and it would be easier to add, subtract, or change node lookups via one file than mess with rpt.conf and risk breaking something else. So far in trying to stop the creation of the /tmp/rpt_extnodes file I have set enable=no in /etc/asterisk/dnsmgr.conf, renamed the rpt_extnodes link in /var/lib/asterisk, and erased the /tmp/rpt_extnodes file. But the link and file keep coming back. Will you tell me how to stop this? BTW, this is a project several of us are undertaking for the Arizona Repeater Association based in Phoenix. You can check us out at www.w7ara.org. Thanks, Cole, AA7RD From: arm-allstar-bounces at hamvoip.org [mailto:arm-allstar-bounces at hamvoip.org] On Behalf Of Doug Crompton
Sent: Friday, January 30, 2015 6:31 PM
To: BeagleBone Black ARM Allstar
Subject: Re: [arm-allstar] Stopping DNS lookup Corey,
First of all private node number should be less than 2000. Don't try to reinvent the rules! The node number you have made up is probably an echolink node number.
If a node is truly private you would NOT advertise it. No statpost statements in rpt.conf. Comment them out.
The system will always go to the nodes statement in rpt.conf first BUT you are confusing it with an invalid node number.
Is this a completely private system meaning you do not want to connect or register to any valid node? In that case you would have no registered nodes and therefore the node update would not work and not create the outside node list. Are you registering a valid node? Do you want to connect to other registered nodes?
73 Doug
WA3DSP
http://www.crompton.com/hamradio
From: colecaz at gmail.com
To: arm-allstar at hamvoip.org
Date: Fri, 30 Jan 2015 11:35:02 -0700
Subject: [arm-allstar] Stopping DNS lookupI’m working on a network of seven BBB’s with private node numbers outside the normal Allstar range. They all have fixed IPs in the range 10.1.2.x. When I try to connect from one to the other on the local network (for example: Node 244695 with IP 10.1.2.1, connect to Node 214724 with IP 10.1.2.2, using rpt fun 244695 *3214724) node 244695 seems to go to the Allstar DNS and finds node 2147 active and connects to it. If I change node 214724 number to be 214524 it connects as desired, node 244695 to the node now numbered 214524. Node 2145 is not shown in the Allstar node list, that’s why I chose it for a test. How can I restrict connections to the local network only and to nodes defined in the [Nodes] stanza? Thanks,Cole AA7RD
_______________________________________________ arm-allstar mailing list arm-allstar at hamvoip.org http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar Visit the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/
_______________________________________________
arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20150130/7ed8a894/attachment.html>
More information about the arm-allstar
mailing list