WiFi does not connect to WPA2-Enterprise network with TTLS and PAP auth

Bug #1246992 reported by Max
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Bug report:
Attempting to connect to the campus WiFi network under a clean install of Ubuntu 13.10 fails.
The network environment is set up using WPA2-Enterprise with TTLS and PAP authentication.
There is no CA certificate for clients to install, students and faculty are instructed to set their hardware to ignore the nonexistence of a CA cert.

My hardware is a Lenovo G780, the internal network card is a Broadcom BCM4313
I get the same behavior using a USB WiFi dongle by Belkin that I've had working on Ubuntu previous, so it's not just the Broadcom card giving the issue.

Probably important:
++ On this same hardware running Ubuntu 12.04, I could connect to the campus WiFi network.
++ Checking the system logs, I can verify that the WiFi card is associating with the access point for the network. It fails somewhere during authentication.
++ I have the same behavior with a USB WiFi dongle known to work with Ubuntu - that's a belkin that I've got to work on plenty of other setups. I'm pretty sure it's NetworkManager with the error since the same behavior happens on the Broadcom internal chip on my laptop, and the Belkin WiFi USB dongle.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: network-manager 0.9.8.0-0ubuntu22
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
Date: Fri Nov 1 03:01:25 2013
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2013-11-01 (0 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
InterestingModules: ndiswrapper
IpRoute:
 default via 192.168.13.1 dev eth1 proto static
 192.168.13.0/24 dev eth1 proto kernel scope link src 192.168.13.73 metric 9
MarkForUpload: True
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
 WimaxEnabled=true
SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
nmcli-dev:
 DEVICE TYPE STATE DBUS-PATH
 eth1 802-11-wireless connected /org/freedesktop/NetworkManager/Devices/1
 eth0 802-3-ethernet unavailable /org/freedesktop/NetworkManager/Devices/0
nmcli-nm:
 RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN
 running 0.9.8.0 connected enabled enabled enabled enabled disabled

Revision history for this message
Max (mattrulz127) wrote :
Revision history for this message
Max (mattrulz127) wrote :

The attachment WifiSyslog.txt that was automatically added to this bug report doesn't appear to demonstrate the bug. The connection log doesn't have any attempts to get onto the campus network in it. If someone wants it, I will post a better log example with a connection attempt to the campus net.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in network-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
pfoo (pfoo) wrote :

I might be experiencing the same issue while trying to connect to eduroam (TTLS / PAP with no certificate).
I'm running kubuntu and tried kde and gnome nm applet, both failed to connect.

Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)

Revision history for this message
pfoo (pfoo) wrote :

Until this bug is fixed, here is what you have to do in order to connect to your ttls/pap wifi network :

- disable network management
- create wpa_supplicant.conf containing :
ctrl_interface=/var/run/wpa_supplicant
#ctrl_interface_group=wheel.
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
network={

ssid="eduroam"
proto=WPA2 WPA
scan_ssid=1
key_mgmt=WPA-EAP
pairwise=CCMP TKIP
group=CCMP TKIP
eap=TTLS
#ca_cert="supply it and uncomment this line if you have it"
anonymous_identity="your anonymous identity (CHANGE THIS)"
phase2="auth=PAP"

identity="your login (CHANGE THIS)"
password="your password (CHANGE THIS)"
}

- don't forget to change anonymous_identity, identify and password
- sudo rfkill unblock all ("sudo rfkill unblock wifi" might work as well)
- sudo wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant.conf -d
- sudo dhclient wlan0

Revision history for this message
pfoo (pfoo) wrote :

[edit last comment]
wpa_supplicant.conf must be created in /etc/wpa_supplicant.conf
You'll also need to change "ssid=" to your wifi network ssid in /etc/wpa_supplicant.conf

Revision history for this message
Lighton Phiri (lighton-phiri) wrote :

I'd been having trouble connecting to our campus WPA2-Enterprise (EAP/PEAP) WiFi network using Ubuntu 13.10. The workaround here [1, 2] worked for me--thanks for sharing @pfoo.

In addition, this [3] thread helped me understand what was going on.

[1] https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1246992/comments/5
[2] https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1246992/comments/6
[3] http://ubuntuforums.org/showthread.php?t=202834

Revision history for this message
pfoo (pfoo) wrote :

This bug seems to be fixed in kubuntu Trusty/14.04

Revision history for this message
Max (mattrulz127) wrote : Re: [Bug 1246992] Re: WiFi does not connect to WPA2-Enterprise network with TTLS and PAP auth
Download full text (3.4 KiB)

As of last week, the bug was not fixed in Ubuntu 14.04 x64, at least for
me. I can't test it anymore though, since I'm not on campus for the summer.
Good to know Kubuntu works though!
On May 9, 2014 11:25 AM, "pfoo" <email address hidden> wrote:

> This bug seems to be fixed in kubuntu Trusty/14.04
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1246992
>
> Title:
> WiFi does not connect to WPA2-Enterprise network with TTLS and PAP
> auth
>
> Status in "network-manager" package in Ubuntu:
> Confirmed
>
> Bug description:
> Bug report:
> Attempting to connect to the campus WiFi network under a clean install
> of Ubuntu 13.10 fails.
> The network environment is set up using WPA2-Enterprise with TTLS and
> PAP authentication.
> There is no CA certificate for clients to install, students and faculty
> are instructed to set their hardware to ignore the nonexistence of a CA
> cert.
>
> My hardware is a Lenovo G780, the internal network card is a Broadcom
> BCM4313
> I get the same behavior using a USB WiFi dongle by Belkin that I've had
> working on Ubuntu previous, so it's not just the Broadcom card giving the
> issue.
>
> Probably important:
> ++ On this same hardware running Ubuntu 12.04, I could connect to the
> campus WiFi network.
> ++ Checking the system logs, I can verify that the WiFi card is
> associating with the access point for the network. It fails somewhere
> during authentication.
> ++ I have the same behavior with a USB WiFi dongle known to work with
> Ubuntu - that's a belkin that I've got to work on plenty of other setups.
> I'm pretty sure it's NetworkManager with the error since the same behavior
> happens on the Broadcom internal chip on my laptop, and the Belkin WiFi USB
> dongle.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 13.10
> Package: network-manager 0.9.8.0-0ubuntu22
> ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
> Uname: Linux 3.11.0-12-generic x86_64
> NonfreeKernelModules: wl
> ApportVersion: 2.12.5-0ubuntu2.1
> Architecture: amd64
> Date: Fri Nov 1 03:01:25 2013
> IfupdownConfig:
> # interfaces(5) file used by ifup(8) and ifdown(8)
> auto lo
> iface lo inet loopback
> InstallationDate: Installed on 2013-11-01 (0 days ago)
> InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64
> (20131016.1)
> InterestingModules: ndiswrapper
> IpRoute:
> default via 192.168.13.1 dev eth1 proto static
> 192.168.13.0/24 dev eth1 proto kernel scope link src 192.168.13.73
> metric 9
> MarkForUpload: True
> NetworkManager.state:
> [main]
> NetworkingEnabled=true
> WirelessEnabled=true
> WWANEnabled=true
> WimaxEnabled=true
> SourcePackage: network-manager
> UpgradeStatus: No upgrade log present (probably fresh install)
> nmcli-dev:
> DEVICE TYPE STATE DBUS-PATH
> eth1 802-11-wireless connected
> /org/freedesktop/NetworkManager/Devices/1
> eth0 802-3-ethernet unavailable
> /org/freedesktop/NetworkManager/Devices/0
> nmcli-nm:
> RUNNING VERSION STATE NET-EN...

Read more...

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.