You are not logged in.

#1 2012-04-10 15:22:40

dahb007
Member
Registered: 2012-04-10
Posts: 4

[SOLVED]strange!after pacman -Syu,dhcpcd wlan0 can't get IP .time out

I used to use these commands to connect to a AP

iwconfig wlan0 essid "CMCC-EDU"
ifconfig wlan0 up
dhcpcd wlan0

but 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 out

then 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 wlan0

But 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/Linux

Last edited by dahb007 (2012-04-11 02:58:40)

Offline

#2 2012-04-10 15:29:07

dahb007
Member
Registered: 2012-04-10
Posts: 4

Re: [SOLVED]strange!after pacman -Syu,dhcpcd wlan0 can't get IP .time out

And I can use

airmong-ng start wlan0
airodump mon0

to do some hack......

I still stop at "dhcpcd wlan0"....

Offline

#3 2012-04-10 16:18:21

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED]strange!after pacman -Syu,dhcpcd wlan0 can't get IP .time out

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


Burninate!

Offline

#4 2012-04-10 20:55:41

lgeek
Member
From: Europe, Portugal
Registered: 2012-03-09
Posts: 70

Re: [SOLVED]strange!after pacman -Syu,dhcpcd wlan0 can't get IP .time out

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

#5 2012-04-11 02:55:02

dahb007
Member
Registered: 2012-04-10
Posts: 4

Re: [SOLVED]strange!after pacman -Syu,dhcpcd wlan0 can't get IP .time out

I follow the steps given by upstairs.And it works!!!

Problem solved!!

Offline

#6 2012-04-11 14:44:59

Vladder
Member
From: España
Registered: 2012-01-21
Posts: 13

Re: [SOLVED]strange!after pacman -Syu,dhcpcd wlan0 can't get IP .time out

Don't works for me.

Offline

#7 2012-04-11 15:10:52

gabuzo
Member
Registered: 2012-04-11
Posts: 6

Re: [SOLVED]strange!after pacman -Syu,dhcpcd wlan0 can't get IP .time out

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

#8 2012-04-11 17:12:58

lgeek
Member
From: Europe, Portugal
Registered: 2012-03-09
Posts: 70

Re: [SOLVED]strange!after pacman -Syu,dhcpcd wlan0 can't get IP .time out

Yes, I forgot to put linux-headers as a needed package. Glad that worked for you smile

Last edited by lgeek (2012-04-11 17:13:11)

Offline

#9 2012-04-11 18:58:17

Vladder
Member
From: España
Registered: 2012-01-21
Posts: 13

Re: [SOLVED]strange!after pacman -Syu,dhcpcd wlan0 can't get IP .time out

Now works for me too ;-)

Thank you Igeek and gabuzo.

Offline

#10 2012-04-12 04:00:09

eggplantbren
Member
Registered: 2009-11-04
Posts: 73

Re: [SOLVED]strange!after pacman -Syu,dhcpcd wlan0 can't get IP .time out

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

#11 2012-04-12 04:49:25

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: [SOLVED]strange!after pacman -Syu,dhcpcd wlan0 can't get IP .time out

eggplantbren wrote:

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

#12 2012-04-13 21:54:46

Spatry
Member
From: Fort Lauderdale, Florida USA
Registered: 2012-04-13
Posts: 1
Website

Re: [SOLVED]strange!after pacman -Syu,dhcpcd wlan0 can't get IP .time out

lgeek wrote:

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

#13 2012-04-15 13:08:45

fileunderwater
Member
Registered: 2009-11-08
Posts: 21

Re: [SOLVED]strange!after pacman -Syu,dhcpcd wlan0 can't get IP .time out

lgeek wrote:

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

#14 2012-04-15 17:43:31

Marvell
Member
From: Poland
Registered: 2009-07-12
Posts: 28

Re: [SOLVED]strange!after pacman -Syu,dhcpcd wlan0 can't get IP .time out

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

Offline

#15 2012-04-15 21:31:44

lgeek
Member
From: Europe, Portugal
Registered: 2012-03-09
Posts: 70

Re: [SOLVED]strange!after pacman -Syu,dhcpcd wlan0 can't get IP .time out

Spatry wrote:

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

#16 2012-04-16 12:48:30

serialhex
Member
Registered: 2011-10-13
Posts: 4

Re: [SOLVED]strange!after pacman -Syu,dhcpcd wlan0 can't get IP .time out

lgeek wrote:

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!  big_smile

hex

Offline

#17 2012-04-17 20:28:33

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: [SOLVED]strange!after pacman -Syu,dhcpcd wlan0 can't get IP .time out

No success for me sad

I'm on ath5k and 3.3.2

ath5k: phy0: gain calibration timeout

Last edited by Barghest (2012-04-17 20:35:30)

Offline

#18 2012-06-02 00:17:17

dbh937
Member
Registered: 2012-02-05
Posts: 1

Re: [SOLVED]strange!after pacman -Syu,dhcpcd wlan0 can't get IP .time out

lgeek wrote:

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

#19 2012-10-26 17:46:30

jwhendy
Member
Registered: 2010-04-01
Posts: 621

Re: [SOLVED]strange!after pacman -Syu,dhcpcd wlan0 can't get IP .time out

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

Board footer

Powered by FluxBB