Comment 0 for bug 704123

Revision history for this message
Uqbar (uqbar) wrote : PIN is asked despite it's configured into the system connection

Binary package hint: network-manager

I've configured a system-wide 3g broadband connection.
In fact it's there a file with all the provided details in /etc/NetworkManager/system-connections/ .
If I switch (log-out + log-in) to a non-administrative user, as soon as I plug the USB 3G modem I get asked the modem PIN.
This is included into the mentioned file.
The objective is to allow a "normal" user to connect with the modem with out the knowledge of username, password and PIN.
The defails follow.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick

How to reproduce the bug:
1. Log in as an administrative user (the first one you create at installation time)
2. Plug the USB 3G modem into a port
3. Go to System-->Preferences-->Newtwork Connections-->Mobile Broadband
4. Fill all the needed details (as well as the PIN)
5. Check "Automatically connect" and "Available to all users"
6. Test the connection is working.
7. Check the file in /etc/NetworkManager/system-connections/
8. Reboot (maybe just logout and long is enough)
9. Log in as the administrative user
10. Plug the USB modem

What happens
The system asks for the PIN. You can ignore this request. Then you can go to the
netowrk icon and select the broadband connection and click it. This time the PIN
is not required and the connection fires up.

What is expected to happen
No PIN is required at the modem insertion and the connection fires up automatically.

Extra steps.
11. Create another non administrative user which is capable to connect through modems (groups dialout and dip).
12. Switch to this new user
13. Plug the USB modem.

What happens
The system asks for aìthe PIN. You cannot ignore this request.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: network-manager 0.8.1+git.20100810t184654.ab580f4-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.35-24.42-generic 2.6.35.8
Uname: Linux 2.6.35-24-generic i686
Architecture: i386
CRDA: Error: [Errno 2] File o directory non esistente
Date: Mon Jan 17 20:50:21 2011
IfupdownConfig:
 auto lo
 iface lo inet loopback
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
IpRoute:
 192.168.129.0/24 dev wlan0 proto kernel scope link src 192.168.129.6 metric 2
 169.254.0.0/16 dev wlan0 scope link metric 1000
 default via 192.168.129.254 dev wlan0 proto static
Keyfiles: Error: [Errno 2] File o directory non esistente
ProcEnviron:
 LANG=it_IT.utf8
 SHELL=/bin/bash
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: network-manager