Re: 3G Modem DHCP time out

2013-10-03 Thread Emmanuel Riboulet-Deyris
Hey,

Thanks Olaf, that's exactly what I've done and it's working perfectly well.

Bests,

E.

Le 25/09/2013 16:40, Olaf Schulz a écrit :
 Hi,

 I found another option to avoid the problem you observed on
 https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1169117:

 ...by adding a file /etc/modprobe.d/avoid-mbim.conf with content:

   options cdc_ncm prefer_mbim=N
 

 This helped me in this case.

 Olaf


 # Emmanuel Riboulet-Deyris schrieb am 27.03.2013 um 23:26 h

 Thank's a lot Bjørn for pointing me this bug report. It appears that
 it's exactly the bug I'm encountering (on the same laptop by the way).

 I'm very far away from being an expert about that, but if I understand,
 the simplest way to make thinks work currently with a 3.8.x kernel would
 be to rebuild my kernel with the key CONFIG_USB_NET_CDC_MBIM set to n.
 Is that correct ?

 Thanks again,

 E.

 Le 26/03/2013 17:45, Bjørn Mork a écrit :
 This may be a problem introduced with the cdc_mbim driver in Linux
 3.8. The problem is that we don't have userspace support for it yet.

 See https://bugzilla.kernel.org/show_bug.cgi?id=54791 for more details.

 Ben Hutchins suggested that ModemManager could include a modprobe.d
 *.conf snippet setting ncm as preferred until the MBIM support is
 ready. But this might not be so easy as long as you need a 3.8.5 or
 newer kernel to have this option...

 Ideas are welcome.


 Bjørn

___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: 3G Modem DHCP time out

2013-09-25 Thread Olaf Schulz

Hi,

I found another option to avoid the problem you observed 
on https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1169117:


...by adding a file /etc/modprobe.d/avoid-mbim.conf with content:

  options cdc_ncm prefer_mbim=N


This helped me in this case.

Olaf


# Emmanuel Riboulet-Deyris schrieb am 27.03.2013 um 23:26 h


Thank's a lot Bjørn for pointing me this bug report. It appears that
it's exactly the bug I'm encountering (on the same laptop by the way).

I'm very far away from being an expert about that, but if I understand,
the simplest way to make thinks work currently with a 3.8.x kernel would
be to rebuild my kernel with the key CONFIG_USB_NET_CDC_MBIM set to n.
Is that correct ?

Thanks again,

E.

Le 26/03/2013 17:45, Bjørn Mork a écrit :

This may be a problem introduced with the cdc_mbim driver in Linux 3.8. The 
problem is that we don't have userspace support for it yet.

See https://bugzilla.kernel.org/show_bug.cgi?id=54791 for more details.

Ben Hutchins suggested that ModemManager could include a modprobe.d *.conf 
snippet setting ncm as preferred until the MBIM support is ready. But this 
might not be so easy as long as you need a 3.8.5 or newer kernel to have this 
option...

Ideas are welcome.


Bjørn

___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: 3G Modem DHCP time out

2013-04-04 Thread Emmanuel Riboulet-Deyris
Le 03/04/2013 21:30, Emmanuel Riboulet-Deyris a écrit :
 Dear Bjorn,

 Le 03/04/2013 20:05, Bjørn Mork a écrit :
 Emmanuel Riboulet-Deyris e...@lastree.net writes:

 Thank's a lot Bjørn for pointing me this bug report. It appears that
 it's exactly the bug I'm encountering (on the same laptop by the way).

 I'm very far away from being an expert about that, but if I understand,
 the simplest way to make thinks work currently with a 3.8.x kernel would
 be to rebuild my kernel with the key CONFIG_USB_NET_CDC_MBIM set to n.
 Is that correct ?
 Sorry for the delayed answer.  Too much vacation outside civilization :)
 No problem at all ! ;)

 I believe the best option is upgrading to 3.8.5 or newer and setting the
 new cdc_ncm parameter prefer_mbim to false. E.g. by adding a
 /etc/modprobe.d/foo.conf with

   options cdc_ncm prefer_mbim=N

 This will make cdc_ncm/cdc_mbim prefer NCM over MBIM without sacrificing
 the MBIM support completely.
 OK, I will follow your advise. Currently I'm running a 3.8.4 FC18
 kernel recompiled with option |USB_NET_CDC_MBIM set to N. And then
 every thing is working as before...|

I can confirm that on the freshly updated FC18 kernel 3.8.5 the option
prefer_mbim set to false is working well.

Thanks again,

E.


 I thank you again for your advices.

 Sincerely,

 E.
 Bjørn



 ___
 networkmanager-list mailing list
 networkmanager-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/networkmanager-list

___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: 3G Modem DHCP time out

2013-04-03 Thread Bjørn Mork
Emmanuel Riboulet-Deyris e...@lastree.net writes:

 Thank's a lot Bjørn for pointing me this bug report. It appears that
 it's exactly the bug I'm encountering (on the same laptop by the way).

 I'm very far away from being an expert about that, but if I understand,
 the simplest way to make thinks work currently with a 3.8.x kernel would
 be to rebuild my kernel with the key CONFIG_USB_NET_CDC_MBIM set to n.
 Is that correct ?

