LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-06-2017, 08:02 PM   #1
Seeboooo
LQ Newbie
 
Registered: Mar 2017
Posts: 7

Rep: Reputation: Disabled
Wifi connection problem on Linux Mint 18.1 Cinnamon & Ubuntu 16.04


Hello LQ!

I recently decided to install linux on my "no longer supported by apple" macbook that I currently use for work (emails, text editor, etc so it's still plenty powerful) but I've been having a couple issues...

I first tried installing Ubuntu 16.04 LTS and everything worked fine when I set it up at home but then I wasn't able to have internet access (even if connected to router) at the office and simply wasn't able to connect to the university and eduroam networks (no password prompt).

Then I switched to Linux Mint 18.1 Cinnamon (I didn't quite like the Unity dash menu and it was a bit resource hungry). I still can't connect to the university and eduroam network (even if I connect using the "connect to hidden network" feature and input the encryption type manually as the guides mention). At the office, I finally managed to connect as the router was replaced but today I wasn't able to reconnect after the computer went to sleep. Even a reboot didn't allow me to reconnect to the network I was using earlier (but I was to connect to my mobile phone hotspot).

Now, the question, what's causing all those "Network Manager" problems? Quick research on the web and I see a lot of other users having similar issues with Ubuntu 16.04 and it's derivatives... What "level" is the error located (what software would need to be replaced to bypass that problem)?

I do like solving problems here and there but I can't spend hours every other day trying to connect to a wifi network.

Thanks for your inputs!
(I don't want to have to install windows on my macbook...)
 
Old 03-06-2017, 08:22 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174
Quote:
Now, the question, what's causing all those "Network Manager" problems?
I'm guessing that it could be because you don't have the linux driver installed for either your wifi card or your chipset. If installing a driver doesn't help you could remove Network Mgr and install Wicd.
https://community.linuxmint.com/software/view/wicd

Quote:
what software would need to be replaced to bypass that problem)?
Another alternative would be to purchase a usb wifi dongle.
http://www.wirelesshack.org/top-linu...-adapters.html

What is the output of lspci?
 
Old 03-06-2017, 10:12 PM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,231

Rep: Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006
Quote:
Then I switched to Linux Mint 18.1 Cinnamon (I didn't quite like the Unity dash menu and it was a bit resource hungry). I still can't connect to the university and eduroam network (even if I connect using the "connect to hidden network" feature and input the encryption type manually as the guides mention). At the office, I finally managed to connect as the router was replaced but today I wasn't able to reconnect after the computer went to sleep. Even a reboot didn't allow me to reconnect to the network I was using earlier (but I was to connect to my mobile phone hotspot).

Now, the question, what's causing all those "Network Manager" problems? Quick research on the web and I see a lot of other users having similar issues with Ubuntu 16.04 and it's derivatives... What "level" is the error located (what software would need to be replaced to bypass that problem)?
First, if you can connect to any wireless network at all, then that suggests the appropriate wireless driver is loaded.

For Ubuntu 16 or Linux Mint 18 you could open a terminal window and watch the journal log like this
Code:
sudo journalctl -fu NetworkManager
then try to connect via NM. That should help with determining what the underlying issue might be.

In general, if you can connect to a wireless network, but still can't browse, then check IP addressing and routing first
Code:
ip address
Code:
ip route
Check that you can ping the gateway successfully, then try an internet address eg 8.8.8.8 (a well-known google DNS address). If that check out, then proceed with checking for a valid name server...
Code:
grep "name" /etc/resolv.conf
 
Old 03-06-2017, 10:18 PM   #4
Seeboooo
LQ Newbie
 
Registered: Mar 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ztcoracat View Post
I'm guessing that it could be because you don't have the linux driver installed for either your wifi card or your chipset.
I have installed both proprietary drivers using the "Driver Manager" tool in Linux Mint. There is more than one choice for the braodcom wifi card but I used the bcmwl-kernel-source for my BCM4321 (it seems to be the recommended one from what I could gather on wikis if I recall correctly).

Currently running the Linux Mint 18.1 default 4.4.0 kernel (if that makes a difference there).

as far as lspci goes:

Code:
seeboooo@MintBook ~ $ lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) (rev 03)
00:1a.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
02:00.0 Network controller: Broadcom Corporation BCM4321 802.11a/b/g/n (rev 03)
03:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8058 PCI-E Gigabit Ethernet Controller (rev 13)
04:03.0 FireWire (IEEE 1394): LSI Corporation FW322/323 [TrueFire] 1394a Controller (rev 61)
Thanks for the help.
 
Old 03-07-2017, 06:36 AM   #5
Seeboooo
LQ Newbie
 
Registered: Mar 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks Ztcoracat and ferrari for the replies.

Quote:
Originally Posted by ferrari View Post
First, if you can connect to any wireless network at all, then that suggests the appropriate wireless driver is loaded.

For Ubuntu 16 or Linux Mint 18 you could open a terminal window and watch the journal log like this
Code:
sudo journalctl -fu NetworkManager
then try to connect via NM. That should help with determining what the underlying issue might be.
Here is a part of the log of one of the event that happened yesterday (failed to reconnect after computer was sleeping, wasn't fixed by rebooting the computer). Looks like it fails at the "ip-config" stage with the reason ip-config-unavailable as reason. (note: I'm usually able to connect to the web on this router).

Code:
Mar  6 13:28:06 MintBook NetworkManager[914]: <info>  [1488824886.6619] device (wls4): Activation: (wifi) Stage 2 of 5 (Device Configure) successful.  Connected to wireless network 'Office SSID'.
Mar  6 13:28:06 MintBook NetworkManager[914]: <info>  [1488824886.6621] device (wls4): state change: config -> ip-config (reason 'none') [50 70 0]
Mar  6 13:28:06 MintBook NetworkManager[914]: <info>  [1488824886.6630] dhcp4 (wls4): activation: beginning transaction (timeout in 45 seconds)
Mar  6 13:28:06 MintBook NetworkManager[914]: <info>  [1488824886.6648] dhcp4 (wls4): dhclient started with pid 3822
Mar  6 13:28:51 MintBook NetworkManager[914]: <warn>  [1488824931.9997] dhcp4 (wls4): request timed out
Mar  6 13:28:52 MintBook NetworkManager[914]: <info>  [1488824931.9998] dhcp4 (wls4): state changed unknown -> timeout
Mar  6 13:28:52 MintBook NetworkManager[914]: <info>  [1488824932.0164] dhcp4 (wls4): canceled DHCP transaction, DHCP client pid 3822
Mar  6 13:28:52 MintBook NetworkManager[914]: <info>  [1488824932.0164] dhcp4 (wls4): state changed timeout -> done
Mar  6 13:28:52 MintBook NetworkManager[914]: <info>  [1488824932.0173] device (wls4): state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
Mar  6 13:28:52 MintBook NetworkManager[914]: <info>  [1488824932.0177] manager: NetworkManager state is now DISCONNECTED
Mar  6 13:28:52 MintBook NetworkManager[914]: <warn>  [1488824932.0193] device (wls4): Activation: failed for connection 'Auto Office SSID'
These two issues are "connection to the router / network" indeed and not "connection to the internet."

The eduroam problem is that network manager can't "automatically" connect to a WPA2 enterprise network using PEAP without a certificate. Hence the question if there was an alternative solution than trying to force a connection.
Example of connection procedure
but for me it didn't work last time I tried, I also found that each website I visit suggest a different certificate.

The original question was more "would I have the same issue if I would have installed Debian / OpenSuse / Arch Linux / Feudora / (name your flavor) or is it simply broken at the kernel level?" more than how to fix this as I can't be spending 30+ minutes fixing the wifi connection each time I go to see a client.
 
Old 03-07-2017, 10:03 AM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174
Quote:
"would I have the same issue if I would have installed Debian
Even after installing Debian you would still have to install the firmware to get the wifi working.

After I installed Debian I had to install the firmware-realtek_0.43_all.deb pkg for my realtek card. After rebooting the wireless connection worked.

With Open Suse and Arch I can't say. Fedora generally works right out of the box with the wireless on my machines and I never had to configure anything.

Looking at your wireless card:
Quote:
Network controller: Broadcom Corporation BCM4321 802.11a/b/g/n (rev 03)
You installed the correct driver.

As ferrari said:
Quote:
First, if you can connect to any wireless network at all, then that suggests the appropriate wireless driver is loaded.
 
Old 03-11-2017, 07:46 AM   #7
Seeboooo
LQ Newbie
 
Registered: Mar 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
I've attempted to connect to a WPA2-Enterprise network again and it doesn't work even if I follow the documentation I find on the web (using a connecting to a hidden network menu and adding the details manually, the only part I'm not sure is the certificate itself). I can see an error message in the log but I can't make sense of what it means:

Code:
sup-iface[0x1185f90,wls4]: connection disconnected (reason -3)
Any idea what that "reason -3" refers to?

Here is the full log of a connection attempt:

Code:
Mar  9 11:55:33 MintBook NetworkManager[906]: <info>  [1489078533.2288] WiFi hardware radio set enabled
Mar  9 11:55:33 MintBook NetworkManager[906]: <info>  [1489078533.2288] WWAN hardware radio set enabled
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5027] keyfile: add connection in-memory (XXXXXXXXX,"UNIVERSITY-SSID")
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5055] device (wls4): Activation: starting connection 'UNIVERSITY-SSID' (XXXXXXXX)
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5071] keyfile: update /etc/NetworkManager/system-connections/UNIVERSITY-SSID (XXXXXXXX,"UNIVERSITY-SSID") and persist connection
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5091] audit: op="connection-add-activate" uuid="XXXXXXXX" name="UNIVERSITY-SSID" pid=1935 uid=1000 result="success"
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5158] device (wls4): state change: disconnected -> prepare (reason 'none') [30 40 0]
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5167] manager: NetworkManager state is now CONNECTING
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5250] device (wls4): state change: prepare -> config (reason 'none') [40 50 0]
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5264] device (wls4): Activation: (wifi) access point 'UNIVERSITY-SSID' has security, but secrets are required.
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5270] device (wls4): state change: config -> need-auth (reason 'none') [50 60 0]
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5563] device (wls4): state change: need-auth -> prepare (reason 'none') [60 40 0]
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5583] device (wls4): state change: prepare -> config (reason 'none') [40 50 0]
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5592] device (wls4): Activation: (wifi) connection 'UNIVERSITY-SSID' has security, and secrets exist.  No new secrets needed.
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5596] Config: added 'ssid' value 'UNIVERSITY-SSID'
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5599] Config: added 'scan_ssid' value '1'
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5602] Config: added 'key_mgmt' value 'WPA-EAP'
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5605] Config: added 'auth_alg' value 'OPEN'
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5607] Config: added 'password' value '<omitted>'
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5611] Config: added 'eap' value 'PEAP'
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5614] Config: added 'fragment_size' value '1266'
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5616] Config: added 'phase2' value 'auth=MSCHAPV2'
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5619] Config: added 'ca_cert' value '/usr/lib/ssl/certs/thawte_Primary_Root_CA_-_G3.pem'
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5622] Config: added 'identity' value 'USERNAME'
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5624] Config: added 'bgscan' value 'simple:30:-65:300'
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5627] Config: added 'proactive_key_caching' value '1'
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.5640] sup-iface[0x1185f90,wls4]: config: set interface ap_scan to 1
Mar  9 12:03:27 MintBook NetworkManager[906]: <info>  [1489079007.6202] device (wls4): supplicant interface state: inactive -> scanning
Mar  9 12:03:29 MintBook NetworkManager[906]: <info>  [1489079009.1818] device (wls4): supplicant interface state: scanning -> associating
Mar  9 12:03:29 MintBook NetworkManager[906]: <info>  [1489079009.2556] device (wls4): supplicant interface state: associating -> associated
Mar  9 12:03:31 MintBook NetworkManager[906]: <warn>  [1489079011.3040] sup-iface[0x1185f90,wls4]: connection disconnected (reason -3)
Mar  9 12:03:31 MintBook NetworkManager[906]: <info>  [1489079011.3067] device (wls4): supplicant interface state: associated -> disconnected
Mar  9 12:03:31 MintBook NetworkManager[906]: <info>  [1489079011.4100] device (wls4): supplicant interface state: disconnected -> scanning
Mar  9 12:03:45 MintBook NetworkManager[906]: <info>  [1489079025.8555] device (wls4): supplicant interface state: scanning -> associating
Mar  9 12:03:45 MintBook NetworkManager[906]: <info>  [1489079025.9067] device (wls4): supplicant interface state: associating -> associated
Mar  9 12:03:47 MintBook NetworkManager[906]: <warn>  [1489079027.9344] sup-iface[0x1185f90,wls4]: connection disconnected (reason -3)
Mar  9 12:03:47 MintBook NetworkManager[906]: <info>  [1489079027.9362] device (wls4): supplicant interface state: associated -> disconnected
Mar  9 12:03:48 MintBook NetworkManager[906]: <info>  [1489079028.0385] device (wls4): supplicant interface state: disconnected -> scanning
Mar  9 12:03:53 MintBook NetworkManager[906]: <warn>  [1489079033.2270] device (wls4): Activation: (wifi) association took too long
Mar  9 12:03:53 MintBook NetworkManager[906]: <info>  [1489079033.2272] device (wls4): state change: config -> need-auth (reason 'none') [50 60 0]
Mar  9 12:03:53 MintBook NetworkManager[906]: <warn>  [1489079033.2360] device (wls4): Activation: (wifi) asking for new secrets
Mar  9 12:03:54 MintBook NetworkManager[906]: <info>  [1489079034.5501] device (wls4): supplicant interface state: scanning -> inactive
Mar  9 12:03:59 MintBook NetworkManager[906]: <info>  [1489079039.8453] keyfile: update /etc/NetworkManager/system-connections/UNIVERSITY-SSID (XXXXXXXXX,"UNIVERSITY-SSID")
Mar  9 12:03:59 MintBook NetworkManager[906]: <info>  [1489079039.8467] device (wls4): state change: need-auth -> prepare (reason 'none') [60 40 0]
Mar  9 12:03:59 MintBook NetworkManager[906]: <info>  [1489079039.8474] device (wls4): state change: prepare -> config (reason 'none') [40 50 0]
Mar  9 12:03:59 MintBook NetworkManager[906]: <info>  [1489079039.8477] device (wls4): Activation: (wifi) connection 'UNIVERSITY-SSID' has security, and secrets exist.  No new secrets needed.
Mar  9 12:03:59 MintBook NetworkManager[906]: <info>  [1489079039.8478] Config: added 'ssid' value 'UNIVERSITY-SSID'
Mar  9 12:03:59 MintBook NetworkManager[906]: <info>  [1489079039.8478] Config: added 'scan_ssid' value '1'
Mar  9 12:03:59 MintBook NetworkManager[906]: <info>  [1489079039.8478] Config: added 'key_mgmt' value 'WPA-EAP'
Mar  9 12:03:59 MintBook NetworkManager[906]: <info>  [1489079039.8478] Config: added 'auth_alg' value 'OPEN'
Mar  9 12:03:59 MintBook NetworkManager[906]: <info>  [1489079039.8479] Config: added 'password' value '<omitted>'
Mar  9 12:03:59 MintBook NetworkManager[906]: <info>  [1489079039.8479] Config: added 'eap' value 'PEAP'
Mar  9 12:03:59 MintBook NetworkManager[906]: <info>  [1489079039.8479] Config: added 'fragment_size' value '1266'
Mar  9 12:03:59 MintBook NetworkManager[906]: <info>  [1489079039.8479] Config: added 'phase2' value 'auth=MSCHAPV2'
Mar  9 12:03:59 MintBook NetworkManager[906]: <info>  [1489079039.8480] Config: added 'ca_cert' value '/usr/lib/ssl/certs/thawte_Primary_Root_CA_-_G3.pem'
Mar  9 12:03:59 MintBook NetworkManager[906]: <info>  [1489079039.8480] Config: added 'identity' value 'USERNAME'
Mar  9 12:03:59 MintBook NetworkManager[906]: <info>  [1489079039.8480] Config: added 'bgscan' value 'simple:30:-65:300'
Mar  9 12:03:59 MintBook NetworkManager[906]: <info>  [1489079039.8480] Config: added 'proactive_key_caching' value '1'
Mar  9 12:03:59 MintBook NetworkManager[906]: <info>  [1489079039.8546] sup-iface[0x1185f90,wls4]: config: set interface ap_scan to 1
Mar  9 12:03:59 MintBook NetworkManager[906]: <info>  [1489079039.8888] device (wls4): supplicant interface state: inactive -> scanning
Mar  9 12:04:01 MintBook NetworkManager[906]: <info>  [1489079041.4388] device (wls4): supplicant interface state: scanning -> associating
Mar  9 12:04:01 MintBook NetworkManager[906]: <info>  [1489079041.5154] device (wls4): supplicant interface state: associating -> associated
Mar  9 12:04:03 MintBook NetworkManager[906]: <warn>  [1489079043.5704] sup-iface[0x1185f90,wls4]: connection disconnected (reason -3)
Mar  9 12:04:03 MintBook NetworkManager[906]: <info>  [1489079043.5736] device (wls4): supplicant interface state: associated -> disconnected
Mar  9 12:04:03 MintBook NetworkManager[906]: <info>  [1489079043.6744] device (wls4): supplicant interface state: disconnected -> scanning
Mar  9 12:04:25 MintBook NetworkManager[906]: <warn>  [1489079065.2266] device (wls4): Activation: (wifi) association took too long
Mar  9 12:04:25 MintBook NetworkManager[906]: <info>  [1489079065.2267] device (wls4): state change: config -> need-auth (reason 'none') [50 60 0]
Mar  9 12:04:25 MintBook NetworkManager[906]: <warn>  [1489079065.2369] device (wls4): Activation: (wifi) asking for new secrets
Mar  9 12:04:29 MintBook NetworkManager[906]: <info>  [1489079069.7506] device (wls4): supplicant interface state: scanning -> inactive
Mar  9 12:04:39 MintBook NetworkManager[906]: <info>  [1489079079.4583] keyfile: update /etc/NetworkManager/system-connections/UNIVERSITY-SSID (XXXXXXXXX,"UNIVERSITY-SSID")
Mar  9 12:04:39 MintBook NetworkManager[906]: <info>  [1489079079.4593] device (wls4): state change: need-auth -> prepare (reason 'none') [60 40 0]
Mar  9 12:04:39 MintBook NetworkManager[906]: <info>  [1489079079.4599] device (wls4): state change: prepare -> config (reason 'none') [40 50 0]
Mar  9 12:04:39 MintBook NetworkManager[906]: <info>  [1489079079.4603] device (wls4): Activation: (wifi) connection 'UNIVERSITY-SSID' has security, and secrets exist.  No new secrets needed.
Mar  9 12:04:39 MintBook NetworkManager[906]: <info>  [1489079079.4603] Config: added 'ssid' value 'UNIVERSITY-SSID'
Mar  9 12:04:39 MintBook NetworkManager[906]: <info>  [1489079079.4603] Config: added 'scan_ssid' value '1'
Mar  9 12:04:39 MintBook NetworkManager[906]: <info>  [1489079079.4604] Config: added 'key_mgmt' value 'WPA-EAP'
Mar  9 12:04:39 MintBook NetworkManager[906]: <info>  [1489079079.4604] Config: added 'auth_alg' value 'OPEN'
Mar  9 12:04:39 MintBook NetworkManager[906]: <info>  [1489079079.4604] Config: added 'password' value '<omitted>'
Mar  9 12:04:39 MintBook NetworkManager[906]: <info>  [1489079079.4604] Config: added 'eap' value 'PEAP'
Mar  9 12:04:39 MintBook NetworkManager[906]: <info>  [1489079079.4604] Config: added 'fragment_size' value '1266'
Mar  9 12:04:39 MintBook NetworkManager[906]: <info>  [1489079079.4605] Config: added 'phase2' value 'auth=MSCHAPV2'
Mar  9 12:04:39 MintBook NetworkManager[906]: <info>  [1489079079.4605] Config: added 'ca_cert' value '/usr/lib/ssl/certs/thawte_Primary_Root_CA_-_G3.pem'
Mar  9 12:04:39 MintBook NetworkManager[906]: <info>  [1489079079.4605] Config: added 'identity' value 'USERNAME'
Mar  9 12:04:39 MintBook NetworkManager[906]: <info>  [1489079079.4605] Config: added 'bgscan' value 'simple:30:-65:300'
Mar  9 12:04:39 MintBook NetworkManager[906]: <info>  [1489079079.4606] Config: added 'proactive_key_caching' value '1'
Mar  9 12:04:39 MintBook NetworkManager[906]: <info>  [1489079079.4646] sup-iface[0x1185f90,wls4]: config: set interface ap_scan to 1
Mar  9 12:04:39 MintBook NetworkManager[906]: <info>  [1489079079.5015] device (wls4): supplicant interface state: inactive -> scanning
Mar  9 12:04:41 MintBook NetworkManager[906]: <info>  [1489079081.0432] device (wls4): supplicant interface state: scanning -> associating
Mar  9 12:04:51 MintBook NetworkManager[906]: <warn>  [1489079091.0437] sup-iface[0x1185f90,wls4]: connection disconnected (reason -3)
Mar  9 12:04:51 MintBook NetworkManager[906]: <info>  [1489079091.0477] device (wls4): supplicant interface state: associating -> disconnected
Mar  9 12:04:51 MintBook NetworkManager[906]: <info>  [1489079091.1765] device (wls4): supplicant interface state: disconnected -> scanning
Mar  9 12:05:04 MintBook NetworkManager[906]: <warn>  [1489079104.2257] device (wls4): Activation: (wifi) association took too long
Mar  9 12:05:04 MintBook NetworkManager[906]: <info>  [1489079104.2258] device (wls4): state change: config -> need-auth (reason 'none') [50 60 0]
Mar  9 12:05:04 MintBook NetworkManager[906]: <warn>  [1489079104.2320] device (wls4): Activation: (wifi) asking for new secrets
Mar  9 12:05:05 MintBook NetworkManager[906]: <info>  [1489079105.7187] device (wls4): supplicant interface state: scanning -> inactive
Mar  9 12:05:06 MintBook NetworkManager[906]: <warn>  [1489079106.6356] device (wls4): User canceled the secrets request.
Mar  9 12:05:06 MintBook NetworkManager[906]: <info>  [1489079106.6357] device (wls4): state change: need-auth -> failed (reason 'no-secrets') [60 120 7]
Mar  9 12:05:06 MintBook NetworkManager[906]: <info>  [1489079106.6360] manager: NetworkManager state is now DISCONNECTED
Mar  9 12:05:06 MintBook NetworkManager[906]: <warn>  [1489079106.6366] device (wls4): Activation: failed for connection 'UNIVERSITY-SSID'
Mar  9 12:05:06 MintBook NetworkManager[906]: <info>  [1489079106.7343] device (wls4): state change: failed -> disconnected (reason 'none') [120 30 0]
 
