Marcus Better a écrit :
> On 2010-02-15 17:38, Frédéric Massot wrote:
>>> The workaround is to set the "ipcp-max-failure" pppd option to something
>>> higher like 30. This works in most of the reported cases.
> 
>> I tested the pppd option "ipcp-max-failure" to 30 and it changes
>> nothing, I am obliged to launch twice NM for the connection is
>> established.
> 
> Excuse the question, but are you sure you changed it in the right place
> so it took effect? If unsure, please post the new log.
> 
> The workaround does not work universally though, and ppp 2.4.5 has
> another fix that may help.

Hi,

Thank you for your reply.

I uncommented the line "ipcp-max-failure 30" in file "/etc/ppp/options".
Even after restarting the PC does not change.

First connection :

Feb 18 20:07:03 cthulhu kernel: usb 5-2: new full speed USB device using
uhci_hcd and address 3
Feb 18 20:07:03 cthulhu kernel: usb 5-2: New USB device found,
idVendor=12d1, idProduct=1003
Feb 18 20:07:03 cthulhu kernel: usb 5-2: New USB device strings: Mfr=1,
Product=2, SerialNumber=0
Feb 18 20:07:03 cthulhu kernel: usb 5-2: Product: HUAWEI Mobile
Feb 18 20:07:03 cthulhu kernel: usb 5-2: Manufacturer: HUAWEI Technologies
Feb 18 20:07:03 cthulhu kernel: usb 5-2: configuration #1 chosen from 1
choice
Feb 18 20:07:03 cthulhu kernel: scsi8 : SCSI emulation for USB Mass
Storage devices
Feb 18 20:07:03 cthulhu kernel: usb 5-2: USB disconnect, address 3
Feb 18 20:07:03 cthulhu kernel: usb-storage: device found at 3
Feb 18 20:07:03 cthulhu kernel: usb-storage: waiting for device to
settle before scanning
Feb 18 20:07:03 cthulhu usb_id[7311]: unable to access
'/devices/pci0000:00/0000:00:1d.0/usb5/5-2'
Feb 18 20:07:03 cthulhu usb_id[7312]: unable to access
'/devices/pci0000:00/0000:00:1d.0/usb5/5-2'
Feb 18 20:07:03 cthulhu kernel: usb 5-2: new full speed USB device using
uhci_hcd and address 4
Feb 18 20:07:04 cthulhu kernel: usb 5-2: New USB device found,
idVendor=12d1, idProduct=1003
Feb 18 20:07:04 cthulhu kernel: usb 5-2: New USB device strings: Mfr=1,
Product=2, SerialNumber=0
Feb 18 20:07:04 cthulhu kernel: usb 5-2: Product: HUAWEI Mobile
Feb 18 20:07:04 cthulhu kernel: usb 5-2: Manufacturer: HUAWEI Technologies
Feb 18 20:07:04 cthulhu kernel: usb 5-2: configuration #1 chosen from 1
choice
Feb 18 20:07:04 cthulhu kernel: option 5-2:1.0: GSM modem (1-port)
converter detected
Feb 18 20:07:04 cthulhu kernel: usb 5-2: GSM modem (1-port) converter
now attached to ttyUSB0
Feb 18 20:07:04 cthulhu kernel: option 5-2:1.1: GSM modem (1-port)
converter detected
Feb 18 20:07:04 cthulhu kernel: usb 5-2: GSM modem (1-port) converter
now attached to ttyUSB1
Feb 18 20:07:04 cthulhu kernel: scsi11 : SCSI emulation for USB Mass
Storage devices
Feb 18 20:07:04 cthulhu kernel: usb-storage: device found at 4
Feb 18 20:07:04 cthulhu kernel: usb-storage: waiting for device to
settle before scanning
Feb 18 20:07:04 cthulhu wpa_supplicant[2381]: CTRL-EVENT-SCAN-RESULTS
Feb 18 20:07:04 cthulhu modem-manager: (Huawei): (ttyUSB1) deferring
support check
Feb 18 20:07:04 cthulhu modem-manager: (ttyUSB0) opening serial device...
Feb 18 20:07:04 cthulhu modem-manager: (ttyUSB0): probe requested by
plugin 'Huawei'
Feb 18 20:07:07 cthulhu modem-manager: (ttyUSB1): re-checking support...
Feb 18 20:07:07 cthulhu modem-manager: (Huawei): (ttyUSB1) deferring
support check
Feb 18 20:07:09 cthulhu kernel: usb-storage: device scan complete
Feb 18 20:07:09 cthulhu kernel: scsi 11:0:0:0: CD-ROM            HUAWEI
  Mass Storage     2.31 PQ: 0 ANSI: 2
