You are not logged in.

#1 2011-11-20 13:57:31

amuroray
Member
From: Indonesia
Registered: 2011-05-27
Posts: 24

wlan could scan, but dhcpcd said "no interface has carrier"

I posted about my problem to this topic https://bbs.archlinux.org/viewtopic.php?id=129905 before.

I was using wicd for connecting to a router before, and sometimes when the connection lost because of reception issue, i couldn't reconnect.

At first  I thought it was caused by bad reception. But then I tried to boot into puppy linux, and i was able to reconnect to the router easily when the connection was lost. So I'm sure this has something to do with Arch. And reinstalled my Arch.

Upon re-installation, I found out that the real problem is dhcpcd couldn't detect a carrier on my wlan0 interface (i never set up any wireless connection manually before). But scanning with iwlist could show some router.

my card is

06:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)

with ath9k driver.

I really appreciate any help...

Last edited by amuroray (2011-11-23 01:19:56)

Offline

#2 2011-11-20 19:00:16

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: wlan could scan, but dhcpcd said "no interface has carrier"

How did you find out about the problem with dhcpcd? Please post the error you see.

Offline

#3 2011-11-21 22:07:24

amuroray
Member
From: Indonesia
Registered: 2011-05-27
Posts: 24

Re: wlan could scan, but dhcpcd said "no interface has carrier"

This what I got from scan,

wlan0     Scan completed :
          Cell 01 - Address: 00:25:9C:F1:ED:49
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=24/70  Signal level=-86 dBm  
                    Encryption key:off
                    ESSID:"kammi jakarta"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000d1b7cb180
                    Extra: Last beacon: 643ms ago
                    IE: Unknown: 000D6B616D6D69206A616B61727461
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030106
                    IE: Unknown: 050400010000
                    IE: Unknown: 200100
                    IE: Unknown: 2A0100
                    IE: Unknown: 32043048606C
                    IE: Unknown: DD180050F2020101020003A4000027A4000042435E0062322F00
                    IE: Unknown: 2D1A4C101BFF00000000000000000000000000000000000000000000
                    IE: Unknown: 3D1606001B00000000000000000000000000000000000000
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: Unknown: DD0A00037F04010020000000
                    IE: Unknown: 070C55532001021B0307140A021B
                    IE: Unknown: DD0E0050F204104A0001101044000102
          Cell 02 - Address: B0:48:7A:BE:50:E4
                    Channel:12
                    Frequency:2.467 GHz (Channel 12)
                    Quality=21/70  Signal level=-89 dBm  
                    Encryption key:off
                    ESSID:"CLICK-HOTSPOT"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s                                                                                                   
                              12 Mb/s; 24 Mb/s; 36 Mb/s                                                                                                                   
                    Bit Rates:9 Mb/s; 18 Mb/s; 48 Mb/s; 54 Mb/s                                                                                                           
                    Mode:Master
                    Extra:tsf=0000001badd894f7
                    Extra: Last beacon: 150ms ago
                    IE: Unknown: 000D434C49434B2D484F5453504F54
                    IE: Unknown: 010882848B960C183048
                    IE: Unknown: 03010C
                    IE: Unknown: 050400010000
                    IE: Unknown: 2A0100
                    IE: Unknown: 32041224606C
                    IE: Unknown: DD0900037F01010000FF7F
          Cell 03 - Address: B0:48:7A:FF:57:C8
                    Channel:12
                    Frequency:2.467 GHz (Channel 12)
                    Quality=44/70  Signal level=-66 dBm  
                    Encryption key:off
                    ESSID:"CLICK-HOTSPOT"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              12 Mb/s; 24 Mb/s; 36 Mb/s
                    Bit Rates:9 Mb/s; 18 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000001b74a4d181
                    Extra: Last beacon: 16ms ago
                    IE: Unknown: 000D434C49434B2D484F5453504F54
                    IE: Unknown: 010882848B960C183048
                    IE: Unknown: 03010C
                    IE: Unknown: 050400010000
                    IE: Unknown: 2A0100
                    IE: Unknown: 32041224606C
                    IE: Unknown: DD0900037F01010000FF7F

So, i just did a

 iwconfig wlan0 essid "kammi jakarta"

then when i tried dhcpcd, it came out like this,

dhcpcd[2756]: version 5.2.12 starting
dhcpcd[2756]: no interfaces have a carrier
dhcpcd[2756]: forked to background, child pid 2777

Offline

#4 2011-11-21 23:02:12

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: wlan could scan, but dhcpcd said "no interface has carrier"

Ok, thank you. Now, before you run the dhcpcd, wait a bit and then run

iwconfig

to see if the association to your wlan worked and stays on. Then go on with 

dhcpcd --release wlan0
dhcpcd wlan0

You get the same error?

Btw, maybe you want to try dhclient instead of the daemon

Offline

#5 2011-11-23 01:28:21

amuroray
Member
From: Indonesia
Registered: 2011-05-27
Posts: 24

Re: wlan could scan, but dhcpcd said "no interface has carrier"

no luck, dhcpcd remains the same, and dhclient, says "no broadcast interfaces --exiting".

Offline

#6 2011-11-23 19:42:24

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: wlan could scan, but dhcpcd said "no interface has carrier"

And after you get the dhcp error, iwconfig still shows an association to the wifi or not?

Please post the daemons array of your rc.conf and also anything you might have uncommented or added in the network part.

Another question: Does dhcp work when you use a wired connection?

Offline

Board footer

Powered by FluxBB