You are not logged in.

#1 2012-05-11 17:42:31

sigma91
Member
Registered: 2010-07-31
Posts: 18

[SOLVED] wireless card finds networks, but unable to connect

Hi,

I have a notebook with the wireless card "Intel Centrino Wireless-N 1000". According to this site, the drivers are part of the iwlwifi project, so it should be included in the kernel.
I installed wpa_supplicant and wireless_tools, and the interface wlan0 showed up:

# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN mode DEFAULT 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT qlen 1000
    link/ether 04:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000
    link/ether 74:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff

So, I configured my wifi-network without any encryption. I installed netcfg and copied /etc/network.d/examples/wireless-open to /etc/network.d/, changed the essid and enabled debugging:

DESCRIPTION='A simple opened wireless connection'
INTERFACE='wlan0'
SECURITY='none'
ESSID='wrt'
IP='dhcp'
# Uncomment this if your ssid is hidden
#HIDDEN=yes
WPA_OPTS="-f/home/sigma/log"

then I did

# netcfg wireless-open
:: wireless-open up
 > WPA Authentication/Association failed

The debug file of netcfg says:

Trying to authenticate with f4:xx:xx:xx:xx:xx (SSID='wrt' freq=2462 MHz)
Trying to authenticate withf4:xx:xx:xx:xx:xx (SSID='wrt' freq=2462 MHz)
Trying to authenticate with f4:xx:xx:xx:xx:xx (SSID='wrt' freq=2462 MHz)

So I tried another wifi usb card, which works fine. I used the same netcfg profile as before and just changed INTERFACE='wlan0' to INTERFACE='wlan1'.
The debug file says:

Trying to authenticate with f4:xx:xx:xx:xx:xx (SSID='wrt' freq=2462 MHz)
Trying to associate with f4:xx:xx:xx:xx:xx (SSID='wrt' freq=2462 MHz)
Associated with f4:xx:xx:xx:xx:xx
CTRL-EVENT-CONNECTED - Connection to f4:xx:xx:xx:xx:xx completed (auth) [id=0 id_str=]

So, the settings seem to be fine, it's probably some problem with the driver or a missing module. Any kind of advice is appreciated.

Thanks in advance.

Last edited by sigma91 (2012-05-12 15:10:26)

Offline

#2 2012-05-12 14:00:57

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

Re: [SOLVED] wireless card finds networks, but unable to connect

The driver indeed has been troublesome lately for that card one reads. Have a try, if the following gets it working:

rmmod iwlwifi 
modprobe iwlwifi 11n_disable=1 swcrypto=1

Then try to connect with your profile.

Offline

#3 2012-05-12 15:09:28

sigma91
Member
Registered: 2010-07-31
Posts: 18

Re: [SOLVED] wireless card finds networks, but unable to connect

Turns out the access point had a white list for mac addresses... I must have configured that ages ago completely forgotten it. I didn't even consider changing the routers settings since the other wifi card worked fine.

Offline

Board footer

Powered by FluxBB