You are not logged in.

#1 2015-08-16 12:25:00

mr.rubik
Member
From: Czech republic
Registered: 2015-08-16
Posts: 6

Wireless interface doesn't go up and unable to connect [SOLVED]

Hi,

I am unable to connect to wireless network. I'm looking for solution for a few days and I'm not able to figure it out.

I have the following issue: after executing this command

sudo ip link set up wlp6s0

wlp6s0 is still down:

$ sudo ip link set up wlp6s0
$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 1c:75:08:50:1c:6c brd ff:ff:ff:ff:ff:ff
3: wlp6s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
    link/ether 00:24:d6:5a:6f:9e brd ff:ff:ff:ff:ff:ff

$ rfkill list all
0: ideapad_wlan: Wireless LAN
        Soft blocked: no
        Hard blocked: no

I'm using NetworkManager and nm-applet. I can see my wireless networks at home in nm-applet, but I am unable to connect. Wired network is completely alright. Output from journalctl -ex:

Aug 16 14:03:38 tomas-nb-arch kernel: wlp6s0: authenticate with 00:02:72:58:38:17
Aug 16 14:03:38 tomas-nb-arch kernel: wlp6s0: send auth to 00:02:72:58:38:17 (try 1/3)
Aug 16 14:03:38 tomas-nb-arch kernel: wlp6s0: authenticated
Aug 16 14:03:38 tomas-nb-arch kernel: iwlwifi 0000:06:00.0 wlp6s0: disabling HT as WMM/QoS is not supported by the AP
Aug 16 14:03:38 tomas-nb-arch kernel: iwlwifi 0000:06:00.0 wlp6s0: disabling VHT as WMM/QoS is not supported by the AP
Aug 16 14:03:38 tomas-nb-arch kernel: wlp6s0: associate with 00:02:72:58:38:17 (try 1/3)
Aug 16 14:03:38 tomas-nb-arch kernel: wlp6s0: RX AssocResp from 00:02:72:58:38:17 (capab=0x411 status=0 aid=2)
Aug 16 14:03:38 tomas-nb-arch kernel: wlp6s0: associated
Aug 16 14:03:38 tomas-nb-arch kernel: wlp6s0: deauthenticating from 00:02:72:58:38:17 by local choice (Reason: 3=DEAUTH_LEAVING)
Aug 16 14:03:38 tomas-nb-arch kernel: cfg80211: Exceeded CRDA call max attempts. Not calling CRDA
Aug 16 14:03:38 tomas-nb-arch NetworkManager[374]: <info>  (wlp6s0): supplicant interface state: inactive -> associated
Aug 16 14:03:38 tomas-nb-arch NetworkManager[374]: <warn>  Connection disconnected (reason -3)
Aug 16 14:03:38 tomas-nb-arch NetworkManager[374]: <info>  (wlp6s0): supplicant interface state: associated -> disconnected
Aug 16 14:03:38 tomas-nb-arch NetworkManager[374]: <info>  (wlp6s0): supplicant interface state: disconnected -> inactive

I've tried Disabling 11n with:

sudo sh -c 'modprobe -r iwlwifi && modprobe iwlwifi 11n_disable=1'

but anything happend. Also I wasn't able to find what "Connection disconnected (reason -3)" means. Everything is up to date.

Wifi-button no my laptop is definitely switched on, AP is configured correctly and HW is capable to connect.

Last edited by mr.rubik (2015-08-16 15:53:34)

Offline

#2 2015-08-16 12:29:21

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Wireless interface doesn't go up and unable to connect [SOLVED]

Your command's incorrect. It should be...

sudo ip link set wlp6s0 up

Last edited by Slithery (2015-08-16 12:29:48)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2015-08-16 12:32:35

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,333
Website

Re: Wireless interface doesn't go up and unable to connect [SOLVED]

Slithery, that was my first thought too - but it turns out either works.

mr.rubik, does that command give any errors?  What is the ouput of `dmesg | tail` right after issuing the ip command?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2015-08-16 12:40:17

mr.rubik
Member
From: Czech republic
Registered: 2015-08-16
Posts: 6

Re: Wireless interface doesn't go up and unable to connect [SOLVED]

Thanks for replies.

@slithery: Still the same

@Trilby:

