WiFi authentication required

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Alandb

WiFi authentication required

Post by Alandb »

New installation of mint 18.2 and all good, then I changed provider to sky fibre and the problem started.
I keep getting WiFi network authorisation required pop up, I click connect but a couple of seconds later up it comes again. I've deleted the network then restarted it, it worked for a minute or so and then again kept asking for authorisation again & again. Mobiles, iPads and other laptop(windows) all connecting fine.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Alandb

Re: WiFi authentication required

Post by Alandb »

Also, it's an HP stream with Intel celeron processor and intel dual band wireless AC 7265
JeremyB
Level 21
Level 21
Posts: 13846
Joined: Fri Feb 21, 2014 8:17 am

Re: WiFi authentication required

Post by JeremyB »

See https://ubuntuforums.org/showthread.php ... st13614520
It is likely the encryption used on the wifi router causing the issue or it might be on a crowded channel
Alandb

Re: WiFi authentication required

Post by Alandb »

Syslog shows
Error resolving pool ntp.ubunto.com: temporary failure in name resolution (-3)
JeremyB
Level 21
Level 21
Posts: 13846
Joined: Fri Feb 21, 2014 8:17 am

Re: WiFi authentication required

Post by JeremyB »

Go into network manager settings for the connection and add 8.8.8.8 as an additional DNS, then reboot
Alandb

Re: WiFi authentication required

Post by Alandb »

Still no joy but syslog has changed[/b]

Code: Select all

[  121.132516] nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based  firewall rule not found. Use the iptables CT target to attach helpers instead.
[size=85]Oct 19 19:22:39 alanb-HP-Stream-Notebook NetworkManager[791]: <info>  [1508437359.8259] keyfile: update /etc/NetworkManager/system-connections/Auto SKY05464 (c9dd61a9-ca4c-413f-84cb-a0edda8ef5c0,"Auto SKY05464")
Oct 19 19:22:39 alanb-HP-Stream-Notebook NetworkManager[791]: <info>  [1508437359.8425] device (wlo1): state change: need-auth -> prepare (reason 'none') [60 40 0]
Oct 19 19:22:39 alanb-HP-Stream-Notebook NetworkManager[791]: <info>  [1508437359.8458] device (wlo1): state change: prepare -> config (reason 'none') [40 50 0]
Oct 19 19:22:39 alanb-HP-Stream-Notebook NetworkManager[791]: <info>  [1508437359.8469] device (wlo1): Activation: (wifi) connection 'Auto SKY05464' has security, and secrets exist.  No new secrets needed.
[size=85]Oct 19 19:22:39 alanb-HP-Stream-Notebook NetworkManager[791]: <info>  [1508437359.8470] Config: added 'ssid' value 'SKY05464'
Oct 19 19:22:39 alanb-HP-Stream-Notebook NetworkManager[791]: <info>  [1508437359.8471] Config: added 'scan_ssid' value '1'
Oct 19 19:22:39 alanb-HP-Stream-Notebook NetworkManager[791]: <info>  [1508437359.8471] Config: added 'key_mgmt' value 'WPA-PSK'
Oct 19 19:22:39 alanb-HP-Stream-Notebook NetworkManager[791]: <info>  [1508437359.8472] Config: added 'psk' value '<omitted>'
Oct 19 19:22:39 alanb-HP-Stream-Notebook NetworkManager[791]: <info>  [1508437359.8493] sup-iface[0x1b9d220,wlo1]: config: set interface ap_scan to 1
Oct 19 19:22:39 alanb-HP-Stream-Notebook NetworkManager[791]: <info>  [1508437359.9081] device (wlo1): supplicant interface state: inactive -> scanning
Oct 19 19:22:40 alanb-HP-Stream-Notebook wpa_supplicant[1067]: wlo1: Trying to associate with f4:f2:6d:3a:48:91 (SSID='SKY05464' freq=2412 MHz)
Oct 19 19:22:40 alanb-HP-Stream-Notebook NetworkManager[791]: <info>  [1508437360.7814] device (wlo1): supplicant interface state: scanning -> associating
Oct 19 19:22:40 alanb-HP-Stream-Notebook wpa_supplicant[1067]: wlo1: CTRL-EVENT-ASSOC-REJECT bssid=70:50:af:5b:5f:da status_code=16
Oct 19 19:22:40 alanb-HP-Stream-Notebook NetworkManager[791]: <info>  [1508437360.8389] device (wlo1): supplicant interface state: associating -> disconnected
Oct 19 19:22:41 alanb-HP-Stream-Notebook NetworkManager[791]: <info>  [1508437361.8407] device (wlo1): supplicant interface state: disconnected -> scanning
Oct 19 19:22:42 alanb-HP-Stream-Notebook wpa_supplicant[1067]: wlo1: Trying to associate with f4:f2:6d:3a:48:91 (SSID='SKY05464' freq=2412 MHz)
Oct 19 19:22:42 alanb-HP-Stream-Notebook NetworkManager[791]: <info>  [1508437362.7534] device (wlo1): supplicant interface state: scanning -> associating
Oct 19 19:22:42 alanb-HP-Stream-Notebook wpa_supplicant[1067]: wlo1: CTRL-EVENT-ASSOC-REJECT bssid=70:50:af:5b:5f:da status_code=16
Oct 19 19:22:42 alanb-HP-Stream-Notebook wpa_supplicant[1067]: wlo1: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="SKY05464" auth_failures=1 duration=10 reason=CONN_FAILED
Oct 19 19:22:42 alanb-HP-Stream-Notebook NetworkManager[791]: <info>  [1508437362.8117] device (wlo1): supplicant interface state: associating -> disconnected
Oct 19 19:22:43 alanb-HP-Stream-Notebook systemd[1]: Stopping User Manager for UID 108...
Don't know if this helps
Last edited by JeremyB on Fri Oct 20, 2017 5:58 am, edited 1 time in total.
Reason: added code tags
JeremyB
Level 21
Level 21
Posts: 13846
Joined: Fri Feb 21, 2014 8:17 am

