Cannot connect to WPA/WPA2, EAP-PEAP, MSCHAPV2 network
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Canonical System Image |
High
|
Bill Filler | ||
| | indicator-network (Ubuntu) |
Undecided
|
Unassigned | ||
| | network-manager (Ubuntu) |
High
|
Unassigned | ||
| | ubuntu-system-settings (Ubuntu) |
High
|
Jonas G. Drange | ||
| | unity8 (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
On Ubuntu for Phones final image on mako I can see a network but cannot connect because I never get prompted for the username/password.
<https:/
Related branches
- PS Jenkins bot: Needs Fixing (continuous-integration) on 2015-07-02
- Jonas G. Drange (community): Approve on 2015-07-01
- Matthew Paul Thomas: Pending (design) requested 2015-06-15
-
Diff: 3222 lines (+2597/-142)13 files modifiedplugins/wifi/CMakeLists.txt (+4/-0)
plugins/wifi/CertDialog.qml (+94/-0)
plugins/wifi/CertPicker.qml (+58/-0)
plugins/wifi/OtherNetwork.qml (+691/-43)
plugins/wifi/certhandler.cpp (+348/-0)
plugins/wifi/certhandler.h (+98/-0)
plugins/wifi/plugin.cpp (+5/-0)
plugins/wifi/wifidbushelper.cpp (+116/-16)
plugins/wifi/wifidbushelper.h (+1/-1)
tests/autopilot/ubuntu_system_settings/__init__.py (+125/-45)
tests/autopilot/ubuntu_system_settings/tests/__init__.py (+18/-9)
tests/autopilot/ubuntu_system_settings/tests/networkmanager.py (+960/-0)
tests/autopilot/ubuntu_system_settings/tests/test_wifi.py (+79/-28)
- PS Jenkins bot: Needs Fixing (continuous-integration) on 2015-07-06
- Ken VanDine: Approve on 2015-07-06
-
Diff: 235 lines (+85/-19)6 files modifiedplugins/wifi/OtherNetwork.qml (+12/-2)
plugins/wifi/PageComponent.qml (+21/-9)
src/qml/MainWindow.qml (+1/-1)
tests/autopilot/ubuntu_system_settings/__init__.py (+2/-2)
tests/autopilot/ubuntu_system_settings/tests/__init__.py (+18/-2)
tests/autopilot/ubuntu_system_settings/tests/test_wifi.py (+31/-3)
| James Tait (jamestait) wrote : | #2 |
There's probably more at play here than just missing UI - I can connect to the network on my laptop, copy the NetworkManager settings file to my phone, but it still fails to connect.
| Mathijs Veen (matv1) wrote : | #3 |
I got this working with Cyphermox 's help: Here is whats needed in terms of configs:
manually edit /etc/NetworkMan
Here is how it should look:
///
[connection]
id=my-peap-
uuid=43751181-
type=802-
[802-11-
key-mgmt=wpa-eap
[802-11-wireless]
ssid=my-
mode=infrastructure
mac-address=
security=
[802-1x]
eap=peap;
identity=myusername
phase2-
password=mypassword
[ipv4]
method=auto
[ipv6]
method=auto
///
set permission of /etc/NetworkMan
thats all. Appearantly there is (at least in my network) no need to actively ignore the cert acceptance.
So i suppose this part is solved. I will do another bugreport as a feature request for a UI for all this. When i do, I will post the buglink here
| Sergi (philipsens) wrote : | #4 |
I've tried making a config file but it didn't work.
I hope this will be fixed/added soon becasue 9/10 of the time im in a building with peap. And in my opinion a smartphone is kind of useless without internet.
| Bruno Girin (brunogirin) wrote : | #5 |
In order to add a bit of context, one example of a network that uses PEAP is Eduroam, which is a Europe-wide university wi-fi network so solvign this would make a lot of students happy. For reference, here are the instructions given by UCL to their students for laptops: http://
| Changed in ubuntu-system-settings (Ubuntu): | |
| assignee: | nobody → Jonas G. Drange (jonas-drange) |
| importance: | Undecided → High |
| status: | New → In Progress |
| Changed in canonical-devices-system-image: | |
| assignee: | nobody → Bill Filler (bfiller) |
| importance: | Undecided → High |
| milestone: | none → ww21-2015 |
| status: | New → In Progress |
| Mathijs Veen (matv1) wrote : | #6 |
the work-around mentioned above still works for me. I just verified.
I suspect that for those that find it not to work, this will be related to how certificates are handled. Specifically if the network demands they be present on the device. That should also be taken into account.
| Changed in network-manager (Ubuntu): | |
| importance: | Undecided → High |
| assignee: | nobody → Matthew Paul Thomas (mpt) |
| Changed in network-manager (Ubuntu): | |
| status: | Confirmed → In Progress |
| Matthew Paul Thomas (mpt) wrote : | #7 |
I've done wireframes and explanations for some of the security+
| Daniel (punke-daniel) wrote : | #8 |
@matv1
The above workaround works for me as well at FU Berlin.
But I may not have to mention the disadvantages of cleartype passwords in config-files ;)
Looking forward to see the gui for this soon.
Thank you very much for this though.
| Matthew Paul Thomas (mpt) wrote : | #9 |
Specification updated. <https:/
| Changed in network-manager (Ubuntu): | |
| assignee: | Matthew Paul Thomas (mpt) → nobody |
| status: | In Progress → Triaged |
| description: | updated |
| Changed in canonical-devices-system-image: | |
| milestone: | ww21-2015 → ww26-2015 |
Hi all,
I wanted to add that many customers have reported the lack of connectivity with Eduroam and WPA2 Enterprise. Hope this to be implemented soon =)
This also affects my Ubuntu Phone on Aquaris 4.5 when trying to connect to a WPA2 wifi network. I think, it would be good, if this is fixed soon.
| Jonas G. Drange (jonas-drange) wrote : | #12 |
Ubuntu System Settings does not provide the “Connect to ‘{network name}’” dialogue, so affecting unity8 since it does.
| Launchpad Janitor (janitor) wrote : | #13 |
This bug was fixed in the package ubuntu-
---------------
ubuntu-
[ CI Train Bot ]
* New rebuild forced.
[ Joerg Berroth ]
* Added support for 802-1x wireless network configurations. (LP:
#1241986)
-- CI Train Bot <email address hidden> Fri, 03 Jul 2015 16:09:00 +0000
| Changed in ubuntu-system-settings (Ubuntu): | |
| status: | In Progress → Fix Released |
| Pat McGowan (pat-mcgowan) wrote : | #14 |
trying to land this now
| Changed in canonical-devices-system-image: | |
| milestone: | ww26-2015 → ww28-2015 |
| Launchpad Janitor (janitor) wrote : | #15 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in indicator-network (Ubuntu): | |
| status: | New → Confirmed |
| Changed in unity8 (Ubuntu): | |
| status: | New → Confirmed |
| Changed in canonical-devices-system-image: | |
| status: | In Progress → Fix Released |
| Changed in canonical-devices-system-image: | |
| status: | Fix Released → In Progress |
| Changed in canonical-devices-system-image: | |
| status: | In Progress → Fix Released |
| Giuseppe (giuseppe-congedo) wrote : | #17 |
Hi all,
I'm new a newbie in Ubuntu Touch (one month so far with MX4) and I love it so much. However, I've been having problems in using the WiFi, both before and after the release of OTA6. Specifically, I can't connect up to eduroam (and networks like that) using WPA & WPA2 Enterprise, PEAP, MSCHAPv2. Once I fill in all the details, the button "Connect" is greyed out and I can't proceed any further. I've tried to save the network settings in /etc/NetworkMan
Thanks for your help!
| Jonas G. Drange (jonas-drange) wrote : | #18 |
Hi Giuseppe,
if the "Connect" button is grayed out, maybe you have not added a password?
If you save the network settings to /etc/NetworkMan
| Giuseppe (giuseppe-congedo) wrote : Re: [Bug 1241986] Re: Cannot connect to WPA/WPA2, EAP-PEAP, MSCHAPV2 network | #19 |
Jo Jonas,
many thanks for your reply. I've filled in all fields, but it's still
greyed out. I've also restarted the network manager with " sudo service
network-manager restart", but it doesn't help. Thanks.
On 28/08/2015 11:59, Jonas G. Drange wrote:
> Hi Giuseppe,
>
> if the "Connect" button is grayed out, maybe you have not added a
> password?
>
> If you save the network settings to /etc/NetworkMan
> connections you have to restart NetworkManager.
>
I have the same problem as Guiseppe with both eduroam and telenetwifree.
Connect box is greyed out.
2015-08-28 13:21 GMT+02:00 Giuseppe <email address hidden>:
> Jo Jonas,
>
> many thanks for your reply. I've filled in all fields, but it's still
> greyed out. I've also restarted the network manager with " sudo service
> network-manager restart", but it doesn't help. Thanks.
>
>
> On 28/08/2015 11:59, Jonas G. Drange wrote:
> > Hi Giuseppe,
> >
> > if the "Connect" button is grayed out, maybe you have not added a
> > password?
> >
> > If you save the network settings to /etc/NetworkMan
> > connections you have to restart NetworkManager.
> >
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> Cannot connect to WPA/WPA2, EAP-PEAP, MSCHAPV2 network
>
> Status in Canonical System Image:
> Fix Released
> Status in indicator-network package in Ubuntu:
> Confirmed
> Status in network-manager package in Ubuntu:
> Triaged
> Status in ubuntu-
> Fix Released
> Status in unity8 package in Ubuntu:
> Confirmed
>
> Bug description:
> On Ubuntu for Phones final image on mako I can see a network but
> cannot connect because I never get prompted for the username/password.
>
> <https:/
> "In both the ‘Connect to “{network name}”’ and “Connect to Hidden
> Network” dialogs, the contents of the dialog, and the behavior of the
> “Connect” button, should vary depending on the security and
> authentication methods..."
>
> To manage notifications about this bug go to:
>
> https:/
>
| Jonas G. Drange (jonas-drange) wrote : | #21 |
Do any of you have a screenshot you can attach to this bug:
https:/
Let's maybe move the discussion to that bug.
I'll add a screenshot this evening. I don't have such a network available
at the moment.
2015-08-28 14:29 GMT+02:00 Jonas G. Drange <email address hidden>:
> Do any of you have a screenshot you can attach to this bug:
>
> https:/
>
> Let's maybe move the discussion to that bug.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> Cannot connect to WPA/WPA2, EAP-PEAP, MSCHAPV2 network
>
> Status in Canonical System Image:
> Fix Released
> Status in indicator-network package in Ubuntu:
> Confirmed
> Status in network-manager package in Ubuntu:
> Triaged
> Status in ubuntu-
> Fix Released
> Status in unity8 package in Ubuntu:
> Confirmed
>
> Bug description:
> On Ubuntu for Phones final image on mako I can see a network but
> cannot connect because I never get prompted for the username/password.
>
> <https:/
> "In both the ‘Connect to “{network name}”’ and “Connect to Hidden
> Network” dialogs, the contents of the dialog, and the behavior of the
> “Connect” button, should vary depending on the security and
> authentication methods..."
>
> To manage notifications about this bug go to:
>
> https:/
>
| JkB (joergberroth) wrote : Re: [Bug 1241986] Cannot connect to WPA/WPA2, EAP-PEAP, MSCHAPV2network | #23 |
The check for enabling the the connect button is ssid not empty or password
less then 8 characters. Any true for you?
Do you connect over 'connect to hidden network' in systemsettings or via
click in the network indicator?
Am Freitag, 28. August 2015 13:36:54 CEST schrieb Merlijn Sebrechts:
> I have the same problem as Guiseppe with both eduroam and telenetwifree.
> Connect box is greyed out.
>
> 2015-08-28 13:21 GMT+02:00 Giuseppe <email address hidden>:
>
>> Jo Jonas,
>>
>> many thanks for your reply. I've filled in all fields, but it's still
>> greyed out. I've also restarted the network manager with " sudo service
>> network-manager restart", but it doesn't help. Thanks.
>>
>>
>> On 28/08/2015 11:59, Jonas G. Drange wrote:
>> > Hi Giuseppe,
>> >
>> > if the "Connect" button is grayed out, maybe you have not added a
>> > password?
>> >
>> > If you save the network settings to /etc/NetworkMan
>> > connections you have to restart NetworkManager.
>> >
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https:/
>>
>> Title:
>> Cannot connect to WPA/WPA2, EAP-PEAP, MSCHAPV2 network
>>
>> Status in Canonical System Image:
>> Fix Released
>> Status in indicator-network package in Ubuntu:
>> Confirmed
>> Status in network-manager package in Ubuntu:
>> Triaged
>> Status in ubuntu-
>> Fix Released
>> Status in unity8 package in Ubuntu:
>> Confirmed
>>
>> Bug description:
>> On Ubuntu for Phones final image on mako I can see a network but
>> cannot connect because I never get prompted for the username/password.
>>
>> <https:/
>> "In both the ‘Connect to “{network name}”’ and “Connect to Hidden
>> Network” dialogs, the contents of the dialog, and the behavior of the
>> “Connect” button, should vary depending on the security and
>> authentication methods..."
>>
>> To manage notifications about this bug go to:
>>
>> https:/
>>
>
--
Versandt, mit Dekko von meinem Ubuntu-Gerät
| Giuseppe (giuseppe-congedo) wrote : | #24 |
Hi, the password is indeed less then 8 characters for me. I tried both
'connect to hidden network' and click in the network indicator and it
didn't work. Thanks.
On 28/08/2015 14:01, JkB wrote:
> The check for enabling the the connect button is ssid not empty or password
> less then 8 characters. Any true for you?
> Do you connect over 'connect to hidden network' in systemsettings or via
> click in the network indicator?
> Am Freitag, 28. August 2015 13:36:54 CEST schrieb Merlijn Sebrechts:
>> I have the same problem as Guiseppe with both eduroam and telenetwifree.
>> Connect box is greyed out.
>>
>> 2015-08-28 13:21 GMT+02:00 Giuseppe <email address hidden>:
>>
>>> Jo Jonas,
>>>
>>> many thanks for your reply. I've filled in all fields, but it's still
>>> greyed out. I've also restarted the network manager with " sudo service
>>> network-manager restart", but it doesn't help. Thanks.
>>>
>>>
>>> On 28/08/2015 11:59, Jonas G. Drange wrote:
>>>> Hi Giuseppe,
>>>>
>>>> if the "Connect" button is grayed out, maybe you have not added a
>>>> password?
>>>>
>>>> If you save the network settings to /etc/NetworkMan
>>>> connections you have to restart NetworkManager.
>>>>
>>> --
>>> You received this bug notification because you are subscribed to the bug
>>> report.
>>> https:/
>>>
>>> Title:
>>> Cannot connect to WPA/WPA2, EAP-PEAP, MSCHAPV2 network
>>>
>>> Status in Canonical System Image:
>>> Fix Released
>>> Status in indicator-network package in Ubuntu:
>>> Confirmed
>>> Status in network-manager package in Ubuntu:
>>> Triaged
>>> Status in ubuntu-
>>> Fix Released
>>> Status in unity8 package in Ubuntu:
>>> Confirmed
>>>
>>> Bug description:
>>> On Ubuntu for Phones final image on mako I can see a network but
>>> cannot connect because I never get prompted for the username/password.
>>>
>>> <https:/
>>> "In both the ‘Connect to “{network name}”’ and “Connect to Hidden
>>> Network” dialogs, the contents of the dialog, and the behavior of the
>>> “Connect” button, should vary depending on the security and
>>> authentication methods..."
>>>
>>> To manage notifications about this bug go to:
>>>
>>> https:/
>>>
>
| JkB (joergberroth) wrote : | #25 |
Well, we just took the minimum password length from other authentification modes. In general, your paasword is safer the longer it is. So, as a workaround you should change your passwprd to a longer one.
One has to discuss then, if that check can be disabled for future releases.
| Giuseppe (giuseppe-congedo) wrote : Re: [Bug 1241986] Re: Cannot connect to WPA/WPA2, EAP-PEAP, MSCHAPV2 network | #26 |
Hi, thanks. Although I agree I could change the password to make it
works for now, there's no point in having a minimum length set to an
arbitrary 8 characters. I think you agree that I as a user should have
known this in advance. Ultimately, security is up to the user. Thanks
for looking at this.
On 28/08/2015 19:17, JkB wrote:
> Well, we just took the minimum password length from other authentification modes. In general, your paasword is safer the longer it is. So, as a workaround you should change your passwprd to a longer one.
> One has to discuss then, if that check can be disabled for future releases.
>
| Giuseppe (giuseppe-congedo) wrote : | #27 |
Hi, I've got a quick update. I've finally sorted out the connection
problem, i.e. I've changed the network password to a minimum of 8
characters. It works OK the first time I connect up, but the second time
it keeps asking me the password again and again. So I have to manually
delete the connection and the same as above. I don't know whether this
is a bug or something I'm missing out. Hope you can help. Cheers, -G
| JkB (joergberroth) wrote : Re: [Bug 1241986] Cannot connect to WPA/WPA2, EAP-PEAP, MSCHAPV2network | #28 |
Have you checked "remember password" ?
Am Samstag, 5. September 2015 14:30:00 CEST schrieb Giuseppe:
> Hi, I've got a quick update. I've finally sorted out the connection
> problem, i.e. I've changed the network password to a minimum of 8
> characters. It works OK the first time I connect up, but the second time
> it keeps asking me the password again and again. So I have to manually
> delete the connection and the same as above. I don't know whether this
> is a bug or something I'm missing out. Hope you can help. Cheers, -G
>
--
Versandt, mit Dekko von meinem Ubuntu-Gerät
| Giuseppe (giuseppe-congedo) wrote : | #29 |
Yes, I've checked that. Thanks.
On 05/09/2015 13:43, JkB wrote:
> Have you checked "remember password" ?
>
> Am Samstag, 5. September 2015 14:30:00 CEST schrieb Giuseppe:
>> Hi, I've got a quick update. I've finally sorted out the connection
>> problem, i.e. I've changed the network password to a minimum of 8
>> characters. It works OK the first time I connect up, but the second time
>> it keeps asking me the password again and again. So I have to manually
>> delete the connection and the same as above. I don't know whether this
>> is a bug or something I'm missing out. Hope you can help. Cheers, -G
>>
>
| Changed in unity8 (Ubuntu): | |
| status: | Confirmed → Incomplete |
| tags: | added: nm-touch |
This was fixed a long time ago
| Changed in unity8 (Ubuntu): | |
| status: | Incomplete → Fix Released |
| Changed in network-manager (Ubuntu): | |
| status: | Triaged → Fix Released |
| Changed in indicator-network (Ubuntu): | |
| status: | Confirmed → Fix Released |


Status changed to 'Confirmed' because the bug affects multiple users.