If you are running Lenny, you will have to add an entry in the sources.list file for aptitude.
So do
Code: Select all
nano /etc/apt/sources.list
Code: Select all
deb http://ftp.se.debian.org/debian/ etch main contrib non-free
deb-src http://ftp.se.debian.org/debian/ etc main contrib non-free
The last line isn't really needed, but I thought it might as well be there for future purposes.
Anyway, start with downloading the firmware package
Code: Select all
apt-get install firmware-iwlwifi
Code: Select all
modprobe iwl3945
Code: Select all
modprobe iwl4965
Code: Select all
nano /etc/modules
Code: Select all
iwl3945
Code: Select all
iwl4965
There, that's all. Enjoy your wireless