Συντάκτης: Simon Hobson Ημερομηνία: Προς: dng Αντικείμενο: Re: [DNG] Is NetworkManager supposed to work?
Simon Walter <simon@???> wrote:
> 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.
So that sounds very much like NetworkManager is working - you have a working network connection !
> 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.
Yes, you mentioned earlier that you were running dnsmasq - that means you are running a local DNS service. Have you configured that with the address(es) of at least one external DNS resolver. As I read the description on Wikipedia, dnsmasq is a forwarder not a resolver - that means that it can't do the recursive lookups a resolver does, just forward queries to an outside resolver and cache the responses.
If you haven't told dnsmasq where to get it's answers from, then it won't be working for you.
<info@???> wrote:
> 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.
I'm guessing that this disables using the local DNS service - if so then that's not fixing the problem (local DNS service not working), only fixing the symptom (by not trying to use the local service).