Sorry for the delayed answer.  Too much vacation outside civilization :)

I believe the best option is upgrading to 3.8.5 or newer and setting the
new cdc_ncm parameter prefer_mbim to false. E.g. by adding a
/etc/modprobe.d/foo.conf with

  options cdc_ncm prefer_mbim=N

This will make cdc_ncm/cdc_mbim prefer NCM over MBIM without sacrificing
the MBIM support completely.


Bjørn
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: 3G Modem DHCP time out

2013-04-03 Thread Emmanuel Riboulet-Deyris
Dear Bjorn,

Le 03/04/2013 20:05, Bjørn Mork a écrit :
 Emmanuel Riboulet-Deyris e...@lastree.net writes:

 Thank's a lot Bjørn for pointing me this bug report. It appears that
 it's exactly the bug I'm encountering (on the same laptop by the way).

 I'm very far away from being an expert about that, but if I understand,
 the simplest way to make thinks work currently with a 3.8.x kernel would
 be to rebuild my kernel with the key CONFIG_USB_NET_CDC_MBIM set to n.
 Is that correct ?
 Sorry for the delayed answer.  Too much vacation outside civilization :)
No problem at all ! ;)


 I believe the best option is upgrading to 3.8.5 or newer and setting the
 new cdc_ncm parameter prefer_mbim to false. E.g. by adding a
 /etc/modprobe.d/foo.conf with

   options cdc_ncm prefer_mbim=N

 This will make cdc_ncm/cdc_mbim prefer NCM over MBIM without sacrificing
 the MBIM support completely.
OK, I will follow your advise. Currently I'm running a 3.8.4 FC18 kernel
recompiled with option |USB_NET_CDC_MBIM set to N. And then every
thing is working as before...|

I thank you again for your advices.

Sincerely,

E.

 Bjørn

___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: 3G Modem DHCP time out

2013-03-27 Thread Bjørn Mork
This may be a problem introduced with the cdc_mbim driver in Linux 3.8. The 
problem is that we don't have userspace support for it yet.

See https://bugzilla.kernel.org/show_bug.cgi?id=54791 for more details. 

Ben Hutchins suggested that ModemManager could include a modprobe.d *.conf 
snippet setting ncm as preferred until the MBIM support is ready. But this 
might not be so easy as long as you need a 3.8.5 or newer kernel to have this 
option...

Ideas are welcome.


Bjørn
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: 3G Modem DHCP time out

2013-03-27 Thread Emmanuel Riboulet-Deyris
Thank's a lot Bjørn for pointing me this bug report. It appears that
it's exactly the bug I'm encountering (on the same laptop by the way).

I'm very far away from being an expert about that, but if I understand,
the simplest way to make thinks work currently with a 3.8.x kernel would
be to rebuild my kernel with the key CONFIG_USB_NET_CDC_MBIM set to n.
Is that correct ?

Thanks again,

E.

Le 26/03/2013 17:45, Bjørn Mork a écrit :
 This may be a problem introduced with the cdc_mbim driver in Linux 3.8. The 
 problem is that we don't have userspace support for it yet.

 See https://bugzilla.kernel.org/show_bug.cgi?id=54791 for more details. 

 Ben Hutchins suggested that ModemManager could include a modprobe.d *.conf 
 snippet setting ncm as preferred until the MBIM support is ready. But this 
 might not be so easy as long as you need a 3.8.5 or newer kernel to have this 
 option...

 Ideas are welcome.


 Bjørn

___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


3G Modem DHCP time out

2013-03-24 Thread Emmanuel Riboulet-Deyris
Hello,

I'm running FC18 (kernel 3.8.4-202.fc18.x86_64) on a laptop with Ericson
H5321gw. The 3G modem was working fine (tested under windows 8, FC18
right now with wvdial (ppp connection) and networkmanager when I
installed FC18 in January). But after an update (modem-manager 0.6 
network-manager 0.9.8) I'm not able to make things working well any more
and I get this log on ''/var/log/messages'' :

