Debian lenny on TwinHead M95
September 10, 2009
Posted by on
After more than 3 years of heavy use, my Acer Aspire 5540 has retired. I just got a TwinHead M95. The following is what I did to install Debian on it. By the way, I’m now writing this blog using the M95 and Debian.
- Boot with Debian r5.0 DVD (disc 1) and follow the installation to the end.
- After the default installation:
- Wrong screen resolution and no 3D rendering.
- No way to adjust screen brightness. The hotkeys (Fn + F6/7) are not working.
- No Wireless network.
- To get the correct screen resolution and 3D rendering.
- aptitude install binutils make gcc glibc
- Download nvidia linux driver from http://www.nvidia.com/object/unix.html
- Shutdown GDM
# /etc/init.d/gdm stop
- Invoke the nvidia linux driver installation:
- Restart GDM
# /etc/init.d/gdm restart
- For detail explanation, see http://wiki.debian.org/NvidiaGraphicsDriversNvidiaWay
- To adjust the screen brightness.
- The screen brightness can be adjusted by using the “nvidia-settings”. It is installed automatically when you install the nvidia driver.
- The screen brightness will always go back to the default after the X is restarted or after lock/unlock the screen. By starting the “nvidia-s
ettings”, the screen brightness will go back to what you have set in the “nvidia-settings”.
- Haven’t found a way to enable Fn + F6/7 for controling the screen brightness.
- To enable wireless network.
- Add lenny-backports into the /etc/apt/source.list
# echo “deb http://www.backports.org/debian lenny-backports main contrib non-free” >> /etc/apt/source.list
- Get the list of backports packages.
# aptitude update
- Install backports keyring to avoid warnings.
# aptitude -t lenny-backports install debian-backports-keyring
- Install the new kernel and firmware that can make use of the wireless chipset.
# aptitude -t lenny-backports install linux-image-2.6.30-bpo.1-$(uname -r | sed ‘s,.*-,,g’) firmware-ralink
- Configure your network interface. My “/etc/network/interfaces” has the following entries:
- auto ra0
- iface ra0 inet dhcp
- wpa-key-mgmt WPA-PSK
- wpa-pairwise CCMP TKIP
- wpa-group CCMP TKIP
- wpa-ssid <Your access point name>
- wpa-psk <Your access point key>
- Reboot your laptop. Choose to boot into the new kernel you just installed (the first one in the list).
- Bring up your wireless interface.
# ifup ra0
Make sure your wireless LED is on (Press Fn + F1 on your keyboard). If the LED is not on, you may get a kernel failure, like I did.
- For details, see http://wiki.debian.org/rt2860sta