[App_rpt-users] IPs don`t update
Chuck Henderson
rpt2 at chuck.midlandsnetworking.com
Fri Mar 28 17:35:58 UTC 2014
I made a modification to my script some time ago and it seems to work
better for me. You might try this version that I am attaching. Your
mileage may vary. Chuck, WB9UUS
On Thu, Mar 27, 2014 at 2:32 AM, torben at klimt-online.com <
torben at klimt-online.com> wrote:
> hi doug,
> tnx for your answer. the probelm is that the file
> "/var/lib/asterisk/rpt_extnodes" don`t update.
> i do an ps ax | grep updatenodelist and get
>
> [root at DB0CJ asterisk]# ps ax | grep updatenodelist
> 2545 ? S 0:00 /bin/bash /etc/rc.d/rc.updatenodelist
> 5080 pts/0 S+ 0:00 grep updatenodelist
> [root at DB0CJ asterisk]#
>
> if i do an ./rc.updatenodelist in the /etc/rc.d/ nothing happen :-( i must
> break with CTRL+C :-(
> i think here is the problem..
>
> greetings torben dh6mbt
>
> ------------------------------
> *Von:* hotmail_97fc649978f54bf0 at live.com [
> hotmail_97fc649978f54bf0 at live.com] im Auftrag von Doug Crompton [
> doug at crompton.com]
> *Gesendet:* Mittwoch, 26. März 2014 23:55
> *An:* torben at klimt-online.com
> *Cc:* app_rpt-users at ohnosec.org
> *Betreff:* RE: [App_rpt-users] IPs don`t update
>
> I am not clear on what you said. Is it your nodes or the node database
> that is not being updated? Nodes are updated by a script called
> 'updatenodelist' This should be running on your system. do 'PS AX | grep
> updatenodelist' at the linux prompt and see if it is running. The nodes
> database is put in /var/lib/asterisk/rpt_extnodes
>
> If it is your node that does not update then....
>
> When this happens do 'iax2 show registry' in the asterisk client. Does
> it show registered and your new IP address?
>
> You can force a registration with 'iax2 reload'
>
> Worst case you could do the 'iax2 reload' with a cron job when you detect
> an IP address change.
>
>
>
> *73 Doug WA3DSP http://www.crompton.com/hamradio
> <http://www.crompton.com/hamradio>*
>
>
> > From: torben at klimt-online.com
> > To: app_rpt-users at ohnosec.org
> > Date: Wed, 26 Mar 2014 22:50:57 +0100
> > Subject: [App_rpt-users] IPs don`t update
> >
> > Hi all,
> > i set up an new allstarlink node and now i have the problem that the IPs
> of the other allstarlink nodes not update.
> > After restart the machine the IPs in the Database are correct and I can
> connect to my other nodes. But after 24h my nodes get new IPs from the
> Internetprovider and then it is no longer possible cause the new
> allstarlink node should always try to reach the old IP address.
> > I think there is a problem by updating the allstarlink nodenumber - IP
> address database
> > Where is the file located or what can I do for debugging or better fix
> the problem
> >
> > Tnx 73...
> > _______________________________________________
> > App_rpt-users mailing list
> > App_rpt-users at ohnosec.org
> > http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
> >
> > To unsubscribe from this list please visit
> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down
> to the bottom of the page. Enter your email address and press the
> "Unsubscribe or edit options button"
> > You do not need a password to unsubscribe, you can do it via email
> confirmation. If you have trouble unsubscribing, please send a message to
> the list detailing the problem.
> >
>
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at ohnosec.org
> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
>
> To unsubscribe from this list please visit
> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down
> to the bottom of the page. Enter your email address and press the
> "Unsubscribe or edit options button"
> You do not need a password to unsubscribe, you can do it via email
> confirmation. If you have trouble unsubscribing, please send a message to
> the list detailing the problem.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.keekles.org/pipermail/app_rpt-users/attachments/20140328/49c2fb37/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rc.updatenodelist
Type: application/octet-stream
Size: 2264 bytes
Desc: not available
URL: <http://lists.keekles.org/pipermail/app_rpt-users/attachments/20140328/49c2fb37/attachment.obj>
More information about the App_rpt-users
mailing list