$ sudo ip link set wlp6s0 up
$ dmesg | tail
[  455.036586] wlp6s0: authenticate with 00:02:72:58:38:17
[  455.038496] wlp6s0: send auth to 00:02:72:58:38:17 (try 1/3)
[  455.041344] wlp6s0: authenticated
[  455.041600] iwlwifi 0000:06:00.0 wlp6s0: disabling HT as WMM/QoS is not supported by the AP
[  455.041608] iwlwifi 0000:06:00.0 wlp6s0: disabling VHT as WMM/QoS is not supported by the AP
[  455.043094] wlp6s0: associate with 00:02:72:58:38:17 (try 1/3)
[  455.053337] wlp6s0: RX AssocResp from 00:02:72:58:38:17 (capab=0x411 status=0 aid=2)
[  455.056767] wlp6s0: associated
[  455.057075] wlp6s0: deauthenticating from 00:02:72:58:38:17 by local choice (Reason: 3=DEAUTH_LEAVING)
[  455.065918] cfg80211: Exceeded CRDA call max attempts. Not calling CRDA

Offline

#5 2015-08-16 12:48:33

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,333
Website

Re: Wireless interface doesn't go up and unable to connect [SOLVED]

Oops!  Sorry, I didn't read your first post carefully.  The command worked.  The interface is up, it's just failing to connect.  The 'UP' inside the angled brackets is for the interface itself - this is what responds to ip commands.  The DOWN outside the angled brakets is something else - I don't know the right terminology, but it's essentially whether there is an active connection.

I am, however, completely useless at troubleshooting NM as I've never used it.  If you want to (temporarily) disable network manager and any/all other networking services, and try the manual connection steps, that might provide better diagnostic information.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2015-08-16 12:54:52

esa
Member
Registered: 2011-12-29
Posts: 143
Website

Re: Wireless interface doesn't go up and unable to connect [SOLVED]

Have you checked if there are any previous instances of wpa_supplicant running?

ps -ah

hth

EDIT - Try (i dont have nm[cli] installed):

nmcli dev connect iface <DEVICE> ap <YOURSPOT>

Last edited by esa (2015-08-16 12:59:49)


Author of: TUI (Text User Interface for scripts), VHS (Video Handler Script, using ffmpeg) and YASSI (Yet Another Simple Script Installer)

Offline

#7 2015-08-16 14:52:56

mr.rubik
Member
From: Czech republic
Registered: 2015-08-16
Posts: 6

Re: Wireless interface doesn't go up and unable to connect [SOLVED]

Thanks for your patience.

I'm sorry, I made a mistake. When I run following command:

sudo sh -c 'modprobe -r iwlwifi && modprobe iwlwifi 11n_disable=1'

(I also have to disable iwldvm) and try to connect again through nm-applet gui I get this log

