:: Re: [DNG] Is NetworkManager suppose…
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Simon Walter
Ημερομηνία:  
Προς: dng
Αντικείμενο: Re: [DNG] Is NetworkManager supposed to work?
On 1/9/19 2:54 AM, info at smallinnovations dot nl wrote:
> On 08-01-19 13:59, Simon Walter wrote:
>>
>> Many thanks for the help.
>>
>> Yes, wireless LAN works from all my other computers. The Internet is
>> accessible from them. I have a router that does the PPPOE and DHCP and
>> DNS and NTP and a bunch of other things (dd-wrt).
>>
>> I can connect to the wireless LAN via NetworkManager. I am asked for a
>> password. The connection is made. I can ping any ip address including
>> 8.8.8.8. The /etc/resolv.conf contains "# Generated by Connection
>> Manager\nnameserver 127.0.0.1\nnameserver ::1" which does have
>> dnsmasq-base listening on port 53. I checked it (nmap 127.0.0.1 -p 53)
>> and it was open.
>>
>> That seems to make sense, but I have never seen a working NetworkManager
>> setup. So I don't know what to expect.
>>
>> Any more ideas?
>> _______________________________________________
>> Dng mailing list
>> Dng@???
>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>
> I recognize the problem from a Ubuntu system i still have. Look for
> /etc/NetworkManager/NetworkManager.conf and comment out the line:
> dns=dnsmasq
>
> After that logout or reboot and your DNS should work again.
>
> Grtz.
>
> Nick


Yes. this is what I read elsewhere on the net. However it turns out that
for whatever reason (maybe combination of tasksel packages?) I had
connman and NetworkManager installed.

The hint for me was that my /etc/resolv.conf contains "# Generated by
Connection Manager". This is a totally different program. Which I
removed and set the /etc/resolv.conf link to point to
/run/resolvconf/resolv.conf and installed resolvconf. I also set up my
config files as Andreas suggested:

andi@zeus:~$ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown
dns=dnsmasq

[ifupdown]
managed=false
andi@zeus:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

-------------

The only thing I was missing was "dns=dnsmasq".

This still did not work. So after learning about connman, I decided to
try that. I removed NetworkManager and reinstalled connman and the
"systray" app cmst "just worked". I cringe at that phrase. Sorry if it
disturbs you too. LOL

So I think I may never get to experience NetworkManager, but this is
fine for now.

Best regards and thanks for all the advice,

Simon