Mar 24 16:32:45 folia NetworkManager[768]: info Activation (wwan0)
starting connection 'my APN***'
Mar 24 16:32:45 folia NetworkManager[768]: info (wwan0): device state
change: disconnected - prepare (reason 'none') [30 40 0]
Mar 24 16:32:45 folia NetworkManager[768]: info Activation (wwan0)
Stage 1 of 5 (Device Prepare) scheduled...
Mar 24 16:32:45 folia NetworkManager[768]: info Activation (wwan0)
Stage 1 of 5 (Device Prepare) started...
Mar 24 16:32:45 folia NetworkManager[768]: info Activation (wwan0)
Stage 1 of 5 (Device Prepare) complete.
Mar 24 16:32:46 folia dbus-daemon[717]: modem-manager[824]: info 
Modem /org/freedesktop/ModemManager/Modems/0: state changed (registered
- connecting)
Mar 24 16:32:46 folia modem-manager[824]: info  Modem
/org/freedesktop/ModemManager/Modems/0: state changed (registered -
connecting)
Mar 24 16:32:51 folia dbus-daemon[717]: modem-manager[824]: info 
Modem /org/freedesktop/ModemManager/Modems/0: state changed (connecting
- connected)
Mar 24 16:32:51 folia modem-manager[824]: info  Modem
/org/freedesktop/ModemManager/Modems/0: state changed (connecting -
connected)
Mar 24 16:32:51 folia NetworkManager[768]: info Activation (wwan0)
Stage 2 of 5 (Device Configure) scheduled...
Mar 24 16:32:51 folia NetworkManager[768]: info Activation (wwan0)
Stage 2 of 5 (Device Configure) starting...
Mar 24 16:32:51 folia NetworkManager[768]: info (wwan0): device state
change: prepare - config (reason 'none') [40 50 0]
Mar 24 16:32:51 folia NetworkManager[768]: info (wwan0): bringing up
device.
Mar 24 16:32:51 folia avahi-daemon[715]: Registering new address record
for fe80::30f0:45ff:fe7f:b2f on wwan0.*.
Mar 24 16:32:51 folia NetworkManager[768]: info Activation (wwan0)
Stage 2 of 5 (Device Configure) successful.
Mar 24 16:32:51 folia NetworkManager[768]: info Activation (wwan0)
Stage 2 of 5 (Device Configure) complete.
Mar 24 16:32:51 folia NetworkManager[768]: info Activation (wwan0)
Stage 3 of 5 (IP Configure Start) scheduled.
Mar 24 16:32:51 folia NetworkManager[768]: info Activation (wwan0)
Stage 3 of 5 (IP Configure Start) started...
Mar 24 16:32:51 folia NetworkManager[768]: info (wwan0): device state
change: config - ip-config (reason 'none') [50 70 0]
Mar 24 16:32:51 folia NetworkManager[768]: info Activation (wwan0)
Beginning DHCPv4 transaction (timeout in 45 seconds)
Mar 24 16:32:51 folia NetworkManager[768]: info dhclient started with
pid 23569
Mar 24 16:32:51 folia NetworkManager[768]: info Activation (wwan0)
Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
Mar 24 16:32:51 folia NetworkManager[768]: info Activation (wwan0)
Stage 3 of 5 (IP Configure Start) complete.
Mar 24 16:32:51 folia NetworkManager[768]: info Activation (wwan0)
Stage 4 of 5 (IPv6 Configure Timeout) started...
Mar 24 16:32:51 folia NetworkManager[768]: info Activation (wwan0)
Stage 4 of 5 (IPv6 Configure Timeout) complete.
Mar 24 16:32:51 folia dhclient[23569]: Internet Systems Consortium DHCP
Client 4.2.5
Mar 24 16:32:51 folia dhclient[23569]: Copyright 2004-2013 Internet
Systems Consortium.
Mar 24 16:32:51 folia dhclient[23569]: All rights reserved.
Mar 24 16:32:51 folia dhclient[23569]: For info, please visit
https://www.isc.org/software/dhcp/
Mar 24 16:32:51 folia dhclient[23569]:
Mar 24 16:32:51 folia NetworkManager[768]: info (wwan0): DHCPv4 state
changed nbi - preinit
Mar 24 16:32:51 folia dhclient[23569]: Listening on
LPF/wwan0/**:**:**:**:**:**
Mar 24 16:32:51 folia dhclient[23569]: Sending on  
LPF/wwan0/**:**:**:**:**:**
Mar 24 16:32:51 folia dhclient[23569]: Sending on   Socket/fallback
Mar 24 16:32:51 folia dhclient[23569]: DHCPDISCOVER on wwan0 to
255.255.255.255 port 67 interval 4 (xid=0x7cd70235)
Mar 24 16:32:55 folia dhclient[23569]: DHCPDISCOVER on wwan0 to
255.255.255.255 port 67 interval 9 (xid=0x7cd70235)
Mar 24 16:32:55 folia dhclient[5652]: DHCPDISCOVER on wwan0 to
255.255.255.255 port 67 interval 21 (xid=0x3da7b652)
Mar 24 16:33:04 folia dhclient[23569]: DHCPDISCOVER on wwan0 to
255.255.255.255 port 67 interval 7 (xid=0x7cd70235)
Mar 24 16:33:11 folia dhclient[23569]: DHCPDISCOVER on wwan0 to
255.255.255.255 port 67 interval 13 (xid=0x7cd70235)
Mar 24 16:33:16 folia dhclient[5652]: DHCPDISCOVER on wwan0 to
255.255.255.255 port 67 interval 12 (xid=0x3da7b652)
Mar 24 16:33:24 folia dhclient[23569]: DHCPDISCOVER on wwan0 to
255.255.255.255 port 67 interval 20 (xid=0x7cd70235)
Mar 24 16:33:28 folia dhclient[5652]: DHCPDISCOVER on wwan0 to
255.255.255.255 port 67 interval 9 (xid=0x3da7b652)
Mar 24 16:33:36 folia NetworkManager[768]: warn (wwan0): DHCPv4
request timed out.
Mar 24