[arm-allstar] Stopping DNS lookup
Doug Crompton
doug at crompton.com
Sat Jan 31 00:26:32 EST 2015
There is also a cron entry - crontab -l that loads the astdb file daily. It would be meaningless in your situation.so remove it.
73 Doug
WA3DSP
http://www.crompton.com/hamradio
From: colecaz at gmail.com
To: arm-allstar at hamvoip.org
Date: Fri, 30 Jan 2015 22:02:17 -0700
Subject: Re: [arm-allstar] Stopping DNS lookup
Yes, that was a good location and the two lines commented out seem to have fixed it. At least when I rebooted the BBB the rpt_extnodes file did not return after about 10 minutes. I’ll change the other four and monitor them. ThanksCole From: arm-allstar-bounces at hamvoip.org [mailto:arm-allstar-bounces at hamvoip.org] On Behalf Of Doug Crompton
Sent: Friday, January 30, 2015 9:49 PM
To: BeagleBone Black ARM Allstar
Subject: Re: [arm-allstar] Stopping DNS lookup OK, Sorry I know you mentioned that before but I get so many emails.
OK look in /etc/rc.local and you should the two lines in there that I mention in the prior email. Comment them out and reboot.
I don't have 1.1 running anymore so I am running from memory. I think that is the location of rc.local
73 Doug
WA3DSP
http://www.crompton.com/hamradio
From: colecaz at gmail.com
To: arm-allstar at hamvoip.org
Date: Fri, 30 Jan 2015 21:16:39 -0700
Subject: Re: [arm-allstar] Stopping DNS lookupNo, we’re running version 1.1 We started with 1.2 but discovered it lacked the cape manager and we plan to use the analog input functions it brings for monitoring site voltages. Things like AC mains, generator AC, battery voltage, etc. We’d gladly change if voltage monitoring was available. Here is my etc directory: [root at Beagle1 /usr/local/etc]#lstotal 20K4.0K drwxr-xr-x 2 root root 4.0K Jun 16 2014 .4.0K drwxr-xr-x 12 root root 4.0K May 19 2014 ..4.0K -rwxr-x--- 1 root root 988 May 7 2014 confirm_boot.sh4.0K -rwxr-x--- 1 root root 1.6K May 7 2014 morse_ip.sh4.0K -rwxr-x--- 1 root root 2.2K Jun 16 2014 rc.updatenodelist[root at Beagle1 /usr/local/etc]# Cole From: arm-allstar-bounces at hamvoip.org [mailto:arm-allstar-bounces at hamvoip.org] On Behalf Of Doug Crompton
Sent: Friday, January 30, 2015 9:10 PM
To: BeagleBone Black ARM Allstar
Subject: Re: [arm-allstar] Stopping DNS lookup Are you running 1.2.1 version??? The /usr/local/etc directory should look like this -
[root at wa3dsp-40961-cm etc]# ls
allstar.env asterisk_tpl morse_ip.sh rc.updatenodelist
allstar_node_info.conf confirm_boot.sh rc.allstar
73 Doug
WA3DSP
http://www.crompto
n.com/hamradioFrom: colecaz at gmail.com
To: arm-allstar at hamvoip.org
Date: Fri, 30 Jan 2015 20:10:17 -0700
Subject: Re: [arm-allstar] Stopping DNS lookupDoug, I checked all the iax.conf files and all register entries have been commented out previously. The updating occurred with the register entries commented out. I found re.updatenodelist where you said it should be but the rc.allstar file is not there. ‘find / -name rc.allstar’ turns up nothing. And looking in /usr/local/sbin for the astdb.php file mentioned in the rc.allstar changes didn’t find it either. So I’m lost. Cole From: arm-allstar-bounces at hamvoip.org [mailto:arm-allstar-bounces at hamvoip.org] On Behalf Of Doug Crompton
Sent: Friday, January 30, 2015 7:30 PM
To: BeagleBone Black ARM Allstar
Subject: Re: [arm-allstar] Stopping DNS lookup 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
_______________________________________________ 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/
_______________________________________________
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/20150131/dde403e0/attachment-0001.html>
More information about the arm-allstar
mailing list