Public bug reported:

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.             4314    IN      NS      ns2.google.com.
google.com.             4314    IN      NS      ns3.google.com.
google.com.             4314    IN      NS      ns4.google.com.
google.com.             4314    IN      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                                   TYPE          
    TIMESTAMP    TIMESTAMP-REAL                     AUTOCONNECT   READONLY   
DBUS-PATH                                 
 Wired connection 1        233e0936-628b-4f77-a8aa-dd7e6aa68f0b   
802-3-ethernet    1336885244   Sunday 13 May 2012 10:30:44 AM IST yes           
no         /org/freedesktop/NetworkManager/Settings/1
 AIRCEL GPRS               a18d631a-0429-4dc3-8329-0708ab91fe84   gsm           
    1336891844   Sunday 13 May 2012 12:20:44 PM IST no            no         
/org/freedesktop/NetworkManager/Settings/0
nmcli-dev:
 DEVICE     TYPE              STATE         DBUS-PATH                           
       
 ttyACM0    gsm               connected     
/org/freedesktop/NetworkManager/Devices/2  
 eth0       802-3-ethernet    unavailable   
/org/freedesktop/NetworkManager/Devices/1  
 wlan0      802-11-wireless   unavailable   
/org/freedesktop/NetworkManager/Devices/0
nmcli-nm:
 RUNNING         VERSION    STATE           NET-ENABLED   WIFI-HARDWARE   WIFI  
     WWAN-HARDWARE   WWAN      
 running         0.9.4.0    connected       enabled       disabled        
disabled   enabled         enabled

** Affects: network-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise

-- 
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.           4314    IN      NS      ns2.google.com.
  google.com.           4314    IN      NS      ns3.google.com.
  google.com.           4314    IN      NS      ns4.google.com.
  google.com.           4314    IN      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                                   TYPE        
      TIMESTAMP    TIMESTAMP-REAL                     AUTOCONNECT   READONLY   
DBUS-PATH                                 
   Wired connection 1        233e0936-628b-4f77-a8aa-dd7e6aa68f0b   
802-3-ethernet    1336885244   Sunday 13 May 2012 10:30:44 AM IST yes           
no         /org/freedesktop/NetworkManager/Settings/1
   AIRCEL GPRS               a18d631a-0429-4dc3-8329-0708ab91fe84   gsm         
      1336891844   Sunday 13 May 2012 12:20:44 PM IST no            no         
/org/freedesktop/NetworkManager/Settings/0
  nmcli-dev:
   DEVICE     TYPE              STATE         DBUS-PATH                         
         
   ttyACM0    gsm               connected     
/org/freedesktop/NetworkManager/Devices/2  
   eth0       802-3-ethernet    unavailable   
/org/freedesktop/NetworkManager/Devices/1  
   wlan0      802-11-wireless   unavailable   
/org/freedesktop/NetworkManager/Devices/0
  nmcli-nm:
   RUNNING         VERSION    STATE           NET-ENABLED   WIFI-HARDWARE   
WIFI       WWAN-HARDWARE   WWAN      
   running         0.9.4.0    connected       enabled       disabled        
disabled   enabled         enabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/998642/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to