-- The start-up result is done.
Aug 16 14:44:07 tomas-nb-arch NetworkManager[380]: <info>  (wlp6s0): Activation: starting connection 'InternetPatro' (31ebe64f-ad82-4610-98d6-aff5d531954a)
Aug 16 14:44:07 tomas-nb-arch NetworkManager[380]: <info>  (wlp6s0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Aug 16 14:44:07 tomas-nb-arch NetworkManager[380]: <info>  NetworkManager state is now CONNECTING
Aug 16 14:44:07 tomas-nb-arch NetworkManager[380]: <info>  (wlp6s0): device state change: prepare -> config (reason 'none') [40 50 0]
Aug 16 14:44:07 tomas-nb-arch NetworkManager[380]: <info>  (wlp6s0): Activation: (wifi) access point 'InternetPatro' has security, but secrets are required.
Aug 16 14:44:07 tomas-nb-arch NetworkManager[380]: <info>  (wlp6s0): device state change: config -> need-auth (reason 'none') [50 60 0]
Aug 16 14:44:07 tomas-nb-arch NetworkManager[380]: <info>  (wlp6s0): device state change: need-auth -> prepare (reason 'none') [60 40 0]
Aug 16 14:44:07 tomas-nb-arch NetworkManager[380]: <info>  (wlp6s0): device state change: prepare -> config (reason 'none') [40 50 0]
Aug 16 14:44:07 tomas-nb-arch NetworkManager[380]: <info>  (wlp6s0): Activation: (wifi) connection 'InternetPatro' has security, and secrets exist.  No new secrets needed.
Aug 16 14:44:07 tomas-nb-arch NetworkManager[380]: <info>  Config: added 'ssid' value 'InternetPatro'
Aug 16 14:44:07 tomas-nb-arch NetworkManager[380]: <info>  Config: added 'scan_ssid' value '1'
Aug 16 14:44:07 tomas-nb-arch NetworkManager[380]: <info>  Config: added 'key_mgmt' value 'WPA-PSK'
Aug 16 14:44:07 tomas-nb-arch NetworkManager[380]: <info>  Config: added 'psk' value '<omitted>'
Aug 16 14:44:07 tomas-nb-arch NetworkManager[380]: <info>  Config: set interface ap_scan to 1
Aug 16 14:44:17 tomas-nb-arch kernel: wlp6s0: authenticate with 00:02:72:58:38:17
Aug 16 14:44:17 tomas-nb-arch NetworkManager[380]: <info>  (wlp6s0): supplicant interface state: inactive -> authenticating
Aug 16 14:44:17 tomas-nb-arch kernel: wlp6s0: send auth to 00:02:72:58:38:17 (try 1/3)
Aug 16 14:44:17 tomas-nb-arch kernel: wlp6s0: authenticated
Aug 16 14:44:22 tomas-nb-arch NetworkManager[380]: <info>  (wlp6s0): supplicant interface state: authenticating -> disconnected
Aug 16 14:44:22 tomas-nb-arch NetworkManager[380]: <info>  (wlp6s0): supplicant interface state: disconnected -> scanning
Aug 16 14:44:23 tomas-nb-arch kernel: cfg80211: Exceeded CRDA call max attempts. Not calling CRDA
Aug 16 14:44:32 tomas-nb-arch NetworkManager[380]: <warn>  (wlp6s0): Activation: (wifi) association took too long, failing activation
Aug 16 14:44:32 tomas-nb-arch NetworkManager[380]: <info>  (wlp6s0): device state change: config -> failed (reason 'ssid-not-found') [50 120 53]
Aug 16 14:44:32 tomas-nb-arch NetworkManager[380]: <info>  NetworkManager state is now DISCONNECTED
Aug 16 14:44:32 tomas-nb-arch NetworkManager[380]: <warn>  (wlp6s0): Activation: failed for connection 'MySSID'
Aug 16 14:44:32 tomas-nb-arch NetworkManager[380]: <info>  (wlp6s0): device state change: failed -> disconnected (reason 'none') [120 30 0]
Aug 16 14:44:32 tomas-nb-arch NetworkManager[380]: <info>  (wlp6s0): supplicant interface state: scanning -> disconnected
Aug 16 14:44:32 tomas-nb-arch NetworkManager[380]: <warn>  Failed to GDBus.Error:fi.w1.wpa_supplicant1.NotConnected: This interface is not connected: disconnect.
Aug 16 14:44:32 tomas-nb-arch NetworkManager[380]: <warn>  Could not get scan request result: GDBus.Error:fi.w1.wpa_supplicant1.Interface.ScanError: Scan request rejected

@esa: nope, there was only one instance of wpa_supplicant

I also went through this:

https://docs.fedoraproject.org/en-US/Fe … nmcli.html

and in the end it refused the passphrase.

Now I wanted to run wpa_cli, but the message is:

Could not connect to wpa_supplicant: wlp6s0 - re-trying

Probably due to the fact that wlp6s0 is DOWN.

Offline

#8 2015-08-16 15:53:14

mr.rubik
Member
From: Czech republic
Registered: 2015-08-16
Posts: 6

Re: Wireless interface doesn't go up and unable to connect [SOLVED]

Ouch, I'm sorry guys, but I forgott to remove wicd hmm It works now! But thank you very much for your advice.

Offline

#9 2016-02-13 14:24:58

gfournier
Member
Registered: 2016-02-13
Posts: 1

Re: Wireless interface doesn't go up and unable to connect [SOLVED]

I had a similar problem with Ubuntu connecting to the WIFI. This command solved the problem:

sudo sh -c 'modprobe -r iwlwifi && modprobe iwlwifi 11n_disable=1'

Thanks!

Last edited by gfournier (2016-02-13 14:26:36)

Offline

Board footer

Powered by FluxBB