You are not logged in.

#1 2008-09-27 16:43:01

fdrebin
Member
Registered: 2005-04-25
Posts: 152

netcfg WirelesLAN gives error "DHCP IP lease attempt failed" [SOLVED]

i couldn't find a solution for this on the forums, though it seems to be a well known problem ...
the drivers for my network device eth1 (zd1211) are installed and it is detected by iwconfig after a fresh arch install.
the file WirelessLAN is set up like this:

CONNECTION="wireless"
INTERFACE=eth1
SCAN="yes"
SECURITY="wpa"
ESSID="..."
KEY="..."
IP="dhcp"
TIMEOUT=20

but a netcfg2 WirelessLAN gives me:

:: WirelessLAN up                                                               [BUSY]
...
DHCP IP lease attempt failed                                               [FAIL]

any ideas ???

Last edited by fdrebin (2008-09-28 16:13:20)

Offline

#2 2008-09-27 16:47:30

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Re: netcfg WirelesLAN gives error "DHCP IP lease attempt failed" [SOLVED]

you sure that the device isn't wlan0 instead?


Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

#3 2008-09-27 20:03:19

fdrebin
Member
Registered: 2005-04-25
Posts: 152

Re: netcfg WirelesLAN gives error "DHCP IP lease attempt failed" [SOLVED]

ok i reinstalled arch using the newest iso and everything works fine !!!

Last edited by fdrebin (2008-09-28 16:13:54)

Offline

#4 2008-10-14 13:07:03

SLKDK
Member
Registered: 2008-08-11
Posts: 61

Re: netcfg WirelesLAN gives error "DHCP IP lease attempt failed" [SOLVED]

I have the same problem now.. Just upgrade Arch (pacman -Syyu). netcfg has always worked with my profiles, but now I get the same error:

DHCP IP lease attempt failed 

I don't wanna reinstall as fdrebin did ;o)


Any help??

My profile:

CONNECTION=wireless
INTERFACE=wlan0
SCAN=yes
SECURITY=wpa
ESSID=vv25
KEY=PASSWORD (like: 12345678)
IP=dhcp
TIMEOUT=20

Offline

#5 2008-10-14 13:22:45

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Re: netcfg WirelesLAN gives error "DHCP IP lease attempt failed" [SOLVED]

The key is supposed to have single quotes around it, I do believe. You can check with the netcfg wiki to make sure.


Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

#6 2008-10-24 09:47:46

uastasi
Member
From: Salento - Italy
Registered: 2007-11-27
Posts: 247

Re: netcfg WirelesLAN gives error "DHCP IP lease attempt failed" [SOLVED]

Try to increase DHCP_TIMEOUT from 10 to a bigger value. It worked for me.


Till the last battle, till the last bottle.
aur - twitter

Offline

#7 2009-01-25 18:30:09

ghaad
Member
From: Czech Republic, EU
Registered: 2009-01-23
Posts: 21

Re: netcfg WirelesLAN gives error "DHCP IP lease attempt failed" [SOLVED]

.

Last edited by ghaad (2009-01-25 18:32:43)


GNUniverse - May the source be with you...

Offline

#8 2009-02-23 23:09:57

alphasix
Member
Registered: 2008-10-06
Posts: 15

Re: netcfg WirelesLAN gives error "DHCP IP lease attempt failed" [SOLVED]

Hi.

I got the same problem since dhcpd was updated during the last full-system-upgrade (-Suy).
My profile is the following:

CONNECTION="ethernet"
DESCRIPTION="..."
INTERFACE=ra0
IP="dhcp"
DHCP_TIMEOUT="30"

PRE_UP="ifconfig ra0 up; iwconfig ra0 essid Ranger channel 9 mode managed"

I know that this config is very ugly, but it worked.

I have got another config, that may look better for you, but I don't know if it works. I created it today. If I try this new profile, I get the same error.

In the past configs like this led to other errors. So I made the ugly config above.

CONNECTION="wireless"
DESCRIPTION="..."
INTERFACE=ra0
SCAN="yes"
SECURITY="none"
ESSID="Ranger"
IP="dhcp"
DHCP_TIMEOUT=30

Do you have any hints, how I can get more a detailed error report. Downgrading dhcpd would be a good idea, too. Any hints for that?

Thanks for your help.
Alpha

Offline

#9 2009-02-23 23:49:44

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: netcfg WirelesLAN gives error "DHCP IP lease attempt failed" [SOLVED]

ok, a few things....

dhcpd doesn't affect anything, that's the server version, I think you meant dhcpcd

alphasix: For your config, you could try the preessid quirk. Add QUIRKS=(preessid)

That's a temporary workaround though, I'd like to workout what's causing this. Try downgrading one by one your kernel, wireless driver (if it's separate from the kernel) and dhcpcd and see if any of them fix the situation.

Offline

Board footer

Powered by FluxBB