You are not logged in.

#1 2008-06-14 23:05:43

ijiti
Member
Registered: 2008-06-14
Posts: 2

connection to wlan takes very long

When i first start up my laptop and i try to connect to a wireless network, netcfg2 gives me a wireless association failed. When I try to do it manually using iwconfig and dhcpcd, dhcpcd wlan0 gives me err, wlan0 timed out. After about 5 minutes when i try netcfg2 again it'll give me a DHCP IP lease attempt failed, dhcpcd still gives me the same wlan0 timed out. After about 10 minutes out of no where dhcpcd will connect. Anyone have any idea? I've tried reseting the interface down and up. I am at a lost. It connects eventually, it is just extremely annoying to have to wait 15 minutes. Thanks for any help.

Offline

#2 2008-06-15 13:11:16

ThomasAdam
Member
From: Southampton, England
Registered: 2005-10-26
Posts: 148

Re: connection to wlan takes very long

ijiti wrote:

When i first start up my laptop and i try to connect to a wireless network, netcfg2 gives me a wireless association failed. When I try to do it manually using iwconfig and dhcpcd, dhcpcd wlan0 gives me err, wlan0 timed out. After about 5 minutes when i try netcfg2 again it'll give me a DHCP IP lease attempt failed, dhcpcd still gives me the same wlan0 timed out. After about 10 minutes out of no where dhcpcd will connect. Anyone have any idea? I've tried reseting the interface down and up. I am at a lost. It connects eventually, it is just extremely annoying to have to wait 15 minutes. Thanks for any help.

Are you connecting wirelessly to a switch or router?  Almost certainly this is the problem -- such as you're antenna in the wrong place, or near electrical interference,  You might also want to check via iwconfig that you have the correct "channel" setting -- and perhaps try changing it from the default (often 11).  If via "iwlist scanning" you find several other Wireless connections, that can often have an effect.

-- Thomas Adam

Offline

#3 2008-06-15 22:06:34

ijiti
Member
Registered: 2008-06-14
Posts: 2

Re: connection to wlan takes very long

Thanks for the reply, and its a router i'm connecting to. I've changed it to the right channel and i've tried moving the router around and even changing the essid. It seems to me like the wireless card doesnt boot up or isnt ready for a while? i dunno sad

Offline

#4 2008-06-16 00:05:51

kevin89
Arch Linux f@h Team Member
From: Netherlands
Registered: 2007-03-14
Posts: 218

Re: connection to wlan takes very long

Try setting your access point in your /etc/network.d/yournetworkname with

AP="xx:xx:xx:xx:xx:xx"

Also, did you append net-profiles to your daemons in rc.conf?
And do you have a..

NETWORKS=(yournetworkname)

entry in your rc.conf?

--Cheers

Offline

#5 2008-06-16 16:14:38

audaly
Member
From: France
Registered: 2004-12-13
Posts: 60

Re: connection to wlan takes very long

Is your wlan card an IPW4965?

Offline

#6 2008-06-16 19:54:57

lpb331
Member
From: Oregon
Registered: 2007-12-18
Posts: 44

Re: connection to wlan takes very long

I seem to be in a similar boat to ijiti, but I usually only need 5 minutes before calling netcfg2 will connect. I'm on a college campus, so there are several wireless connections seemingly available, it's just that all but one is very weak (<5/70 on strength). So I tried kevin89's idea of denoting the access point in the profile, but to no avail. I'm using an atheros based wireless card, and I have the right entries in rc.conf. Let me know if you need any other information to help solve the problem!

Offline

#7 2008-07-06 11:04:12

Irozga
Member
Registered: 2008-07-06
Posts: 4

Re: connection to wlan takes very long

I've got the same problem, my wlan card is an IPW4965. Does anyone know a solution?

Last edited by Irozga (2008-07-06 11:04:41)

Offline

#8 2008-07-06 12:51:39

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

Re: connection to wlan takes very long

kevin: The ap= thing won't work, there's no support in the code for it.

This is a driver bug you've got, file bugs and try more recent versions.

Offline

Board footer

Powered by FluxBB