Difference between revisions of "Installing Kubuntu on a ThinkPad A30"

From ThinkWiki
Jump to: navigation, search
Line 6: Line 6:
 
First things first, edit your /etc/apt/sources.list and uncomment the other sources and  get your system up to date
 
First things first, edit your /etc/apt/sources.list and uncomment the other sources and  get your system up to date
 
   
 
   
   $ sudo apt-get update  
+
   # sudo apt-get update  
   $ sudo apt-get upgrade -y
+
   # sudo apt-get upgrade -y
  
 
== Wireless LAN ==
 
== Wireless LAN ==
  
I wanted to use WPA encryption.  To get WPA you must use the wpasupplicant module.  In order to use the wpasupplicant module you must also use the hostap wireless driver (Kubuntu comes with the orinico wireless driver installed by default).
+
I wanted to use WPA encryption.  To get WPA you must use the wpasupplicant module.  In order to use the wpasupplicant module you must also use the hostap wireless driverKubuntu comes with both the hostap and orinico wireless drivers installed by default.  But, you need to install the hostap-utils package because it does a couple of things for you (like blacklisting the orinico driver so it doesn't load on boot and adds another wireless interface).  
  
   $ sudo apt-get install wpasupplicant hostap_utils -y
+
   # sudo apt-get install wpasupplicant hostap_utils -y
 
    
 
    
On my machine when I did the install Kubuntu named the wired LAN eth1 and my wireless eth0 which I didn't like  
+
On my machine when I did the install, Kubuntu named the wired LAN eth1 and my wireless eth0.  eth0 is usually your wired interface and wlan0 is your wireless.  So edit the /etc/iftab file and rename eth1 to eth0 and eth0 to wlan1.  Afterwards mine looked like:
  
Unfortunately wpasupplicant doesn't work with the orinico driverFortunantely the hostap driver The orinico driver does not support WPA. To use WPA I needed to install the hostap driver and wpa_suppplicant
+
  root@ubuntu:/# cat /etc/iftab
 +
  # This file assigns persistent names to network interfacesSee iftab(5).
 +
  eth0 mac 00:d0:59:83:5f:d2
 +
  wlan1 mac 00:20:e0:89:8f:e2

Revision as of 22:21, 20 November 2005

Summary

I have a A30 (2652-3CU) model. I wanted to install Kubuntu upon it and get everything working, using the base install as much as possible. That is I didn't want to install a bunch of extra software. I just wanted an 'out of the box' configuration

Update System

First things first, edit your /etc/apt/sources.list and uncomment the other sources and get your system up to date

 # sudo apt-get update 
 # sudo apt-get upgrade -y

Wireless LAN

I wanted to use WPA encryption. To get WPA you must use the wpasupplicant module. In order to use the wpasupplicant module you must also use the hostap wireless driver. Kubuntu comes with both the hostap and orinico wireless drivers installed by default. But, you need to install the hostap-utils package because it does a couple of things for you (like blacklisting the orinico driver so it doesn't load on boot and adds another wireless interface).

 # sudo apt-get install wpasupplicant hostap_utils -y
 

On my machine when I did the install, Kubuntu named the wired LAN eth1 and my wireless eth0. eth0 is usually your wired interface and wlan0 is your wireless. So edit the /etc/iftab file and rename eth1 to eth0 and eth0 to wlan1. Afterwards mine looked like:

 root@ubuntu:/# cat /etc/iftab 
 # This file assigns persistent names to network interfaces.  See iftab(5).
 eth0 mac 00:d0:59:83:5f:d2
 wlan1 mac 00:20:e0:89:8f:e2