You are not logged in.
I used to use these commands to connect to a AP
iwconfig wlan0 essid "CMCC-EDU"
ifconfig wlan0 up
dhcpcd wlan0but after pacman -Syu upgrade,dhcpcd wlan0 can't get IP
dhcpcd[734]: version 5.5.6 starting
dhcpcd[734]: wlan0: waiting for carrier
dhcpcd[734]: timed outthen I try to do these
modprobe -r ath9k
modprobe ath9k nohwcrypt=1
iwconfig wlan0 channel auto
iwconfig wlan0 essid "CMCC-EDU"
ifconfig wlan0 up
dhcpcd wlan0But do not work..
In windows 7 the card work well.CMCC-EDU has no problem.
I tried to use a USB wireless card (Realtek Semiconductor Corp. RTL8187 Wireless Adapter),but it has the same problem.
Some infomation maybe useful
lspci -v
03:00.0 Network controller: Atheros Communications Inc. AR9287 Wireless Network Adapter (PCI-Express) (rev 01)
	Subsystem: Quanta Microsystems, Inc Device 2309
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at a3900000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [60] Express Legacy Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Virtual Channel
	Capabilities: [160] Device Serial Number 00-15-17-ff-ff-24-14-12
	Capabilities: [170] Power Budgeting <?>
	Kernel driver in use: ath9k
dmesg |grep ath
[    7.351725] ath: EEPROM regdomain: 0x65
[    7.351727] ath: EEPROM indicates we should expect a direct regpair map
[    7.351730] ath: Country alpha2 being used: 00
[    7.351732] ath: Regpair used: 0x65
[    7.588827] ieee80211 phy0: Selected rate control algorithm 'ath9k_rate_control'
[    7.589343] Registered led device: ath9k-phy0
ifconfig wlan0
wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500  metric 1
        ether 20:7c:8f:70:6f:4b  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
iwconfig wlan0
wlan0     IEEE 802.11bgn  ESSID:"CMCC-EDU"  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=13 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
iwlist wlan0 scan
          Cell 03 - Address: 00:23:89:1D:0B:C0
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=55/70  Signal level=-55 dBm  
                    Encryption key:off
                    ESSID:"CMCC-EDU"
                    Bit Rates:5.5 Mb/s; 11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000006a2b8971d
                    Extra: Last beacon: 910ms ago
                    IE: Unknown: 0008434D43432D454455
                    IE: Unknown: 01088B9618243048606C
                    IE: Unknown: 030101
                    IE: Unknown: 0706434E49010D1B
                    IE: Unknown: 2A0100
                    IE: Unknown: DD180050F2020101810003A4000027A4000042435E0062322F00
lsmod|grep ath
ath9k                  81625  0 
ath9k_common            1604  1 ath9k
ath9k_hw              344404  2 ath9k_common,ath9k
ath                    12445  3 ath9k_hw,ath9k_common,ath9k
mac80211              340264  1 ath9k
cfg80211              152981  3 mac80211,ath,ath9k
uname -a
Linux wu_wish 3.3.1-1-ARCH #1 SMP PREEMPT Tue Apr 3 14:43:38 UTC 2012 i686 Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz GenuineIntel GNU/LinuxLast edited by dahb007 (2012-04-11 02:58:40)
Offline
And I can use
airmong-ng start wlan0
airodump mon0to do some hack......
I still stop at "dhcpcd wlan0"....
Offline

This is a known issue in the 3.3 kernel. See this BR for more info.
Burninate!
Offline

Try this:
1º sudo pacman -S linux-headers
2º wget http://wireless.kernel.org/download/com … .6.tar.bz2
3º tar jxvf compat-wireless-2.6.tar.bz2
4º cd compat-wireless<tab>
5º make
6º sudo make install
7º sudo make unload
8º Reboot and try...
If it doesn't resolve the problem do:
cd compat-wireless<tab>
sudo make uninstall and reboot
OBS: This worked for me. Hope for the best. My Wireless Card uses the ath9k and there as a regression on kernel 3.3.1. I think that there are a regression on ath* modules 
Or https://bbs.archlinux.org/viewtopic.php?pid=1084982
Last edited by lgeek (2012-04-11 19:18:06)
Offline
I follow the steps given by upstairs.And it works!!!
Problem solved!!
Offline

