While trying to figure out why, apparently, a node on my DIAL box dropped all of it's connection, I began to wonder what the logs look like on the register.allstarlink.org server. How may a controlled few of us have access to this? What lead me up to this, is evidently I don't have log rotate turned on, and asterisk, or some other magical force, decided to stop asterisk from logging after the log file was 25MB. Not knowing if Asterisk logger just appends the file with logging info or what. In any event, I copied the messages log file, and removed the original, and touched a new messages log. Then I went into the asterisk console, and restarted the logger module. It is logging again. This said, while trying to troubleshoot things, I would login to an ASL box I have access to, and watch the logs when I make a node connection to it, and also watch the logs on myside. Somethings I have noticed: - Using DIAL 8.2, I've never noticed any issues with connections, either outbound or inbound. - Using DIAL 8.2, this is what I would see: [Nov 11 21:26:30] WARNING[545]: chan_iax2.c:10127 iax2_do_register: REGISTER-LOG: Sending registration request for '45221' [Nov 11 21:26:31] WARNING[553]: chan_iax2.c:7690 registry_rerequest: REGISTER-LOG: registry rereqquest (from memory) REGISTER with 67.x.x.x who sees us as x.x.x.x:4569 with no messages waiting. - I see now when someone connects: Accepting UNAUTHENTICATED call from 67.215.233.178: > requested format = slin, > requested prefs = (), > actual format = ulaw, > host prefs = (ulaw|g726aal2|gsm), > priority = mine -- Executing [45221@radio-secure:1] Rpt("IAX2/67.215.233.178:4569- 5735", "45221") in new stack whereas before it was: AUTHENTICATED Plus I see a whole bunch of these every few minutes (this is maybe 1/3 count of these lines when it happens. notice the time. [Oct 28 21:57:04] DEBUG[24946] channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=51) [Oct 28 21:57:04] DEBUG[24946] channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=51) [Oct 28 21:57:04] DEBUG[24946] channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=51) [Oct 28 21:57:04] DEBUG[24946] channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=51) [Oct 28 21:57:04] DEBUG[24946] channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=51) [Oct 28 21:57:04] DEBUG[24946] channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=51) [Oct 28 21:57:04] DEBUG[24946] channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=51) [Oct 28 21:57:04] DEBUG[24946] channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=51) [Oct 28 21:57:04] DEBUG[24946] channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=51) [Oct 28 21:57:04] DEBUG[24946] channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=51) [Oct 28 21:57:04] DEBUG[24946] channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=51) [Oct 28 21:57:04] DEBUG[24946] channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=51) [Oct 28 21:57:04] DEBUG[24946] channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=51) [Oct 28 21:57:04] DEBUG[24946] channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=51) [Oct 28 21:57:04] DEBUG[24946] channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=51)
I just went through this yesterday with a new DIAL installation (http://dvswitch.org/files/AllStarLink/RAT_RC1.tar.gz). As you have observed, netsetup (for Static setup mode) sets the DNS nameservers in /etc/resolv.conf but updating that file directly is not supported for the OS. On reboot, the resolvconf process overwrites /etc/resolv.conf again and removes those entries. And as you also found, entering dns-nameservers in /etc/network/interfaces doesn't work with resovconf. I've decided to use netsetup to set networking to DHCP and I set a static MAC entry for the IP I want assigned in my router. This works as expected. 73 Danny K5CG
I only had a public IP available, no DHCP. Just learned this... Edit /etc/resolvconf.conf "#name_servers=" to "name_servers=8.8.8.8" or what ever DNS you'd like Save and reboot. Works great. Thanks, Bob k6ecm 73 _____ From: App_rpt-users [mailto:app_rpt-users-bounces@lists.allstarlink.org] On Behalf Of K5CG Sent: Sunday, November 12, 2017 9:38 AM To: Users of Asterisk app_rpt Subject: Re: [App_rpt-users] DNS Setup I just went through this yesterday with a new DIAL installation (http://dvswitch.org/files/AllStarLink/RAT_RC1.tar.gz). As you have observed, netsetup (for Static setup mode) sets the DNS nameservers in /etc/resolv.conf but updating that file directly is not supported for the OS. On reboot, the resolvconf process overwrites /etc/resolv.conf again and removes those entries. And as you also found, entering dns-nameservers in /etc/network/interfaces doesn't work with resovconf. I've decided to use netsetup to set networking to DHCP and I set a static MAC entry for the IP I want assigned in my router. This works as expected. 73 Danny K5CG
That's good to know Bob. I'll keep this note handy. The Wiki recommends the wrong thing too. http://wiki.allstarlink.org/wiki/DIAL_FAQ Now, how do we get the maintainer of the build to fix the netsetup script? # Setup network paramaters # # Parts borrowed from ACID and Pickle linux # # 9/23/2015 N4IRS # I see N4IRS is Steve, the list owner so I added him here to the CC. Steve, please advise if there is a process to get this into a dev queue. Thanks 73 Danny K5CG
From: "Bob" <k6ecm1@gmail.com> To: "Users of Asterisk app_rpt" <app_rpt-users@lists.allstarlink.org> Sent: Sunday, November 12, 2017 11:49:27 AM Subject: Re: [App_rpt-users] DNS Setup
I only had a public IP available, no DHCP. Just learned this...
Edit /etc/resolvconf.conf
"#name_servers=" to "name_servers=8.8.8.8" or what ever DNS you'd like
Save and reboot. Works great.
Thanks,
Bob
k6ecm
73
From: App_rpt-users [mailto:app_rpt-users-bounces@lists.allstarlink.org] On Behalf Of K5CG Sent: Sunday, November 12, 2017 9:38 AM To: Users of Asterisk app_rpt Subject: Re: [App_rpt-users] DNS Setup
I just went through this yesterday with a new DIAL installation (http://dvswitch.org/files/AllStarLink/RAT_RC1.tar.gz).
As you have observed, netsetup (for Static setup mode) sets the DNS nameservers in /etc/resolv.conf but updating that file directly is not supported for the OS. On reboot, the resolvconf process overwrites /etc/resolv.conf again and removes those entries.
And as you also found, entering dns-nameservers in /etc/network/interfaces doesn't work with resovconf.
I've decided to use netsetup to set networking to DHCP and I set a static MAC entry for the IP I want assigned in my router. This works as expected.
73
Danny
K5CG
_______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.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.
I updated the wiki to reflect this. It would be good if the build would handle it. /etc/resolvconf is modifying /etc/resolv.conf, which can appear to be changed manually, but gets restored to the /etc/resolvconf setting upon reboot. This is a function of the Debian used by DIAL. It appears to me that it is a nontrivial update to netsetup to modify /etc/resolvconf unless it is somehow disabled which can confuse things by making the Debian nonstandard. Thanks, Bob K6ECM 73
On Nov 12, 2017, at 10:13 AM, K5CG <k5cg@hamoperator.org> wrote:
That's good to know Bob. I'll keep this note handy.
The Wiki recommends the wrong thing too.
http://wiki.allstarlink.org/wiki/DIAL_FAQ
Now, how do we get the maintainer of the build to fix the netsetup script?
# Setup network paramaters # # Parts borrowed from ACID and Pickle linux # # 9/23/2015 N4IRS #
I see N4IRS is Steve, the list owner so I added him here to the CC.
Steve, please advise if there is a process to get this into a dev queue.
Thanks
73 Danny K5CG
From: "Bob" <k6ecm1@gmail.com> To: "Users of Asterisk app_rpt" <app_rpt-users@lists.allstarlink.org> Sent: Sunday, November 12, 2017 11:49:27 AM Subject: Re: [App_rpt-users] DNS Setup I only had a public IP available, no DHCP. Just learned this...
Edit /etc/resolvconf.conf "#name_servers=" to "name_servers=8.8.8.8" or what ever DNS you'd like
Save and reboot. Works great.
Thanks, Bob k6ecm 73
From: App_rpt-users [mailto:app_rpt-users-bounces@lists.allstarlink.org] On Behalf Of K5CG Sent: Sunday, November 12, 2017 9:38 AM To: Users of Asterisk app_rpt Subject: Re: [App_rpt-users] DNS Setup
I just went through this yesterday with a new DIAL installation (http://dvswitch.org/files/AllStarLink/RAT_RC1.tar.gz).
As you have observed, netsetup (for Static setup mode) sets the DNS nameservers in /etc/resolv.conf but updating that file directly is not supported for the OS. On reboot, the resolvconf process overwrites /etc/resolv.conf again and removes those entries.
And as you also found, entering dns-nameservers in /etc/network/interfaces doesn't work with resovconf.
I've decided to use netsetup to set networking to DHCP and I set a static MAC entry for the IP I want assigned in my router. This works as expected.
73 Danny K5CG
_______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.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@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.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.
netsetup is being replaced. In the meantime: edit /etc/resolvconf.conf <---------------------- Not a typo add: name_servers="8.8.8.8 4.2.2.1" reboot or resolvconf -u 73, Steve N4IRS On 11/12/2017 02:10 PM, Bob Pyke wrote:
I updated the wiki to reflect this. It would be good if the build would handle it. /etc/resolvconf is modifying /etc/resolv.conf, which can appear to be changed manually, but gets restored to the /etc/resolvconf setting upon reboot. This is a function of the Debian used by DIAL. It appears to me that it is a nontrivial update to netsetup to modify /etc/resolvconf unless it is somehow disabled which can confuse things by making the Debian nonstandard.
Thanks, Bob K6ECM 73
On Nov 12, 2017, at 10:13 AM, K5CG <k5cg@hamoperator.org <mailto:k5cg@hamoperator.org>> wrote:
That's good to know Bob. I'll keep this note handy.
The Wiki recommends the wrong thing too.
http://wiki.allstarlink.org/wiki/DIAL_FAQ
Now, how do we get the maintainer of the build to fix the netsetup script?
# Setup network paramaters # # Parts borrowed from ACID and Pickle linux # # 9/23/2015 N4IRS #
I see N4IRS is Steve, the list owner so I added him here to the CC.
Steve, please advise if there is a process to get this into a dev queue.
Thanks
73 Danny K5CG
------------------------------------------------------------------------
*From: *"Bob" <k6ecm1@gmail.com <mailto:k6ecm1@gmail.com>> *To: *"Users of Asterisk app_rpt" <app_rpt-users@lists.allstarlink.org <mailto:app_rpt-users@lists.allstarlink.org>> *Sent: *Sunday, November 12, 2017 11:49:27 AM *Subject: *Re: [App_rpt-users] DNS Setup
I only had a public IP available, no DHCP. Just learned this...
Edit /etc/resolvconf.conf
"#name_servers=" to "name_servers=8.8.8.8" or what ever DNS you'd like
Save and reboot. Works great.
Thanks,
Bob
k6ecm
73
------------------------------------------------------------------------
*From:*App_rpt-users [mailto:app_rpt-users-bounces@lists.allstarlink.org] *On Behalf Of *K5CG *Sent:* Sunday, November 12, 2017 9:38 AM *To:* Users of Asterisk app_rpt *Subject:* Re: [App_rpt-users] DNS Setup
I just went through this yesterday with a new DIAL installation (http://dvswitch.org/files/AllStarLink/RAT_RC1.tar.gz).
As you have observed, netsetup (for Static setup mode) sets the DNS nameservers in /etc/resolv.conf but updating that file directly is not supported for the OS. On reboot, the resolvconf process overwrites /etc/resolv.conf again and removes those entries.
And as you also found, entering dns-nameservers in /etc/network/interfaces doesn't work with resovconf.
I've decided to use netsetup to set networking to DHCP and I set a static MAC entry for the IP I want assigned in my router. This works as expected.
73
Danny
K5CG
_______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org <mailto:App_rpt-users@lists.allstarlink.org> http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.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@lists.allstarlink.org <mailto:App_rpt-users@lists.allstarlink.org> http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.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@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.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.
Cool, thanks Steve Bob k6ecm 73 _____ From: App_rpt-users [mailto:app_rpt-users-bounces@lists.allstarlink.org] On Behalf Of Steve Zingman Sent: Sunday, November 12, 2017 12:00 PM To: Users of Asterisk app_rpt Subject: Re: [App_rpt-users] DNS Setup netsetup is being replaced. In the meantime: edit /etc/resolvconf.conf <---------------------- Not a typo add: name_servers="8.8.8.8 4.2.2.1" reboot or resolvconf -u 73, Steve N4IRS On 11/12/2017 02:10 PM, Bob Pyke wrote: I updated the wiki to reflect this. It would be good if the build would handle it. /etc/resolvconf is modifying /etc/resolv.conf, which can appear to be changed manually, but gets restored to the /etc/resolvconf setting upon reboot. This is a function of the Debian used by DIAL. It appears to me that it is a nontrivial update to netsetup to modify /etc/resolvconf unless it is somehow disabled which can confuse things by making the Debian nonstandard. Thanks, Bob K6ECM 73 On Nov 12, 2017, at 10:13 AM, K5CG <k5cg@hamoperator.org> wrote: That's good to know Bob. I'll keep this note handy. The Wiki recommends the wrong thing too. http://wiki.allstarlink.org/wiki/DIAL_FAQ Now, how do we get the maintainer of the build to fix the netsetup script? # Setup network paramaters # # Parts borrowed from ACID and Pickle linux # # 9/23/2015 N4IRS # I see N4IRS is Steve, the list owner so I added him here to the CC. Steve, please advise if there is a process to get this into a dev queue. Thanks 73 Danny K5CG _____ From: "Bob" <k6ecm1@gmail.com> To: "Users of Asterisk app_rpt" <app_rpt-users@lists.allstarlink.org> Sent: Sunday, November 12, 2017 11:49:27 AM Subject: Re: [App_rpt-users] DNS Setup I only had a public IP available, no DHCP. Just learned this... Edit /etc/resolvconf.conf "#name_servers=" to "name_servers=8.8.8.8" or what ever DNS you'd like Save and reboot. Works great. Thanks, Bob k6ecm 73 _____ From: App_rpt-users [mailto:app_rpt-users-bounces@lists.allstarlink.org] On Behalf Of K5CG Sent: Sunday, November 12, 2017 9:38 AM To: Users of Asterisk app_rpt Subject: Re: [App_rpt-users] DNS Setup I just went through this yesterday with a new DIAL installation (http://dvswitch.org/files/AllStarLink/RAT_RC1.tar.gz). As you have observed, netsetup (for Static setup mode) sets the DNS nameservers in /etc/resolv.conf but updating that file directly is not supported for the OS. On reboot, the resolvconf process overwrites /etc/resolv.conf again and removes those entries. And as you also found, entering dns-nameservers in /etc/network/interfaces doesn't work with resovconf. I've decided to use netsetup to set networking to DHCP and I set a static MAC entry for the IP I want assigned in my router. This works as expected. 73 Danny K5CG _______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users To unsubscribe from this list please visit http://lists.allstarlink.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@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users To unsubscribe from this list please visit http://lists.allstarlink.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@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users To unsubscribe from this list please visit http://lists.allstarlink.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.
participants (5)
-
Benjamin Naber -
Bob -
Bob Pyke -
K5CG -
Steve Zingman