[Desktop-packages] [Bug 998642] Re: network-manager failed to set custom DNS for Mobile Broadband (ppp)
Sounds as if this is an adequate solution for you for now. If you don't know how to create a symbolic link then you should toy with your system as little as possible. ** Changed in: network-manager (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/998642 Title: network-manager failed to set custom DNS for Mobile Broadband (ppp) Status in “network-manager” package in Ubuntu: Invalid Bug description: I added custom DNS nameservers (OpenDNS) to Mobile Broadband connection. The output of nm-tools is: dixon@dixon-vaio:~$ nm-tool NetworkManager Tool State: connected (global) - Device: ttyACM0 [AIRCEL GPRS] --- Type: Mobile Broadband (GSM) Driver:cdc_acm State: connected Default: yes Capabilities: IPv4 Settings: Address: 49.137.76.104 Prefix: 32 (255.255.255.255) Gateway: 10.6.6.6 DNS: 208.67.222.222 DNS: 208.67.220.220 - Device: eth0 - Type: Wired Driver:r8169 State: unavailable Default: no HW Address:78:84:3C:E5:2C:E8 Capabilities: Carrier Detect: yes Wired Properties Carrier: off - Device: wlan0 Type: 802.11 WiFi Driver:ath9k State: unavailable Default: no HW Address:90:00:4E:D2:24:5D Capabilities: Wireless Properties WEP Encryption: yes WPA Encryption: yes WPA2 Encryption: yes Wireless Access Points Here it shows DNS nameserver of OpenDNS as i set in NetworkManager. ( 208.67.222.222, 208.67.220.220 ). But cat /etc/resolv.conf output shows: dixon@dixon-vaio:~$ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 202.148.202.4 nameserver 202.148.200.3 nameserver 127.0.0.1 Which is provided by my ISP. Also dig google.com shows: dixon@dixon-vaio:~$ dig google.com ; <<>> DiG 9.8.1-P1 <<>> google.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4053 ;; flags: qr rd ra; QUERY: 1, ANSWER: 11, AUTHORITY: 4, ADDITIONAL: 4 ;; QUESTION SECTION: ;google.com. IN A ;; ANSWER SECTION: google.com. 109 IN A 74.125.236.164 google.com. 109 IN A 74.125.236.165 google.com. 109 IN A 74.125.236.166 google.com. 109 IN A 74.125.236.167 google.com. 109 IN A 74.125.236.168 google.com. 109 IN A 74.125.236.169 google.com. 109 IN A 74.125.236.174 google.com. 109 IN A 74.125.236.160 google.com. 109 IN A 74.125.236.161 google.com. 109 IN A 74.125.236.162 google.com. 109 IN A 74.125.236.163 ;; AUTHORITY SECTION: google.com. 4314IN NS ns2.google.com. google.com. 4314IN NS ns3.google.com. google.com. 4314IN NS ns4.google.com. google.com. 4314IN NS ns1.google.com. ;; ADDITIONAL SECTION: ns1.google.com. 177114 IN A 216.239.32.10 ns2.google.com. 177114 IN A 216.239.34.10 ns3.google.com. 177114 IN A 216.239.36.10 ns4.google.com. 177114 IN A 216.239.38.10 ;; Query time: 574 msec ;; SERVER: 202.148.202.4#53(202.148.202.4) ;; WHEN: Sun May 13 11:54:39 2012 ;; MSG SIZE rcvd: 340 Shows DNS as 202.148.202.4 and OpenDNS seems ignored. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: network-manager 0.9.4.0-0ubuntu3 ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14 Uname: Linux 3.2.0-24-generic x86_64 ApportVersion: 2.0.1-0ubuntu7 Architecture: amd64 Date: Sun May 13 12:24:12 2012 IfupdownConfig: auto lo iface lo inet loopback InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425) IpRoute: default via 10.6.6.6 dev ppp0 proto static 10.6.6.6 dev ppp0 proto kernel scope link src 49.137.76.104 169.254.0.0/16 dev ppp0 scope link metric 1000 NetworkManager.state: [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true WimaxEnabled=true ProcEnviron:
[Desktop-packages] [Bug 998642] Re: network-manager failed to set custom DNS for Mobile Broadband (ppp)
My resolv.config shows: dixon@dixon-vaio:~$ ls -l /etc/resolv.conf lrwxrwxrwx 1 root root 29 May 9 06:59 /etc/resolv.conf -> ../run/resolvconf/resolv.conf To remove permissions, i deleted the file: dixon@dixon-vaio:~$ sudo rm /etc/resolv.conf And then restored from previous backup: dixon@dixon-vaio:~$ sudo cp /etc/resolv.conf.bak /etc/resolv.conf Now: dixon@dixon-vaio:~$ ls -l /etc/resolv.conf -rw-r--r-- 1 root root 172 May 25 02:17 /etc/resolv.conf Here the link to "../run/resolvconf/resolv.conf" is missing. Will it cause any problem..? How can i create this link ? Contents of resolv.conf: dixon@dixon-vaio:~$ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 127.0.0.1 And, Now it seems the problem solved !! "http://www.opendns.com/welcome/"; Shows am using opendns now !! Also "http://myresolver.info/"; Gives an opendns ip !! -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/998642 Title: network-manager failed to set custom DNS for Mobile Broadband (ppp) Status in “network-manager” package in Ubuntu: New Bug description: I added custom DNS nameservers (OpenDNS) to Mobile Broadband connection. The output of nm-tools is: dixon@dixon-vaio:~$ nm-tool NetworkManager Tool State: connected (global) - Device: ttyACM0 [AIRCEL GPRS] --- Type: Mobile Broadband (GSM) Driver:cdc_acm State: connected Default: yes Capabilities: IPv4 Settings: Address: 49.137.76.104 Prefix: 32 (255.255.255.255) Gateway: 10.6.6.6 DNS: 208.67.222.222 DNS: 208.67.220.220 - Device: eth0 - Type: Wired Driver:r8169 State: unavailable Default: no HW Address:78:84:3C:E5:2C:E8 Capabilities: Carrier Detect: yes Wired Properties Carrier: off - Device: wlan0 Type: 802.11 WiFi Driver:ath9k State: unavailable Default: no HW Address:90:00:4E:D2:24:5D Capabilities: Wireless Properties WEP Encryption: yes WPA Encryption: yes WPA2 Encryption: yes Wireless Access Points Here it shows DNS nameserver of OpenDNS as i set in NetworkManager. ( 208.67.222.222, 208.67.220.220 ). But cat /etc/resolv.conf output shows: dixon@dixon-vaio:~$ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 202.148.202.4 nameserver 202.148.200.3 nameserver 127.0.0.1 Which is provided by my ISP. Also dig google.com shows: dixon@dixon-vaio:~$ dig google.com ; <<>> DiG 9.8.1-P1 <<>> google.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4053 ;; flags: qr rd ra; QUERY: 1, ANSWER: 11, AUTHORITY: 4, ADDITIONAL: 4 ;; QUESTION SECTION: ;google.com. IN A ;; ANSWER SECTION: google.com. 109 IN A 74.125.236.164 google.com. 109 IN A 74.125.236.165 google.com. 109 IN A 74.125.236.166 google.com. 109 IN A 74.125.236.167 google.com. 109 IN A 74.125.236.168 google.com. 109 IN A 74.125.236.169 google.com. 109 IN A 74.125.236.174 google.com. 109 IN A 74.125.236.160 google.com. 109 IN A 74.125.236.161 google.com. 109 IN A 74.125.236.162 google.com. 109 IN A 74.125.236.163 ;; AUTHORITY SECTION: google.com. 4314IN NS ns2.google.com. google.com. 4314IN NS ns3.google.com. google.com. 4314IN NS ns4.google.com. google.com. 4314IN NS ns1.google.com. ;; ADDITIONAL SECTION: ns1.google.com. 177114 IN A 216.239.32.10 ns2.google.com. 177114 IN A 216.239.34.10 ns3.google.com. 177114 IN A 216.239.36.10 ns4.google.com. 177114 IN A 216.239.38.10 ;; Query time: 574 msec ;; SERVER: 202.148.202.4#53(202.148.202.4) ;; WHEN: Sun May 13 11:54:39 2012 ;; MSG SIZE rcvd: 340 Shows DNS as 202.148.202.4 and OpenDNS seems ignored.
[Desktop-packages] [Bug 998642] Re: network-manager failed to set custom DNS for Mobile Broadband (ppp)
Given that "dns=dnsmasq" is set in /etc/NetworkManager/NetworkManager.conf, the resolv.conf should contain only one "nameserver" line with "127.0.0.1" as argument. Your resolv.conf contains two other "nameserver" lines before the "nameserver 127.0.0.1" line. Why? Please post the output of: ls -l /etc/resolv.conf cat /etc/resolv.conf ls -l /run/resolvconf ls -l /run/resolvconf/interface for F in /run/resolvconf/interface/* ; do echo "=== $F ===" ; cat "$F" ; done for F in /etc/resolvconf/resolv.conf.d/* ; do echo "=== $F ===" ; cat "$F" ; done cat /run/nm-dns-dnsmasq.conf -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/998642 Title: network-manager failed to set custom DNS for Mobile Broadband (ppp) Status in “network-manager” package in Ubuntu: New Bug description: I added custom DNS nameservers (OpenDNS) to Mobile Broadband connection. The output of nm-tools is: dixon@dixon-vaio:~$ nm-tool NetworkManager Tool State: connected (global) - Device: ttyACM0 [AIRCEL GPRS] --- Type: Mobile Broadband (GSM) Driver:cdc_acm State: connected Default: yes Capabilities: IPv4 Settings: Address: 49.137.76.104 Prefix: 32 (255.255.255.255) Gateway: 10.6.6.6 DNS: 208.67.222.222 DNS: 208.67.220.220 - Device: eth0 - Type: Wired Driver:r8169 State: unavailable Default: no HW Address:78:84:3C:E5:2C:E8 Capabilities: Carrier Detect: yes Wired Properties Carrier: off - Device: wlan0 Type: 802.11 WiFi Driver:ath9k State: unavailable Default: no HW Address:90:00:4E:D2:24:5D Capabilities: Wireless Properties WEP Encryption: yes WPA Encryption: yes WPA2 Encryption: yes Wireless Access Points Here it shows DNS nameserver of OpenDNS as i set in NetworkManager. ( 208.67.222.222, 208.67.220.220 ). But cat /etc/resolv.conf output shows: dixon@dixon-vaio:~$ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 202.148.202.4 nameserver 202.148.200.3 nameserver 127.0.0.1 Which is provided by my ISP. Also dig google.com shows: dixon@dixon-vaio:~$ dig google.com ; <<>> DiG 9.8.1-P1 <<>> google.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4053 ;; flags: qr rd ra; QUERY: 1, ANSWER: 11, AUTHORITY: 4, ADDITIONAL: 4 ;; QUESTION SECTION: ;google.com. IN A ;; ANSWER SECTION: google.com. 109 IN A 74.125.236.164 google.com. 109 IN A 74.125.236.165 google.com. 109 IN A 74.125.236.166 google.com. 109 IN A 74.125.236.167 google.com. 109 IN A 74.125.236.168 google.com. 109 IN A 74.125.236.169 google.com. 109 IN A 74.125.236.174 google.com. 109 IN A 74.125.236.160 google.com. 109 IN A 74.125.236.161 google.com. 109 IN A 74.125.236.162 google.com. 109 IN A 74.125.236.163 ;; AUTHORITY SECTION: google.com. 4314IN NS ns2.google.com. google.com. 4314IN NS ns3.google.com. google.com. 4314IN NS ns4.google.com. google.com. 4314IN NS ns1.google.com. ;; ADDITIONAL SECTION: ns1.google.com. 177114 IN A 216.239.32.10 ns2.google.com. 177114 IN A 216.239.34.10 ns3.google.com. 177114 IN A 216.239.36.10 ns4.google.com. 177114 IN A 216.239.38.10 ;; Query time: 574 msec ;; SERVER: 202.148.202.4#53(202.148.202.4) ;; WHEN: Sun May 13 11:54:39 2012 ;; MSG SIZE rcvd: 340 Shows DNS as 202.148.202.4 and OpenDNS seems ignored. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: network-manager 0.9.4.0-0ubuntu3 ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14 Uname: Linux 3.2.0-24-generic x86_64 ApportVersion: 2.0.1-0ubuntu7 Architecture: amd64 Date: Sun May 13 12:24:12 2012 IfupdownConfig: auto lo iface lo inet loopback InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Releas
[Desktop-packages] [Bug 998642] Re: network-manager failed to set custom DNS for Mobile Broadband (ppp)
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/998642 Title: network-manager failed to set custom DNS for Mobile Broadband (ppp) Status in “network-manager” package in Ubuntu: New Bug description: I added custom DNS nameservers (OpenDNS) to Mobile Broadband connection. The output of nm-tools is: dixon@dixon-vaio:~$ nm-tool NetworkManager Tool State: connected (global) - Device: ttyACM0 [AIRCEL GPRS] --- Type: Mobile Broadband (GSM) Driver:cdc_acm State: connected Default: yes Capabilities: IPv4 Settings: Address: 49.137.76.104 Prefix: 32 (255.255.255.255) Gateway: 10.6.6.6 DNS: 208.67.222.222 DNS: 208.67.220.220 - Device: eth0 - Type: Wired Driver:r8169 State: unavailable Default: no HW Address:78:84:3C:E5:2C:E8 Capabilities: Carrier Detect: yes Wired Properties Carrier: off - Device: wlan0 Type: 802.11 WiFi Driver:ath9k State: unavailable Default: no HW Address:90:00:4E:D2:24:5D Capabilities: Wireless Properties WEP Encryption: yes WPA Encryption: yes WPA2 Encryption: yes Wireless Access Points Here it shows DNS nameserver of OpenDNS as i set in NetworkManager. ( 208.67.222.222, 208.67.220.220 ). But cat /etc/resolv.conf output shows: dixon@dixon-vaio:~$ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 202.148.202.4 nameserver 202.148.200.3 nameserver 127.0.0.1 Which is provided by my ISP. Also dig google.com shows: dixon@dixon-vaio:~$ dig google.com ; <<>> DiG 9.8.1-P1 <<>> google.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4053 ;; flags: qr rd ra; QUERY: 1, ANSWER: 11, AUTHORITY: 4, ADDITIONAL: 4 ;; QUESTION SECTION: ;google.com. IN A ;; ANSWER SECTION: google.com. 109 IN A 74.125.236.164 google.com. 109 IN A 74.125.236.165 google.com. 109 IN A 74.125.236.166 google.com. 109 IN A 74.125.236.167 google.com. 109 IN A 74.125.236.168 google.com. 109 IN A 74.125.236.169 google.com. 109 IN A 74.125.236.174 google.com. 109 IN A 74.125.236.160 google.com. 109 IN A 74.125.236.161 google.com. 109 IN A 74.125.236.162 google.com. 109 IN A 74.125.236.163 ;; AUTHORITY SECTION: google.com. 4314IN NS ns2.google.com. google.com. 4314IN NS ns3.google.com. google.com. 4314IN NS ns4.google.com. google.com. 4314IN NS ns1.google.com. ;; ADDITIONAL SECTION: ns1.google.com. 177114 IN A 216.239.32.10 ns2.google.com. 177114 IN A 216.239.34.10 ns3.google.com. 177114 IN A 216.239.36.10 ns4.google.com. 177114 IN A 216.239.38.10 ;; Query time: 574 msec ;; SERVER: 202.148.202.4#53(202.148.202.4) ;; WHEN: Sun May 13 11:54:39 2012 ;; MSG SIZE rcvd: 340 Shows DNS as 202.148.202.4 and OpenDNS seems ignored. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: network-manager 0.9.4.0-0ubuntu3 ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14 Uname: Linux 3.2.0-24-generic x86_64 ApportVersion: 2.0.1-0ubuntu7 Architecture: amd64 Date: Sun May 13 12:24:12 2012 IfupdownConfig: auto lo iface lo inet loopback InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425) IpRoute: default via 10.6.6.6 dev ppp0 proto static 10.6.6.6 dev ppp0 proto kernel scope link src 49.137.76.104 169.254.0.0/16 dev ppp0 scope link metric 1000 NetworkManager.state: [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true WimaxEnabled=true ProcEnviron: LANGUAGE=en_IN:en PATH=(custom, no user) LANG=en_IN SHELL=/bin/bash SourcePackage: network-manager UpgradeStatus: No upgrade log present (probably fresh install) nmcli-con: NAME UUID