<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="margin: 0px; font-family: Monaco;">Corey,</div><div style="margin: 0px; font-family: Monaco;"><br></div><div style="margin: 0px; font-family: Monaco;">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.</div><div style="margin: 0px; font-family: Monaco;"><br></div><div style="margin: 0px; font-family: Monaco;">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. </div><div style="margin: 0px; font-family: Monaco;"><br></div><div style="margin: 0px; font-family: Monaco;">Here is a modified version of rc.updatesnodelist. Put this in a file, mark it executable and run it. </div><div style="margin: 0px; font-family: Monaco;"><br></div><div style="margin: 0px; font-family: Monaco;">#! /bin/sh</div><div style="margin: 0px; font-family: Monaco; min-height: 16px;"><br></div><div style="margin: 0px; font-family: Monaco;">TOPDOMAIN=<a href="http://allstarlink.org">allstarlink.org</a></div><div style="margin: 0px; font-family: Monaco;">SUBDOMAINS="nodes1 nodes2 nodes3"</div><div style="margin: 0px; font-family: Monaco;">FILEPATH=/var/lib/asterisk</div><div style="margin: 0px; font-family: Monaco;">WGET=`which wget` </div><div style="margin: 0px; font-family: Monaco; min-height: 16px;"><br></div><div style="margin: 0px; font-family: Monaco;">for i in $SUBDOMAINS; do</div><div style="margin: 0px; font-family: Monaco;"> res=0</div><div style="margin: 0px; font-family: Monaco;"> while [ $res -eq 0 ]; do</div><div style="margin: 0px; font-family: Monaco;"> $WGET -O $FILEPATH/rpt_extnodes-temp <a href="http://$i.$TOPDOMAIN/cgi-bin/nodes.pl">http://$i.$TOPDOMAIN/cgi-bin/nodes.pl</a></div><div style="margin: 0px; font-family: Monaco;"> res=$?</div><div style="margin: 0px; font-family: Monaco;"> if [ $res -eq 0 ]; then</div><div style="margin: 0px; font-family: Monaco;"> /bin/chmod 700 $FILEPATH/rpt_extnodes-temp</div><div style="margin: 0px; font-family: Monaco;"> /bin/mv -f $FILEPATH/rpt_extnodes-temp $FILEPATH/rpt_extnodes</div><div style="margin: 0px; font-family: Monaco;"> echo "Retrieved node list from $i.$TOPDOMAIN"</div><div style="margin: 0px; font-family: Monaco;"> date</div><div style="margin: 0px; font-family: Monaco;"> #sleep 600</div><div style="margin: 0px; font-family: Monaco;"> exit 0</div><div style="margin: 0px; font-family: Monaco;"> else</div><div style="margin: 0px; font-family: Monaco;"> echo "Problem retrieving node list from $i.$TOPDOMAIN, trying another server";</div><div style="margin: 0px; font-family: Monaco;"> sleep 30</div><div style="margin: 0px; font-family: Monaco;"> fi</div><div style="margin: 0px; font-family: Monaco;"> done</div><div style="margin: 0px; font-family: Monaco;">done</div><div style="margin: 0px; font-family: Monaco;"><br></div><div style="margin: 0px; font-family: Monaco;"><br></div><div style="margin: 0px; font-family: Monaco;">Or you could just issue the following wget command. Note the host is nodes1 where the above script will try nodes1, nodes2 and nodes3.</div><div style="margin: 0px; font-family: Monaco;"><div style="margin: 0px;">/usr/bin/wget -O /var/lib/asterisk/rpt_extnodes <a href="http://nodes1.allstarlink.org/cgi-bin/nodes.pl">http://nodes1.allstarlink.org/cgi-bin/nodes.pl</a></div><div style="margin: 0px;"><br></div><div style="font-family: Verdana;"></div></div><div>
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Verdana; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">--<br>Tim<br>:wq</div></span></span>
</div>
<br><div><div>On Apr 4, 2011, at 1:24 PM, Corey Dean <<a href="mailto:n3fe@repeater.net">n3fe@repeater.net</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="EN-US" link="blue" vlink="purple" style="font-family: Verdana; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class="WordSection1" style="page: WordSection1;"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">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…<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div><div style="border-style: solid none none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0in 0in;"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><b><span style="font-size: 10pt; font-family: Tahoma, sans-serif;">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif;"><span class="Apple-converted-space"> </span><a href="mailto:app_rpt-users-bounces@ohnosec.org" style="color: purple; text-decoration: underline;">app_rpt-users-bounces@ohnosec.org</a><span class="Apple-converted-space"> </span>[<a href="mailto:app_rpt-users-bounces@ohnosec.org" style="color: purple; text-decoration: underline;">mailto:app_rpt-users-bounces@ohnosec.org</a>]<span class="Apple-converted-space"> </span><b>On Behalf Of<span class="Apple-converted-space"> </span></b>Corey Dean<br><b>Sent:</b><span class="Apple-converted-space"> </span>Monday, April 04, 2011 3:36 PM<br><b>To:</b><span class="Apple-converted-space"> </span><a href="mailto:app_rpt-users@ohnosec.org" style="color: purple; text-decoration: underline;">app_rpt-users@ohnosec.org</a><br><b>Subject:</b><span class="Apple-converted-space"> </span>Re: [App_rpt-users] Registration issues<o:p></o:p></span></div></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Same 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…<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">/usr/bin/wget -q -O /tmp/rpt_extnodes-temp<span class="Apple-converted-space"> </span><a href="http://nodes3.allstarlink.org/cgi-bin/nodes.pl" style="color: purple; text-decoration: underline;">http://nodes3.allstarlink.org/cgi-bin/nodes.pl</a><o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">I 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.conf<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Corey N3FE<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div style="border-style: solid none none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0in 0in;"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><b><span style="font-size: 10pt; font-family: Tahoma, sans-serif;">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif;"><span class="Apple-converted-space"> </span><a href="mailto:app_rpt-users-bounces@ohnosec.org" style="color: purple; text-decoration: underline;">app_rpt-users-bounces@ohnosec.org</a><span class="Apple-converted-space"> </span>[<a href="mailto:app_rpt-users-bounces@ohnosec.org" style="color: purple; text-decoration: underline;">mailto:app_rpt-users-bounces@ohnosec.org</a>]<span class="Apple-converted-space"> </span><b>On Behalf Of<span class="Apple-converted-space"> </span></b>Randy Ballard<br><b>Sent:</b><span class="Apple-converted-space"> </span>Monday, April 04, 2011 3:16 PM<br><b>To:</b><span class="Apple-converted-space"> </span><a href="mailto:app_rpt-users@ohnosec.org" style="color: purple; text-decoration: underline;">app_rpt-users@ohnosec.org</a><br><b>Subject:</b><span class="Apple-converted-space"> </span>[App_rpt-users] Registration issues<o:p></o:p></span></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">My 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. <br clear="all"><br>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.<o:p></o:p></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">sometimes it may show up in a few hours or a day generally a reboot and its gone again<o:p></o:p></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Thanks for any help in advance<o:p></o:p></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">73<o:p></o:p></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Randy KB3HJC<o:p></o:p></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><br>--<span class="Apple-converted-space"> </span><br>This message was scanned and is believed to be clean.<span class="Apple-converted-space"> </span><br><a href="x-msg://5/%0d%0ahttp:/simba.repeater.net:8080/cgi-bin/learn-msg.cgi?id=A0E8F2F893.A7F89%0d%0a" style="color: purple; text-decoration: underline;">Click here to report this message as spam.</a><o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><br>--<span class="Apple-converted-space"> </span><br>This message was scanned and is believed to be clean.<span class="Apple-converted-space"> </span><br><a href="x-msg://5/%0d%0ahttp:/simba.repeater.net:8080/cgi-bin/learn-msg.cgi?id=6502B2F896.A79DB%0d%0a" style="color: purple; text-decoration: underline;">Click here to report this message as spam.</a><o:p></o:p></div></div>_______________________________________________<br>App_rpt-users mailing list<br><a href="mailto:App_rpt-users@ohnosec.org" style="color: purple; text-decoration: underline;">App_rpt-users@ohnosec.org</a><br><a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users" style="color: purple; text-decoration: underline;">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a><br></div></blockquote></div><br></body></html>