Feb 18 20:07:09 cthulhu kernel: sr2: scsi-1 drive
Feb 18 20:07:09 cthulhu kernel: sr 11:0:0:0: Attached scsi CD-ROM sr2
Feb 18 20:07:09 cthulhu kernel: sr 11:0:0:0: Attached scsi generic sg3
type 5
Feb 18 20:07:09 cthulhu kernel: devkit-disks-da[4429]: segfault at c ip
080660da sp bfe869f0 error 4 in devkit-disks-daemon[8048000+28000]
Feb 18 20:07:10 cthulhu modem-manager: (ttyUSB1): re-checking support...
Feb 18 20:07:10 cthulhu modem-manager: (Huawei): (ttyUSB1) deferring
support check
Feb 18 20:07:13 cthulhu modem-manager: (ttyUSB1): re-checking support...
Feb 18 20:07:13 cthulhu modem-manager: (Huawei): (ttyUSB1) deferring
support check
Feb 18 20:07:16 cthulhu modem-manager: (ttyUSB1): re-checking support...
Feb 18 20:07:16 cthulhu modem-manager: (Huawei): (ttyUSB1) deferring
support check
Feb 18 20:07:16 cthulhu modem-manager: (ttyUSB0) closing serial device...
Feb 18 20:07:16 cthulhu modem-manager: (Huawei): GSM modem
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2 claimed port ttyUSB0
Feb 18 20:07:16 cthulhu modem-manager: Added modem
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2
Feb 18 20:07:16 cthulhu modem-manager: Exported modem
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2 as
/org/freedesktop/ModemManager/Modems/0
Feb 18 20:07:16 cthulhu NetworkManager: <info>  (ttyUSB0): new GSM
device (driver: 'option1')
Feb 18 20:07:16 cthulhu NetworkManager: <info>  (ttyUSB0): exported as
/org/freedesktop/NetworkManager/Devices/2
Feb 18 20:07:16 cthulhu NetworkManager: <info>  (ttyUSB0): now managed
Feb 18 20:07:16 cthulhu NetworkManager: <info>  (ttyUSB0): device state
change: 1 -> 2 (reason 2)
Feb 18 20:07:16 cthulhu NetworkManager: <info>  (ttyUSB0): deactivating
device (reason: 2).
Feb 18 20:07:16 cthulhu NetworkManager: <info>  (ttyUSB0): device state
change: 2 -> 3 (reason 0)
Feb 18 20:07:16 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
starting connection 'Connexion GSM SFR'
Feb 18 20:07:16 cthulhu NetworkManager: <info>  (ttyUSB0): device state
change: 3 -> 4 (reason 0)
Feb 18 20:07:16 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 1 of 5 (Device Prepare) scheduled...
Feb 18 20:07:16 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 1 of 5 (Device Prepare) started...
Feb 18 20:07:16 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 1 of 5 (Device Prepare) complete.
Feb 18 20:07:16 cthulhu modem-manager: (ttyUSB0) opening serial device...
Feb 18 20:07:16 cthulhu modem-manager: Modem
/org/freedesktop/ModemManager/Modems/0: state changed (disabled -> enabling)
Feb 18 20:07:16 cthulhu modem-manager: Got failure code 11: SIM PIN required
Feb 18 20:07:16 cthulhu modem-manager: Modem
/org/freedesktop/ModemManager/Modems/0: state changed (enabling -> enabled)
Feb 18 20:07:16 cthulhu modem-manager: Registration state changed: 2
Feb 18 20:07:16 cthulhu modem-manager: Modem
/org/freedesktop/ModemManager/Modems/0: state changed (enabled -> searching)
Feb 18 20:07:19 cthulhu modem-manager: Registration state changed: 1
Feb 18 20:07:19 cthulhu modem-manager: Modem
/org/freedesktop/ModemManager/Modems/0: state changed (searching ->
registered)
Feb 18 20:07:19 cthulhu modem-manager: Modem
/org/freedesktop/ModemManager/Modems/0: state changed (registered ->
connecting)
Feb 18 20:07:19 cthulhu modem-manager: Modem
/org/freedesktop/ModemManager/Modems/0: state changed (connecting ->
connected)
Feb 18 20:07:19 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 2 of 5 (Device Configure) scheduled...
Feb 18 20:07:19 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 2 of 5 (Device Configure) starting...
Feb 18 20:07:19 cthulhu NetworkManager: <info>  (ttyUSB0): device state
change: 4 -> 5 (reason 0)
Feb 18 20:07:19 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 2 of 5 (Device Configure) successful.
Feb 18 20:07:19 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 3 of 5 (IP Configure Start) scheduled.
Feb 18 20:07:19 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 2 of 5 (Device Configure) complete.
Feb 18 20:07:19 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 3 of 5 (IP Configure Start) started...
Feb 18 20:07:19 cthulhu NetworkManager: <info>  (ttyUSB0): device state
change: 5 -> 7 (reason 0)
Feb 18 20:07:19 cthulhu NetworkManager: <info>  Starting pppd connection
Feb 18 20:07:19 cthulhu NetworkManager: <debug> [1266520039.171458]
nm_ppp_manager_start(): Command line: /usr/sbin/pppd nodetach lock
nodefaultroute user slsfr ttyUSB0 noipdefault noauth refuse-eap
refuse-mschap refuse-mschap-v2 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
Feb 18 20:07:19 cthulhu NetworkManager: <debug> [1266520039.179334]
nm_ppp_manager_start(): ppp started with pid 8245
Feb 18 20:07:19 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 4 of 5 (IP6 Configure Get) scheduled...
Feb 18 20:07:19 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 3 of 5 (IP Configure Start) complete.
Feb 18 20:07:19 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 4 of 5 (IP6 Configure Get) started...
Feb 18 20:07:19 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 4 of 5 (IP6 Configure Get) complete.
Feb 18 20:07:19 cthulhu pppd[8245]: Plugin
/usr/lib/pppd/2.4.4/nm-pppd-plugin.so loaded.
Feb 18 20:07:19 cthulhu pppd[8245]: pppd 2.4.4 started by root, uid 0
Feb 18 20:07:19 cthulhu pppd[8245]: Using interface ppp0
Feb 18 20:07:19 cthulhu pppd[8245]: Connect: ppp0 <--> /dev/ttyUSB0
Feb 18 20:07:19 cthulhu NetworkManager:    SCPlugin-Ifupdown: devices
added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Feb 18 20:07:19 cthulhu NetworkManager:    SCPlugin-Ifupdown: device
added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown
configuration found.
Feb 18 20:07:19 cthulhu pppd[8245]: CHAP authentication succeeded
Feb 18 20:07:19 cthulhu pppd[8245]: CHAP authentication succeeded
Feb 18 20:07:19 cthulhu modem-manager: (ttyUSB1): re-checking support...
Feb 18 20:07:19 cthulhu modem-manager: (ttyUSB1) opening serial device...
Feb 18 20:07:24 cthulhu modem-manager: (ttyUSB1) closing serial device...
Feb 18 20:07:24 cthulhu modem-manager: (ttyUSB1) opening serial device...
Feb 18 20:07:24 cthulhu modem-manager: (ttyUSB1): probe requested by
plugin 'Generic'
Feb 18 20:07:25 cthulhu modem-manager: (ttyUSB1) closing serial device...
Feb 18 20:07:25 cthulhu modem-manager: (Generic): GSM modem
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2 claimed port ttyUSB1
Feb 18 20:07:35 cthulhu hddtemp[2098]: /dev/sda: Maxtor 6V160E0: 26 C
Feb 18 20:07:39 cthulhu NetworkManager: <WARN>  pppd_timed_out(): Looks
like pppd didn't initialize our dbus module
Feb 18 20:07:39 cthulhu NetworkManager: <info>  (ttyUSB0): device state
change: 7 -> 9 (reason 14)
Feb 18 20:07:39 cthulhu NetworkManager: <info>  Marking connection
'Connexion GSM SFR' invalid.
Feb 18 20:07:39 cthulhu NetworkManager: <info>  Activation (ttyUSB0) failed.
Feb 18 20:07:39 cthulhu NetworkManager: <info>  (ttyUSB0): device state
change: 9 -> 3 (reason 0)
Feb 18 20:07:39 cthulhu NetworkManager: <info>  (ttyUSB0): deactivating
device (reason: 0).
Feb 18 20:07:39 cthulhu pppd[8245]: Terminating on signal 15
Feb 18 20:07:39 cthulhu modem-manager: Modem
/org/freedesktop/ModemManager/Modems/0: state changed (connected ->
disconnecting)
Feb 18 20:07:39 cthulhu pppd[8245]: Connection terminated.
Feb 18 20:07:39 cthulhu NetworkManager:    SCPlugin-Ifupdown: devices
removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Feb 18 20:07:39 cthulhu modem-manager: Got failure code 3: No carrier
Feb 18 20:07:40 cthulhu modem-manager: Modem
/org/freedesktop/ModemManager/Modems/0: state changed (disconnecting ->
registered)
Feb 18 20:07:40 cthulhu pppd[8245]: Exit.
Feb 18 20:07:41 cthulhu NetworkManager: <debug> [1266520061.000703]
ensure_killed(): waiting for ppp pid 8245 to exit
Feb 18 20:07:41 cthulhu NetworkManager: <debug> [1266520061.000830]
ensure_killed(): ppp pid 8245 cleaned up



