In a few installation-steps to almost perfect installation
Linux installations on notebooks are always complex and time-consuming ? You are living in the past :-)
This documentation is distributed with the General Public Licence (GPL).
The author of these documentation is: Marc Schoechlin (ms at 256bit dot org)
Video
- automatic setup with low resolution
- manual installation and setup, with standard ubuntu-packages
- works with opengl
Audio
- works out of the box
Lan
- works out of the box
Wlan
- configuration of network settings is neccessary
- nly tested with disabled hardware encryption
- nly tested with wpa-encryption
- active wlan creates problems while suspending, you get a blocked system is you try to suspend
- isabling/enabling by using the keyboard-switches works
Bluetooth
- works out of the box
- disabling/enabling by using the keyboard-switches works
IBM Hard Drive Active Drive Protection System
- manual setup, activation of a kernel-module
Firewire
- works out of the box
USB 2.0
- works out of the box
SD-Card slot
- inimal configuration
- rivers throws sometimes non-critical error messages while performing a suspend2disk - sometimes this prevents hibernating (but not suspending)
Fingerprintreader:
- manual setup
- no ubuntu-packages available (see: http://thinkfinger.sourceforge.net/)
- quick driver test was successfully (author doesn't need this feature)
IRDA
- works out of the box
PCMCIA
- works out of the box
IBM Keys
- works out of the box
- all special-buttuons are working (enable/disable wlan and bluetooth, suspend buttons, keyboard-light, background-light, volume,...)
Power saving
- Suspend to Disk - works out of the box (somtimes problems with sd- and wlan-driver)
- uspend to Ram - works out of the box (somtimes problems with wlan-driver)
- requency scaling - works out of the box
Reading DVDs
- watching unencrypted DVDs works well
- watching encrypted DVDs works well (after installing neccessary packages with easyubuntu)
Installation
Getting recovery media
- Boot WindowsXP
- nvoke the recovery media wizard :
Start -> All Programs (Alle Programme) -> Thinkvantage -> Create Recovery Media - nsert 5 empty cds and burn recovery media
Basic Ubuntu Installation
- Make recovery partition visible for deletion
- Invoke IBM BIOS by hitting the ThinkVantage and F1 button
- select "Security"
- select "Access Predesktop Area"
- select "Disabled"
- select "F10"
- boot ubuntu installer disk
- Select "Install" from the desktop menu
- Answer the questions for:
- Language
- Timezone
- user account details
- Partions
Setup networking : lan-adapter
setup the ip configuration
(alternative way : K -> System Settings -> Network)
vim /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.0.55
netmask 255.255.255.0
gateway 192.168.0.254
setup the dns-configuration
vim /etc/resolv.conf
nameserver 192.168.0.254
start networking with new settings
ifdown eth0 ; ifdown eth0 ; ifup eth0
Setup networking : wlan-adapter
setup the ip configuration
vim /etc/network/interfaces
#auto eth1
iface eth0 inet static
address 192.168.0.55
netmask 255.255.255.0
gateway 192.168.0.254
wpa-driver wext
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
setup the dns-configuration
vim /etc/resolv.conf
nameserver 192.168.0.254
gather the wpa-passphrase
wpa_passphrase MYSSID mypassword|grep psk
configure the wpa-supplicant
/etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=2
network={
ssid="WISCHMOB"
proto=WPA
scan_ssid=1
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP CCMP
psk=e4135274df43048639827d2b9a3f6d3c792eb37008259194154c79603cada009
}
disable the hardware-encryption
/etc/modprobe.d/ipw3945
options ipw2200 hwcrypto=0
start networking with new settings
ifdown eth1 ; ifdown eth1 ;
modprobe -r ipw3945 ; modprobe ipw3945
ifup eth1
verify the proper operation (the mac-address of the accesspoint should be visible)
iwconfig|grep "Access Point"
Full system upgrade
Modify package sources
-> uncomment all package-sources except the edgy-backports
vim /etc/apt/sources.list
Apply all updates
aptitude update ; aptitude upgrade
aptitude dist-upgrade
reboot
Setup ati-vga-adapter
Install driver
aptitude install fglrx-control linux-restricted-modules-`uname -r` xorg-driver-fglrx
Setup graphics adapter
aticonfig --initial --lcd-mode=full --fsaa=on --resolution=0,1680x1050 --overlay-type=opengl
or
aticonfig --initial --lcd-mode=full --fsaa=on --resolution=0,1680x1050 --overlay-type=Xv
Modify xorg.conf to enable 3d-support
vim /etc/X11/xorg.conf
Section "Extensions"
Option"Composite" "Disable"
EndSection
Section "ServerFlags"
Option"AIGLX" "off"
EndSection
Restart and test x-server
screen /etc/init.d/kdm restart
fgl_glxgears
Setup full reinitialisation of video-hardware after resume/suspend2ram
vim /etc/default/acpi-support
# Should we attempt to warm-boot the video hardware on resume?
POST_VIDEO=false
Setup virtual console
Edit the grub configuration
vim /boot/grub/menu.lst
## enhance defoptions by "vga=791" (options for new kernels)
# defoptions=quiet splash vga=791
...
## enhance every kernel-entry by "vga=791"
## i.e
...
kernel/boot/vmlinuz-2.6.17-11-generic root=/dev/sda1 ro quiet splash vga=791
...
Restart system
Switch between virtual console and x-server by using STRG+ALT+F1 and ALT+F7
Setup sd-card reader
The module for the sd-card read is not loaded automatically at system-start. (see: "lsmod|grep tifm_sd")
Load module
modprobe tifm_sd
Insert a sd-card for testing : a mount-window should be raised by KDE
Configure automated loading of module on system-start
echo "tifm_sd" |tee -a /etc/modules
Setup IBM Hard Drive Active Drive Protection System
Load module
modprobe hdaps
Make a basic test of the modulewhile true; do cat/sys/bus/platform/drivers/hdaps/hdaps/position ; sleep 1; done
Configure automated loading of module on system-start
echo "hdaps" |tee -a /etc/modules
Add commercial/non-free stuff
Installation of easyubuntu
wget -q http://medibuntu.sos-sts.com/repo/medibuntu-key.gpg -O- | sudo apt-key add -
cd /tmp
wget http://easyubuntu.freecontrib.org/files/easyubuntu_latest.deb
dpkg -i easyubuntu_latest.deb
Invoke easyubuntu with your unpriviledged system-user - invoke at the shell-prompt
easyubuntu
- enter your password
- check all options in section "multimedia"
- check all options in section "web" (excluded "wengo"/"skype")
- check all options in section "archives"
- check no option in section "system"
- klick "ok"
Check if there are broken packages
apt-get install -f
deinstall easyubuntu
dpkg -P easyubuntu
Basic Software Installation
aptitude install subversion rsync vim-full vim-doc vim-python vim-scripts ssh \
language-pack-de-base language-pack-kde-de-base language-support-de myspell-de-de \
openoffice.org-help-de openoffice.org-l10n-de openoffice.org-kde gnuplot \
tetex-nonfree tetex-base tetex-frogg-doc tetex-bin tetex-doc tetex-doc-nonfree tetex-eurosym \
iptraf quanta xine-ui xmms texinfo xpdf firefox thunderbird apt-listchanges kxmleditor
aptitude install tecnoballz foobillard ksirtet supertux kdegames tuxpuck wesnoth
Hardware information
uname -a
2.6.17-11-generic #2 SMP Thu Feb 1 19:52:28 UTC 2007 i686 GNU/Linux
lspci
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller AHCI (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Unknown device 7145
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5752M Gigabit Ethernet PCI Express (rev 02)
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
15:00.0 CardBus bridge: Texas Instruments Unknown device 8039
15:00.1 FireWire (IEEE 1394): Texas Instruments Unknown device 803a
15:00.2 Mass storage controller: Texas Instruments Unknown device 803b
15:00.3 Class 0805: Texas Instruments Unknown device 803c
lsusb
Bus 005 Device 002: ID 0424:2502 Standard Microsystems Corp.
Bus 005 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 006: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 003 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
lsmod
Module Size Used by
battery 11652 0
ac 6788 0
ibm_acpi 28672 0
thermal 15624 0
fan 6020 0
button 7952 0
ipw3945 124576 1
ieee80211 35272 1 ipw3945
ieee80211_crypt 7552 1 ieee80211
tg3 107652 0
rfcomm 42260 0
l2cap 27136 5 rfcomm
bluetooth 53476 4 rfcomm,l2cap
nvram 10376 1
uinput 10368 1
fglrx 406988 8
speedstep_centrino 9760 1
cpufreq_userspace 5408 0
cpufreq_stats 7744 0
freq_table 6048 2 speedstep_centrino,cpufreq_stats
cpufreq_powersave 2944 0
cpufreq_ondemand 8876 1
cpufreq_conservative 8712 0
video 17540 0
tc1100_wmi 8324 0
sbs 16804 0
sony_acpi 6412 0
pcc_acpi 14080 0
i2c_ec 6272 1 sbs
i2c_core 23424 1 i2c_ec
hotkey 11556 0
dock 8716 0
dev_acpi 12292 0
container 5632 0
asus_acpi 17688 0
ipv6 272288 14
xfs 621272 1
joydev 11200 0
tifm_sd 10884 0
hdaps 14528 0
thinkpad_ec 9360 1 hdaps
sbp2 24584 0
parport_pc 37796 0
lp 12964 0
parport 39496 2 parport_pc,lp
pcmcia 40380 0
snd_hda_intel 20116 1
tsdev 9152 0
snd_hda_codec 164608 1 snd_hda_intel
sg 37404 0
usbhid 45152 0
snd_pcm_oss 47360 0
snd_mixer_oss 19584 1 snd_pcm_oss
yenta_socket 28812 1
rsrc_nonstatic 15360 1 yenta_socket
pcmcia_core 43924 3 pcmcia,yenta_socket,rsrc_nonstatic
psmouse 41352 0
sdhci 20108 0
mmc_core 32136 2 tifm_sd,sdhci
tifm_7xx1 9472 0
tifm_core 10496 2 tifm_sd,tifm_7xx1
irtty_sir 10112 0
snd_pcm 84612 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer 25348 1 snd_pcm
snd 58372 8 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 11232 1 snd
sir_dev 18308 1 irtty_sir
nsc_ircc 25100 0
serio_raw 8452 0
irda 214332 3 irtty_sir,sir_dev,nsc_ircc
hw_random 7320 0
evdev 11392 2
intel_agp 26012 1
agpgart 34888 2 fglrx,intel_agp
shpchp 42144 0
pci_hotplug 32828 1 shpchp
snd_page_alloc 11400 2 snd_hda_intel,snd_pcm
crc_ccitt 3200 1 irda
pcspkr 4352 0
ext3 142856 2
jbd 62228 1 ext3
ohci1394 37040 0
ieee1394 306104 2 sbp2,ohci1394
uhci_hcd 24968 0
ehci_hcd 34696 0
usbcore 134912 4 usbhid,uhci_hcd,ehci_hcd
ide_generic 2432 0
sd_mod 22656 5
ahci 20356 4
libata 74892 1 ahci
scsi_mod 144648 5 sbp2,sg,sd_mod,ahci,libata
ide_cd 33696 0
cdrom 38944 1 ide_cd
piix 11780 1
generic 6276 0
processor 31560 2 thermal,speedstep_centrino
fbcon 41504 0
tileblit 3840 1 fbcon
font 9344 1 fbcon
bitblit 7168 1 fbcon
softcursor 3328 1 bitblit
vesafb 9244 0
capability 5896 0
commoncap 8704 1 capability