<?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/"
	>

<channel>
	<title>Wheat-dogg&#039;s World &#187; ruijie</title>
	<atom:link href="http://www.computernewbie.info/wheatdogg/tag/ruijie/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.computernewbie.info/wheatdogg</link>
	<description>Ramblings by a former physics teacher teaching EFL in Jishou, China</description>
	<lastBuildDate>Tue, 24 Jan 2012 13:54:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>For the benefit of all Linux users in China &#8230;</title>
		<link>http://www.computernewbie.info/wheatdogg/2008/09/07/for-the-benefit-of-all-linux-users-in-china/</link>
		<comments>http://www.computernewbie.info/wheatdogg/2008/09/07/for-the-benefit-of-all-linux-users-in-china/#comments</comments>
		<pubDate>Sun, 07 Sep 2008 08:07:17 +0000</pubDate>
		<dc:creator>eljefe</dc:creator>
				<category><![CDATA[China]]></category>
		<category><![CDATA[General stuff]]></category>
		<category><![CDATA[8021x]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ruijie]]></category>
		<category><![CDATA[xmuruijie]]></category>
		<category><![CDATA[xrgsu]]></category>

		<guid isPermaLink="false">http://www.computernewbie.info/wheatdogg/?p=435</guid>
		<description><![CDATA[JISHOU, ]]></description>
			<content:encoded><![CDATA[<p><strong>JISHOU, HUNAN</strong> &#8212; As I posted earlier, I&#8217;ve been online here using Windows for the past week, but the Linux side of my laptop was out in the cold. Today I found the solution, and this <a href="http://www.ubuntu.com/">Ubuntu</a> user is back in the saddle again.</p>
<p>Other Linux users in China have had the same problem, so I&#8217;m posting my solution here for their benefit. If you don&#8217;t really care, I won&#8217;t be offended if you go read something else.</p>
<p>Universities in China restrict access to their networks using <a href="http://www.ruijie.cn/">Ruijie</a>&#8216;s ruijie supplicant protocol, a variant of the standard IEEE 802.1x protocol, with (it seems) a unique implementation of MD5 encryption. In other words, if you don&#8217;t have the connection program, you have no Internet access. (Ruijie is a big IT firm here, like Cisco is in the States.)</p>
<p>The Windows application, Ruijie Supplicant, works fine. After you input your static IP address, netmask, gateway, DNS settings, username and password, you&#8217;re home free.</p>
<p>But the Linux client I was given, xrgsu, was not working. It would find the gateway, but authentication would fail. So, no joy.</p>
<p>The university IT staff was swamped with service calls from the returning students, so I had to bide my time. So, I decided to do a little research.</p>
<p>Other Linux users have had the same problem: xrgsu does not work. So I was not alone. The big question was could I find the solution.</p>
<p>It seems only China and Czech Republic use the ruijie protocol, so that reduced the number of useful websites. Those that were apparently helpful were, of course, in Chinese, which as yet I cannot read.</p>
<p>Thanks to Google&#8217;s translation application and a lot (!) of googling the Internet with a variety of search terms, I managed to find a few promising ruijie clients for Linux. All failed but one.</p>
<p>I downloaded a newer version of xrgsu than the one I had. No go. I got the Linux_Supplicant directly from Ruijie.cn&#8217;s website. Same result. Ditto myxrgsu. A client called mystar looked promising, but it also failed on authentication. Then I tried <a href="http://code.google.com/p/xmuruijie/downloads/list?q=label:Featured">xmuruijie</a>, available on googlecode.</p>
<p>It worked! You do need python on your system, but most Linux distros install python by default.</p>
<p>Here&#8217;s the nitty gritty details. Download the archive, and expand it. With a text editor, modify xmuruijie.conf to suit your situation (username, password, gateway server) and save it to /etc. Part of the archive is 8021x.exe. That also has to be in /etc. I left all the other files in a folder in my home folder, but if you want, running &#8220;sh install.sh&#8221; will install the necessary files in the right places. Then you can invoke xmuruijie (as root) without needing to navigate to your home folder first.</p>
<p>Either way, open a terminal window, and type &#8220;sudo xmuruijie.py&#8221; and wait for the joy.</p>
<p>The key to xmuruijie&#8217;s success, as near as I can tell, is the inclusion of the Windows app, 8021x.exe. Starting Ruijie Supplicant in Windows automatically starts 8021x as a background process; it generates the necessary encryption code needed for authentication. With Linux, 8021x.exe does not appear to be running &#8212; I don&#8217;t see it or <a href="http://www.winehq.org/">wine</a> in my process list. I think it&#8217;s there just to keep the supplicant happy.</p>
<p>If you have any questions, email me at eljefe at computernewbie dot info.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=For+the+benefit+of+all+Linux+users+in+China+%E2%80%A6+http%3A%2F%2Fbit.ly%2Frtiaz9" title="Post to Twitter"><img class="nothumb" src="http://www.computernewbie.info/wheatdogg/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter6.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.computernewbie.info/wheatdogg/2008/09/07/for-the-benefit-of-all-linux-users-in-china/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Meanwhile, techno-frustrations abound</title>
		<link>http://www.computernewbie.info/wheatdogg/2008/09/05/meanwhile-techno-frustrations-abound/</link>
		<comments>http://www.computernewbie.info/wheatdogg/2008/09/05/meanwhile-techno-frustrations-abound/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 15:46:55 +0000</pubDate>
		<dc:creator>eljefe</dc:creator>
				<category><![CDATA[China]]></category>
		<category><![CDATA[Commentary]]></category>
		<category><![CDATA[china mobile]]></category>
		<category><![CDATA[laundry]]></category>
		<category><![CDATA[ruijie]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.computernewbie.info/wheatdogg/?p=434</guid>
		<description><![CDATA[JISHOU, ]]></description>
			<content:encoded><![CDATA[<p>JISHOU, HUNAN &#8212; What do cell phones, washing machines, the Internet and electrical supplies all have in common? Aside from the obvious, electricity, they all added to my frustrations &#8212; or shall I say challenges &#8212; this week.</p>
<p>The cell phone issue was the biggest. I had bought my Treo 600 off eBay ages ago with the understanding that it was unlocked, meaning that I could use it with any carrier as soon as I inserted the appropriate SIM chip into it.</p>
<p>Wrong.</p>
<p>Sure, the Treo could find China Mobile and China Unicom signals, but without international roaming enabled (not that I could afford it), I could not use those signals. So, senior English students Christopher, Ava and Sophia took me to the China Mobile tents set up for returning students, where they helped me get a China Mobile account and SIM card.</p>
<p>Of course, it did not work. Believing my phone to be the all-powerful, unlocked, works-anywhere-in-the-world SuperTreo, I was of course mighty perplexed. The kids took me to the China Mobile store in downtown Jishou, where I got another SIM card that worked the same as the previous one.</p>
<p>&#8220;SIM card not allowed,&#8221; my SuperTreo informed me. &#8220;Your phone cannot be used with this SIM Card.&#8221;</p>
<p>How very informative. Thank you.</p>
<p>Of course, I gradually realized after spending an inordinate amount of time on the Web that my faith in SuperTreo was based on false information. My phone was in fact still locked to T-mobile, and the only apparent way to unlock (other than to call T-mobile and ask them to unlock it, not exactly feasible under the circumstances) was to pay someone a little money ($15) to download an unlocking program and obtain an unlocking code to free my Treo from its electronic prison.</p>
<p>I am now on the China Mobile network. And the $15 was still cheaper than buying a bargain-basement phone here.</p>
<p>Now I mentioned I used the Internet to solve my cell phone problem, but I actually had no Internet access at home until late Monday. Disappointing, but I could use an office computer in the meantime.</p>
<p>Chinese universities use a high security protocol for their wired connections, called the Ruijie supplicant. It&#8217;s based on the standard MD5 encryption, but with a local twist apparently. Without a university-supplied account, IP address and the Ruijie supplicant program, your wired connection ain&#8217;t gonna do nothin&#8217;. (Wireless does not exist here, by the way.)</p>
<p>Well, I had all that, but still nothing was happening. I have no clue why, but in any event the IT staff got it working by Monday evening. Only for Windows, though. Irritatingly enough, the Ruijie application provided me for the Ubuntu half of my dual-boot laptop (xrgsu) will connect, but will not authenticate my computer. At least others share my pain; my research into the matter turned many similar cries of woe, but no apparent solution.</p>
<p>So I&#8217;m stuck using Window$. Bleah.</p>
<p>When I first arrived at my flat on Sunday, I had no electricity. Well, actually, it was there; I just didn&#8217;t how to turn in on. A quick call to Christopher on the cell phone the office loaned me until my own cell was working again provided the answer. Outside each door is an electrical box. To turn on the power, you close the circuit breaker. Ah, so simple!</p>
<p>This morning, I awoke to find that once again I had no power, despite the circuit breakers in the box being all closed. Some texting ensued, during which I found that these boxes have a slot to insert a payment card to &#8220;recharge&#8221; your electrical account. (The boxes are called chargers for that reason.) My account had run dry sometime in the wee hours. The university, which is supplying my electricity and Internet at no charge, fixed the problem by lunchtime.</p>
<p>If you walk around this campus and look at the dorms, you will see every window or balcony (or rooftop!) festooned with laundry hung out to dry. Washing machines are thankfully standard issue here, but clothes dryers are not. I would wager then that each student has at least half of his or her wardrobe hanging outside to dry on any day. If I were to have clean clothes, I needed to emulate them and plan ahead. Washing my clothes the night before might work back in the States, with a clothes dryer at the ready. Not so here.</p>
<p>My flat has a little washer just outside the bathroom. Its buttons naturally have labels in Chinese. Since I had already bugged my hosts about cell phone, electrical and Internet problems, I was damned if I was going to ask them how to work the stupid washer. So I went to the local Jun Hua supermarket and bought some Omo laundry soap, confident I could certainly make the washer on my own.</p>
<p>The washer has two large buttons and four smaller ones. The big button on the right clearly turns the washer on, but no combination of the others would actually make the little fella do anything.</p>
<p><a href="http://www.computernewbie.info/wheatdogg/DSCN2294.JPG"><img src="http://www.computernewbie.info/wheatdogg/DSCN2294.JPG" width="410" height="307" align="left" hspace="3"/></a></p>
<p>The Internet to the rescue! Poking around the Web with the model number eventually led me to realize that the manufacturer is <a href="http://www.littleswan.com/english/">Little Swan</a>, a big whitegoods concern here that just happens to sell its products in the USA under the label <a href="http://www.haier.com/index.htm">Haier</a>. And on their website I found an operation manual (perhaps written by some unmotivated business English major, judging from its lack of proper spelling and grammar) for a model similar to mine.</p>
<p>I am embarrassed to say how my Little Swan works. You push the righthand button. Then you push the big button to its immediate left. That&#8217;s it. So easy, an Ivy League graduate could wash his clothes. (The little ones provide washing and time-delay options, but the manual I found provided no help in making them do anything successfully.)</p>
<p>Now my flat looks like everyone else&#8217;s &#8212; half my wardrobe is out on the balcony. My cell phone works. My (Windows) laptop works. And I have electricity for the foreseeable future.</p>
<p>Now if I could manage to cook a decent serving of rice without burning it or drying it out &#8230;</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Meanwhile%2C+techno-frustrations+abound+http%3A%2F%2Fbit.ly%2FpBs4ve" title="Post to Twitter"><img class="nothumb" src="http://www.computernewbie.info/wheatdogg/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter6.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.computernewbie.info/wheatdogg/2008/09/05/meanwhile-techno-frustrations-abound/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

