Public bug reported:

Binary package hint: network-manager

Ubuntu 10.04

Hardware: Huaweii E1552 USB GSM/UMTS Modem

Synptom: Cannot connect to provider.

Configuration steps taken to debug:

Configured ppp in debug mode:
Edit /etc/ppp/options, enabled debug (uncomment)

Started NetworkManager in 'debug' mode:

r...@laptop:~# service network-manager stop
network-manager stop/waiting
r...@laptop:~# NetworkManager --no-daemon

Tried to connect.

Log of network manager/ppp:

NetworkManager: <info>  Activation (ttyUSB0) starting connection 'Internet 1'
NetworkManager: <info>  (ttyUSB0): device state change: 3 -> 4 (reason 0)
NetworkManager: <info>  Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) 
scheduled...
NetworkManager: <info>  Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) 
started...
NetworkManager: <info>  Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) 
complete.
NetworkManager: <info>  Activation (ttyUSB0) Stage 2 of 5 (Device Configure) 
scheduled...
NetworkManager: <info>  Activation (ttyUSB0) Stage 2 of 5 (Device Configure) 
starting...
NetworkManager: <info>  (ttyUSB0): device state change: 4 -> 5 (reason 0)
NetworkManager: <info>  Activation (ttyUSB0) Stage 2 of 5 (Device Configure) 
successful.
NetworkManager: <info>  Activation (ttyUSB0) Stage 3 of 5 (IP Configure Start) 
scheduled.
NetworkManager: <info>  Activation (ttyUSB0) Stage 2 of 5 (Device Configure) 
complete.
NetworkManager: <info>  Activation (ttyUSB0) Stage 3 of 5 (IP Configure Start) 
started...
NetworkManager: <info>  (ttyUSB0): device state change: 5 -> 7 (reason 0)
NetworkManager: <info>  Starting pppd connection
NetworkManager: <debug> [1279362587.983316] nm_ppp_manager_start(): Command 
line: /usr/sbin/pppd nodetach lock nodefaultroute ttyUSB0 noipdefault noauth 
usepeerdns lcp-echo-failure 0 lcp-echo-interval 0 ipparam 
/org/freedesktop/NetworkManager/PPP/0 plugin 
/usr/lib/pppd/2.4.4/nm-pppd-plugin.so
NetworkManager: <debug> [1279362587.987281] nm_ppp_manager_start(): ppp started 
with pid 2099
NetworkManager: <info>  Activation (ttyUSB0) Stage 4 of 5 (IP6 Configure Get) 
scheduled...
NetworkManager: <info>  Activation (ttyUSB0) Stage 3 of 5 (IP Configure Start) 
complete.
NetworkManager: <info>  Activation (ttyUSB0) Stage 4 of 5 (IP6 Configure Get) 
started...
NetworkManager: <info>  Activation (ttyUSB0) Stage 4 of 5 (IP6 Configure Get) 
complete.
Plugin /usr/lib/pppd/2.4.4/nm-pppd-plugin.so loaded.
** Message: nm-ppp-plugin: (plugin_init): initializing
** Message: nm-ppp-plugin: (nm_phasechange): status 3 / phase 'serial 
connection'
using channel 1
NetworkManager:    SCPlugin-Ifupdown: devices added (path: 
/sys/devices/virtual/net/ppp0, iface: ppp0)
NetworkManager:    SCPlugin-Ifupdown: device added (path: 
/sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
** Message: nm-ppp-plugin: (nm_phasechange): status 5 / phase 'establish'
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xec183950> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0xea50aa> 
<pcomp> <accomp>]
sent [LCP ConfAck id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0xea50aa> 
<pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xec183950> <pcomp> <accomp>]
** Message: nm-ppp-plugin: (nm_phasechange): status 6 / phase 'authenticate'
rcvd [LCP DiscReq id=0x1 magic=0xea50aa]
rcvd [CHAP Challenge id=0x1 <8c9a95c19ec0d54460e8582de20d0028>, name = 
"UMTS_CHAP_SRVR"]
** Message: nm-ppp-plugin: (get_credentials): passwd-hook, requesting 
credentials...
** Message: nm-ppp-plugin: (get_credentials): got credentials from 
NetworkManager
sent [CHAP Response id=0x1 <9b69c7041045a8bf341425d8641e5f09>, name = ""]
rcvd [CHAP Success id=0x1 ""]
CHAP authentication succeeded
CHAP authentication succeeded
** Message: nm-ppp-plugin: (nm_phasechange): status 8 / phase 'network'
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> 
<ms-dns2 0.0.0.0>]
rcvd [LCP ProtRej id=0x2 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
rcvd [IPCP ConfNak id=0x1 <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> 
<ms-dns2 0.0.0.0>]
rcvd [IPCP ConfNak id=0x2 <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPCP ConfReq id=0x3 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> 
<ms-dns2 0.0.0.0>]
rcvd [IPCP ConfNak id=0x3 <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPCP ConfReq id=0x4 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> 
<ms-dns2 0.0.0.0>]
rcvd [IPCP ConfNak id=0x4 <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPCP ConfReq id=0x5 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> 
<ms-dns2 0.0.0.0>]
rcvd [IPCP ConfNak id=0x5 <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPCP ConfReq id=0x6 <compress VJ 0f 01> <addr 0.0.0.0>]
Modem hangup
** Message: nm-ppp-plugin: (nm_phasechange): status 5 / phase 'establish'
** Message: nm-ppp-plugin: (nm_phasechange): status 11 / phase 'disconnect'
Connection terminated.
NetworkManager: <info>  (ttyUSB0): device state change: 7 -> 9 (reason 13)
NetworkManager: <info>  Marking connection 'Internet 1' invalid.
NetworkManager: <info>  Activation (ttyUSB0) failed.
NetworkManager: <info>  (ttyUSB0): device state change: 9 -> 3 (reason 0)
NetworkManager: <info>  (ttyUSB0): deactivating device (reason: 0).

Key part:

sent [IPCP ConfReq id=0x5 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> 
<ms-dns2 0.0.0.0>]
rcvd [IPCP ConfNak id=0x5 <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]

ppp, instructed by networkmanager (via nm-ppp-plugin) passed the option
usepeerdns to pppd (event if in the edit connection -> ipv4 settings ->
Automatic (ppp) address only is selected)

Proposed solution:

When "Automatic (PPP) address only" is selected, Network-Manager (nm-
ppp-plugin) should not pass the usepeerdns to pppd , thus disabling the
IPCP request for <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>

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

-- 
Cannot connect to server that does not support pppd usepeerdns
https://bugs.launchpad.net/bugs/606780
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to