You are not logged in.

#1 2008-03-17 10:50:35

ReaphSharc
Member
From: the Netherlands
Registered: 2007-11-05
Posts: 138
Website

Intel 4965 Wireless not getting IP at boot (solved)

I have a problem with my Intel 4965 wireless card. I'm using the "iwl4965" kernel driver, 2.6.24-ARCH kernel and the following network profile:

#Network Profile "home"
DESCRIPTION="Home Network Profile"
INTERFACE=wlan0
HOSTNAME=celestis
IFOPTS="dhcp"
DOMAIN=mydomain.nl

WIFI_INTERFACE=wlan0
ESSID="myessid"
KEY="somekey"
AP="myap"
CHANNEL="9"
IWOPTS="channel $CHANNEL ap $AP essid $ESSID key $KEY"

When I boot and I select the above network profile, this is what happens:
* DHCP gives a time-out (after 120 seconds, I set it pretty high atm)
* According to the data I get from iwconfig, the wireless card is associated with the AP, but seems to not have been connected to it (the link quality is 'unknown').

The way I can easily fix this is to run a command like "iwconfig wlan0 channel 9" and suddenly my wifi card does connect to the AP and the next time the DHCP daemon tries to get an ip adress, it gets one almost immediately.

I would very much like to connect at boot and not have to go through this workaround every time I boot. Can anyone point me in the right direction?

Last edited by ReaphSharc (2008-03-26 09:43:31)


Do you want a Bubble Icon? Feel free to submit your requests or personal creations to be included in future releases.
I'm 100% Linux!

Offline

#2 2008-03-21 13:50:33

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: Intel 4965 Wireless not getting IP at boot (solved)

Are you using netcfg2?
I'm not that much into netcfg2 myself, but I read that there is an option to do a command before running the rest of netcfg2 called: PRE_UP
Maybe you could try to use that to set the channel...
Another thing I notice is you have not set the IP variable to dhcp.
I'm not sure my suggestions can be of any help. Be sure you check the netcfg2 page on the wiki and forum thoroughfully:
http://bbs.archlinux.org/viewtopic.php?id=43863
http://wiki.archlinux.org/index.php/Network_Profiles
Succes!

edit: I forgot an important word big_smile

Last edited by ibendiben (2008-03-21 13:51:12)

Offline

#3 2008-03-21 15:09:08

ReaphSharc
Member
From: the Netherlands
Registered: 2007-11-05
Posts: 138
Website

Re: Intel 4965 Wireless not getting IP at boot (solved)

No I am not.
I'll look into it. Thanks for the suggestion.


Do you want a Bubble Icon? Feel free to submit your requests or personal creations to be included in future releases.
I'm 100% Linux!

Offline

#4 2008-03-25 07:25:39

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: Intel 4965 Wireless not getting IP at boot (solved)

So did you get it to work now?

Offline

#5 2008-03-25 08:00:35

ReaphSharc
Member
From: the Netherlands
Registered: 2007-11-05
Posts: 138
Website

Re: Intel 4965 Wireless not getting IP at boot (solved)

Haven't had the time to try yet. wink


Do you want a Bubble Icon? Feel free to submit your requests or personal creations to be included in future releases.
I'm 100% Linux!

Offline

#6 2008-03-26 09:42:44

ReaphSharc
Member
From: the Netherlands
Registered: 2007-11-05
Posts: 138
Website

Re: Intel 4965 Wireless not getting IP at boot (solved)

Have been tinkering with it, and netcfg2 along with archassistant solved my problem. Thanks!


Do you want a Bubble Icon? Feel free to submit your requests or personal creations to be included in future releases.
I'm 100% Linux!

Offline

Board footer

Powered by FluxBB