Intel Corporation PRO/Wireless 4965 AG or AGN (HP notebook dv2690el / Debian / Linux)

Hi! I’m posting to release a fast and furious tutorial to bring your wireless lan active in a few minutes.

I assume that you have a kernel release >= 2.6.24. The iwlwifi driver (we need it) has been merged into mainline kernel since 2.6.24.
Run uname -r command to know your kernel version.

$ uname -r

If your kernel is < 2.6.24, you have to upgrade your kernel.
If your kernel is >= 2.6.24 simply load iwlwifi module with modprobe as root user (to become root user use su command at command line and insert root’s password):

modprobe iwlwifi

Is your wlan led turned blue? It’s right. Your wlan is active.
Now you can configure it with ifconfig or you can create an adeguate configuration in /etc/network/interfaces file. If you need help simply use man interfaces command.

Uhm, but I think you need a basic config to use at home with WPA encryption… you don’t have time to read / search / study… that’s so strange!! 😀

So that’s it: edit /etc/network/interfaces (you need root privileges) and put this at the end of file.

# uncomment next row if you want your wlan active at startup
#auto wlan0
iface wlan0 inet dhcp
pre-up (echo 'Modprobing iwl4965') && /sbin/modprobe iwl4965
post-down (echo 'Removing iwl4965') && /sbin/modprobe -r iwl4965
wpa-key_mgmt WPA-PSK
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-psk "yourpassphrase"
wpa-driver wext

With this config you can easy bring up/down your wlan with ifup wlan0 or ifdown wlan0 as root user.

Note: in order to use wpa you need to install a package called wpasupplicant. Install it with apt-get install wpasupplicant as root user.

Have a nice day!

Tags: , , , , , , , ,

About Giulio Turetta

Sviluppo e curo siti web dal 1998, amo internet e le opportunità che ci offre. Grazie anche a te, che fai parte di questo mondo fantastico.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: