自从在US买到T42后,总想有空在上面安装一个Debian。但wireless, fingerprint, 红外
一、安装Debian Base System,并进行Base Config;
Debian 的套件
* 依 成熟度 而言分:stable(woody)、testing(sarge)、unstable(sid)
* 依 自由度 而言分:main、contrib、non-free
stable(woody): main contrib non-free
testing(sarge): main contrib non-free
unstable(sid): main contrib non-free
Debian distributions 的基本概念:http://www.debian.org/doc/manuals/quick-reference/ch-preface.en.html
初学者安装前,读一下这三篇文章。
http://apt.nc.hcc.edu.tw/docs/debian_X/04_BaseSystem/install.htm
http://www.ieee.org.cn/dispbbs.asp?boardID=63&ID=26065
Debian GNU/Linux 3.1 -- Installation Manual
Linux 101: Efficient software management with the Advanced Package Tool
一、编译内核:
Debian-Kernel-Compile-Howto (Kernel 2.6)
从http://www.kernel.org/pub/linux/kernel/v2.6/下载linux-2.6.17.6.tar.bz2.
或者wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.17.6.tar.bz2
apt-get install kernel-package ncurses-dev fakeroot wget bzip2
mv linux-2.6.17.6.tar.bz2 /usr/src
cd /usr/src
tar xjf linux-2.6.17.6.tar.bz2
cd linux-2.6.17.6/
make menuconfig
Select Load an Alternate Configuration File and enter the location of the configuration file of your current kernel,从/boot/config-2.6.X.X读入当前内核的configuration
You need "Networking > Generic IEEE 802.11 Networking Stack" and its
sub-options (WEP, CCMP, TKIP) and "Device Drivers > Network Device
Support > Wireless LAN (non-hamradio) > Intel PRO/Wireless 2200BG and
2915ABG Network Connection".
(注意:这里Intel PRO/Wireless 2200BG一定不要选择Built-in,应该选择Modules。It's extremely important that you compile the ipw2200 support as a module, otherwhise it won't work http://gentoo-wiki.com/HARDWARE_ipw2200)
顺便将显示驱动编译进去(ATI Mobility Radeon 7500 with 32MB)
make-kpkg clean
fakeroot make-kpkg --revision=custom.1.0 kernel_image
如果成功,将生成/usr/src/kernel-image-2.6.17.6_custom.1.0_i386.deb;
如果失败,执行make clean; 根据error,执行make menuconfig重新设置kernel configuration
/etc/apt/sources.list:
deb http://www.backports.org/debian/ woody module-init-tools initrd-tools procps
apt-get update
apt-get install module-init-tools initrd-tools procps
Install your new kernel:
dpkg -i kernel-image-2.6.8.1_custom.1.0_i386.deb
cd /boot/
mkinitrd -o /boot/initrd.img-2.6.17.6 2.6.17.6
vi /boot/grub/menu.lst
initrd=/boot/initrd.img-2.6.17.6
shutdown -r now
uname -a 检查kernel version
二、wireless
1.从http://ipw2200.sourceforge.net/firmware.php下载firmware v3.0
Extract all files and put them in the directory /lib/firmware(有好多文章建议放在/usr/lib/hotplug/firmware,但有的version会出问题。目录设置在/etc/hotplug/firmware.agent)
2. apt-get install wireless-tools
3. #modprobe ipw2200 如果没有错误,
4. dmesg |grep ipw 如果没有错误,恭喜你,无线网卡驱动成功了。
5. iwconfig eth1 essid XXXX
6. /etc/network/interfaces
mapping eth1 map home map work map none # The loopback network interface auto lo iface lo inet loopback # The primary network interface # auto eth0 iface eth0 inet dhcp autho eth1 iface eth1 inet dhcp iface home inet dhcp wireless-essid enter your wireless ID wireless-key whatever your wirless key is iface work inet dhcp wireless-essid whatever your work wireleess ID wireless-key whatever your wireless key is iface none inet dhcp wireless-essid ANY wireless-key none
三、中文设置
1. apt-get install x-window-system-core gnome-core
2. dpkg-reconfigure locale
3. dkpg-reconfigure localeconf
4. download fonts
四、软件安装
1. apt-get install mozilla
2. firefox http://www.mozilla.com/firefox/
3. opera http://www.opera.com/download/
4. thunderbird http://www.mozilla.com/thunderbird/
5. acrobat
6.
五、待解决issue:
1. shutdown时,电源不关闭
2. fingerprint, bluetooth
3. 声卡