Old 03-11-2017, 12:52 PM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174
Sorry I have no idea what that reason 3 is referring to.
When I Googled the error it didn't return anything.

It looks like you are not the only one with the wireless issue and Ubuntu 16.04.

Maybe try here:
http://askubuntu.com/questions/76219...nection-issues

Network Troubleshooting
https://help.ubuntu.com/16.04/ubuntu...eshooting.html

If you continue with this problem you might want to try Fedora.
It's cutting edge and uses the current stable kernel and the wifi has always worked right out of the box for me.

https://getfedora.org/en/workstation/
 
Old 03-11-2017, 02:32 PM   #9
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,231

Rep: Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006
The 'sup-iface' is abbreviated = supplicant-interface. It's not clear to me from the above logs what the problem might be though. This might well take a bug report to help resolve (as the underlying cause may not be user-related).

You could try increasing the NetworkManager logging verbosity. AFAIU the NetworkManager.service file for Ubuntu/Mint is located at /usr/lib/systemd/system/NetworkManager.service, and the following line in the unit file needs to be changed from
Code:
ExecStart=/usr/sbin/NetworkManager --no-daemon
to
Code:
ExecStart=/usr/sbin/NetworkManager --no-daemon --log-level=debug
Once saved, restart the machine and repeat your earlier diagnostic steps. Hopefully, you'll get more information reported.

