You are not logged in.
The "wl" module is for Broadcom cards -- why is hwinfo telling you to load that?
Do you have 2 wireless cards connected?
Jin, Jîyan, Azadî
Offline
I've never opened my laptop to check
Offline
That's a "no" then (it worked before, right?).
Sorry I'm out of ideas.![]()
You could try removing the config files in /etc/netctl/ and generating new ones with wifi-menu, but that would only work if `ip link` shows your wireless interface is up.
Jin, Jîyan, Azadî
Offline
I can reinstall the whole system in case. But I don't know if that would solve the problem.
Offline
The odd thing is ip link is showing that the interface is up ... but then the scan fails.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
I don't think that the interface is up
[simon@pizza4ever ~]$ 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: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether 74:86:7a:3b:30:19 brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
link/ether 70:18:8b:05:4e:c7 brd ff:ff:ff:ff:ff:ffOffline
3: wlp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
link/ether 70:18:8b:05:4e:c7 brd ff:ff:ff:ff:ff:ff
Yes it is. As stated above, the UP inside the angled brackets is what is relevant for this. The down afterwards is for the connection, not the interface.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
Oh okay. So this is a hardware problem or a software problem?
Offline
At this point I'm stumped. `ip` says the interface is up, but the scan fails. Different wireless tools are giving different information. One way to get more information would be to run this little tool that I just extracted from one of my projects: https://gist.github.com/TrilbyWhite/9df … 8ef3aab61c
That can be compiled as indicated in the comment in the first line. When run it will first set the provided interface down, then up, then scan, and list results. It will provide an error message for any step that fails. Run it as `iwtest wlp2s0`.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
[simon@pizza4ever 9dfa1b2ec18ef3aab61c]$ sudo ./iwtest wlp2s0
1: 326356
2: sousleventThose are the 2 availables network in my house.
Offline
That's good news then. Your hardware is definitely working, the firmware is working, and the drivers are working. Everything in my code worked as expected: the interface was put up and the scan completed.
I'm not sure why the scan you tried to run through `iw` failed, but it looks like a problem in one of the tools you are trying to use to connect.
In the short term, swifer-git from the AUR should allow you to get a wireless connection. The code you just ran is at the heart of swifer. But I'd caution that is is a horribly documented hack-job. And I happen to know the author is a real moron sometimes ![]()
You may want to run some diagnostics like `pacman -Qkk` and/or reinstall the iw package after clearing the package cache.
EDIT: actually, first, can you try the scan again with `iw`? Does iw continue to fail, or might there have been a temporary issue that is gone?
Last edited by Trilby (2014-12-27 03:17:51)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
I can reinstall the system to fix it.
Offline
That seems silly. Just reinstall `iw` if that is the problem. But in either case I've got to get some zz's. I'll check back in here in the morning.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
Well, sleeping is a good idea. Thanks for the help
[simon@pizza4ever ~]$ iw dev
phy#0
Interface wlp2s0
ifindex 3
wdev 0x1
addr 70:18:8b:05:4e:c7
type managed[simon@pizza4ever ~]$ sudo iw dev wlp2s0 scan
BSS 44:94:fc:55:e0:4e(on wlp2s0)
TSF: 1487494196678 usec (17d, 05:11:34)
freq: 2437
beacon interval: 100 TUs
capability: ESS Privacy ShortSlotTime (0x0411)
signal: -33.00 dBm
last seen: 596 ms ago
Information elements from Probe Response frame:
SSID: 326356
Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0
DS Parameter set: channel 6
ERP: <no flags>
ERP D4.0: <no flags>
RSN: * Version: 1
* Group cipher: CCMP
* Pairwise ciphers: CCMP
* Authentication suites: PSK
* Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
Extended supported rates: 6.0 9.0 12.0 48.0
HT capabilities:
Capabilities: 0x18fe
HT20/HT40
SM Power Save disabled
RX Greenfield
RX HT20 SGI
RX HT40 SGI
TX STBC
No RX STBC
Max AMSDU length: 7935 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 8 usec (0x06)
HT RX MCS rate indexes supported: 0-15, 32
HT TX MCS rate indexes are undefined
HT operation:
* primary channel: 6
* secondary channel offset: below
* STA channel width: any
* RIFS: 0
* HT protection: no
* non-GF present: 0
* OBSS non-GF present: 0
* dual beacon: 0
* dual CTS protection: 0
* STBC beacon: 0
* L-SIG TXOP Prot: 0
* PCO active: 0
* PCO phase: 0
WPS: * Version: 1.0
* Wi-Fi Protected Setup State: 2 (Configured)
* Response Type: 3 (AP)
* UUID: 5ace889f-0238-9018-cb39-33e90ce0a6e1
* Manufacturer: NETGEAR, Inc.
* Model: DGN2200v4
* Model Number: DGN2200v4
* Serial Number: 2200
* Primary Device Type: 6-0050f204-1
* Device name: DGN2200v4
* Config methods: Label, Display
* RF Bands: 0x1
* Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20
WMM: * Parameter version 1
* u-APSD
* BE: CW 15-1023, AIFSN 3
* BK: CW 15-1023, AIFSN 7
* VI: CW 7-15, AIFSN 2, TXOP 3008 usec
* VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS 2c:b0:5d:38:d0:8b(on wlp2s0)
TSF: 2520615589611 usec (29d, 04:10:15)
freq: 2462
beacon interval: 100 TUs
capability: ESS Privacy ShortSlotTime (0x0411)
signal: -69.00 dBm
last seen: 316 ms ago
Information elements from Probe Response frame:
SSID: souslevent
Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0
DS Parameter set: channel 11
ERP: Barker_Preamble_Mode
ERP D4.0: Barker_Preamble_Mode
RSN: * Version: 1
* Group cipher: CCMP
* Pairwise ciphers: CCMP
* Authentication suites: PSK
* Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
Extended supported rates: 6.0 9.0 12.0 48.0
HT capabilities:
Capabilities: 0x19fd
RX LDPC
HT20
SM Power Save disabled
RX Greenfield
RX HT20 SGI
RX HT40 SGI
TX STBC
RX STBC 1-stream
Max AMSDU length: 7935 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 8 usec (0x06)
HT RX MCS rate indexes supported: 0-23
HT TX MCS rate indexes are undefined
HT operation:
* primary channel: 11
* secondary channel offset: no secondary
* STA channel width: 20 MHz
* RIFS: 1
* HT protection: no
* non-GF present: 1
* OBSS non-GF present: 0
* dual beacon: 0
* dual CTS protection: 0
* STBC beacon: 0
* L-SIG TXOP Prot: 0
* PCO active: 0
* PCO phase: 0
Overlapping BSS scan params:
* passive dwell: 20 TUs
* active dwell: 10 TUs
* channel width trigger scan interval: 300 s
* scan passive total per channel: 200 TUs
* scan active total per channel: 20 TUs
* BSS width channel transition delay factor: 5
* OBSS Scan Activity Threshold: 0.25 %
Extended capabilities: HT Information Exchange Supported
WPS: * Version: 1.0
* Wi-Fi Protected Setup State: 2 (Configured)
* Response Type: 3 (AP)
* UUID: 1663b7f8-56b2-86f4-7b9e-e613babc5ae7
* Manufacturer: NETGEAR, Inc.
* Model: WNDR4500
* Model Number: WNDR4500
* Serial Number: 4536
* Primary Device Type: 6-0050f204-1
* Device name: WNDR4500
* Config methods: Label
* RF Bands: 0x3
* Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20
WMM: * Parameter version 1
* u-APSD
* BE: CW 15-1023, AIFSN 3
* BK: CW 15-1023, AIFSN 7
* VI: CW 7-15, AIFSN 2, TXOP 3008 usec
* VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS 44:94:fc:55:e0:4e(on wlp2s0)
TSF: 1487549130475 usec (17d, 05:12:29)
freq: 2437
beacon interval: 100 TUs
capability: ESS Privacy ShortSlotTime (0x0411)
signal: -34.00 dBm
last seen: 656 ms ago
Information elements from Probe Response frame:
SSID: 326356
Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0
DS Parameter set: channel 6
ERP: <no flags>
ERP D4.0: <no flags>
RSN: * Version: 1
* Group cipher: CCMP
* Pairwise ciphers: CCMP
* Authentication suites: PSK
* Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
Extended supported rates: 6.0 9.0 12.0 48.0
HT capabilities:
Capabilities: 0x18fe
HT20/HT40
SM Power Save disabled
RX Greenfield
RX HT20 SGI
RX HT40 SGI
TX STBC
No RX STBC
Max AMSDU length: 7935 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 8 usec (0x06)
HT RX MCS rate indexes supported: 0-15, 32
HT TX MCS rate indexes are undefined
HT operation:
* primary channel: 6
* secondary channel offset: below
* STA channel width: any
* RIFS: 0
* HT protection: no
* non-GF present: 0
* OBSS non-GF present: 0
* dual beacon: 0
* dual CTS protection: 0
* STBC beacon: 0
* L-SIG TXOP Prot: 0
* PCO active: 0
* PCO phase: 0
WPS: * Version: 1.0
* Wi-Fi Protected Setup State: 2 (Configured)
* Response Type: 3 (AP)
* UUID: 5ace889f-0238-9018-cb39-33e90ce0a6e1
* Manufacturer: NETGEAR, Inc.
* Model: DGN2200v4
* Model Number: DGN2200v4
* Serial Number: 2200
* Primary Device Type: 6-0050f204-1
* Device name: DGN2200v4
* Config methods: Label, Display
* RF Bands: 0x1
* Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20
WMM: * Parameter version 1
* u-APSD
* BE: CW 15-1023, AIFSN 3
* BK: CW 15-1023, AIFSN 7
* VI: CW 7-15, AIFSN 2, TXOP 3008 usec
* VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS 2c:b0:5d:38:d0:8b(on wlp2s0)
TSF: 2520670592712 usec (29d, 04:11:10)
freq: 2462
beacon interval: 100 TUs
capability: ESS Privacy ShortSlotTime (0x0411)
signal: -71.00 dBm
last seen: 323 ms ago
Information elements from Probe Response frame:
SSID: souslevent
Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0
DS Parameter set: channel 11
ERP: Barker_Preamble_Mode
ERP D4.0: Barker_Preamble_Mode
RSN: * Version: 1
* Group cipher: CCMP
* Pairwise ciphers: CCMP
* Authentication suites: PSK
* Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
Extended supported rates: 6.0 9.0 12.0 48.0
HT capabilities:
Capabilities: 0x19fd
RX LDPC
HT20
SM Power Save disabled
RX Greenfield
RX HT20 SGI
RX HT40 SGI
TX STBC
RX STBC 1-stream
Max AMSDU length: 7935 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 8 usec (0x06)
HT RX MCS rate indexes supported: 0-23
HT TX MCS rate indexes are undefined
HT operation:
* primary channel: 11
* secondary channel offset: no secondary
* STA channel width: 20 MHz
* RIFS: 1
* HT protection: no
* non-GF present: 1
* OBSS non-GF present: 0
* dual beacon: 0
* dual CTS protection: 0
* STBC beacon: 0
* L-SIG TXOP Prot: 0
* PCO active: 0
* PCO phase: 0
Overlapping BSS scan params:
* passive dwell: 20 TUs
* active dwell: 10 TUs
* channel width trigger scan interval: 300 s
* scan passive total per channel: 200 TUs
* scan active total per channel: 20 TUs
* BSS width channel transition delay factor: 5
* OBSS Scan Activity Threshold: 0.25 %
Extended capabilities: HT Information Exchange Supported
WPS: * Version: 1.0
* Wi-Fi Protected Setup State: 2 (Configured)
* Response Type: 3 (AP)
* UUID: 1663b7f8-56b2-86f4-7b9e-e613babc5ae7
* Manufacturer: NETGEAR, Inc.
* Model: WNDR4500
* Model Number: WNDR4500
* Serial Number: 4536
* Primary Device Type: 6-0050f204-1
* Device name: WNDR4500
* Config methods: Label
* RF Bands: 0x3
* Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20
WMM: * Parameter version 1
* u-APSD
* BE: CW 15-1023, AIFSN 3
* BK: CW 15-1023, AIFSN 7
* VI: CW 7-15, AIFSN 2, TXOP 3008 usec
* VO: CW 3-7, AIFSN 2, TXOP 1504 usecI tried "pacman -Qkk" and "pacman -Qqk" and nothing seems wrong
Last edited by Bl4ckb0ne (2014-12-27 03:28:46)
Offline
The iw dev scan now works. So whatever was wrong seems to be gone.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
What 'kernel' are you using? My wifi-interface got renamed. 'wlp8s0 ->wlp8s0b1' I'm using the 'linux-ck' kernel.
jimi ~ $ iw dev
phy#0
Interface wlp8s0b1
ifindex 3
wdev 0x1
addr 78:e4:00:84:07:f2
type managed
channel 153 (5765 MHz), width: 20 MHz, center1: 5765 MHzCrude matter we are not, Luminous beings we are
Offline
Well, I went to sleep, wake up, and now I see the scan is working. Nice. I see Trilby stuck with you.
So, can you associate with your access point? It should work now.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
I'm using the kernel x86_64 Linux 3.17.6-1-ARCH, and my interface was not renamed
[simon@pizza4ever netctl]$ iw dev
phy#0
Interface wlp2s0
ifindex 3
wdev 0x1
addr 70:18:8b:05:4e:c7
type managedI tried to use wifi-menu this morning and I still got the error.
Offline
Can you clarify - we've been through many steps and it seems we have solved many problems. What exactly is the error wifi-menu just gave you?
I also want to ensure we're not facing a transient problem and dancing around it. Does wifi-menu fail immediately after the iw scan succeeds? Or did you reboot or do something else in between?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
Immediatly after I selected the wifi spot I got that
Job for netctl@wlp2s0\x2d326356.service failed. See "systemctl status 'netctl@wlp2s0\x2d326356.service'" and "journalctl -xe" for details.[simon@pizza4ever ~]$ systemctl status 'netctl@wlp2s0\x2d326356.service'
● netctl@wlp2s0\x2d326356.service - Automatically generated profile by wifi-menu
Loaded: loaded (/etc/systemd/system/netctl@wlp2s0\x2d326356.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2014-12-27 13:23:26 UTC; 48s ago
Docs: man:netctl.profile(5)
Process: 9784 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
Main PID: 9784 (code=exited, status=1/FAILURE)Offline
Immediatly after I selected the wifi spot I got that
Job for netctl@wlp2s0\x2d326356.service failed. See "systemctl status 'netctl@wlp2s0\x2d326356.service'" and "journalctl -xe" for details.[simon@pizza4ever ~]$ systemctl status 'netctl@wlp2s0\x2d326356.service'
● netctl@wlp2s0\x2d326356.service - Automatically generated profile by wifi-menu
Loaded: loaded (/etc/systemd/system/netctl@wlp2s0\x2d326356.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2014-12-27 13:23:26 UTC; 48s ago
Docs: man:netctl.profile(5)
Process: 9784 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
Main PID: 9784 (code=exited, status=1/FAILURE)And the journal for Dec 27
-- Logs begin at Wed 2014-11-12 18:44:25 UTC, end at Sat 2014-12-27 13:07:35 UTC. --
Dec 27 12:03:32 pizza4ever systemd[645]: Starting Sockets.
-- Subject: Unit UNIT has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has begun starting up.
Dec 27 12:03:32 pizza4ever systemd[645]: Reached target Sockets.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is done.
Dec 27 12:03:32 pizza4ever systemd[645]: Starting Paths.
-- Subject: Unit UNIT has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has begun starting up.
Dec 27 12:03:32 pizza4ever systemd[645]: Reached target Paths.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is done.
Dec 27 12:03:32 pizza4ever systemd[645]: Starting Basic System.
-- Subject: Unit UNIT has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has begun starting up.
Dec 27 12:03:32 pizza4ever systemd[645]: Reached target Basic System.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is done.
Dec 27 12:03:32 pizza4ever systemd[645]: Starting Default.
-- Subject: Unit UNIT has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has begun starting up.
Dec 27 12:03:32 pizza4ever systemd[645]: Reached target Default.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is done.
Dec 27 12:03:32 pizza4ever systemd[645]: Startup finished in 29ms.
-- Subject: System start-up is now complete
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- All system services necessary queued for starting at boot have been
-- successfully started. Note that this does not mean that the machine is
-- now idle as services might still be busy with completing start-up.
--
-- Kernel start-up required KERNEL_USEC microseconds.
--
-- Initial RAM disk start-up required INITRD_USEC microseconds.
--
-- Userspace start-up required 29105 microseconds.
Dec 27 13:07:35 pizza4ever systemd[645]: Time has been changed
-- Subject: Time change
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The system clock has been changed to REALTIME microseconds after January 1st, 1970.Offline
And what about "journalctl -xe"? That should show the error message from the network start command.
edit: cross posted with the above.
OK, I'm stumped again - this is definitely a netctl problem. But I am not familiar with that tool.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
I can switch to anoher tool. I found it really annoying to launch sudo wifi-menu every times I move around with my laptop.
Edit : I switched to NetworkManager (with the awesome nm-applet), and when I tried to connect via wifi I got this "networkmanager the network connection has been disconnected"
Last edited by Bl4ckb0ne (2014-12-27 18:57:44)
Offline
I got some updates!
I've switched to NetworkManager, and my card can see the spots. But whenI tried to connect it just keep waiting and the disconnect.
Here's the config file for the spot
[simon@pizza4ever system-connections]$ cat 326356
[connection]
id=326356
uuid=0f11bdd2-7e5b-4a5b-a2a9-d38f84f641cb
type=wifi
[wifi]
ssid=326356
mode=infrastructure
mac-address=70:18:8B:05:4E:C7
security=802-11-wireless-security
[wifi-security]
key-mgmt=wpa-psk
psk=souslevent***
[ipv4]
method=auto
[ipv6]
method=auto
ip6-privacy=0I also maid some update, now I'm using the 3.18 kernel, but still got the problem.
I think that if the problem is not solved tonight I will reinstall all the system to fix it.
Offline
As usual, I was about to reinstall the system and I checked on the live usb, my wifi worked with NetworkManager. I tried on my system, it worked.
I don't know what happends but it works with NetworkManager. Thanks for the help guys.
Offline