Don't works for me.
Offline
Works for me, thank you Igeek !
I had to install the linux-header package first.-> http://www.archlinux.org/packages/core/ … x-headers/
(download from another computer and copied to the directory /var/cache/pacman/pkg/ )
Compilation lasted 30 minutes.
Offline

Yes, I forgot to put linux-headers as a needed package. Glad that worked for you 
Last edited by lgeek (2012-04-11 17:13:11)
Offline

Now works for me too ;-)
Thank you Igeek and gabuzo.
Offline
I'm having the same problem since the kernel upgrade. I installed the LTS kernel and have booted with that, but I still can't connect to any wireless networks. :-(
Offline

I'm having the same problem since the kernel upgrade. I installed the LTS kernel and have booted with that, but I still can't connect to any wireless networks. :-(
If you can't connect with the LTS kernel than you have a different issue, look what else got upgraded at the same time and if necessary post your own thread.
Offline

Try this:
1º sudo pacman -S linux-headers
2º wget http://wireless.kernel.org/download/com … .6.tar.bz2
3º tar jxvf compat-wireless-2.6.tar.bz2
4º cd compat-wireless<tab>
5º make
6º sudo make install
7º sudo make unload
8º Reboot and try...
If it doesn't resolve the problem do:
cd compat-wireless<tab>
sudo make uninstall and reboot
OBS: This worked for me. Hope for the best. My Wireless Card uses the ath9k and there as a regression on kernel 3.3.1. I think that there are a regression on ath* modules
Or https://bbs.archlinux.org/viewtopic.php?pid=1084982
That trick worked for me. Thank You! I read that the new kernel 3.3.2 has this issue fixed. Should I uninstall this fix before upgrading to the new kernel when it comes out?
Offline
Try this:
1º sudo pacman -S linux-headers
2º wget http://wireless.kernel.org/download/com … .6.tar.bz2
3º tar jxvf compat-wireless-2.6.tar.bz2
4º cd compat-wireless<tab>
....
Works for me as well. Thanks a lot!
Last edited by fileunderwater (2012-04-15 13:09:44)
Offline

Works for me too, but I had to reboot my laptop before make and make install.
Thanks
Offline

That trick worked for me. Thank You! I read that the new kernel 3.3.2 has this issue fixed. Should I uninstall this fix before upgrading to the new kernel when it comes out?
Not necessary. When installing new kernel, all modifications made are overwritten by the new kernel. But if not sure, you can unninstall.
Last edited by lgeek (2012-04-15 21:34:41)
Offline
Try this:
1º sudo pacman -S linux-headers
2º wget http://wireless.kernel.org/download/com … .6.tar.bz2
3º tar jxvf compat-wireless-2.6.tar.bz2
4º cd compat-wireless<tab>
5º make
6º sudo make install
7º sudo make unload
8º Reboot and try...
B-E-A-Utiful!!  this worked perfectly for me...  though i `sudo modprobe ath9k` instead of rebooted....  i like to maximize my uptime!  
hex
Offline
No success for me 
I'm on ath5k and 3.3.2
ath5k: phy0: gain calibration timeoutLast edited by Barghest (2012-04-17 20:35:30)
Offline
Try this:
1º sudo pacman -S linux-headers
2º wget http://wireless.kernel.org/download/com … .6.tar.bz2
3º tar jxvf compat-wireless-2.6.tar.bz2
4º cd compat-wireless<tab>
5º make
6º sudo make install
7º sudo make unload
8º Reboot and try...
If it doesn't resolve the problem do:
cd compat-wireless<tab>
sudo make uninstall and reboot
OBS: This worked for me. Hope for the best. My Wireless Card uses the ath9k and there as a regression on kernel 3.3.1. I think that there are a regression on ath* modules
I'm running kernel 3.3.7-1, and this fix worked perfectly with ath9k. Thanks!
Offline
I didn't try this, but am on the arch standard x86_64 kernel, 3.6.3-1. Above it seems that kernel 3.3 should have fixed this, but I'm still having an issue. Should I even try this, or if kernel 3.6 isn't doing it for me do I have a separate/different issue?
Offline