Saturday, February 25, 2006

Netgear WG511 v2 wireless card under Linux

It requires ndiswrapper.
Download ndiswrapper 1.10, ungzip to /usr/src, make->install->ndiswrapper->modprobe-> iwconfig->dhclient, it works!

Note:
1. In Ubuntu 5.10, you must have build-essential, fakeroot installed, then "make deb" to generate two deb packages.
2. In Fedora Core 4, you can "make rpm" to generate two rpm packages.
3. If your wireless network use WEP authentication, you have to get your passphrase key in hex digits. I found "key s:" option of iwconfig doesn't work ;)

Using FCITX in en locale environment

FCITX relies on zh_CN locale. If you want use it in an en locale environment, try this way below:
$ LANG=zh_CN.UTF-8 XMODIFIERS=@im=fcitx fcitx
$ LANG=zh_CN.UTF-8 gedit

Then you can input Chinese in an English system.
This method works with Ubuntu 5.10, it might works with other distros.

Thursday, February 23, 2006

Enabling IIIMF Input System in Fedora Core 4

I found IIIMF cannot work when I have installed Fedora Core 4 in default way. According to Fedora IIIMF FAQ, I checked if service was running.

$ /sbin/service iiim status
iiimd (pid 2012) is running...

but when pressing "ctrl+space" in "gedit", no any response. What's wrong?

$ rpm -qa iiim*
iiimf-le-xcin-0.1.10-1
iiimf-le-chinput-0.3-19
iiimf-server-12.2-4.fc4.2
iiimf-server-12.2-4
iiimf-libs-12.2-4.fc4.2


Lacking of some packages, so "yum install" these packages below:
iiimf-gtk-12.2-4.fc4.2
iiimf-gnome-im-switcher-12.2-4.fc4.2
iiimf-docs-12.2-4.fc4.2

Add "InputMethod Switcher" to the panel, then launch "gedit" and click on the switcher or press "ctrl+space", it works now!

Note: IIIMF is related to the locales. If you want to enable IIIMF for other locales, do as FAQ describes.