Failure of the first attempt connection, second attempt:


Feb 18 20:07:44 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
starting connection 'Connexion GSM SFR'
Feb 18 20:07:44 cthulhu NetworkManager: <info>  (ttyUSB0): device state
change: 3 -> 4 (reason 0)
Feb 18 20:07:44 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 1 of 5 (Device Prepare) scheduled...
Feb 18 20:07:44 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 1 of 5 (Device Prepare) started...
Feb 18 20:07:44 cthulhu NetworkManager: <info>  (ttyUSB0): device state
change: 4 -> 6 (reason 0)
Feb 18 20:07:44 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 1 of 5 (Device Prepare) complete.
Feb 18 20:07:44 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 1 of 5 (Device Prepare) scheduled...
Feb 18 20:07:44 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 1 of 5 (Device Prepare) started...
Feb 18 20:07:44 cthulhu NetworkManager: <info>  (ttyUSB0): device state
change: 6 -> 4 (reason 0)
Feb 18 20:07:44 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 1 of 5 (Device Prepare) complete.
Feb 18 20:07:44 cthulhu modem-manager: Modem
/org/freedesktop/ModemManager/Modems/0: state changed (registered ->
connecting)
Feb 18 20:07:44 cthulhu modem-manager: Modem
/org/freedesktop/ModemManager/Modems/0: state changed (connecting ->
connected)
Feb 18 20:07:44 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 2 of 5 (Device Configure) scheduled...
Feb 18 20:07:44 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 2 of 5 (Device Configure) starting...
Feb 18 20:07:44 cthulhu NetworkManager: <info>  (ttyUSB0): device state
change: 4 -> 5 (reason 0)
Feb 18 20:07:44 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 2 of 5 (Device Configure) successful.
Feb 18 20:07:44 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 3 of 5 (IP Configure Start) scheduled.
Feb 18 20:07:44 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 2 of 5 (Device Configure) complete.
Feb 18 20:07:44 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 3 of 5 (IP Configure Start) started...
Feb 18 20:07:44 cthulhu NetworkManager: <info>  (ttyUSB0): device state
change: 5 -> 7 (reason 0)
Feb 18 20:07:44 cthulhu NetworkManager: <info>  Starting pppd connection
Feb 18 20:07:44 cthulhu NetworkManager: <debug> [1266520064.941889]
nm_ppp_manager_start(): Command line: /usr/sbin/pppd nodetach lock
nodefaultroute user slsfr ttyUSB0 noipdefault noauth refuse-eap
refuse-mschap refuse-mschap-v2 usepeerdns lcp-echo-failure 0
lcp-echo-interval 0 ipparam /org/freedesktop/NetworkManager/PPP/1 plugin
/usr/lib/pppd/2.4.4/nm-pppd-plugin.so
Feb 18 20:07:44 cthulhu NetworkManager: <debug> [1266520064.948190]
nm_ppp_manager_start(): ppp started with pid 9149
Feb 18 20:07:44 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 4 of 5 (IP6 Configure Get) scheduled...
Feb 18 20:07:44 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 3 of 5 (IP Configure Start) complete.
Feb 18 20:07:44 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 4 of 5 (IP6 Configure Get) started...
Feb 18 20:07:44 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 4 of 5 (IP6 Configure Get) complete.
Feb 18 20:07:44 cthulhu pppd[9149]: Plugin
/usr/lib/pppd/2.4.4/nm-pppd-plugin.so loaded.
Feb 18 20:07:44 cthulhu pppd[9149]: pppd 2.4.4 started by root, uid 0
Feb 18 20:07:44 cthulhu pppd[9149]: Using interface ppp0
Feb 18 20:07:44 cthulhu pppd[9149]: Connect: ppp0 <--> /dev/ttyUSB0
Feb 18 20:07:44 cthulhu NetworkManager:    SCPlugin-Ifupdown: devices
added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Feb 18 20:07:44 cthulhu NetworkManager:    SCPlugin-Ifupdown: device
added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown
configuration found.
Feb 18 20:07:44 cthulhu pppd[9149]: CHAP authentication succeeded
Feb 18 20:07:44 cthulhu pppd[9149]: CHAP authentication succeeded
Feb 18 20:07:52 cthulhu pppd[9149]: Could not determine remote IP
address: defaulting to 10.64.64.64
Feb 18 20:07:52 cthulhu pppd[9149]: Cannot determine ethernet address
for proxy ARP
Feb 18 20:07:52 cthulhu pppd[9149]: local  IP address 10.162.85.53
Feb 18 20:07:52 cthulhu pppd[9149]: remote IP address 10.64.64.64
Feb 18 20:07:52 cthulhu pppd[9149]: primary   DNS address 172.20.2.39
Feb 18 20:07:52 cthulhu pppd[9149]: secondary DNS address 172.20.2.10
Feb 18 20:07:52 cthulhu NetworkManager: <info>  PPP manager(IP Config
Get) reply received.
Feb 18 20:07:52 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 4 of 5 (IP4 Configure Get) scheduled...
Feb 18 20:07:52 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 4 of 5 (IP4 Configure Get) started...
Feb 18 20:07:52 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 5 of 5 (IP Configure Commit) scheduled...
Feb 18 20:07:52 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 4 of 5 (IP4 Configure Get) complete.
Feb 18 20:07:52 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 5 of 5 (IP Configure Commit) started...
Feb 18 20:07:53 cthulhu NetworkManager: <info>  (ttyUSB0): device state
change: 7 -> 8 (reason 0)
Feb 18 20:07:53 cthulhu NetworkManager: <info>  Policy set 'Connexion
GSM SFR' (ppp0) as default for routing and DNS.
Feb 18 20:07:53 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
successful, device activated.
Feb 18 20:07:53 cthulhu NetworkManager: <info>  Activation (ttyUSB0)
Stage 5 of 5 (IP Configure Commit) complete.


Regards.
-- 
==============================================
|              FRÉDÉRIC MASSOT               |
|     http://www.juliana-multimedia.com      |
|   mailto:frede...@juliana-multimedia.com   |
===========================Debian=GNU/Linux===



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to