Archive | September 2008

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.

Ex.
$ uname -r
2.6.26-1-686

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.

#IW
# 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-ssid YOURNETNAMEAKASID
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!

Advertisements

HP notebook dv2690el and linux and… WOW!!!

Hp dv2690el (dv2000 series) is my new laptop.

dv2690el notebook and linux debian

dv2690el notebook and linux debian

Microsoft Vista is too much slow for a pc like this… Who code Vista think to users or think to Hardware Productors? I can’t belive that a new machine equipped with centrino duo and 2gb ram may be slow like it may be with Vista… like a pentium II and XP four years ago…

So, my friend, I’m going on linux with my preferred distro: Debian. And I’m going like a rocket!!!
When I bought this notebook I thinked «I hope that linux works with it».
But now, with debain unstable and kernel 2.6.26-1-686 I think: «Wow!!! It’s completly ready to work after installation!!!». Webcam works without any configuration, also with Skype. alsaconf configure audiocard in no more than 30s, nvidia video card has native linux drivers directly from productor, wlan is active immediatly and without problems (see my dv2690el linux wireless how-to), touchpad it’s right, eth0 works without problems during installation (NETinst) and after, k3b burn CDs and DVDs whitout stop, special keys work immediatly with xmodmap and remote control too… simply wonderful!!!

You like linux and want a new notebook? dv2690el it’s a good choice!

To use special keys and remote control put these rows in a new file:

keycode 162 = XF86AudioPlay
keycode 164 = XF86AudioStop
keycode 144 = XF86AudioPrev
keycode 153 = XF86AudioNext
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 160 = XF86AudioMute

Name this file .Xmodmap and put it in your home (~) directory. Reload X or type xmodmap ~/.Xmodmap.