Corey,Your wget command puts the Allstar node list file in a temporary staging area/name. So it won’t actually update your node list immediately, if at all. The actual nodes list lives at /var/lib/asterisk/rpt_extnodes.Normally the script rc.updatesnodelist will always be running (ps aux | grep updatenodelist) so it shouldn’t be necessary to use the script below. But for troubleshooting it may be useful.Here is a modified version of rc.updatesnodelist. Put this in a file, mark it executable and run it.#! /bin/shTOPDOMAIN=allstarlink.orgSUBDOMAINS="nodes1 nodes2 nodes3"FILEPATH=/var/lib/asteriskWGET=`which wget`for i in $SUBDOMAINS; dores=0while [ $res -eq 0 ]; do$WGET -O $FILEPATH/rpt_extnodes-temp http://$i.$TOPDOMAIN/cgi-bin/nodes.plres=$?if [ $res -eq 0 ]; then/bin/chmod 700 $FILEPATH/rpt_extnodes-temp/bin/mv -f $FILEPATH/rpt_extnodes-temp $FILEPATH/rpt_extnodesecho "Retrieved node list from $i.$TOPDOMAIN"date#sleep 600exit 0elseecho "Problem retrieving node list from $i.$TOPDOMAIN, trying another server";sleep 30fidonedoneOr you could just issue the following wget command. Note the host is nodes1 where the above script will try nodes1, nodes2 and nodes3./usr/bin/wget -O /var/lib/asterisk/rpt_extnodes http://nodes1.allstarlink.org/cgi-bin/nodes.pl--
Tim
:wqOn Apr 4, 2011, at 1:24 PM, Corey Dean <n3fe@repeater.net> wrote:TO add to this I can see my node trying to register. I will look at another node 27362 after it has downloaded the rpt-extnodes file and my 2340 does not show up… This just started today… Any clues? Sorry about all the emails… I am just trying to figure this out…From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of Corey Dean
Sent: Monday, April 04, 2011 3:36 PM
To: app_rpt-users@ohnosec.org
Subject: Re: [App_rpt-users] Registration issuesSame here. My node hasn’t been able to get the updated list for hours now. I manually issued the command on my node (which is registered to the system). An hour later it is still sitting here…/usr/bin/wget -q -O /tmp/rpt_extnodes-temp http://nodes3.allstarlink.org/cgi-bin/nodes.plI have also seen this on at least 2 other nodes in the last month or so as well… The only way we can get by it is to add the info into rpt.confCorey N3FEFrom: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of Randy Ballard
Sent: Monday, April 04, 2011 3:16 PM
To: app_rpt-users@ohnosec.org
Subject: [App_rpt-users] Registration issuesMy nodes 27365 and 27751 both on same server is showing on the status page but not showing in the rpt_extnodes on other nodes im using standard port 4569.
we have been seeing this with several nodes in our group over past month or so of coarse if we define in the rpt file we can connect but would be nice if it was registering.sometimes it may show up in a few hours or a day generally a reboot and its gone againThanks for any help in advance73Randy KB3HJC_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users