Bug#784792: network-manager: cannot connect with umts usb modem more than once

2016-03-27 Thread Michael Schwinck
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="  to connection profile's
   "connection" section. Here  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 
 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 '' 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  adduser3.113+nmu3
> ii  dbus   1.8.16-1
> ii  init-system-helpers1.22
> ii  isc-dhcp-client4.3.1-6
> ii  libc6  2.19-18
> ii  libdbus-1-31.8.16-1
> ii  libdbus-glib-1-2   0.102-1
> ii  libgcrypt201.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-glib01.4.0-1
> ii  libndp01.4-2
> ii  libnewt0.520.52.17-1+b1
> ii  libnl-3-2003.2.24-2
> ii  libnl-genl-3-200   3.2.24-2
> ii  libnl-route-3-200  3.2.24-2
> ii  libnm-glib40.9.10.0-7
> ii  libnm-util20.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  libsystemd0215-17
> ii  libteamdctl0   1.12-2
> ii  libuuid1   2.25.2-6



Bug#784792: network-manager: cannot connect with umts usb modem more than once

2015-05-08 Thread Paul Seyfert

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 '' 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  adduser3.113+nmu3
ii  dbus   1.8.16-1
ii  init-system-helpers1.22
ii  isc-dhcp-client4.3.1-6
ii  libc6  2.19-18
ii  libdbus-1-31.8.16-1
ii  libdbus-glib-1-2   0.102-1
ii  libgcrypt201.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-glib01.4.0-1
ii  libndp01.4-2
ii  libnewt0.520.52.17-1+b1
ii  libnl-3-2003.2.24-2
ii  libnl-genl-3-200   3.2.24-2
ii  libnl-route-3-200  3.2.24-2
ii  libnm-glib40.9.10.0-7
ii  libnm-util20.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  libsystemd0215-17
ii  libteamdctl0   1.12-2
ii  libuuid1   2.25.2-6
ii  lsb-base   4.1+Debian13+nmu1
ii  policykit-10.105-8
ii  udev   215-17
ii  wpasupplicant  2.3-1+deb8u1

Versions of packages network-manager recommends:
ii  crda3.13-1
ii  dnsmasq-base2.72-3
ii  iptables1.4.21-2+b1
ii  iputils-arping  3:20121221-5+b2
ii  modemmanager1.4.0-1
ii  ppp 2.4.6-3.1

Versions of packages network-manager suggests:
pn  avahi-autoipd  
pn  libteam-utils  

-- no debconf information


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