Debian lenny on TwinHead M95

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.

  1. Boot with Debian r5.0 DVD (disc 1) and follow the installation to the end.
  2. After the default installation:
    1. Wrong screen resolution and no 3D rendering.
    2. No way to adjust screen brightness.  The hotkeys (Fn + F6/7) are not working.
    3. No Wireless network.
  3. To get the correct screen resolution and 3D rendering.
    1. aptitude install binutils make gcc glibc
    2. Download nvidia linux driver from http://www.nvidia.com/object/unix.html
    3. Shutdown GDM
      # /etc/init.d/gdm stop

      1. Invoke the nvidia linux driver installation:
        # ./NVIDIA-Linux-x86-185.18.36-pkg1.run

        1. Restart GDM
          # /etc/init.d/gdm restart

          1. For detail explanation, see http://wiki.debian.org/NvidiaGraphicsDriversNvidiaWay
        2. To adjust the screen brightness.
          1. The screen brightness can be adjusted by using the “nvidia-settings”. It is installed automatically when you install the nvidia driver.
          2. 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”.
          3. Haven’t found a way to enable Fn + F6/7 for controling the screen brightness.
        3. To enable wireless network.
          1. 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

            1. Get the list of backports packages.
              # aptitude update

              1. Install backports keyring to avoid warnings.
                # aptitude -t lenny-backports install debian-backports-keyring

                1. 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

                  1. 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>
                      1. Reboot your laptop. Choose to boot into the new kernel you just installed (the first one in the list).
                      2. 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.

                        1. For details, see http://wiki.debian.org/rt2860sta
                      3. END

                      Leave a Reply

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

                      WordPress.com Logo

                      You are commenting using your WordPress.com 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 )

                      Google+ photo

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

                      Connecting to %s

                      %d bloggers like this: