Bug#655941: iwlagn: my wifi card doesn't works - Intel Corporation Centrino Wireless-N 1000 [8086:0084]
On Sunday 15 January 2012, Jonathan Nieder wrote:
> apt-get install iw iproute
for completeness, you need wpasupplicant as well for the 3rd stanza
of /etc/network/interfaces to work (and you want crda (>= wheezy) to
access channel 11-13/ most of the 5 GHz band):
# apt-get install iw iproute wpasupplicant crda
> ip link set wlan0 up
> iw dev wlan0 scan
> iw dev wlan0 connect -w myfavoriteaccesspoint
> cat >>/etc/network/interfaces <<-\EOF
> iface library inet dhcp
> wireless-essid CPLWIFI
> iface home inet dhcp
> wireless-essid Elephant
> wireless-key Mouse
> iface cafe inet dhcp
Small syntax fix
> wpa-driver nl
This should read
the only valid choices here are:
- nl80211 all modern mac80211 based drivers.
- wext legacy and staging drivers - don't use, unless you have to.
it's preferred to just leave out wpa-driver over hardcoding
it to wext, because staging drivers will switch to nl80211,
once they leave staging.
- wired only for encrypted wired ethernet, basically not used
Setting wpa-driver explicitly is no longer necessary since
wpasupplicant 0.7.x (>= wheezy), it will default to nl80211 and fall
back to wext as needed). However it was needed for wpasupplicant
<=0.6.x from squeeze and earlier (well, at least lenny and squeeze).
> wpa-ssid Cafe Foo Bar
> wpa-psk secretsecretpassword
> ip link set wlan0 down
> ifup wlan0=cafe
While I have no personal experience with iwlagn/ iwlwifi, it might help
to load the module with "11n_disable=1", as there've been a couple of
problems with both the firmware and the kernel module in recent times.