network manager should read default profile from 3G USB Stick -- Huawei E169

Bug #270918 reported by Bernd Schlapsi
8
Affects Status Importance Assigned to Milestone
mobile-broadband-provider-info (Ubuntu)
Invalid
Undecided
Antti Kaijanmäki
network-manager (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

Today I use umtsmon under Ubuntu 8.04 to connect to 3g-network with my Huawei E169 USB Stick. This works quite well and I didn't need to configure any network settings like apn, user or password for the network connection.
The only problem today is, that Ubuntu didn't recognize this usb stick after booting my machine.

So I tried Ubuntu 8.10, because I read a lot about the new network-manager and 3G support. The usb stick works quite will, but the only problem is, that the the network-manager don't use the default configuration - which is stored an the usb-stick so far as I know.

So I have to configure my network settings like apn, user and password manually. But for the average user it would be great, if they could plug in the usb device and connect to the network without any configuration issue.

Description: Ubuntu intrepid (development branch)
Release: 8.10

network-manager: 0.7~~svn20080908t183521+eni0-0ubuntu2

Revision history for this message
Alexander Sack (asac) wrote :

so what is the exact behaviour? NetworkManager doesnt show this in the applet?

please attach the complete output of lspci and lshal to this bug.

Changed in network-manager:
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Alexander Sack (asac) wrote :

oh. i think you want the 3g broadband wizard. For that install the latest applet and daemon from the network-manager PPA: http://launchpad.net/~network-manager/+archive

once done, restart everything (system restart to be sure) and remove any existing connection from the connection editor. next time you plug it in the wizard should pop up and hopefully will guide you through it - making configuration trivial.

please test.

Revision history for this message
Bernd Schlapsi (bernd-sch) wrote :

ok, I added the PPA to my sources.list and updated my system.
Now the wizard appears and I could choose my country and my provider, which is "Austria" and "Drei".

But I didn't get a connection with the default settings (look at the attachment: EditiongDrei-Default.png). I also attached the syslog during this connection try (attachment: syslog_connect).
So I changed the number in the settings (attachment: EditiongDrei-Corrected.png) and now the connection worked (attachment: syslog_connect2)

I also attached the syslog during the plugin phase, so you can see more info about my usb stick (attachment: syslog_plugin)

Revision history for this message
Bernd Schlapsi (bernd-sch) wrote :

by the way.... I changed the number from *99***1# to *99#

Revision history for this message
Bernd Schlapsi (bernd-sch) wrote :
Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 270918] Re: network manager should read default profile from 3G USB Stick

On Tue, Sep 16, 2008 at 10:56:53PM -0000, Brot wrote:
> by the way.... I changed the number from *99***1# to *99#
>

Please also file a bug against the mobile-broadband-provider-info
package.

Thanks!

 - Alexander

Revision history for this message
Alexander Sack (asac) wrote : Re: network manager should read default profile from 3G USB Stick

Could also let us know in this bug which provider you are using. Thanks.

Changed in mobile-broadband-provider-info:
status: New → Incomplete
Revision history for this message
Alexander Sack (asac) wrote :

(btw, this bug is now open against the mobile-broadband-provider-info too so no need to open another bug)

Revision history for this message
Antti Kaijanmäki (kaijanmaki) wrote :

Dial number is not coming from m-b-p-i. It's coming from network-manager-applet, but the fact that *99# works and *99***1# does not indicates that there's a bug in NetworkManager.

Changed in mobile-broadband-provider-info:
assignee: nobody → kaijanmaki
status: Incomplete → Invalid
Revision history for this message
Bernd Schlapsi (bernd-sch) wrote :

I mentioned it before! My provider is "Drei" (http://www.drei.at/) and the country of this provider is "Austria".

I don't know which package is responsible for this dial information. I tried my HSDPA USB Stick with the new Ubuntu 8.10, because I noticed that this is one of the most wanted features and in the austrian ubuntu forum it's the most asked question. At the moment the answer is to use umtsmon. For the user experience it would be great if it works out-of-the-box.

So I filled out this bug with my information and hope that this information is included in the final release so that there will be no problems for all the users out there

Revision history for this message
Alexander Sack (asac) wrote :

this bug appears to go into multiple directions. We will use this bug for its initial purpose. to track the wish to "read profiles from modems".

Changed in network-manager:
importance: Medium → Wishlist
status: Incomplete → Confirmed
Revision history for this message
Antti Kaijanmäki (kaijanmaki) wrote :

The comment I made above was directed to Alexander as he opened this bug also against m-b-p-i package. Sorry if you thought I directed it to you, Brot. It's truly great that you have taken the time to report this bug.

Firstly you said that the wizard already contains the information for "Drei" in Austria, right?

Secondly do you think that now when the assistant is in place the user experience is enough "out-of-the-box"? I don't think we should or can go any further. At least for now.

What comes to the original bug about getting the configuration directly from the device it should go on wishlist.

Revision history for this message
Bernd Schlapsi (bernd-sch) wrote :

I don't know how umtsmon works internally, but there is no wizard and I could use my USB Stick out-of-the-box without configure anything. But the wizard is a good way in the right direction.

In which package are the dial numbers stored? Who can correct the wrong number (*99***1#) in the wizard and change it with the right number (*99#), which worked in my case?
As I heared from a friend there is another austrian provieder (One/Orange) with a wrong number. The right number there is also *99#
Where should I ask to correct this issues?

It is necessary that the wizard works correctly. If the user had to configure something after the wizard finished this would be a bad experience!

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 270918] Re: network manager should read default profile from 3G USB Stick

On Wed, Sep 17, 2008 at 10:49:27AM -0000, Brot wrote:
> I don't know how umtsmon works internally, but there is no wizard and I
> could use my USB Stick out-of-the-box without configure anything. But
> the wizard is a good way in the right direction.
>
> In which package are the dial numbers stored? Who can correct the wrong number (*99***1#) in the wizard and change it with the right number (*99#), which worked in my case?
> As I heared from a friend there is another austrian provieder (One/Orange) with a wrong number. The right number there is also *99#
> Where should I ask to correct this issues?
>
> It is necessary that the wizard works correctly. If the user had to
> configure something after the wizard finished this would be a bad
> experience!
>

Please verify that the same issue exists when you uninstall libmbca0
package (e.g. without mobile broadband wizard).

Usually NM shjould create an auto connection even without the
wizard. would be curious to hear if its still a problem.

To test you might need to remove all 3g connection from the connection
editor and restart.

 - Alexander

Revision history for this message
Bernd Schlapsi (bernd-sch) wrote : Re: network manager should read default profile from 3G USB Stick

I removed the package libmbca0 (see attachment "remove.log") and deleted the existing 3g connection in my connection editor.

Then I tried to plugin my usb device and connect to the internet. But it doesn't work (see attachment "syslog1_connect1"). The APN information is missing in the 3g connection settings.
So I filled this information in (drei.at), but it still doesn't work (see attachment "syslog1_connect2")

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 270918] Re: network manager should read default profile from 3G USB Stick

On Wed, Sep 17, 2008 at 10:49:27AM -0000, Brot wrote:
> I don't know how umtsmon works internally, but there is no wizard and I
> could use my USB Stick out-of-the-box without configure anything. But
> the wizard is a good way in the right direction.
>
> In which package are the dial numbers stored? Who can correct the wrong number (*99***1#) in the wizard and change it with the right number (*99#), which worked in my case?

the wrong number should be fixed now in latest bzr branch. however
when not using the broadband wizard this shouldnt be an issue.

 - Alexander

Revision history for this message
Bernd Schlapsi (bernd-sch) wrote : Re: network manager should read default profile from 3G USB Stick

I tried the new version and it works with one manually change.
After the first connection I get an ip-address and the dns-servers, but a ping doesn't work.
I have to "Allow application access to keyring" and then the connection works.

To get to the dialog in the attachment I have to do the following steps:
1) "Edit Connections..." opens the Network Connections Settings
2) Move to the "Mobile Broadband"-Tab
3) Edit "Auto GSM network connection"
Then the dialog appears and I can "Always Allow" the access

Is this because on my usb-stick the pin-code isn't disabled?

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 270918] Re: network manager should read default profile from 3G USB Stick

