You are not logged in.

#1 2016-11-10 11:20:37

senex
Member
Registered: 2016-11-10
Posts: 11

WPA Wireless Problems

WPA Problems
Hi, there is a strange problem with my wifi networking.

I can only connect the notebook to open wifi networks. When I try to connect it to an standard secured Network (Smartphone Hotspot, HomeWifi) then there comes trouble. I am using the networkmanager and the graphical nm-applet. After a connection refuses its usual that nothing works after that.
I installed the gnome-keyring, but didn't configured it.

The machine is an Dell XPS 15 9550, the arch wiki says, that wifi should work fine. Maybe I did some mistakes while set up my notebook.

I found also some error messages in dmesg

$ dmesg
[   11.563394] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[   11.617628] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[   20.117548] mei_wdt mei::05b79a6f-4628-4d7f-899d-a91514cb32ab:02: Could not register event ret=-22
[   20.118165] mei_wdt: probe of mei::05b79a6f-4628-4d7f-899d-a91514cb32ab:02 failed with error -22
[   28.607791] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether 9c:b6:d0:16:fc:81 brd ff:ff:ff:ff:ff:ff
$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Skylake Host Bridge/DRAM Registers [8086:1910] (rev 07)
00:01.0 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller (x16) [8086:1901] (rev 07)
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:191b] (rev 06)
00:04.0 Signal processing controller [1180]: Intel Corporation Skylake Processor Thermal Subsystem [8086:1903] (rev 07)
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f] (rev 31)
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-H Thermal subsystem [8086:a131] (rev 31)
00:15.0 Signal processing controller [1180]: Intel Corporation Sunrise Point-H Serial IO I2C Controller #0 [8086:a160] (rev 31)
00:15.1 Signal processing controller [1180]: Intel Corporation Sunrise Point-H Serial IO I2C Controller #1 [8086:a161] (rev 31)
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-H CSME HECI #1 [8086:a13a] (rev 31)
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] [8086:a103] (rev 31)
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #1 [8086:a110] (rev f1)
00:1c.1 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #2 [8086:a111] (rev f1)
00:1d.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #9 [8086:a118] (rev f1)
00:1d.4 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #13 [8086:a11c] (rev f1)
00:1d.6 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #15 [8086:a11e] (rev f1)
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-H LPC Controller [8086:a14e] (rev 31)
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-H PMC [8086:a121] (rev 31)
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-H HD Audio [8086:a170] (rev 31)
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-H SMBus [8086:a123] (rev 31)
01:00.0 3D controller [0302]: NVIDIA Corporation GM107M [GeForce GTX 960M] [10de:139b] (rev a2)
02:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a] (rev 01)
04:00.0 Non-Volatile memory controller [0108]: Lite-On Technology Corporation Device [14a4:2200] (rev 01)

Have anyone some ideas how I can solve the problem?

Thank you very mutch!

Offline

#2 2016-11-10 11:35:23

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

Re: WPA Wireless Problems

senex wrote:

I installed the gnome-keyring, but didn't configured it.

So ... configure it.


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

Offline

#3 2016-11-10 13:09:16

senex
Member
Registered: 2016-11-10
Posts: 11

Re: WPA Wireless Problems

In the wiki they say, that it works mostly out of the box. I am using awesome but I doesn't find tutorial, what I should have to do. I also had the same software on another computer (awesome/arch) and there was nothing to configure. In the installation tutorial is nothing to the keyring.

But I don't think that I will need the gnome-keyring application.

when I try to connect a network with wifi-menu comes errors like that:

Job for netctl@wlp2s0\x2dTUB\x2dGuest.service failed because the control process exited with error code.
See "systemctl status "netctl@wlp2s0\\x2dTUB\\x2dGuest.service"" and "journalctl -xe" for details.

greatings
seNex

Offline

#4 2016-11-10 13:36:14

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

Re: WPA Wireless Problems

