NetworkManager - Unable to authenticate

I’ve followed the https://forums.opensuse.org/showthread.php/502818-NEW-NetworkManager-Unable-to-authenticate. But I’m not sure if it’s the same issue.

I have opensuse 13.2 installed on my laptop thinkpad x230. I can connect the wifi in my office, which doesn’t require a password.

But at home, I have another wifi router, which require a password (WPA2 I think). The problem is, when I restart the router, the network can scan the connection, I click the “connect”, input the pass, then connection is successful.

But after the system sleeps, or reboot the system, then I need to reconnect the wifi, I cann’t connect. It gets stuck in the ’ Configuring Interface ', sometimes, a window pop up requires the password again, and again. Just cann’t connect unless I restart the wifi router(by turning off and on the power). Any help?

Any other information needed, please let me know.

way@linux-r7vv:~> uname -r
3.16.6-2-desktop

way@linux-r7vv:~> /sbin/lspci -nnk |grep -A3 Network
00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection [8086:1502] (rev 04)
        Subsystem: Lenovo Device [17aa:21f3]                                                                    
        Kernel driver in use: e1000e                                                                            
        Kernel modules: e1000e                                                                                  
--
03:00.0 Network controller [0280]: Intel Corporation Centrino Wireless-N 2200 [8086:0891] (rev c4)
        Subsystem: Intel Corporation Centrino Wireless-N 2200 BGN [8086:4222]                                   
        Kernel driver in use: iwlwifi                                                                           
        Kernel modules: iwlwifi          

way@linux-r7vv:~> ps -ef | grep polkit                                                                          
polkitd    864     1  0 08:08 ?        00:00:00 /usr/lib/polkit-1/polkitd --no-debug
way       1663     1  0 08:08 ?        00:00:00 /usr/lib64/kde4/libexec/polkit-kde-authentication-agent-1
way       4487  4391  0 08:51 pts/2    00:00:00 grep --color=auto polkit


way@linux-r7vv:~> loginctl
   SESSION        UID USER             SEAT            
         1       1000 way              seat0           


1 sessions listed.

If you used KDE and kwallet to store the network password, isn’t the popup window from kwallet, and asking for the kwallet password (not the router’s network password)? I imagine something similar could happen under gnome.

What desktop are you using?

Howard

I’m using KDE. And I do distinguished the kwallet and WiFi password. Usually the kwallet window was long before the WiFi password window. It’s the WiFi password window keeping popping up. Didn’t say the pass wrong, but just keep asking, while the status stuck in the "Configuring Interface ".

Then if I reboot my router, the connection can be established.

But then if I reboot my laptop or it wakes from a sleep or I boot my laptop the next day from work, I cann’t connect the WiFi without reboot the router first. Really weird to me.

Me too.

If you updated from 13.1, see section 1.2 of the 13.2 Release Notes.

Is the home router running DHCP server? If so, does the box in YaST network Settings Global Options tab have a check in the “Change Default Route via DHCP” box?

Is your home network hidden? If so, check the box in the NM Edit Connection wireless tab.

Does the correct network password show in the NM Edit Connection wireless security tab?

Howard

I’m using 13.2 from a fresh install, not from an update.

My home router is running DHCP server, but I’ve checked, my network setting is right.

My home network is not hidden. Actually, my office network is hidden but open(do not require a password I mean), and the NetworkManager works fine.

“Does the correct network password show in the NM Edit Connection wireless security tab?” --Yes.

Now I’m suspecting it’s either something wrong with my laptop(other than os, I’ll explain some background.) or it’s a router problem.

Background explanations:

When I’m using Win7 on the same laptop, though there’s not a clear pattern, but the WiFi connection will broken sometime. The connection will not be established even if I reboot the router unless I disable/enable the wireless device. And my home router is not working stable recently nether, sometimes I have to reboot it, especially when downloading some huge file.

It’s just either the Win7 issue or the unstable of the router doesn’t show the clear pattern as the opensuse one as I described: a connection only established once during one reboot cycle of the router.

As I said it may not be an opensuse issue. I think I’m gonna have to live with that for a while. So thank you very much.

Another question, how to do things under OpenSuse like I did “disable/enable the wireless device in win7”? Clicking the button upper on NetworkManager won’t work.

Another question, how to do things under OpenSuse like I did “disable/enable the wireless device in win7”? Clicking the button upper on NetworkManager won’t work.

You could just restart NM with

systemctl restart NetworkManager

or briefly disable wifi with

rfkill block wifi

then re-enable with

rfkill unblock wifi

Does openSUSE connect to your office network after the system sleeps?
Is a Win7 connection stable there?

This begins to sound like the problem is strictly in your home router.

Another question, how to do things under OpenSuse like I did “disable/enable the wireless device in win7”? Clicking the button upper on NetworkManager won’t work.
My NM pop-up window has a check box at the very top left for wireless. It has a check when wireless is on. Clicking the box clears the check (after a few seconds), and wireless goes off. Clicking the blank box gets the check back, and wireless restarts.
Does yours not do that? If not, does the laptop have a physical switch for the wireless card? If so, see what it does.
Howard

Yes, OpenSuse connect to my office network after system sleeps. And win7 is more stable at office.

The checkbox in NM pop-up windows doesn’t work like ‘disable/enable’ in win7. I’ll try the physical switch.

I’ll try this.

Neither the rfkill nor the physical switch works.

And it’s not only OpenSuse, I’ve tried linux mint debian and linux-deepin, they all have something like “disable/enable” the wifi. None of those works.

So far, only Win7 works by “disable/enable” the network device without restart the router.

I’ll try some new drivers for my network card. And then maybe try some setting of the router.