You are here

Intel 3945 ABG Wireless on Debian

Uditha Atukorala's picture

I used these steps to setup wireless drivers on my hp dv6330ea laptop and have tested these steps on both Debian Etch (stable) and Debian Lenny (testing)

1 - Set the apt sources
add contrib and non-free repositories to your /etc/apt/sources.list
e.g.
deb http://ftp.uk.debian.org/debian/ lenny main contrib non-free
2 - Install

aptitude update
aptitude install ipw3945-modules-`uname -r` ipw3945d firmware-ipw3945

Note: ipw3945-modules are not available for all the kernel versions so you might want to update your kernel as well

3 - Set up the interface
Do a reboot and find out your wireless network interface using iwconfig. (Mine was eth2) and update /etc/network/interfaces
(Add these lines to the /etc/network/interfaces, but remember to replace [ssid] and [secret] with your own.)
auto eth2
iface eth2 inet dhcp
        wpa-ssid [ssid]
        wpa-key-mgmt WPA-PSK
        wpa-proto WPA
        wpa-pairwise TKIP
        wpa-group TKIP
        wpa-psk [secret]
        wpa-driver wext

If you are using WEP, you'll have to change the configuration as the following. (Replace [ssid] and [secret] with your own)

auto eth2
iface eth2 inet dhcp
        wireless-essid [ssid]
        wireless-key [secret]

And do a #ifup eth2 and that's it, wireless interface is up and running.
Or, if you want to allow hot-plug feature, add these lines instead.
allow-hotplug eth2
iface eth2 inet dhcp

This will allow you to select and get connected to the desired wireless network through your GUI interface.

4 - Check the Intel Linux Wireless project page for updates and more information.