So you may want to see "systemctl status "netctl@wlp2s0\\x2dTUB\\x2dGuest.service"" and "journalctl -xe" for details.

But now you are creating new problems: you have multiple networking services running.  That is the #1 leading cause of networking problems.

Disable all networking services and pick one to use.  For now I'd recommend trying to connect manually just with wpa_supplicant in order to ensure the hardware and network are all working.  Once that is confirmed, you can work on setting up something more complicated.  But only do this after *all* other networking services are stopped.


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

Offline

#5 2016-11-10 20:53:40

senex
Member
Registered: 2016-11-10
Posts: 11

Re: WPA Wireless Problems

The error code from the services can I not interpret.

When I try to start to connect with wpa_supplicant I get this errors:

$ wpa_cli 
wpa_cli v2.6
Copyright (c) 2004-2016, Jouni Malinen <j@w1.fi> and contributors

This software may be distributed under the terms of the BSD license.
See README for more details.



Interactive mode

Could not connect to wpa_supplicant: (nil) - re-trying
^C

Offline

#6 2016-11-10 21:41:41

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

Re: WPA Wireless Problems

senex wrote:

The error code from the services can I not interpret.

Neither can we if you don't share them with us.

The wpa_cli error is because you have not started wpa_supplicant.


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

Offline

#7 2016-11-10 21:42:26

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,181

Re: WPA Wireless Problems

And what was the error when starting wpa_supplicant ?

Offline

#8 2016-11-11 09:18:15

senex
Member
Registered: 2016-11-10
Posts: 11

Re: WPA Wireless Problems

wpa_supplicant works only as root. Is there something what could be wrong configured?

As root:

$ wpa_passphrase MYNETWORK MYKEY > /etc/wpa_supplicant/wpa_supplicant.conf
$ wpa_supplicant -i wlp0s1 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf -B
Successfully initialized wpa_supplicant
rfkill: Cannot get wiphy information
Could not read interface wlp0s1 flags: No such device
WEXT: Could not set interface 'wlp0s1' UP
wlp0s1: Failed to initialize driver interface
$ wpa_supplicant -i wlp2s0 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf -B
Successfully initialized wpa_supplicant
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
$ dhcpcd wlp2s0
wlp2s0: adding address fe80::8747:b85b:3fb5:4a7b
DUID 00:01:00:01:1f:b2:16:46:9c:b6:d0:16:fc:81
wlp2s0: IAID d0:16:fc:81
wlp2s0: soliciting a DHCP lease
wlp2s0: soliciting an IPv6 router
wlp2s0: offered 192.168.43.195 from 192.168.43.1
wlp2s0: probing address 192.168.43.195/24
wlp2s0: leased 192.168.43.195 for 3600 seconds
wlp2s0: adding route to 192.168.43.0/24
wlp2s0: adding default route via 192.168.43.1
forked to background, child pid 16891
$ sudo wpa_supplicant -i wlp2s0 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf -B

As Wheel:

$ sudo wpa_supplicant -B -i wlp2s0 -c /etc/wpa_supplicant/wpa_supplicant.conf
Successfully initialized wpa_supplicant
nl80211: Could not set interface 'p2p-dev-wlp2s0' UP
nl80211: deinit ifname=p2p-dev-wlp2s0 disabled_11b_rates=0
p2p-dev-wlp2s0: Failed to initialize driver interface
P2P: Failed to enable P2P Device interface
walther@optilux ~  
$ sudo dhcpcd wlp2s0
wlp2s0: waiting for carrier
timed out
dhcpcd exited

Offline

#9 2016-11-11 11:39:58

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

Re: WPA Wireless Problems

Are you killing old wpa_suplicant processes before you start a new one?  Only one should be running at a time.  As long as you are, there is a pretty obvious difference between the command you used as root and the one you used as sudoer: and this difference correlates directly with the error message it gave you.


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

Offline

Board footer

Powered by FluxBB