"Password for Wifi needed" - gets stuck in authentication loop

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
tuxracer
Level 1
Level 1
Posts: 15
Joined: Thu Jul 26, 2018 1:19 pm
Location: France

"Password for Wifi needed" - gets stuck in authentication loop

Post by tuxracer »

Hi all,

I have some sudden issues with my wifi. Till yesterday it worked fine, since today it stopped working. In fact, instead of connecting automatically to the router, Mint 17.3 asks for the password. I have the correct one stored, but it never connects and asks again for it.
wifierror.png
I searched the forum a little bit, and found the remove/reinstall b43-firmware commands. After a reboot, the wifi worked for some time. But then it stopped again.

Then I found the modprobe command, and tried it - with no results.

Does anybody have some ideas for that?
Thanks so much!

Code: Select all

~ $ inxi -Fxz 
System:    Host: Mint171 Kernel: 4.0.9-040009-generic x86_64 (64 bit gcc: 4.8.4)
           Desktop: Cinnamon 2.8.8 (Gtk 3.10.8~8+qiana)
           Distro: Linux Mint 17.3 Rosa
Machine:   Mobo: ASUSTeK model: B53A v: 1.0
           Bios: American Megatrends v: B53A.211 date: 01/27/2014
CPU:       Dual core Intel Core i5-3210M (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9978
           clock speeds: max: 3100 MHz 1: 2869 MHz 2: 3004 MHz 3: 2949 MHz
           4: 2808 MHz
Graphics:  Card: Intel 3rd Gen Core processor Graphics Controller
           bus-ID: 00:02.0
           Display Server: X.Org 1.15.1 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.0hz
           GLX Renderer: Mesa DRI Intel Ivybridge Mobile
           GLX Version: 3.0 Mesa 10.1.3 Direct Rendering: Yes
Audio:     Card Intel 7 Series/C210 Series Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.0.9-040009-generic
Network:   Card-1: Intel Centrino Advanced-N 6235
           driver: iwlwifi bus-ID: 02:00.0
           IF: wlan6 state: up mac: <filter>
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 06:00.0
           IF: eth6 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 120.0GB (67.7% used)
           ID-1: /dev/sda model: Samsung_SSD_850 size: 120.0GB
Partition: ID-1: / size: 109G used: 75G (73%) fs: ext4 dev: /dev/sda3
           ID-2: swap-1 size: 1.07GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 56.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 193 Uptime: 8 min Memory: 1320.8/3822.1MB
           Init: Upstart runlevel: 2 Gcc sys: 4.8.4
           Client: Shell (bash 4.3.111) inxi: 2.2.28 
iwconfig

Code: Select all

 iwconfig
eth6      no wireless extensions.

lo        no wireless extensions.

wlan6     IEEE 802.11abgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=15 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
tuxracer
Level 1
Level 1
Posts: 15
Joined: Thu Jul 26, 2018 1:19 pm
Location: France

Re: "Password for Wifi needed"

Post by tuxracer »

the tips here viewtopic.php?f=53&t=273824&sid=ff0ba2b ... e129005e5b didn't work for me...

Thanks.
tuxracer
Level 1
Level 1
Posts: 15
Joined: Thu Jul 26, 2018 1:19 pm
Location: France

Re: "Password for Wifi needed"

Post by tuxracer »

Perhaps this information is helpful:
lspci

Code: Select all

 uname -a; lspci -nnk | grep -iA3 net
Linux Mint171 4.0.9-040009-generic #201507212131 SMP Wed Jul 22 01:33:03 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
02:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6235 [8086:088e] (rev 24)
	Subsystem: Intel Corporation Centrino Advanced-N 6235 AGN [8086:4060]
	Kernel driver in use: iwlwifi
06:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
	Subsystem: ASUSTeK Computer Inc. Device [1043:200f]
	Kernel driver in use: r8169
inxi -Nn

Code: Select all

inxi -Nn
Network:   Card-1: Intel Centrino Advanced-N 6235 driver: iwlwifi
           IF: wlan6 state: up mac: c8:f7:33:6f:dd:e9
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
           IF: eth6 state: up speed: 100 Mbps duplex: full mac: bc:ee:7b:2b:45:25
The command

Code: Select all

sudo modprobe -v iwlwifi
didn't return any results...

Thank you!
tuxracer
Level 1
Level 1
Posts: 15
Joined: Thu Jul 26, 2018 1:19 pm
Location: France

Re: "Password for Wifi needed"

Post by tuxracer »

and again a try...:

dmesg | grep iwl

Code: Select all

dmesg | grep iwl
[    5.078754] iwlwifi 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[    5.082853] iwlwifi 0000:02:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm
[    5.094572] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG disabled
[    5.094576] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[    5.094578] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[    5.094581] iwlwifi 0000:02:00.0: Detected Intel(R) Centrino(R) Advanced-N 6235 AGN, REV=0xB0
[    5.094681] iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
[    5.127419] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[    5.310024] iwlwifi 0000:02:00.0 wlan6: renamed from wlan0
[    5.752376] iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
[    5.759337] iwlwifi 0000:02:00.0: Radio type=0x2-0x1-0x0
[    6.035852] iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
[    6.042897] iwlwifi 0000:02:00.0: Radio type=0x2-0x1-0x0
[  839.063334] iwlwifi 0000:02:00.0: RF_KILL bit toggled to disable radio.
[  839.063501] iwlwifi 0000:02:00.0: Not sending command - RF KILL
[  839.063582] iwlwifi 0000:02:00.0: Not sending command - RF KILL
[  839.063586] iwlwifi 0000:02:00.0: Not sending command - RF KILL
[  839.063591] iwlwifi 0000:02:00.0: Not sending command - RF KILL
[  839.063596] iwlwifi 0000:02:00.0: Not sending command - RF KILL
[  839.063604] iwlwifi 0000:02:00.0: Not sending command - RF KILL
[  839.064079] iwlwifi 0000:02:00.0: Not sending command - RF KILL
[  839.064107] iwlwifi 0000:02:00.0: Not sending command - RF KILL
[  874.779772] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[  874.781854] iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
[  874.788881] iwlwifi 0000:02:00.0: Radio type=0x2-0x1-0x0
[  875.066046] iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
[  875.073079] iwlwifi 0000:02:00.0: Radio type=0x2-0x1-0x0
tuxracer
Level 1
Level 1
Posts: 15
Joined: Thu Jul 26, 2018 1:19 pm
Location: France

Re: "Password for Wifi needed"

Post by tuxracer »

Finally, this helped (at least for the moment):

Code: Select all

sudo -i
echo "options iwlwifi 11n_disable=8"  >>  /etc/modprobe.d/iwlwifi.conf
reboot
which I found on https://ubuntuforums.org/showthread.php ... fi+problem, #7. Anybody knows what this does?

Perhaps it may help somebody else.

Cheers!
tuxracer
Level 1
Level 1
Posts: 15
Joined: Thu Jul 26, 2018 1:19 pm
Location: France

Re: "Password for Wifi needed" - gets stuck in authentication loop

Post by tuxracer »

Now it doesn't work anymore...

Code: Select all

iwconfig
eth6      no wireless extensions.

lo        no wireless extensions.

wlan6     IEEE 802.11abgn  ESSID:"Livebox-5289"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 48:28:2F:38:52:89   
          Bit Rate=130 Mb/s   Tx-Power=15 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=70/70  Signal level=-37 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
tuxracer
Level 1
Level 1
Posts: 15
Joined: Thu Jul 26, 2018 1:19 pm
Location: France

Re: "Password for Wifi needed" - gets stuck in authentication loop

Post by tuxracer »

Is there really nobody who has any ideas? :(

Best regards.
User avatar
JerryF
Level 16
Level 16
Posts: 6543
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: "Password for Wifi needed" - gets stuck in authentication loop

Post by JerryF »

tuxracer, please give members who are knowledgeable about wifi, etc. a chance to respond.
tuxracer
Level 1
Level 1
Posts: 15
Joined: Thu Jul 26, 2018 1:19 pm
Location: France

Re: "Password for Wifi needed" - gets stuck in authentication loop

Post by tuxracer »

@JerryF , excuse my impatience...

Best regards,
JeremyB
Level 21
Level 21
Posts: 13724
Joined: Fri Feb 21, 2014 8:17 am

Re: "Password for Wifi needed" - gets stuck in authentication loop

Post by JeremyB »

Well 11n_disable=8 enables aggressive TX, I need that parameter with my Intel 6250 to connect to Wifi 11N only routers. You might need to disable power management on wifi, try

Code: Select all

sudo iwconfig wlan6 power off
Locked

Return to “Networking”