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.