<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Gordon's Toy</title>
	<atom:link href="http://xjqian.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://xjqian.wordpress.com</link>
	<description>Zaurus and more ...</description>
	<lastBuildDate>Sun, 04 Jan 2009 17:25:33 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='xjqian.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/daccfd40e7c02b3d13474dd802c8430a?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Gordon's Toy</title>
		<link>http://xjqian.wordpress.com</link>
	</image>
			<item>
		<title>USB wireless adaptor</title>
		<link>http://xjqian.wordpress.com/2008/01/25/usb-wireless-adaptor/</link>
		<comments>http://xjqian.wordpress.com/2008/01/25/usb-wireless-adaptor/#comments</comments>
		<pubDate>Fri, 25 Jan 2008 07:31:42 +0000</pubDate>
		<dc:creator>Gordon</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://xjqian.wordpress.com/?p=17</guid>
		<description><![CDATA[Update: debian contrib does provide the kernel module named rt73-modules-&#60;kernel-version-arch&#62;  (arch=686 in my case) and rutilt packages.
To configure the Level One WNC-0301USB 802.11bg wireless dongle.
Many places, e.g. linuxwireless, lists the chipset inside as ZyDAS 1211 . This misinfo sent me off wasting couple of hours wondering why the zd1211rw driver didn&#8217;t work. Not until [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xjqian.wordpress.com&blog=133257&post=17&subd=xjqian&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Update: debian contrib does provide the kernel module named rt73-modules-&lt;kernel-version-arch&gt;  (arch=686 in my case) and rutilt packages.</p>
<p>To configure the Level One <a href="http://global.level1.com/products2.php?Id=19">WNC-0301USB</a> 802.11bg wireless dongle.</p>
<p>Many places, e.g. <a href="http://www.linuxwireless.org/en/users/Drivers/zd1211rw/devices">linuxwireless</a>, lists the chipset inside as ZyDAS 1211 . This misinfo sent me off wasting couple of hours wondering why the <a href="http://zd1211.wiki.sourceforge.net/">zd1211rw</a> driver didn&#8217;t work. Not until the device ID was examined, had it became apparant that the chipset inside was actually Ralink 2573.</p>
<p><code>cat /proc/bus/usb/devices</code></p>
<p><code>Vendor=148f ProdID=2573 Rev= 0.01<br />
Manufacturer=Ralink<br />
Product=802.11 bg WLAN</code></p>
<p>The corresponding driver is <a href="http://rt2x00.serialmonkey.com/">rt73</a>.  It&#8217;s a legacy driver and only CVS tarball is available. (Btw, there is an effort in linux-kernel git tree to provide a unified driver <a href="http://rt2x00.serialmonkey.com/wiki/index.php/Downloads">rt2&#215;00</a> to support all ralink wireless devices. However, that driver, included in 2.6.24 is still too experimental at the time of writing.) While at the download page, I also grabbed RutilT, a wireless configuration utility, which turns out to be quite handy. To compile the rt73.ko kernel module, I need kernel-headers. One shortcut is to use module-assistant</p>
<p><code>apt-get install module-assistant</code></p>
<p>Although module-assistant doesn&#8217;t have rt73 as an opition, I used it to prepare the necessary compile environment (just lauch it and choose &#8220;prepare).  It will downlaod linux-kernel-headers.</p>
<p><code>cd rt73-cvs-xxxx/Module; make; make install</code></p>
<p>It will place the firmware file rt73.bin under /lib/firmware and rt73.ko under /lib/modules/2.6.xx-x/extra.</p>
<p><code>cp /lib/modules/2.6.xx-x/extra/rt73.ko /lib/modules/2.6.xx-x/kernel/driver/net/wireless</code></p>
<p><code>modprobe rt73</code></p>
<p>The dongle should be recognized and the wlan0 interface should be opened.</p>
<p>To complie Rutilt</p>
<p><code>apt-get libgtk2.0-dev<br />
./configure.sh --launcher=nopasswd; make; make install</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/xjqian.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/xjqian.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xjqian.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xjqian.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xjqian.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xjqian.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xjqian.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xjqian.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xjqian.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xjqian.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xjqian.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xjqian.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xjqian.wordpress.com&blog=133257&post=17&subd=xjqian&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://xjqian.wordpress.com/2008/01/25/usb-wireless-adaptor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be392f1a9c9b8e4c1d380d98155a1b3a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">xjqian</media:title>
		</media:content>
	</item>
		<item>
		<title>Chinese fonts in Debian</title>
		<link>http://xjqian.wordpress.com/2007/11/13/chinese-fonts-in-debian/</link>
		<comments>http://xjqian.wordpress.com/2007/11/13/chinese-fonts-in-debian/#comments</comments>
		<pubDate>Tue, 13 Nov 2007 06:42:09 +0000</pubDate>
		<dc:creator>Gordon</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://xjqian.wordpress.com/2007/11/13/chinese-fonts-in-debian/</guid>
		<description><![CDATA[Desired effect: Everything (menu, console, etc.) in default locale (i.e. English). Able to display Chinese web page and emails nicely. Switchable Chinese input for any application. References [1], [2], [3]. and [4] (for scim setup).
1. generate locales
dpkg-reconfigure locales
en_US.ISO-8859-1
en_US.UTF-8
zh_CN.GB2312
zh_CN.UTF-8
zh_CN.GBK
zh_TW.BIG5
zh_TW.UTF-8
I use en_US.UTF-8 as my default locale.
2. add deb http://apt.debian.org.tw/ unstable main/ttf-arphic-newsung to /etc/apt/sources.list. ttf-arphic-newsung appears to be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xjqian.wordpress.com&blog=133257&post=15&subd=xjqian&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Desired effect: Everything (menu, console, etc.) in default locale (i.e. English). Able to display Chinese web page and emails nicely. Switchable Chinese input for any application. References <a href="http://www.debsir.org/main/?q=node/85">[1]</a>, <a href="http://wiki.debian.org.hk/w/Make_Debian_support_Chinese_(eng)">[2]</a>, <a href="http://isis.poly.edu/~qiming/chinese-debian-mini-howto.html">[3]</a>. and <a href="https://wiki.ubuntu.com/InputMethods/SCIM/Setup">[4]</a> (for scim setup).</p>
<p>1. generate locales</p>
<p><code>dpkg-reconfigure locales</code></p>
<p><code>en_US.ISO-8859-1<br />
en_US.UTF-8<br />
zh_CN.GB2312<br />
zh_CN.UTF-8<br />
zh_CN.GBK<br />
zh_TW.BIG5<br />
zh_TW.UTF-8</code></p>
<p>I use <code>en_US.UTF-8</code> as my default locale.</p>
<p>2. add <code>deb http://apt.debian.org.tw/ unstable main/ttf-arphic-newsung</code> to <code>/etc/apt/sources.list</code>. ttf-arphic-newsung appears to be the font edited by firefly.</p>
<p>Install these essential Chinese fonts</p>
<p><code>apt-get install ttf-arphic-newsung</code><br />
<code>apt-get install ttf-arphic-ukai ttf-arphic-uming<br />
apt-get install ttf-arphic-gbsn00lp ttf-arphic-bkai00mp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp</code></p>
<p>Optional English fonts</p>
<p><code>apt-get install ttf-bitstream-vera ttf-dejavu<br />
apt-get install msttcorefonts</code></p>
<p>I don&#8217;t recommend editing the font.conf and local.conf as suggested in Ref 4, since doing so will render the English fonts ugly. IMHO, the Chinese fonts, with anti-aliasing, look just as good, if not better, without the modification.</p>
<p>3. scim input set up</p>
<p><code>apt-get install scim scim-pinyin</code></p>
<p>4. creates ~/.xinput.d/en_US symbolic link to /etc/X11/xinit/xinput.d/scim.</p>
<p><code>im-switch -z en_US -s scim</code></p>
<p>It will complain about not finding scim-pinyin configuration, but works correctly after next login.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/xjqian.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/xjqian.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xjqian.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xjqian.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xjqian.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xjqian.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xjqian.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xjqian.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xjqian.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xjqian.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xjqian.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xjqian.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xjqian.wordpress.com&blog=133257&post=15&subd=xjqian&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://xjqian.wordpress.com/2007/11/13/chinese-fonts-in-debian/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be392f1a9c9b8e4c1d380d98155a1b3a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">xjqian</media:title>
		</media:content>
	</item>
		<item>
		<title>elog 2.7.0 in Debian</title>
		<link>http://xjqian.wordpress.com/2007/11/12/elog-270-in-debian/</link>
		<comments>http://xjqian.wordpress.com/2007/11/12/elog-270-in-debian/#comments</comments>
		<pubDate>Mon, 12 Nov 2007 09:01:27 +0000</pubDate>
		<dc:creator>Gordon</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://xjqian.wordpress.com/2007/11/12/elog-270-in-debian/</guid>
		<description><![CDATA[Unfortunately Elog did not pass the security scrutiny of Debian yet. Hence it is categorized as unstable. For security reason, instead of apt-get install elog from sid, It&#8217;s better to get the latest tarball and build from source.
1. Build and install elog to the default location /usr/local/ with user:group as root:staff.
cd elog-2.7.0 &#38;&#38; make &#38;&#38; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xjqian.wordpress.com&blog=133257&post=14&subd=xjqian&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Unfortunately <a href="http://midas.psi.ch/elog/index.html">Elog</a> did not pass the security scrutiny of Debian yet. Hence it is categorized as unstable. For security reason, instead of <code>apt-get install elog</code> from sid, It&#8217;s better to get the latest tarball and build from source.</p>
<p>1. Build and install elog to the default location /usr/local/ with user:group as <code>root:staff</code>.</p>
<p><code>cd elog-2.7.0 &amp;&amp; make &amp;&amp; sudo make install</code></p>
<p>2. Take care of user privilege</p>
<p><code>useradd -G staff gordon<br />
chmod -R g+w /usr/local/elog</code></p>
<p>add to the [global] section of /usr/local/elog/elogd.cfg</p>
<p><code>Usr = gordon<br />
Grp = staff</code></p>
<p>3. Start elog daemon and view the logbooks @ localhost:8080</p>
<p><code>sudo elogd -p 8080 -c /usr/local/elog/elogd.cfg -D</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/xjqian.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/xjqian.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xjqian.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xjqian.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xjqian.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xjqian.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xjqian.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xjqian.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xjqian.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xjqian.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xjqian.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xjqian.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xjqian.wordpress.com&blog=133257&post=14&subd=xjqian&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://xjqian.wordpress.com/2007/11/12/elog-270-in-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be392f1a9c9b8e4c1d380d98155a1b3a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">xjqian</media:title>
		</media:content>
	</item>
		<item>
		<title>Cisco VPN in Debian</title>
		<link>http://xjqian.wordpress.com/2007/11/12/cisco-vpn-in-debian/</link>
		<comments>http://xjqian.wordpress.com/2007/11/12/cisco-vpn-in-debian/#comments</comments>
		<pubDate>Mon, 12 Nov 2007 06:49:49 +0000</pubDate>
		<dc:creator>Gordon</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://xjqian.wordpress.com/2007/11/12/cisco-vpn-in-debian/</guid>
		<description><![CDATA[Connecting to the WUSTL NIL VPN service. A good tutorial can be found  here .
apt-get install vpnc
sudo cp /etc/vpnc/example.conf /etc/vpnc/nil.conf
Fill in all the information in the conf file with the help from .pcf file, and comment out the line with &#8220;IKE Authmode hybrid&#8221; because &#8220;vpnc was built without openssl: Can&#8217;t do hybrid or cert [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xjqian.wordpress.com&blog=133257&post=12&subd=xjqian&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Connecting to the WUSTL <a href="http://www.nil.wustl.edu/csg/faqs/CiscoVPN.html">NIL VPN service</a>. A good tutorial can be found <a href="http://www.debuntu.org/how-to-connect-to-a-cisco-vpn-using-vpnc"> here </a>.</p>
<p><code>apt-get install vpnc<br />
sudo cp /etc/vpnc/example.conf /etc/vpnc/nil.conf</code></p>
<p>Fill in all the information in the conf file with the help from .pcf file, and comment out the line with &#8220;IKE Authmode hybrid&#8221; because &#8220;vpnc was built without openssl: Can&#8217;t do hybrid or cert mode.&#8221;</p>
<p><code>sudo vpnc nil.conf</code></p>
<p>To disconnect:</p>
<p><code>sudo vpnc-disconnect</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/xjqian.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/xjqian.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xjqian.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xjqian.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xjqian.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xjqian.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xjqian.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xjqian.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xjqian.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xjqian.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xjqian.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xjqian.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xjqian.wordpress.com&blog=133257&post=12&subd=xjqian&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://xjqian.wordpress.com/2007/11/12/cisco-vpn-in-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be392f1a9c9b8e4c1d380d98155a1b3a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">xjqian</media:title>
		</media:content>
	</item>
		<item>
		<title>JRE and flash plugin for Mozilla (Firefox/Iceweasel)</title>
		<link>http://xjqian.wordpress.com/2007/11/11/jre-plugin-for-mozilla/</link>
		<comments>http://xjqian.wordpress.com/2007/11/11/jre-plugin-for-mozilla/#comments</comments>
		<pubDate>Mon, 12 Nov 2007 05:51:11 +0000</pubDate>
		<dc:creator>Gordon</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://xjqian.wordpress.com/2007/11/11/jre-plugin-for-mozilla/</guid>
		<description><![CDATA[Currently both JRE5 and JRE6 are viable options. Install either one from the non-free section
apt-get install  sun-java5-jre
or
apt-get install  sun-java6-jre
link java plugin library to mozilla plugin directory, e.g., JRE6.
ln -s /usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so  ~/.mozilla/plugins/libjavaplugin_oji.so
This works only for i386. On amd64 system
apt-get install java-gcj-compat-plugin
usually gives most people what they want. If it&#8217;s necessary to run sun [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xjqian.wordpress.com&blog=133257&post=11&subd=xjqian&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Currently both JRE5 and JRE6 are viable options. Install either one from the non-free section</p>
<p><code>apt-get install  sun-java5-jre<br />
or<br />
apt-get install  sun-java6-jre</code></p>
<p>link java plugin library to mozilla plugin directory, e.g., JRE6.</p>
<p><code>ln -s /usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so  ~/.mozilla/plugins/libjavaplugin_oji.so</code></p>
<p>This works only for i386. On amd64 system</p>
<p><code>apt-get install java-gcj-compat-plugin</code></p>
<p>usually gives most people what they want. If it&#8217;s necessary to run sun java-plugin on amd64, a chrooted ia32 env is probably the only solution.</p>
<p>to have flash plugin, which is only available from the unstable (sid) branch</p>
<p><code>apt-get -t sid install flashplugin-nonfree </code></p>
<p>to use predefined priorities to automatically select one implementation of &#8220;flash&#8221;<br />
between the multiple installed alternatives (this usually works for most people)</p>
<p><code>update-alternatives --auto flash-mozilla.so</code></p>
<p>to manually select one implementation of &#8220;flash&#8221; between the multiple installed alternatives :</p>
<p><code>update-alternatives --config flash-mozilla.so</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/xjqian.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/xjqian.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xjqian.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xjqian.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xjqian.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xjqian.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xjqian.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xjqian.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xjqian.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xjqian.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xjqian.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xjqian.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xjqian.wordpress.com&blog=133257&post=11&subd=xjqian&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://xjqian.wordpress.com/2007/11/11/jre-plugin-for-mozilla/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be392f1a9c9b8e4c1d380d98155a1b3a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">xjqian</media:title>
		</media:content>
	</item>
		<item>
		<title>Read/Write ntfs in Debian</title>
		<link>http://xjqian.wordpress.com/2007/11/11/readwrite-ntfs-in-debian/</link>
		<comments>http://xjqian.wordpress.com/2007/11/11/readwrite-ntfs-in-debian/#comments</comments>
		<pubDate>Mon, 12 Nov 2007 04:30:41 +0000</pubDate>
		<dc:creator>Gordon</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://xjqian.wordpress.com/2007/11/11/readwrite-ntfs-in-debian/</guid>
		<description><![CDATA[Seems there are now two packages claiming to provide full read/write support of windows ntfs.  One is ntfsprogs from linux-ntfs.org, the other is ntfs-3g from  ntfs3g.org , which is based on FUSE.  While the former alleges the latter an obsolete fork, the latter bashes reliablility issue  in the former&#8217;s 2.0.0 release. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xjqian.wordpress.com&blog=133257&post=10&subd=xjqian&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Seems there are now two packages claiming to provide full read/write support of windows ntfs.  One is <code>ntfsprogs</code> from <a href="http://www.linux-ntfs.org/">linux-ntfs.org</a>, the other is <code>ntfs-3g</code> from <a href="http://ntfs3g.org/"> ntfs3g.org </a>, which is based on <a href="http://fuse.sourceforge.net/">FUSE</a>.  While the former alleges the latter an <a href="http://www.linux-ntfs.org/doku.php?id=ntfs-3g">obsolete fork</a>, the latter bashes <a href="http://ntfs3g.org/support.html#ntfsprogs">reliablility issue </a> in the former&#8217;s 2.0.0 release. Without knowing which one performs superior, I&#8217;m sticking with <code>ntfsprogs</code> simply because of its longer track-record and wishing the two will merge someday. </p>
<p>A how-to is only a google away, such as <a href="http://technowizah.com/2006/11/debian-how-to-writing-to-ntfs.html">Howto for ntfs-3g</a></p>
<p><code>apt-get install ntfs-3g<br />
or<br />
apt-get install ntfsprogs</code></p>
<p><code>mount -t ntfs-3g /dev/hda1 /media/win -o umask=0,nls=utf8<br />
or<br />
mount -t ntfs /dev/hda1 /media/win -o umask=0,nls=utf8</code></p>
<p>entry for /etc/fstab</p>
<p><code>/dev/hda1 /media/win ntfs-3g umask=0,nls=utf8 0 0<br />
or<br />
/dev/hda1 /media/win ntfs umask=0,nls=utf8 0 0</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/xjqian.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/xjqian.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xjqian.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xjqian.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xjqian.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xjqian.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xjqian.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xjqian.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xjqian.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xjqian.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xjqian.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xjqian.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xjqian.wordpress.com&blog=133257&post=10&subd=xjqian&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://xjqian.wordpress.com/2007/11/11/readwrite-ntfs-in-debian/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be392f1a9c9b8e4c1d380d98155a1b3a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">xjqian</media:title>
		</media:content>
	</item>
		<item>
		<title>Simpleshare printer in Debian</title>
		<link>http://xjqian.wordpress.com/2007/11/10/simpleshare-printer-in-debian/</link>
		<comments>http://xjqian.wordpress.com/2007/11/10/simpleshare-printer-in-debian/#comments</comments>
		<pubDate>Sun, 11 Nov 2007 00:35:29 +0000</pubDate>
		<dc:creator>Gordon</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://xjqian.wordpress.com/2007/11/10/simpleshare-printer-in-debian/</guid>
		<description><![CDATA[The Simpleshare NAS (network attached storage) device is a quite interesting device by SimpleTech (Review). Although it&#8217;s not as hackable as the Linksys NSLU2 with SlugOS or OpenSlug, it&#8217;s probably still one of the best NAS devices on the market. I&#8217;ve been through both 160G and 250G models, which unfortunately suffered from a firmware bug [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xjqian.wordpress.com&blog=133257&post=9&subd=xjqian&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The Simpleshare NAS (network attached storage) device is a quite interesting device by SimpleTech (<a href="http://www.theinquirer.net/en/inquirer/news/2005/05/30/simpleshare-network-drive-almost-a-cross-platform-panacea">Review</a>). Although it&#8217;s not as hackable as the Linksys NSLU2 with<a href="http://www.nslu2-linux.org/wiki/SlugOS/SlugOSBE"> SlugOS or OpenSlug</a>, it&#8217;s probably still one of the best NAS devices on the market. I&#8217;ve been through both 160G and 250G models, which unfortunately suffered from a firmware bug affecting the auto spin-down of the harddrive (details in the simpleshare forum at <a href="http://openmss.org/">openmss</a>), and finally settled down at a 500G unit.</p>
<p>One of the cool things about Simpleshare is its integrated usb printer server under <a href="http://www.samba.org/">samba</a>. This memoir is about getting the printer connected to the Simpleshare to work under linux (specifically, Debian Lenny).</p>
<p>1. Having <a href="http://www.cups.org/">cups</a> and samba packages installed</p>
<p><code>apt-get install cupsys cupsys-bsd cupsys-client<br />
apt-get install foomatic-db-hpijs gs-esp a2ps<br />
apt-get install samba smbclient</code></p>
<p>2. Find printer driver at <a href="http://www.linuxprinting.org/">linuxprinting.org</a>.</p>
<p>The age of my printer certainly shows from its driver name: <code>HP-DeskJet_825C-hpijs.ppd</code>.</p>
<p>3. Find printer name from the Simpleshare samba server.</p>
<p><code>smbclient -L SIMPLESHARE -N</code></p>
<p><code>Domain=[MSHOME] OS=[Unix] Server=[Samba 3.0.2]<br />
Sharename           Type          Comment<br />
---------           ----          -------<br />
config                 Disk<br />
NetFolder           Disk<br />
MyHome                 Disk<br />
MyShare               Disk<br />
IPC$                     IPC      IPC Service ("SimpleShare")<br />
ADMIN$                 IPC            IPC Service ("SimpleShare")<br />
DESKJET-825C     Printer  HEWLETT-PACKARD DESKJET-825C TH24K250KH3H</code></p>
<p>4. Add printer to cups.</p>
<p><code>lpadmin -p DESKJET -v smb://SIMPLESHARE/DESKJET-825C -P /root/HP-DeskJet_825C-hpijs.ppd</code></p>
<p>5. Configure printer in cups</p>
<p>Start printer, accept jobs, and change settings for the printer (<code>DESKJET</code>) in the cups html configuration page @ http://localhost:631</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/xjqian.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/xjqian.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xjqian.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xjqian.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xjqian.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xjqian.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xjqian.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xjqian.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xjqian.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xjqian.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xjqian.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xjqian.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xjqian.wordpress.com&blog=133257&post=9&subd=xjqian&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://xjqian.wordpress.com/2007/11/10/simpleshare-printer-in-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be392f1a9c9b8e4c1d380d98155a1b3a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">xjqian</media:title>
		</media:content>
	</item>
		<item>
		<title>qemu not happy with gcc4</title>
		<link>http://xjqian.wordpress.com/2007/11/04/qemu-not-happy-with-gcc4/</link>
		<comments>http://xjqian.wordpress.com/2007/11/04/qemu-not-happy-with-gcc4/#comments</comments>
		<pubDate>Sun, 04 Nov 2007 07:25:47 +0000</pubDate>
		<dc:creator>Gordon</dc:creator>
				<category><![CDATA[OE]]></category>

		<guid isPermaLink="false">http://xjqian.wordpress.com/2007/11/04/qemu-not-happy-with-gcc4/</guid>
		<description><![CDATA[Updated 3/23/2008 Thanks to RP for cleaning up the gcc recipies. Now oe builds its own gcc3.4 if qemu is needed to generate binary locales. The following is not needed anymore.
It is a known oe bug 2157 that qemu does not work with gcc 4. To use an older gcc 3 version in debian lenny [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xjqian.wordpress.com&blog=133257&post=8&subd=xjqian&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Updated 3/23/2008 Thanks to RP for cleaning up the gcc recipies. Now oe builds its own gcc3.4 if qemu is needed to generate binary locales. The following is not needed anymore.</p>
<p>It is a known <a href="http://bugs.openembedded.org/show_bug.cgi?id=2157">oe bug 2157</a> that <a href="http://fabrice.bellard.free.fr/qemu/">qemu</a> does not work with <a href="http://gcc.gnu.org/">gcc</a> 4. To use an older gcc 3 version in debian lenny (which default to gcc 4)</p>
<p><code>apt-get install gcc-3.4 cpp-3.4 g++-3.4</code></p>
<p>and manually symbolic link the following:</p>
<p><code>ln -s /usr/bin/gcc-3.4 /usr/bin/gcc<br />
ln -s /usr/bin/g++-3.4 /usr/bin/g++<br />
ln -s /usr/bin/cpp-3.4 /usr/bin/cpp</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/xjqian.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/xjqian.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xjqian.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xjqian.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xjqian.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xjqian.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xjqian.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xjqian.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xjqian.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xjqian.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xjqian.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xjqian.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xjqian.wordpress.com&blog=133257&post=8&subd=xjqian&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://xjqian.wordpress.com/2007/11/04/qemu-not-happy-with-gcc4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be392f1a9c9b8e4c1d380d98155a1b3a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">xjqian</media:title>
		</media:content>
	</item>
		<item>
		<title>Upgrade monotone to 0.36</title>
		<link>http://xjqian.wordpress.com/2007/08/21/upgrade-monotone-to-036/</link>
		<comments>http://xjqian.wordpress.com/2007/08/21/upgrade-monotone-to-036/#comments</comments>
		<pubDate>Wed, 22 Aug 2007 03:03:14 +0000</pubDate>
		<dc:creator>Gordon</dc:creator>
				<category><![CDATA[OE]]></category>

		<guid isPermaLink="false">http://xjqian.wordpress.com/2007/08/21/upgrade-monotone-to-036/</guid>
		<description><![CDATA[new dependency
apt-get install texlive-generic-recommended
removed dependency
libboost-test-dev
libboost-filesystem-dev
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xjqian.wordpress.com&blog=133257&post=7&subd=xjqian&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>new dependency<br />
<code>apt-get install texlive-generic-recommended</code></p>
<p>removed dependency<br />
<code>libboost-test-dev<br />
libboost-filesystem-dev</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/xjqian.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/xjqian.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xjqian.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xjqian.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xjqian.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xjqian.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xjqian.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xjqian.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xjqian.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xjqian.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xjqian.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xjqian.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xjqian.wordpress.com&blog=133257&post=7&subd=xjqian&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://xjqian.wordpress.com/2007/08/21/upgrade-monotone-to-036/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be392f1a9c9b8e4c1d380d98155a1b3a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">xjqian</media:title>
		</media:content>
	</item>
		<item>
		<title>OE host dependencies added</title>
		<link>http://xjqian.wordpress.com/2007/08/12/oe-host-dependencies-added/</link>
		<comments>http://xjqian.wordpress.com/2007/08/12/oe-host-dependencies-added/#comments</comments>
		<pubDate>Sun, 12 Aug 2007 17:08:46 +0000</pubDate>
		<dc:creator>Gordon</dc:creator>
				<category><![CDATA[OE]]></category>

		<guid isPermaLink="false">http://xjqian.wordpress.com/2007/08/12/oe-host-dependencies-added/</guid>
		<description><![CDATA[Default autoconf version bumped up to 2.6.1, which requires help2man
apt-get install help2man
Richard Purdie has been implementing svnnow in bitbake 1.8 (read message in oe mailing list), which uses sqlite3 database.
apt-get install python-pysqlite2
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xjqian.wordpress.com&blog=133257&post=6&subd=xjqian&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Default <a href="http://www.gnu.org/software/autoconf/">autoconf</a> version bumped up to 2.6.1, which requires <a href="http://www.gnu.org/software/help2man/">help2man</a></p>
<p><code>apt-get install help2man</code></p>
<p>Richard Purdie has been implementing svnnow in bitbake 1.8 (read <a href="http://lists.linuxtogo.org/pipermail/openembedded-devel/2007-July/002639.html">message</a> in oe mailing list), which uses <a href="http://www.sqlite.org/">sqlite3</a> database.</p>
<p><code>apt-get install python-pysqlite2</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/xjqian.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/xjqian.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xjqian.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xjqian.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xjqian.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xjqian.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xjqian.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xjqian.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xjqian.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xjqian.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xjqian.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xjqian.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xjqian.wordpress.com&blog=133257&post=6&subd=xjqian&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://xjqian.wordpress.com/2007/08/12/oe-host-dependencies-added/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be392f1a9c9b8e4c1d380d98155a1b3a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">xjqian</media:title>
		</media:content>
	</item>
	</channel>
</rss>