You are not logged in.

#1 2009-04-05 13:24:59

onguarde
Member
Registered: 2008-09-14
Posts: 144

Wireless Dhcp Timeout

Peace all!

I followed the wiki instructions on wireless setup and managed to activate and scan for wireless networks.

iwlist wlan0 scan
wlan0     Scan completed :
          Cell 01 - Address: 00:04:E2:D1:04:0A
                    ESSID:"SMC"
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    Signal level=-96 dBm  Noise level=-100 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
                    Extra:bcn_int=100
                    Extra:resp_rate=10
          Cell 02 - Address: 00:24:56:6C:E0:89
                    ESSID:"2WIRE692"
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    Signal level=-91 dBm  Noise level=-100 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
                    Extra:bcn_int=100
                    Extra:resp_rate=20
          Cell 03 - Address: 00:21:7C:DE:B6:B9
                    ESSID:"2WIRE"
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    Signal level=-59 dBm  Noise level=-100 dBm
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
                    Extra:bcn_int=100
                    Extra:resp_rate=20
iwconfig wlan0
wlan0     IEEE 802.11b  ESSID:"2WIRE"  Nickname:""
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:21:7C:DE:B6:B9
          Bit Rate:11 Mb/s   Sensitivity=1/3
          Retry short limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=47/70  Signal level=-53 dBm  Noise level=-100 dBm
          Rx invalid nwid:0  Rx invalid crypt:619  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:11869   Missed beacon:0

However, after connecting to the network via essid, I still can't connect via dhcp. It always timed out for some reason. Disabling the encryption and firewall doesn't help either.

dhcpcd wlan0
wlan0: dhcpcd 4.0.12 starting
wlan0: waiting for carrier
wlan0: timed out

Any idea what else is causing this?

Thanks in advance!

Offline

#2 2009-04-08 05:53:06

onguarde
Member
Registered: 2008-09-14
Posts: 144

Re: Wireless Dhcp Timeout

/var/log/messages doesn't seem to tell anything useful. Is there any other way to find out what's the problem? The card or maybe the router.

I installed/configured knetworkmanager before. That shouldn't affect the results above afaik.

Offline

#3 2009-04-08 06:04:33

jt512
Member
Registered: 2009-02-19
Posts: 262

Re: Wireless Dhcp Timeout

I have the exact same "waiting for carrier" problem, but only with a small number of networks.  On most networks, I can connect just fine.

Jay

Offline

#4 2009-04-08 07:36:50

onguarde
Member
Registered: 2008-09-14
Posts: 144

Re: Wireless Dhcp Timeout

Hmm.. I doubt this is network specific. The same network in question is used under Windows XP previously and it worked fine.

Offline

#5 2009-04-08 07:42:46

jt512
Member
Registered: 2009-02-19
Posts: 262

Re: Wireless Dhcp Timeout

onguarde wrote:

Hmm.. I doubt this is network specific. The same network in question is used under Windows XP previously and it worked fine.

FWIW, the networks that I can't connect to under Arch, I can connect to under Vista, on the same dual boot laptop.

Jay

Offline

#6 2009-04-08 07:52:12

onguarde
Member
Registered: 2008-09-14
Posts: 144

Re: Wireless Dhcp Timeout

Is it possibly due to connection strength issues? The network in question is a home wireless network.

Offline

#7 2009-04-08 07:57:13

jt512
Member
Registered: 2009-02-19
Posts: 262

Re: Wireless Dhcp Timeout

onguarde wrote:

Is it possibly due to connection strength issues? The network in question is a home wireless network.

No, not for me.  I am able to connect to networks with weak signals in Arch.  Maybe it's certain routers.  I really don't know.  I've tried googling "waiting for carrier" and couldn't find anything useful.

Jay

Offline

#8 2009-04-16 14:50:21

Kerux
Member
Registered: 2009-03-13
Posts: 3

Re: Wireless Dhcp Timeout

I seem to have a similar problem with my laptop on my work wireless network. It works fine when booting to windows vista, but I only get dhcp timeouts when in arch. ifconfig and iwconfig output looks fine (similar to the original post, the only further complication is I need wpa_supplicant but that also seems to work as expected). I would be very interested in any possible solutions...