You might also want to examine wpa_supplicant specifically. Watch in a terminal window...
Code:
sudo journalctl -fu wpa_supplicant.service
then try to connect.

That's about as much as I can help with here.
 
Old 03-21-2017, 01:14 PM   #10
Seeboooo
LQ Newbie
 
Registered: Mar 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Update:

Same issue with OpenSuse Tumbleweed (and Xubuntu 16.10), I can't connect to that WPA2-Enterprise network and I can longer connect to a specific network / router if computer went to sleep / suspended while connected to it (so far only way I found to reconnect was to reinstall the OS but I don't want to do that everyday)...

I'm sad to say that I'll have to go back to mac osX on that computer as everything works out of the box even if the os is no longer supported / computer is too old for new osX versions.
 
Old 03-21-2017, 03:52 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,843

Rep: Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371
Notes.
Bug report in Fedora has the error 3. I'm sure there is a listing someplace but you mention go to sleep and that was part of that bug. https://bugzilla.redhat.com/show_bug.cgi?id=1377886

This seems odd to me. wls4.
 
Old 03-21-2017, 04:03 PM   #12
Seeboooo
LQ Newbie
 
Registered: Mar 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
This seems odd to me. wls4.
wls4 seems to be the name that's given to the adapter (as listed in iwconfig), maybe because the driver is broadcom-wl and listed as wl?
 