On Mon, Oct 06, 2008 at 04:47:50PM -0000, Brot wrote:
> I tried the new version and it works with one manually change.
> After the first connection I get an ip-address and the dns-servers, but a ping doesn't work.
> I have to "Allow application access to keyring" and then the connection works.
>
> To get to the dialog in the attachment I have to do the following steps:
> 1) "Edit Connections..." opens the Network Connections Settings
> 2) Move to the "Mobile Broadband"-Tab
> 3) Edit "Auto GSM network connection"
> Then the dialog appears and I can "Always Allow" the access
>
> Is this because on my usb-stick the pin-code isn't disabled?

No, NetworkManager needs to access your secret (e.g. pin-code), which
isnt stored by NetworkManager itself, but in the gnome-keyring (which
has extra security measures). Applications that want to get those keys
need to ask the user to do that.

 - Alexander

Revision history for this message
Bernd Schlapsi (bernd-sch) wrote : Re: network manager should read default profile from 3G USB Stick

yes, that's right, but it's a problem for the user experience that the network connection only works if you open the "Auto GSM network connection" manually. This is a major problem for new users, because the connection doesn't work out of the box.

The question "Allow application access to keyring" should appear while the network connection is automatically configured the first time.

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 270918] Re: network manager should read default profile from 3G USB Stick

On Thu, Oct 09, 2008 at 10:46:13AM -0000, Brot wrote:
> yes, that's right, but it's a problem for the user experience that the
> network connection only works if you open the "Auto GSM network
> connection" manually. This is a major problem for new users, because the
> connection doesn't work out of the box.
>
> The question "Allow application access to keyring" should appear while
> the network connection is automatically configured the first time.
>

So you say it doesnt happen automatically? What is your ESSID name? is
that a factory default?

 - Alexander

Revision history for this message
Bernd Schlapsi (bernd-sch) wrote : Re: network manager should read default profile from 3G USB Stick

All the other settings are ok. If I open the Network Connections Settings for Mobile Broadband there is no apn or something. only the telephonnumber is listed.What do you mean with ESSID?

But I have to open this Mobile Broadband Setting to force the "Allow application access to keyring" message. If I click "Allows always" the connection works without any problems

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 270918] Re: network manager should read default profile from 3G USB Stick

On Thu, Oct 09, 2008 at 12:13:19PM -0000, Brot wrote:
> All the other settings are ok. If I open the Network Connections
> Settings for Mobile Broadband there is no apn or something. only the
> telephonnumber is listed.What do you mean with ESSID?
>
> But I have to open this Mobile Broadband Setting to force the "Allow
> application access to keyring" message. If I click "Allows always" the
> connection works without any problems
>

OK, just to summarize:

 1. you are using a 3G connection
 2. that 3G connection doesnt work when you click on it in the drop
 down menu from the applet?
 3. that 3G connection works if started to edit it in the connection
 editor (which triggers the keyring dialog) and confirmed "always
 allow" there?

 - Alexander

Revision history for this message
Bernd Schlapsi (bernd-sch) wrote : Re: network manager should read default profile from 3G USB Stick

yes your summarize is correct.
I attached a screenshot of the "Passwords and Encryption Keys" Application. There you can see that the pin code triggers the keyring dialog

~Bernd

Revision history for this message
Bernd Schlapsi (bernd-sch) wrote :

I tried to disable the pin-code (this is easy with umtsmon) on the usb-stick and plug it into my notebook with ubuntu 8.10
This works without any problems. The dialog I mentioned before to store the pin-code in the keyring-manager doesn't pop up now.

But for the user experience it's important that the connection also works with enabled pin-code.

Revision history for this message
Bernd Schlapsi (bernd-sch) wrote :

Today I installed the final 8.10 release and plugged my usb-stick into the usb-port.
UMTS connection works great except the known issue with the pin code and the keyring manager.
There is no working connection until I manually opened the connection editor for 3G and confirmed "always allow" in the triggered keyring dialog

Revision history for this message
Bengt Grahn (bengt-vikingsw) wrote :

I can confirm the problem. It appears that the modem has to be disconnected physically and then connected again for the USB-thingies to realise that something has been connected. After that, it connects to the Internet properly. See further my Open Question #72536. I am running Ubuntu 9.04.

Thomas Hood (jdthood)
summary: - network manager should read default profile from 3G USB Stick
+ network manager should read default profile from 3G USB Stick -- Huawei
+ E169
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.