Offline

#9 2009-04-16 21:42:23

schef
Member
Registered: 2009-04-16
Posts: 71

Re: Wireless Dhcp Timeout

I have the same problem connecting to wlan via dhcpcd on any wireless aps. But some times when i do "ifconfig wlan0 down" and "ifconfig wlan up" and then try to connect via wifi-radar sometimes it does connect. But most times i get:

wlan0: dhcpcd 4.0.12 starting
wlan0: waiting for carrier
wlan0: timed out

The intresting thing is that if i try to connect to the same network with the cable and when i use "dhcpcd eth0" it does connect normaly.

Offline

#10 2009-04-16 22:35:16

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: Wireless Dhcp Timeout

I have the same problem, WEP-security, non-hidden network (my home wireless). Never been able to get it up using iwconfig -> dhcpcd. Networkmanager works fine, as does wicd, but these I only run once I'm in GNOME.

@schef, I think the problem here isn't necessarily the network (or the particular router) but something to do with the wireless connection. For me, I believe its to do with the security, however I haven't had time to check out whether it works with no key etc. etc.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#11 2009-04-22 14:44:23

Kerux
Member
Registered: 2009-03-13
Posts: 3

Re: Wireless Dhcp Timeout

I thought it could be a bug in dhcpcd, but dhclient basically gives the same result. I'm going to try a live cd of another distro to see whether this problem is archspecific or a general problem with the combination linux and this wireless network.

Offline

#12 2009-04-23 12:43:23

EmaRsk
Member
From: Italy
Registered: 2003-12-07
Posts: 26

Re: Wireless Dhcp Timeout

Same problem here, and I'm sorry I don't have the solution, however maybe it's interesting to know that I can connect to the same wireless LAN with the same PC from my Ubuntu partition, so the problem is actually Arch specific.

Offline

#13 2009-05-02 13:44:15

flaviovdf
Member
Registered: 2009-05-02
Posts: 2

Re: Wireless Dhcp Timeout

Confirmed with networkmanager using dhcpcd and dhclient (from the aur), i receive ips when using the cable but not on the wireless connection. Though i found that when i restart the router dhcp works. Basically, everytime i boot into arch i have to restart the router which is really annoying.

has anyone solved this?

ps: dhcp works on ubuntu and windows xp

Offline

#14 2009-05-04 00:51:46

flaviovdf
Member
Registered: 2009-05-02
Posts: 2

Re: Wireless Dhcp Timeout

It seems that i have solver the issue by following these steps:

1. replacing networkmanager and libnetworkmanager for networkmanager-dhclient and libnetworkmanager-dhclient (AUR)
2. correcting system time (mine was a day late for a while now, never bothered to do so before)
3. installing ntp
4. installing (from the AUR) networkmanager-dispatcher-ntpdate

5. adding these lines to dhclient.conf:

send host-name "hostname-here";
supersede host-name "hostname-here";

interface "eth0" {
   send dhcp-client-identifier 01:MAC-HERE;
}

interface "wlan0" {
   send dhcp-client-identifier 01:MAC-HERE;
}

Maybe not all are needed, but i followed some threads from the gentoo forums and the arch forums each having one or more of the steps above.

Offline

#15 2009-05-06 14:23:03

sfauzia
Member
Registered: 2009-01-11
Posts: 88

Re: Wireless Dhcp Timeout

I never used to have a problem connecting to my school's hidden LEAP-managed wireless network--I would even get the internet when others, with Windows, wouldn't. But now, since April 11th, I haven't been able to connect. I get the "waiting for carrier" and "timed out" messages from dhcpcd. Interestingly, I don't have a problem with the WPA-managed network I have at home (not hidden). Before, to connect to hidden networks, I would use a trick I read about online: do iwconfig wlan0 essid "network name" before iconfig wlan0 up, and then run iwconfig (again), then wpa_supplicant and dhcpcd.

Hmm... I'll try the hint you mentioned, flaviovdf, once I'm home and can install those packages. And my time has been wrong too--by a few minutes though.

Offline

Board footer

Powered by FluxBB