Re: WiFi authentication required

Post by JeremyB »

See the wireless script link in my signature and post results
Alandb

Re: WiFi authentication required

Post by Alandb »

Code: Select all

########## wireless info START ##########

Report from: 20 Oct 2017 11:38 BST +0100

Booted last: 20 Oct 2017 00:00 BST +0100

Script from: 25 Mar 2017 07:04 UTC +0000

##### release ###########################

Distributor ID:	LinuxMint
Description:	Linux Mint 18.2 Sonya
Release:	18.2
Codename:	sonya

##### kernel ############################

Linux 4.10.0-37-generic #41~16.04.1-Ubuntu SMP Fri Oct 6 22:42:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Parameters: ro, quiet, splash, vt.handoff=7

##### desktop ###########################

Cinnamon

##### lspci #############################

02:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
	DeviceName: Broadcom WLAN Broadcom Nami 43142 bgn 1x1 + BT 4 LE PCIe+USB NGFF 1630 MOW
	Subsystem: Hewlett-Packard Company BCM43142 802.11b/g/n [103c:804a]

##### lsusb #############################

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0a5c:216d Broadcom Corp. 
Bus 001 Device 003: ID 04f2:b50c Chicony Electronics Co., Ltd 
Bus 001 Device 002: ID 0930:6545 Toshiba Corp. Kingston DataTraveler 102/2.0 / HEMA Flash Drive 2 GB / PNY Attache 4GB Stick
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA card info ##################

##### rfkill ############################

0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: brcmwl-0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
2: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no

##### lsmod #############################

hp_wmi                 16384  0
sparse_keymap          16384  1 hp_wmi
wl                   6447104  0
cfg80211              602112  1 wl
wmi                    16384  1 hp_wmi

##### interfaces ########################

auto lo
iface lo inet loopback

##### ifconfig ##########################

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:306 errors:0 dropped:0 overruns:0 frame:0
          TX packets:306 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:27166 (27.1 KB)  TX bytes:27166 (27.1 KB)

wlo1      Link encap:Ethernet  HWaddr <MAC 'wlo1' [IF1]>  
          inet addr:192.168.0.23  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::5fbb:7085:f9a5:1350/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2120 errors:0 dropped:0 overruns:0 frame:371
          TX packets:1983 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2013558 (2.0 MB)  TX bytes:255499 (255.4 KB)
          Interrupt:19 

##### iwconfig ##########################

lo        no wireless extensions.

wlo1      IEEE 802.11  ESSID:"SKY05464"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: <MAC 'SKY05464' [AC1]>   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          

##### route #############################

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.0.1     0.0.0.0         UG    600    0        0 wlo1
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlo1
192.168.0.0     0.0.0.0         255.255.255.0   U     600    0        0 wlo1

##### resolv.conf #######################

nameserver 127.0.1.1
search Home

##### network managers ##################

Installed:

	NetworkManager

Running:

root       755     1  0 11:36 ?        00:00:00 /usr/sbin/NetworkManager --no-daemon

##### NetworkManager info ###############

GENERAL.DEVICE:                         wlo1
GENERAL.TYPE:                           wifi
GENERAL.NM-TYPE:                        NMDeviceWifi
GENERAL.VENDOR:                         Broadcom Corporation
GENERAL.PRODUCT:                        BCM43142 802.11b/g/n
GENERAL.DRIVER:                         wl
GENERAL.DRIVER-VERSION:                 
GENERAL.FIRMWARE-VERSION:               
GENERAL.HWADDR:                         <MAC 'wlo1' [IF1]>
GENERAL.MTU:                            0
GENERAL.STATE:                          100 (connected)
GENERAL.REASON:                         0 (No reason given)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1c.3/0000:02:00.0/net/wlo1
GENERAL.IP-IFACE:                       wlo1
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                     yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                   --
GENERAL.CONNECTION:                     Auto SKY05464
GENERAL.CON-UUID:                       c9dd61a9-ca4c-413f-84cb-a0edda8ef5c0
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/1
GENERAL.METERED:                        no (guessed)
CAPABILITIES.CARRIER-DETECT:            no
CAPABILITIES.SPEED:                     72 Mb/s
CAPABILITIES.IS-SOFTWARE:               no
WIFI-PROPERTIES.WEP:                    yes
WIFI-PROPERTIES.WPA:                    yes
WIFI-PROPERTIES.WPA2:                   yes
WIFI-PROPERTIES.TKIP:                   yes
WIFI-PROPERTIES.CCMP:                   yes
WIFI-PROPERTIES.AP:                     no
WIFI-PROPERTIES.ADHOC:                  yes
WIFI-PROPERTIES.2GHZ:                   yes
WIFI-PROPERTIES.5GHZ:                   yes
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{0}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]:   c9dd61a9-ca4c-413f-84cb-a0edda8ef5c0 | Auto SKY05464
IP4.ADDRESS[1]:                         192.168.0.23/24
IP4.GATEWAY:                            192.168.0.1
IP4.ROUTE[1]:                           dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]:                             192.168.0.1
IP4.DNS[2]:                             8.8.8.8
IP4.DOMAIN[1]:                          Home
DHCP4.OPTION[1]:                        requested_routers = 1
DHCP4.OPTION[2]:                        requested_domain_search = 1
DHCP4.OPTION[3]:                        requested_time_offset = 1
DHCP4.OPTION[4]:                        requested_domain_name = 1
DHCP4.OPTION[5]:                        requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[6]:                        requested_broadcast_address = 1
DHCP4.OPTION[7]:                        requested_netbios_scope = 1
DHCP4.OPTION[8]:                        requested_wpad = 1
DHCP4.OPTION[9]:                        next_server = 0.0.0.0
DHCP4.OPTION[10]:                       expiry = 1508582206
DHCP4.OPTION[11]:                       requested_interface_mtu = 1
DHCP4.OPTION[12]:                       requested_subnet_mask = 1
DHCP4.OPTION[13]:                       routers = 192.168.0.1
DHCP4.OPTION[14]:                       dhcp_message_type = 5
DHCP4.OPTION[15]:                       ip_address = 192.168.0.23
DHCP4.OPTION[16]:                       requested_static_routes = 1
DHCP4.OPTION[17]:                       domain_name = Home
DHCP4.OPTION[18]:                       requested_domain_name_servers = 1
DHCP4.OPTION[19]:                       broadcast_address = 192.168.0.255
DHCP4.OPTION[20]:                       requested_ntp_servers = 1
DHCP4.OPTION[21]:                       requested_netbios_name_servers = 1
DHCP4.OPTION[22]:                       dhcp_lease_time = 86400
DHCP4.OPTION[23]:                       domain_name_servers = 192.168.0.1
DHCP4.OPTION[24]:                       requested_ms_classless_static_routes = 1
DHCP4.OPTION[25]:                       subnet_mask = 255.255.255.0
DHCP4.OPTION[26]:                       network_number = 192.168.0.0
DHCP4.OPTION[27]:                       requested_host_name = 1
DHCP4.OPTION[28]:                       dhcp_server_identifier = 192.168.0.1
IP6.ADDRESS[1]:                         fe80::5fbb:7085:f9a5:1350/64
IP6.GATEWAY:                            

