<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Monaco;
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.apple-style-span
{mso-style-name:apple-style-span;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>You going back in time??? Lol… this was from way back in 2011….<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Corey N3FE<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Tim Sawyer [mailto:tim.sawyer@mac.com] <br><b>Sent:</b> Saturday, December 07, 2013 1:17 PM<br><b>To:</b> Corey Dean<br><b>Cc:</b> app_rpt-users@ohnosec.org<br><b>Subject:</b> Re: [App_rpt-users] Registration issues<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'>Corey,<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'>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.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'>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. <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'>Here is a modified version of rc.updatesnodelist. Put this in a file, mark it executable and run it. <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'>#! /bin/sh<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'>TOPDOMAIN=<a href="http://allstarlink.org">allstarlink.org</a><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'>SUBDOMAINS="nodes1 nodes2 nodes3"<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'>FILEPATH=/var/lib/asterisk<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'>WGET=`which wget` <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'>for i in $SUBDOMAINS; do<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'> res=0<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'> while [ $res -eq 0 ]; do<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'> $WGET -O $FILEPATH/rpt_extnodes-temp <a href="http://$i.$TOPDOMAIN/cgi-bin/nodes.pl">http://$i.$TOPDOMAIN/cgi-bin/nodes.pl</a><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'> res=$?<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'> if [ $res -eq 0 ]; then<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'> /bin/chmod 700 $FILEPATH/rpt_extnodes-temp<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'> /bin/mv -f $FILEPATH/rpt_extnodes-temp $FILEPATH/rpt_extnodes<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'> echo "Retrieved node list from $i.$TOPDOMAIN"<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'> date<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'> #sleep 600<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'> exit 0<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'> else<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'> echo "Problem retrieving node list from $i.$TOPDOMAIN, trying another server";<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'> sleep 30<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'> fi<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'> done<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'>done<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'>Or you could just issue the following wget command. Note the host is nodes1 where the above script will try nodes1, nodes2 and nodes3.<o:p></o:p></span></p></div><div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'>/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><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Monaco","serif"'><o:p> </o:p></span></p></div></div><div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:black'>--<br>Tim<br>:wq<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Apr 4, 2011, at 1:24 PM, Corey Dean <<a href="mailto:n3fe@repeater.net">n3fe@repeater.net</a>> wrote:<o:p></o:p></p></div><p class=MsoNormal><br><br><o:p></o:p></p><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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…</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><div><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span class=apple-converted-space><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> </span></span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><a href="mailto:app_rpt-users-bounces@ohnosec.org"><span style='color:purple'>app_rpt-users-bounces@ohnosec.org</span></a><span class=apple-converted-space> </span>[<a href="mailto:app_rpt-users-bounces@ohnosec.org"><span style='color:purple'>mailto:app_rpt-users-bounces@ohnosec.org</span></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"><span style='color:purple'>app_rpt-users@ohnosec.org</span></a><br><b>Subject:</b><span class=apple-converted-space> </span>Re: [App_rpt-users] Registration issues</span><o:p></o:p></p></div></div></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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…</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>/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"><span style='color:purple'>http://nodes3.allstarlink.org/cgi-bin/nodes.pl</span></a></span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Corey N3FE</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><div><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span class=apple-converted-space><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> </span></span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><a href="mailto:app_rpt-users-bounces@ohnosec.org"><span style='color:purple'>app_rpt-users-bounces@ohnosec.org</span></a><span class=apple-converted-space> </span>[<a href="mailto:app_rpt-users-bounces@ohnosec.org"><span style='color:purple'>mailto:app_rpt-users-bounces@ohnosec.org</span></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"><span style='color:purple'>app_rpt-users@ohnosec.org</span></a><br><b>Subject:</b><span class=apple-converted-space> </span>[App_rpt-users] Registration issues</span><o:p></o:p></p></div></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal>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></p></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=MsoNormal>sometimes it may show up in a few hours or a day generally a reboot and its gone again<o:p></o:p></p></div></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=MsoNormal>Thanks for any help in advance<o:p></o:p></p></div></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=MsoNormal>73<o:p></o:p></p></div></div><div><div><p class=MsoNormal>Randy KB3HJC<o:p></o:p></p></div></div><div><p class=MsoNormal><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"><span style='color:purple'>Click here to report this message as spam.</span></a><o:p></o:p></p></div><div><p class=MsoNormal><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"><span style='color:purple'>Click here to report this message as spam.</span></a><o:p></o:p></p></div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'>_______________________________________________<br>App_rpt-users mailing list<br><a href="mailto:App_rpt-users@ohnosec.org"><span style='color:purple'>App_rpt-users@ohnosec.org</span></a><br><a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users"><span style='color:purple'>http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</span></a><o:p></o:p></span></p></div></div><p class=MsoNormal><br><br>-- <br>This message was scanned and is believed to be clean. <br><a href="http://simba.repeater.net:8080/cgi-bin/learn-msg.cgi?id=D810CD013E.ADF44">Click here to report this message as spam.</a> <o:p></o:p></p></div></body></html>