Hi,

could you please post your pppd/chat config? I would like to check if I 
can confirm the 'runs from command line' with my configuration.

thanks

Joe wrote:
> Same issue with Verizon and EVDO.  I can connect fine if I setup my own
> pppd config file and chat script and run it from the command line.
> 
> r...@jgarcia-laptop:/etc/ppp/peers# lsusb -v
> 
> Bus 001 Device 004: ID 106c:3711 Curitel Communications, Inc. 
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               2.00
>   bDeviceClass            2 Communications
>   bDeviceSubClass         0 
>   bDeviceProtocol         0 
>   bMaxPacketSize0        64
>   idVendor           0x106c Curitel Communications, Inc.
>   idProduct          0x3711 
>   bcdDevice            1.00
>   iManufacturer           1 PANTECH
>   iProduct                2 PANTECH USB MODEM
>   iSerial                 0 
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength          113
>     bNumInterfaces          4
>     bConfigurationValue     1
>     iConfiguration          0 
>     bmAttributes         0x80
>       (Bus Powered)
>     MaxPower              500mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass         2 Communications
>       bInterfaceSubClass      2 Abstract (modem)
>       bInterfaceProtocol      1 AT-commands (v.25ter)
>       iInterface              0 
>       CDC Header:
>         bcdCDC               1.09
>       CDC Call Management:
>         bmCapabilities       0x03
>           call management
>           use DataInterface
>         bDataInterface          1
>       CDC ACM:
>         bmCapabilities       0x0f
>           connection notifications
>           sends break
>           line coding and serial state
>           get/set/clear comm features
>       CDC Union:
>         bMasterInterface        0
>         bSlaveInterface         1 
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0040  1x 64 bytes
>         bInterval               9
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        1
>       bAlternateSetting       0
>       bNumEndpoints           2
>       bInterfaceClass        10 CDC Data
>       bInterfaceSubClass      0 Unused
>       bInterfaceProtocol      0 
>       iInterface              3 Data Interface
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x85  EP 5 IN
>         bmAttributes            2
>           Transfer Type            Bulk
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0200  1x 512 bytes
>         bInterval               0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x03  EP 3 OUT
>         bmAttributes            2
>           Transfer Type            Bulk
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0200  1x 512 bytes
>         bInterval               0
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        2
>       bAlternateSetting       0
>       bNumEndpoints           2
>       bInterfaceClass       255 Vendor Specific Class
>       bInterfaceSubClass      0 
>       bInterfaceProtocol      0 
>       iInterface              0 
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x89  EP 9 IN
>         bmAttributes            2
>           Transfer Type            Bulk
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0200  1x 512 bytes
>         bInterval               0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x07  EP 7 OUT
>         bmAttributes            2
>           Transfer Type            Bulk
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0200  1x 512 bytes
>         bInterval               0
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        3
>       bAlternateSetting       0
>       bNumEndpoints           2
>       bInterfaceClass         8 Mass Storage
>       bInterfaceSubClass      6 SCSI
>       bInterfaceProtocol     80 Bulk (Zip)
>       iInterface              0 
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x02  EP 2 OUT
>         bmAttributes            2
>           Transfer Type            Bulk
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0200  1x 512 bytes
>         bInterval               0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x86  EP 6 IN
>         bmAttributes            2
>           Transfer Type            Bulk
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0200  1x 512 bytes
>         bInterval               0
> Device Status:     0x0000
>   (Bus Powered)
> 
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               2.00
>   bDeviceClass            9 Hub
>   bDeviceSubClass         0 Unused
>   bDeviceProtocol         0 Full speed (or root) hub
>   bMaxPacketSize0        64
>   idVendor           0x1d6b Linux Foundation
>   idProduct          0x0002 2.0 root hub
>   bcdDevice            2.06
>   iManufacturer           3 Linux 2.6.28-13-generic ehci_hcd
>   iProduct                2 EHCI Host Controller
>   iSerial                 1 0000:00:1d.7
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           25
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          0 
>     bmAttributes         0xe0
>       Self Powered
>       Remote Wakeup
>     MaxPower                0mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass         9 Hub
>       bInterfaceSubClass      0 Unused
>       bInterfaceProtocol      0 Full speed (or root) hub
>       iInterface              0 
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0004  1x 4 bytes
>         bInterval              12
> 
> 
>>From /var/log/daemon.log
> 
> Jul 16 11:10:50 jgarcia-laptop NetworkManager: <info>  Activation (ttyACM0) 
> starting connection 'Auto Mobile Broadband (CDMA) connection' 
> Jul 16 11:10:50 jgarcia-laptop NetworkManager: <info>  (ttyACM0): device 
> state change: 3 -> 4 
> Jul 16 11:10:50 jgarcia-laptop NetworkManager: <info>  Activation (ttyACM0) 
> Stage 1 of 5 (Device Prepare) scheduled... 
> Jul 16 11:10:50 jgarcia-laptop NetworkManager: <info>  Activation (ttyACM0) 
> Stage 1 of 5 (Device Prepare) started... 
> Jul 16 11:10:50 jgarcia-laptop NetworkManager: <debug> [1247757050.462919] 
> nm_serial_device_open(): (ttyACM0) opening device... 
> Jul 16 11:10:50 jgarcia-laptop NetworkManager: <info>  Activation (ttyACM0) 
> Stage 1 of 5 (Device Prepare) complete. 
> Jul 16 11:10:50 jgarcia-laptop NetworkManager: <info>  (ttyACM0): powering 
> up... 
> Jul 16 11:10:52 jgarcia-laptop NetworkManager: <info>  Connected, Woo! 
> Jul 16 11:10:52 jgarcia-laptop NetworkManager: <info>  Activation (ttyACM0) 
> Stage 2 of 5 (Device Configure) scheduled... 
> Jul 16 11:10:52 jgarcia-laptop NetworkManager: <info>  Activation (ttyACM0) 
> Stage 2 of 5 (Device Configure) starting... 
> Jul 16 11:10:52 jgarcia-laptop NetworkManager: <info>  (ttyACM0): device 
> state change: 4 -> 5 
> Jul 16 11:10:52 jgarcia-laptop NetworkManager: <info>  Starting pppd 
> connection 
> Jul 16 11:10:52 jgarcia-laptop NetworkManager: <debug> [1247757052.581620] 
> nm_ppp_manager_start(): Command line: /usr/sbin/pppd nodetach lock 
> nodefaultroute user [email protected] ttyACM0 noipdefault noauth 
> usepeerdns lcp-echo-failure 5 lcp-echo-interval 30 ipparam 
> /org/freedesktop/NetworkManager/PPP/8 plugin 
> /usr/lib/pppd/2.4.4/nm-pppd-plugin.so 
> Jul 16 11:10:52 jgarcia-laptop NetworkManager: <debug> [1247757052.677176] 
> nm_ppp_manager_start(): ppp started with pid 17638 
> Jul 16 11:10:52 jgarcia-laptop NetworkManager: <info>  Activation (ttyACM0) 
> Stage 2 of 5 (Device Configure) complete. 
> Jul 16 11:11:08 jgarcia-laptop NetworkManager: <WARN>  pppd_timed_out(): 
> Looks like pppd didn't initialize our dbus module 
> Jul 16 11:11:08 jgarcia-laptop NetworkManager: <info>  (ttyACM0): device 
> state change: 5 -> 9 
> Jul 16 11:11:08 jgarcia-laptop NetworkManager: <debug> [1247757068.000613] 
> nm_serial_device_close(): Closing device 'ttyACM0' 
> Jul 16 11:11:08 jgarcia-laptop NetworkManager: <info>  Marking connection 
> 'Auto Mobile Broadband (CDMA) connection' invalid. 
> Jul 16 11:11:08 jgarcia-laptop NetworkManager: <info>  Activation (ttyACM0) 
> failed. 
> Jul 16 11:11:08 jgarcia-laptop NetworkManager: <info>  (ttyACM0): device 
> state change: 9 -> 3 
> Jul 16 11:11:08 jgarcia-laptop NetworkManager: <info>  (ttyACM0): 
> deactivating device (reason: 0). 
> Jul 16 11:11:08 jgarcia-laptop NetworkManager: 
> nm_system_device_flush_ip4_routes_with_iface: assertion `iface_idx >= 0' 
> failed
> Jul 16 11:11:08 jgarcia-laptop NetworkManager: 
> nm_system_device_flush_ip4_addresses_with_iface: assertion `iface_idx >= 0' 
> failed
> Jul 16 11:11:10 jgarcia-laptop NetworkManager: <debug> [1247757070.002100] 
> ensure_killed(): waiting for ppp pid 17638 to exit 
> Jul 16 11:11:10 jgarcia-laptop NetworkManager: <debug> [1247757070.002283] 
> ensure_killed(): ppp pid 17638 cleaned up 
> 
> 
> And  /var/log/messages
> 
> Jul 16 10:56:00 jgarcia-laptop pppd[16807]: Plugin 
> /usr/lib/pppd/2.4.4/nm-pppd-plugin.so loaded.
> Jul 16 10:56:00 jgarcia-laptop pppd[16807]: pppd 2.4.5 started by root, uid 0
> Jul 16 10:56:00 jgarcia-laptop pppd[16807]: Using interface ppp0
> Jul 16 10:56:00 jgarcia-laptop pppd[16807]: Connect: ppp0 <--> /dev/ttyACM0
> Jul 16 10:56:01 jgarcia-laptop pppd[16807]: local  IP address 97.15.131.157
> Jul 16 10:56:01 jgarcia-laptop pppd[16807]: remote IP address 66.174.121.64
> Jul 16 10:56:01 jgarcia-laptop pppd[16807]: primary   DNS address 66.174.95.44
> Jul 16 10:56:01 jgarcia-laptop pppd[16807]: secondary DNS address 66.174.92.14
> Jul 16 10:56:16 jgarcia-laptop pppd[16807]: Terminating on signal 15
> Jul 16 10:56:16 jgarcia-laptop pppd[16807]: Connect time 0.3 minutes.
> Jul 16 10:56:16 jgarcia-laptop pppd[16807]: Sent 0 bytes, received 0 bytes.
> Jul 16 10:56:16 jgarcia-laptop pppd[16807]: Connection terminated.
> Jul 16 10:56:17 jgarcia-laptop pppd[16807]: Exit.
> 

-- 
Andreas Zickner
Gotenstr. 2 - 71065 Sindelfingen - [email protected] - 015771968553
==
Es ist ein Unterschied ob man seinen Weg kennt ...
  ... oder ob man ihn beschreitet

-- 
UMTS Modem: network manager / pppd does hang up immediately after successful 
connect
https://bugs.launchpad.net/bugs/391608
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to