Thursday, January 3, 2008

decrease grub wait time

edit /boot/grub/menu.lst, modify
timeout 15 --> timeout 1

Install Level-One WNC-0301USB into DSL linux by ndiswrapper, iwconfig

All done with root privilage:
sudo -s

Download Driver from web with zd1211u.inf

Install Driver
ndiswrapper -i zd1211u.inf

Check Installation with
ndiswrapper -l

It will show installed drivers:
zd1211u driver installed, hardware present

Load Module into Kernel
modprobe ndiswrapper

The usb flash light once.

show the network status with ID wlan0
iwconfig

set wlan options, and bring dhcp up
iwconfig wlan0 key abcdef1234
iwconfig wlan0 key open
iwconfig wlan0 key on
iwconfig essid my_network
ifconfig wlan0 up
pump -i wlan0

check status by
iwconfig
ifconfig
ping www.google.com


To make wireless network auto load everytime dsl start:

Add Line to /etc/modules:
ndiswrapper

Add Line to /opt/bootlocal.sh
iwconfig wlan0 key abcdef1234
iwconfig wlan0 key open
iwconfig wlan0 key on
iwconfig essid my_network
ifconfig wlan0 up
pump -i wlan0





Actually, I perform the same procedual by DSL (Not DSL-N) but ehe keyboard lock-up after bring up network card by ifconfig wlan0 up, it may cause by the 4K stack problem (i don't know how to solve by Damn Small Linux), so I give up trying DSL (Althought I thought it is better) and use DSL-N instead.

Install Firefox into DSL

Because DSL does not load MyDSL extension automatically after reboot.

Download firefox-1.5.0.5.uci by MyDSL into /tmp, and move the file into /usr/local/lib
cp /tmp/firefox-1.5.0.5.uci /usr/local/lib



At the end of /opt/bootlocal.sh, add line to load firefox each time windows start:
mydsl-load /usr/local/lib/firefox-1.5.0.5.uci

To make my DSL-N display chinese (both TC & SC)

Ref: http://blog.extremepattern.com/articles/2006/09/04/modify-dsl-n-1.0RC4
Pre-Installed: firefox-1.5.0.5.uci

Procedure:
sudo -s
wget http://cle.linux.org.tw/fonts/FireFly/fireflysung-1.3.0.tar.gz
cd /home/dsl
mkdir .fonts
cd .fonts
tar -zxvf ~/fireflysung-1.3.0.tar.gz


After successful unpack the fonts, the firefox can display chinese properly, to check the existence of Chinese fonts, type the following command.
fc-listgrep Sung