You are not logged in.
Hi, I'm having some issues with my Arch install. Right now I'm posting this from Windows so I don't have precise logs, but I mostly remember the issue so bare with me.
I'm using ath9k with my Bigfoot Killer 1202 card (not sure what the exact model is), and I can't connect to my university's WPA/WPA2 access point. Using wpa_supplicant I get the error "4-way handshake failed - pre-shared key may be incorrect".
So after some digging I found that I can get it to authenticate with nohwcrypt=1, but when I rmmod ath9k && modprobe ath9k nohwcrypt=1 it enumerates itself as wlan0 (instead of wlp3s0, which is what I get from booting up).
Then I made the file /etc/modprobe.d/ath9k with the contents "options ath9k nohwcrypt=1" but it seems to still not want to connect until I rmmod && modprobe manually.
Can someone point me in the right direction on how to fix this issue? I haven't used Arch in a few years and a lot of things have changed, and so far it seems nothing works as I expect it to. Also, how do I get my wifi card to enumerate as the same device no matter when I load ath9k? I don't care if it's called wlan0 or wlp3s0, I just want it to stay the same.
Edit: Additional Info
lspci
03:00.0 Network controller: Qualcomm Atheros AR9462 Wireless Network Adapter (rev 01)
cat /sys/module/ath9k/parameters/nohwcrypt
[root@huxley pobegam]# cat /sys/module/ath9k/parameters/nohwcrypt
0
(so I guess it isn't loading from ath9k.conf on boot after all?)
wpa_supplicant output
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
<3>CTRL-EVENT-SSID-REENABLED id=0 ssid="Student"
<3>Trying to associate with 00:19:30:6b:1b:a2 (SSID='Student' freq=2412 MHz)
<3>Association request to the driver failed
<3>Associated with 00:19:30:6b:1b:a2
<4>WPA: Failed to set PTK to the driver (alg=2 keylen=32 bssid=00:19:30:6b:1b:a2)
<3>CTRL-EVENT-DISCONNECTED bssid=00:19:30:6b:1b:a2 reason=1 locally_generated=1
<3>WPA: 4-Way Handshake failed - pre-shared key may be incorrect
<3>CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="Student" auth_failures=2 duration=20
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
wpa_supplicant configuration file
[root@huxley wpa_supplicant]# cat sunyit.conf
ctrl_interface=/var/run/wpa_supplicant
update_config=1
network={
scan_ssid=1
ssid="Student"
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
priority=1
psk="Wireless@SUNYIT"
}
Last edited by Pobega (2013-10-02 03:55:51)
Offline
Update: It seems to work ONLY when I rmmod && modprobe; if I force nohwcrypt=1 at boot it doesn't seem to work. Seems kind of odd... Wonder if this is a kernel issue?
Edit: Also updated with dmesg (because I'm an idiot and forgot to include it)
[ 2.802118] hub 3-1:1.0: USB hub found
[ 2.802210] hub 3-1:1.0: 6 ports detected
[ 2.876377] e1000e 0000:00:19.0 eth0: registered PHC clock
[ 2.876380] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) 00:90:f5:ea:54:ff
[ 2.876382] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[ 2.876418] e1000e 0000:00:19.0 eth0: MAC: 11, PHY: 12, PBA No: FFFFFF-0FF
[ 2.876688] ACPI Warning: 0x000000000000f040-0x000000000000f05f SystemIO conflicts with Region \_SB_.PCI0.SBUS.SMBI 1 (20130517/utaddress-251)
[ 2.876697] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 2.908262] usb 4-1: new high-speed USB device number 2 using ehci-pci
[ 2.913682] [drm] Memory usable by graphics device = 2048M
[ 2.913687] checking generic (e0000000 7f0000) vs hw (e0000000 10000000)
[ 2.913688] fb: conflicting fb hw usage inteldrmfb vs VESA VGA - removing generic driver
[ 2.913702] Console: switching to colour dummy device 80x25
[ 2.913836] i915 0000:00:02.0: setting latency timer to 64
[ 2.948473] i915 0000:00:02.0: irq 47 for MSI/MSI-X
[ 2.948482] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[ 2.948483] [drm] Driver supports precise vblank timestamp query.
[ 2.948547] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 3.032964] hub 4-1:1.0: USB hub found
[ 3.033016] hub 4-1:1.0: 8 ports detected
[ 3.038244] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3.169633] e1000e 0000:00:19.0: irq 46 for MSI/MSI-X
[ 3.221450] [drm] GMBUS [i915 gmbus vga] timed out, falling back to bit banging on pin 2
[ 3.237256] fbcon: inteldrmfb (fb0) is primary device
[ 3.271526] e1000e 0000:00:19.0: irq 46 for MSI/MSI-X
[ 3.271623] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 3.491212] Switched to clocksource tsc
[ 4.027317] psmouse serio2: synaptics: Touchpad model: 1, fw: 8.1, id: 0x1e2b1, caps: 0xd00123/0x840300/0x126c00, board id: 2439, fw id: 1215751
[ 4.066270] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio2/input/input7
[ 4.477837] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
[ 4.967580] Console: switching to colour frame buffer device 240x67
[ 4.977758] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[ 4.977761] i915 0000:00:02.0: registered panic notifier
[ 4.978457] acpi device:45: registered as cooling_device8
[ 4.978479] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no)
[ 4.978579] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input8
[ 4.978690] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[ 4.978877] snd_hda_intel 0000:00:1b.0: irq 48 for MSI/MSI-X
[ 4.979210] snd_hda_intel 0000:00:03.0: irq 49 for MSI/MSI-X
[ 4.989927] hda_codec: invalid CONNECT_LIST verb 5[1]:0
[ 4.989974] hda_codec: invalid CONNECT_LIST verb 6[1]:0
[ 4.990029] hda_codec: invalid CONNECT_LIST verb 7[1]:0
[ 4.991935] input: HDA Intel MID HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input9
[ 4.992031] input: HDA Intel MID HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input10
[ 4.992087] input: HDA Intel MID HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input11
[ 4.994100] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card1/input12
[ 4.994171] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input13
[ 6.977361] wlan0: authenticate with 00:1d:45:cd:c1:c2
[ 6.987213] wlan0: send auth to 00:1d:45:cd:c1:c2 (try 1/3)
[ 6.988904] wlan0: authenticated
[ 6.989040] ath9k 0000:03:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
[ 6.989044] ath9k 0000:03:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
[ 6.989046] ath9k 0000:03:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
[ 6.990123] wlan0: associate with 00:1d:45:cd:c1:c2 (try 1/3)
[ 6.993437] wlan0: RX AssocResp from 00:1d:45:cd:c1:c2 (capab=0x431 status=0 aid=9)
[ 6.993577] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 6.993624] wlan0: associated
[ 6.998736] wlan0: deauthenticating from 00:1d:45:cd:c1:c2 by local choice (reason=1)
[ 7.002835] cfg80211: Calling CRDA for country: US
[ 24.197672] wlan0: authenticate with 00:1d:45:cd:c1:c2
[ 24.207666] wlan0: send auth to 00:1d:45:cd:c1:c2 (try 1/3)
[ 24.209338] wlan0: authenticated
[ 24.209468] ath9k 0000:03:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
[ 24.209472] ath9k 0000:03:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
[ 24.209474] ath9k 0000:03:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
[ 24.210593] wlan0: associate with 00:1d:45:cd:c1:c2 (try 1/3)
[ 24.213338] wlan0: RX AssocResp from 00:1d:45:cd:c1:c2 (capab=0x31 status=0 aid=9)
[ 24.213481] wlan0: associated
[ 24.221396] wlan0: deauthenticating from 00:1d:45:cd:c1:c2 by local choice (reason=1)
[ 24.225880] cfg80211: Calling CRDA to update world regulatory domain
[ 50.045002] wlan0: authenticate with 00:19:30:6b:1b:a2
[ 50.054957] wlan0: send auth to 00:19:30:6b:1b:a2 (try 1/3)
[ 50.056639] wlan0: authenticated
[ 50.056775] ath9k 0000:03:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
[ 50.056779] ath9k 0000:03:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
[ 50.056781] ath9k 0000:03:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
[ 50.057899] wlan0: associate with 00:19:30:6b:1b:a2 (try 1/3)
[ 50.061270] wlan0: RX AssocResp from 00:19:30:6b:1b:a2 (capab=0x431 status=0 aid=89)
[ 50.061426] wlan0: associated
[ 50.073874] wlan0: deauthenticating from 00:19:30:6b:1b:a2 by local choice (reason=1)
[ 50.078661] cfg80211: Calling CRDA to update world regulatory domain
[ 75.892318] wlan0: authenticate with 00:1d:45:cd:c1:c2
[ 75.902267] wlan0: send auth to 00:1d:45:cd:c1:c2 (try 1/3)
[ 75.904108] wlan0: authenticated
[ 75.904254] ath9k 0000:03:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
[ 75.904256] ath9k 0000:03:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
[ 75.904257] ath9k 0000:03:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
[ 75.905145] wlan0: associate with 00:1d:45:cd:c1:c2 (try 1/3)
[ 75.908344] wlan0: RX AssocResp from 00:1d:45:cd:c1:c2 (capab=0x401 status=17 aid=0)
[ 75.908348] wlan0: 00:1d:45:cd:c1:c2 denied association (code=17)
[ 75.918844] wlan0: deauthenticating from 00:1d:45:cd:c1:c2 by local choice (reason=3)
[ 86.045293] wlan0: authenticate with 00:19:30:6b:1b:52
[ 86.059226] wlan0: send auth to 00:19:30:6b:1b:52 (try 1/3)
[ 86.061328] wlan0: authenticated
[ 86.061475] ath9k 0000:03:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
[ 86.061477] ath9k 0000:03:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
[ 86.061478] ath9k 0000:03:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
[ 86.064853] wlan0: associate with 00:19:30:6b:1b:52 (try 1/3)
[ 86.169949] wlan0: associate with 00:19:30:6b:1b:52 (try 2/3)
[ 86.179194] wlan0: RX AssocResp from 00:19:30:6b:1b:52 (capab=0x431 status=0 aid=22)
[ 86.179323] wlan0: associated
[ 89.123073] wlan0: deauthenticated from 00:19:30:6b:1b:52 (Reason: 4)
[ 89.147287] cfg80211: Calling CRDA for country: US
[ 105.770381] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
[ 105.770386] e1000e 0000:00:19.0 eth0: 10/100 speed: disabling TSO
[ 105.770418] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 114.898216] wlan0: authenticate with 00:19:30:6b:1b:a2
[ 114.912130] wlan0: send auth to 00:19:30:6b:1b:a2 (try 1/3)
[ 114.914102] wlan0: authenticated
[ 114.914235] ath9k 0000:03:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
[ 114.914239] ath9k 0000:03:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
[ 114.914241] ath9k 0000:03:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
[ 114.914348] wlan0: associate with 00:19:30:6b:1b:a2 (try 1/3)
[ 114.916916] wlan0: RX AssocResp from 00:19:30:6b:1b:a2 (capab=0x401 status=17 aid=0)
[ 114.916920] wlan0: 00:19:30:6b:1b:a2 denied association (code=17)
[ 114.937999] wlan0: deauthenticating from 00:19:30:6b:1b:a2 by local choice (reason=3)
[ 125.064495] wlan0: authenticate with 00:19:30:6b:1b:52
[ 125.078431] wlan0: send auth to 00:19:30:6b:1b:52 (try 1/3)
[ 125.081945] wlan0: authenticated
[ 125.082083] ath9k 0000:03:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
[ 125.082094] ath9k 0000:03:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
[ 125.082095] ath9k 0000:03:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
[ 125.084061] wlan0: associate with 00:19:30:6b:1b:52 (try 1/3)
[ 125.098558] wlan0: RX AssocResp from 00:19:30:6b:1b:52 (capab=0x431 status=0 aid=22)
[ 125.098683] wlan0: associated
[ 127.937457] wlan0: deauthenticated from 00:19:30:6b:1b:52 (Reason: 4)
[ 127.959914] cfg80211: Calling CRDA to update world regulatory domain
Edit: I ended up solving my problem -- the issue I was running into was that ath9k was baked into my initrd without nohwcrypt=1. I opted to `mkinitcpio` again without MODULES='ath9k' -- alternatively, you could add a modprobe.d file to FILES= to get it to work, but I just figured this is simpler.
Last edited by Pobega (2013-10-02 03:57:27)
Offline