SSID             BSSID              MODE   CHAN  FREQ      RATE       SIGNAL  BARS  SECURITY          ACTIVE  * 
SKY05464         <MAC 'SKY05464' [AC1]>  Infra  1     2412 MHz  54 Mbit/s  95      ▂▄▆█  WPA1 WPA2         yes     * 
SKY05464         <MAC 'SKY05464' [AC2]>  Infra  1     2412 MHz  54 Mbit/s  82      ▂▄▆█  WPA2              no        
BTWifi-with-FON  <MAC 'BTWifi-with-FON' [AC7]>  Infra  11    2462 MHz  54 Mbit/s  45      ▂▄__  --                no        
BTHub5-8K9Q      <MAC 'BTHub5-8K9Q' [AC6]>  Infra  11    2462 MHz  54 Mbit/s  39      ▂▄__  WPA2              no        
BTWifi-X         <MAC 'BTWifi-X' [AC8]>  Infra  11    2462 MHz  54 Mbit/s  39      ▂▄__  WPA1 WPA2 802.1X  no        
EE-4ptxr9        <MAC 'EE-4ptxr9' [AC5]>  Infra  6     2437 MHz  54 Mbit/s  22      ▂___  WPA1 WPA2         no        
BTWifi-with-FON  <MAC 'BTWifi-with-FON' [AC4]>  Infra  1     2412 MHz  54 Mbit/s  17      ▂___  --                no        
BTHub6-8QH6      <MAC 'BTHub6-8QH6' [AC3]>  Infra  1     2412 MHz  54 Mbit/s  15      ▂___  WPA2              no        

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

##### NetworkManager.conf ###############

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=false

##### NetworkManager profiles ###########

[[/etc/NetworkManager/system-connections/Auto SKY05464]] (600 root)
[connection] id=Auto SKY05464 | type=wifi | permissions=
[wifi] mac-address=<MAC 'wlo1' [IF1]> | mac-address-blacklist= | ssid=SKY05464
[ipv4] method=auto
[ipv6] method=auto

##### iw reg get ########################

Region: Europe/London (based on set time zone)

country GB: DFS-ETSI
	(2402 - 2482 @ 40), (N/A, 20), (N/A)
	(5170 - 5250 @ 80), (N/A, 20), (N/A)
	(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS
	(5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
	(57000 - 66000 @ 2160), (N/A, 40), (N/A)

##### iwlist channels ###################

lo        no frequency information.

wlo1      32 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Channel 36 : 5.18 GHz
          Channel 38 : 5.19 GHz
          Channel 40 : 5.2 GHz
          Channel 42 : 5.21 GHz
          Channel 44 : 5.22 GHz
          Channel 46 : 5.23 GHz
          Channel 48 : 5.24 GHz
          Channel 52 : 5.26 GHz
          Channel 56 : 5.28 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Channel 100 : 5.5 GHz
          Channel 104 : 5.52 GHz
          Channel 108 : 5.54 GHz
          Channel 112 : 5.56 GHz
          Channel 116 : 5.58 GHz
          Channel 120 : 5.6 GHz
          Channel 124 : 5.62 GHz
          Channel 128 : 5.64 GHz
          Current Frequency:2.412 GHz (Channel 1)

##### iwlist scan #######################

lo        Interface doesn't support scanning.

Channel occupancy:

      5   APs on   Frequency:2.412 GHz (Channel 1)
      1   APs on   Frequency:2.437 GHz (Channel 6)
      3   APs on   Frequency:2.462 GHz (Channel 11)

wlo1      Scan completed :
          Cell 01 - Address: <MAC 'SKY05464' [AC1]>
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=68/70  Signal level=-42 dBm  
                    Encryption key:on
                    ESSID:"SKY05464"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 8ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
          Cell 02 - Address: <MAC 'SKY05464' [AC2]>
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=61/70  Signal level=-49 dBm  
                    Encryption key:on
                    ESSID:"SKY05464"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 8ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 03 - Address: <MAC 'BTHub6-8QH6' [AC3]>
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=23/70  Signal level=-87 dBm  
                    Encryption key:on
                    ESSID:"BTHub6-8QH6"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 8ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 04 - Address: <MAC 'BTWifi-with-FON' [AC4]>
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=24/70  Signal level=-86 dBm  
                    Encryption key:off
                    ESSID:"BTWifi-with-FON"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 8ms ago
          Cell 05 - Address: <MAC 'EE-4ptxr9' [AC5]>
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=22/70  Signal level=-88 dBm  
                    Encryption key:on
                    ESSID:"EE-4ptxr9"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 8ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
          Cell 06 - Address: <MAC 'BTHub5-8K9Q' [AC6]>
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=36/70  Signal level=-74 dBm  
                    Encryption key:on
                    ESSID:"BTHub5-8K9Q"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 8ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 07 - Address: <MAC 'BTWifi-with-FON' [AC7]>
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=35/70  Signal level=-75 dBm  
                    Encryption key:off
                    ESSID:"BTWifi-with-FON"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 8ms ago
          Cell 08 - Address: <MAC 'BTWifi-X' [AC8]>
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=33/70  Signal level=-77 dBm  
                    Encryption key:on
                    ESSID:"BTWifi-X"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 8ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : 802.1x
                       Preauthentication Supported
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : 802.1x
          Cell 09 - Address: <MAC 'BTWifi-X' [AC9]>
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=22/70  Signal level=-88 dBm  
                    Encryption key:on
                    ESSID:"BTWifi-X"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 8ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : 802.1x
                       Preauthentication Supported

##### module infos ######################

[wl]
filename:       /lib/modules/4.10.0-37-generic/updates/wl.ko
license:        MIXED/Proprietary
srcversion:     0ADAE750C888A523D63D8B5
depends:        cfg80211
vermagic:       4.10.0-37-generic SMP mod_unload 
parm:           passivemode:int
parm:           wl_txq_thresh:int
parm:           oneonly:int
parm:           piomode:int
parm:           instance_base:int
parm:           nompc:int
parm:           intf_name:string

[cfg80211]
filename:       /lib/modules/4.10.0-37-generic/kernel/net/wireless/cfg80211.ko
description:    wireless configuration support
license:        GPL
author:         Johannes Berg
srcversion:     D77C8F93375950F3BA95B16
depends:        
intree:         Y
vermagic:       4.10.0-37-generic SMP mod_unload 
parm:           bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int)
parm:           ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm:           cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)

##### module parameters #################

[cfg80211]
bss_entries_limit: 1000
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00

##### /etc/modules ######################

##### modprobe options ##################

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist-bcm43.conf]
blacklist b43
blacklist b43legacy
blacklist ssb
blacklist bcm43xx
blacklist brcm80211
blacklist brcmfmac
blacklist brcmsmac
blacklist bcma

[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac

[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off

[/etc/modprobe.d/intel-microcode-blacklist.conf]
blacklist microcode

[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211

[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en

##### rc.local ##########################

exit 0

##### pm-utils ##########################

##### udev rules ########################

##### dmesg #############################

[    5.399301] wl: loading out-of-tree module taints kernel.
[    5.399308] wl: module license 'MIXED/Proprietary' taints kernel.
[    5.442328] wl: module verification failed: signature and/or required key missing - tainting kernel
[    5.629492] wlan0: Broadcom BCM4365 802.11 Hybrid Wireless Controller 6.30.223.271 (r587334)
[    6.162981] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2
[    6.162989] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found
[    7.435141] wl 0000:02:00.0 wlo1: renamed from wlan0
[    7.735113] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
[   17.749914] [UFW BLOCK] IN=wlo1 OUT= MAC= SRC=fe80:0000:0000:0000:5fbb:7085:f9a5:1350 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=928993 PROTO=UDP SPT=8612 DPT=8612 LEN=24 
[   17.751512] [UFW BLOCK] IN=wlo1 OUT= MAC= SRC=fe80:0000:0000:0000:5fbb:7085:f9a5:1350 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=900606 PROTO=UDP SPT=8612 DPT=8610 LEN=24 
[   17.764335] [UFW BLOCK] IN=wlo1 OUT= MAC= SRC=fe80:0000:0000:0000:5fbb:7085:f9a5:1350 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=928993 PROTO=UDP SPT=8612 DPT=8612 LEN=24 
[   17.764378] [UFW BLOCK] IN=wlo1 OUT= MAC= SRC=fe80:0000:0000:0000:5fbb:7085:f9a5:1350 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=900606 PROTO=UDP SPT=8612 DPT=8610 LEN=24 
[   21.056524] [UFW BLOCK] IN=wlo1 OUT= MAC=01:00:5e:00:00:01:70:50:af:5b:5f:d9:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 
[   39.908550] CPU: 0 PID: 508 Comm: wl_event_handle Tainted: P           OE   4.10.0-37-generic #41~16.04.1-Ubuntu
[   39.908662]  wl_notify_roaming_status+0xc5/0x140 [wl]
[   39.908710]  wl_event_handler+0x60/0x1e0 [wl]
[   39.908762]  ? wl_notify_scan_status+0x330/0x330 [wl]
[   69.594533] [UFW BLOCK] IN=wlo1 OUT= MAC=01:00:5e:00:00:fb:a8:88:08:bf:cb:79:08:00 SRC=192.168.0.8 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=45148 PROTO=2 
[  142.660345] ERROR @wl_dev_intvar_get : 
[  145.984614] [UFW BLOCK] IN=wlo1 OUT= MAC=01:00:5e:00:00:01:70:50:af:5b:5f:d9:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 

########## wireless info END ############
Hope I got this right, thanks for the help.

Alan
JeremyB
Level 21
Level 21
Posts: 13846
Joined: Fri Feb 21, 2014 8:17 am

Re: WiFi authentication required

Post by JeremyB »

Power management enabled on wifi and that causes some issues

Code: Select all

sudo sed -i 's/wifi.powersave = .*/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

Code: Select all

systemctl restart network-manager.service
See if it works better
Alandb

Re: WiFi authentication required

Post by Alandb »

Intermittent.

I can live with it as it's lasting for a few minutes before it kicks me off, then I can restart the connection easily enough.

Any suggestions? Should I get a usb wifi adapter?

cheers,Alan
JeremyB
Level 21
Level 21
Posts: 13846
Joined: Fri Feb 21, 2014 8:17 am

Re: WiFi authentication required

Post by JeremyB »

Can you disable TKIP encryption on the wifi router? It also seems that there are 2 access points with the same name and that might be causing some issues.

A USB adapter might work better than your Broadcom
Alandb

Re: WiFi authentication required

Post by Alandb »

I've disabled it between the broadcom adapter but still not holding a connection.

Better to go for the usb option I think.

Thanks for all your help, certainly got me introduced to linux and using terminal, so no bad thing.

Should I close this post? How?

Alan
JeremyB
Level 21
Level 21
Posts: 13846
Joined: Fri Feb 21, 2014 8:17 am

Re: WiFi authentication required

Post by JeremyB »

I forgot about having you disable UFW as it looks like it is blocking some mDNS traffic that could cause this issue
rsabear

Re: WiFi authentication required

Post by rsabear »

This issue drove me nuts! I have an old Lenovo ThinkPad T520 running HomeAssistant in Docker and a bunch of other stuff. Intermittently I would get the dreaded "WiFi Authentication Required...." dialogue box when my machine disappears off the network, which led me to this post. I tried everything.

Eventually I went into the BIOS and under the Peripherals Power Management I disabled everything which allowed power management in the settings. My machine uptime is now 5d solid. Have a look at your BIOS settings as well.

PS: Linux Mint user since 2008 - first post ever!
rsabear

Re: WiFi authentication required

Post by rsabear »

Eventually I went into the BIOS and under the Peripherals Power Management I disabled everything which allowed power management in the settings. My machine uptime is now 5d solid. Have a look at your BIOS settings as well.
Fail - the dialogue box appeared again. I strongly believe it is just how the code is written, there is either no attempt to reconnect to the WiFi network and the dialogue box is displayed, or after n amount of retries the dialogue box is displayed until user input is obtained.
rsabear

Re: WiFi authentication required

Post by rsabear »

Finally resolved the issue and implemented a suitable solution. I used https://raspberrypi.stackexchange.com/q ... connection as the base on DISTRIB_DESCRIPTION="Linux Mint 18.3 Sylvia".

Create a wifi_rebooter script, every time the wifi network is restarted the datetime will be written to a log file:

Code: Select all

 sudo nano /usr/local/bin/wifi_rebooter.sh 

Code: Select all

#!/bin/bash

# The IP for the device you wish to ping e.g.
ROUTER=192.168.10.1

# Only send two pings, sending output to /dev/null
ping -c2 ${ROUTER} > /dev/null

# If the return code from ping ($?) is not 0 (meaning there was an error)
if [ $? != 0 ]
then
    service network-manager stop
    sleep 3
    service network-manager start
    now=$(date)
    echo "$now" >> /var/log/wifi.log
fi
Change the file permissions:

Code: Select all

sudo chmod 755 /usr/local/bin/wifi_rebooter.sh 
Edit your contab to run the rebooter script every 1 minute, keep the other contab settings as is.

Code: Select all

sudo nano /etc/crontab 

Code: Select all

# m h dom mon dow user  command
*  *    * * *   root    /usr/local/bin/wifi_rebooter.sh
Locked

Return to “Networking”