[Pkg-utopia-maintainers] Bug#784792: network-manager: cannot connect with umts usb modem more than once

Michael Schwinck m.schwinck at gmx.de
Sun Mar 27 15:58:58 UTC 2016


A really nerve-racking problem. 
It is caused by the fact that the entry for the device used for the broadband connection is 
missing in the connection profile located in "/etc/NetworkManager/system-connections/".

Workaround:
1. If a USB stick is used for broadband connection plug it in and wait some seconds until the 
   device driver has been loaded. 
2. Invoke the command "nmcli dev" and look for the gsm device name. - If no gsm device is listed 
   wait additional seconds and repeat the command. 
3. Look for the name of your broadband connection profile in directory 
   "/etc/NetworkManager/system-connections/". 
4. As root user add the line "device=<device-name>"  to connection profile's
   "connection" section. Here <device-name> must be replaced be the name listed in the "device"
   column of the "nmcli dev" output. - That's all.


Example:
1. Let's assume device "ttyHS0" is listed for gsm connections by "nmcli dev". 
2. Let's further assume the broadband connection is named named "t-mobile".
3. As root user add the line "device=ttyHS0" to the section "[connection]" of the file 
   "t-mobile". - This file is located in the directory mentioned above.

-----------------

Note: If the USB Modem is disconnected (unplugged) and then reconnected the device name 
changes. But that's not network-manager's fault.

Michael Schwinck
Mainz, Germany

----------------------------------------------------------------------------------------------

On Fri, 8 May 2015 22:49:58 +0200 Paul Seyfert <pseyfert at mathphys.fsk.uni-heidelberg.de> wrote:
> 
> Package: network-manager
> Version: 0.9.10.0-7
> Severity: important
> 
> Dear Maintainer,
> 
> 
> I connect a usb umts modem to my computer (i am asked for the PIN), connect to
> the internet with it, disconnect from the network, unplug, replug (i am asked
> for the PIN again), i try to connect to the internet and receive the error
> 'Connection '<name of the connection>' is not available on the device ttyUSB35
> at this time' (http://mathphys.fsk.uni-heidelberg.de/~pseyfert/nm.png)
> 
> when restarting the network manager (systemctl restart network-manager.service)
> the connection can be established.
> 
> (i didn't do any further debuging)
> 
> 
> 
> -- System Information:
> Debian Release: 8.0
>   APT prefers stable
>   APT policy: (900, 'stable')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages network-manager depends on:
> ii  adduser                3.113+nmu3
> ii  dbus                   1.8.16-1
> ii  init-system-helpers    1.22
> ii  isc-dhcp-client        4.3.1-6
> ii  libc6                  2.19-18
> ii  libdbus-1-3            1.8.16-1
> ii  libdbus-glib-1-2       0.102-1
> ii  libgcrypt20            1.6.3-2
> ii  libglib2.0-0           2.42.1-1
> ii  libgnutls-deb0-28      3.3.8-6
> ii  libgudev-1.0-0         215-17
> ii  libmm-glib0            1.4.0-1
> ii  libndp0                1.4-2
> ii  libnewt0.52            0.52.17-1+b1
> ii  libnl-3-200            3.2.24-2
> ii  libnl-genl-3-200       3.2.24-2
> ii  libnl-route-3-200      3.2.24-2
> ii  libnm-glib4            0.9.10.0-7
> ii  libnm-util2            0.9.10.0-7
> ii  libpam-systemd         215-17
> ii  libpolkit-gobject-1-0  0.105-8
> ii  libreadline6           6.3-8+b3
> ii  libsoup2.4-1           2.48.0-1
> ii  libsystemd0            215-17
> ii  libteamdctl0           1.12-2
> ii  libuuid1               2.25.2-6



More information about the Pkg-utopia-maintainers mailing list