Old 03-21-2017, 05:20 PM   #13
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,843

Rep: Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371
Why 4? Just wondering out loud.
 
Old 03-21-2017, 07:30 PM   #14
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174
Quote:
I'm sad to say that I'll have to go back to mac osX on that computer as everything works out of the box even if the os is no longer supported / computer is too old for new osX versions.
Before giving up you may want to try is Anti-X. It's a Linux distro designed for older machines.
http://antix.mepis.org/index.php?title=Main_Page

-::-To Get The WiFi Working in Anti-X-::-
Menu > Control Center > Network > Network Interface (ceni) > wlan0 > Follow the Wizard and give your ESSID and password.

Another thing; sorry I didn't notice sooner. I have helped may people here at LQ with Linux Mint and a lot of members have had problems with "Cinnamon" not working properly.
The fix was to install the "Mate" DE and all was well.
 
Old 04-01-2017, 07:35 PM   #15
walker
Member
 
Registered: Nov 2003
Distribution: antiX-17.4.1_x64 base Custom
Posts: 185

Rep: Reputation: 38
The trouble seems due to distro builders.

I have the same trouble, driver and firmare present but... if you want wifi interface working you have to configure it using command line cause they named interface "sticazzi" (wlx000....) instead of wlan0 as aspected by every network-manager.

/sys/class/net/"sticazzi" instead of wlan0 (it's a link)
/sys/devices/pci0000:00/0000:00:13.2/usb1/1-1/1-1:1.0/net/"sticazzi" instead of wlan0 (the target)

Now I try with a live Debian and I will confirm the cause.

To me with 15 years experience in GNU/Linux builders of Ubuntu and who copies without checking (Mint) are dummies.

Don't give up to GNU/Linux give up to Ubuntu and Mint

Someone suggests you AntiX I'm using it and it's the best distro I've ever tried.

All works out of the box like a charm
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Wifi Internet Connection is slow after installing linux mint serena 18.1 cinnamon 64 bit electromemphis Linux - Newbie 16 06-06-2020 07:18 AM
Unable to access WiFi in Linux Mint Cinnamon 17.1 on Dell Inspiron 1501 CrazyGrannie Linux - Newbie 19 04-03-2016 10:42 PM
Linux mint cinnamon wifi connection error iwconfig: command not found cyrussiin Linux - Newbie 5 09-25-2014 11:38 PM
Can I improve my wifi in Linux Mint 17 Qiana Cinnamon moisesrntr Linux - Newbie 6 09-08-2014 12:56 PM
LXer: Linux Mint Came To Ubuntu's Rescue With Cinnamon LXer Syndicated Linux News 0 01-10-2012 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration