Public bug reported: Network Manager when using a T-mobile Rocket USB HSPA stick, fails to set the DNS and default route correctly, resulting in unusable network. I am using an Oneiric Beta 2 boot cd to rule out existing settings causing the issue.
Here is the NetworkManager provided settings. You can see that the local IP address is placed at front of resolv.conf and that the DHCP provided default router is missing and a device route used instead for the default route, which does not work. usb0 Link encap:Ethernet HWaddr 02:2b:5a:ab:df:a5 inet addr:25.84.230.68 Bcast:25.84.230.68 Mask:255.255.255.255 inet6 addr: fe80::2b:5aff:feab:dfa5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:83 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:9999 (9.9 KB) Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 usb0 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 usb0 # Generated by NetworkManager nameserver 25.84.230.68 nameserver 10.177.0.34 nameserver 10.166.208.148 Here is the DHCP traffic from dhclient usb0: 16:53:03.886277 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 02:2b:5a:ab:df:a5, length 300, xid 0x914dec09, Flags [none] Client-Ethernet-Address 02:2b:5a:ab:df:a5 Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Hostname Option 12, length 6: "ubuntu" Parameter-Request Option 55, length 13: Subnet-Mask, BR, Time-Zone, Default-Gateway Domain-Name, Domain-Name-Server, Option 119, Hostname Netbios-Name-Server, Netbios-Scope, MTU, Classless-Static-Route NTP 16:53:03.886844 IP (tos 0x0, ttl 255, id 1, offset 0, flags [none], proto UDP (17), length 336) 25.84.230.69.67 > 25.84.230.68.68: BOOTP/DHCP, Reply, length 308, xid 0x914dec09, Flags [none] Your-IP 25.84.230.68 Server-IP 25.84.230.69 Client-Ethernet-Address 02:2b:5a:ab:df:a5 Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Offer Server-ID Option 54, length 4: 25.84.230.69 RN Option 58, length 4: 43200 RB Option 59, length 4: 57024 Lease-Time Option 51, length 4: 86400 Subnet-Mask Option 1, length 4: 255.255.255.0 Default-Gateway Option 3, length 4: 25.84.230.69 Domain-Name-Server Option 6, length 8: 10.177.0.34,10.166.208.148 16:53:03.887086 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 02:2b:5a:ab:df:a5, length 300, xid 0x914dec09, Flags [none] Client-Ethernet-Address 02:2b:5a:ab:df:a5 Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Request Server-ID Option 54, length 4: 25.84.230.69 Requested-IP Option 50, length 4: 25.84.230.68 Hostname Option 12, length 6: "ubuntu" Parameter-Request Option 55, length 13: Subnet-Mask, BR, Time-Zone, Default-Gateway Domain-Name, Domain-Name-Server, Option 119, Hostname Netbios-Name-Server, Netbios-Scope, MTU, Classless-Static-Route NTP 16:53:03.887461 IP (tos 0x0, ttl 255, id 2, offset 0, flags [none], proto UDP (17), length 336) 25.84.230.69.67 > 25.84.230.68.68: BOOTP/DHCP, Reply, length 308, xid 0x914dec09, Flags [none] Your-IP 25.84.230.68 Server-IP 25.84.230.69 Client-Ethernet-Address 02:2b:5a:ab:df:a5 Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: ACK Server-ID Option 54, length 4: 25.84.230.69 Lease-Time Option 51, length 4: 86400 Subnet-Mask Option 1, length 4: 255.255.255.0 Default-Gateway Option 3, length 4: 25.84.230.69 Domain-Name-Server Option 6, length 8: 10.177.0.34,10.166.208.148 Which results in corrected settings: usb0 Link encap:Ethernet HWaddr 02:2b:5a:ab:df:a5 inet addr:25.84.230.68 Bcast:25.84.230.255 Mask:255.255.255.0 inet6 addr: fe80::2b:5aff:feab:dfa5/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:3 errors:0 dropped:0 overruns:0 frame:0 TX packets:144 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1008 (1.0 KB) TX bytes:19072 (19.0 KB) Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 25.84.230.69 0.0.0.0 UG 0 0 0 usb0 25.84.230.0 0.0.0.0 255.255.255.0 U 0 0 0 usb0 nameserver 10.177.0.34 nameserver 10.166.208.148 ** Affects: network-manager (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/871898 Title: n-m fails to correctly set T-Mobile DNS and default route, dhclient repairs it To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/871898/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs