<?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>/home/shakir &#187; debian</title>
	<atom:link href="http://www.mohdshakir.net/tag/debian/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mohdshakir.net</link>
	<description>My Piece Of The Web</description>
	<lastBuildDate>Fri, 16 Jul 2010 15:45:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Installing Voyage Linux in Wrap2c</title>
		<link>http://www.mohdshakir.net/2007/12/11/installing-voyage-linux-in-wrap2c</link>
		<comments>http://www.mohdshakir.net/2007/12/11/installing-voyage-linux-in-wrap2c#comments</comments>
		<pubDate>Tue, 11 Dec 2007 00:21:44 +0000</pubDate>
		<dc:creator>shakir</dc:creator>
				<category><![CDATA[Information Insemination]]></category>
		<category><![CDATA[Nerd Public Journal?]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[embedded]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://www.mohdshakir.net/2007/12/11/installing-voyage-linux-in-wrap2c</guid>
		<description><![CDATA[Basicly this is how my home network looks like; As I&#8217;m upgrading the Linux I have in my Access Point, a.k.a. my home server, a.k.a. an SBC, I&#8217;ll just share it here in my blog. Here&#8217;s what I need: - SBC (Single Board Computer), wrap2c in my case - Storage &#8211; I&#8217;m using 2GB CF [...]]]></description>
			<content:encoded><![CDATA[<p>Basicly this is how my home network looks like;</p>
<div align="center"><img width="400" height="207" alt="" src="http://www.mohdshakir.net/wp-content/uploads/image/200712/home-network.jpg" /></div>
<p>As I&#8217;m upgrading the Linux I have in my Access Point, a.k.a. my home server, a.k.a. an SBC, I&#8217;ll just share it here in my blog.</p>
<p>Here&#8217;s what I need:</p>
<p align="center"><img width="300" height="400" alt="" src="http://www.mohdshakir.net/wp-content/uploads/image/200712/ingredients.jpg" /></p>
<p>
- SBC (Single Board Computer), <a href="http://www.wlanparts.com/product/WRAP2C">wrap2c</a> in my case<br />
- Storage &#8211; I&#8217;m using 2GB CF card here<br />
- Mini PCI wireless adapter &#8211; mine is <a href="http://www.mini-box.com/s.nl/it.A/id.387/.f">CM9</a> (Atheros based)<br />
- RS232 adapter<br />
- USB &#8211; RS232 converter (optional, as my laptop doesnt have serial port)<br />
- CF card reader<br />
- and a camera to snap the photos in this post..</p>
<p>Instead of installing Debian or or Gentoo as what I described in my previous <a href="http://www.mohdshakir.net/2006/11/29/building-a-gentoo-and-debian-chroot-environment">post</a>, I&#8217;m gonna just install <a href="http://linux.voyage.hk/">Voyage</a>, a minimal Debian based distro customised for SBCs.</p>
<p>After downloading the tarball, extract it with sudo;</p>
<pre>
shakir@herugrim ~ $ sudo tar xvjf voyage-version.tar.bz2
</pre>
<p>Time to plug in the CF card, and let&#8217;s see where it is attached to:</p>
<pre>
shakir@herugrim ~ $ cat /proc/partitions
major minor  #blocks  name
   8     0  156290904 sda
   8     1   21494938 sda1
   8     2    8795587 sda2
   8     3    2939895 sda3
   8     4          1 sda4
   8     5    9775521 sda5
   8     6  113282316 sda6
   8    16    2014992 sdb
   8    17    2014721 sdb1
</pre>
<p>Here I can see my 2Gb CF is identified as <font face="Courier New"> /dev/sdb</font>, and with this I run;</p>
<pre>
shakir@herugrim ~ $ cd voyage-version
shakir@herugrim ~/voyage-version $ less README
</pre>
<p>and follow the installation guide, which is in section 2 of the README <img src='http://www.mohdshakir.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>To see if things really work, I&#8217;m gonna need to make sure I can use my USB RS232 converter. Let&#8217;s plug it in and see what the kernel says;</p>
<pre>usb 5-1: new full speed USB device using uhci_hcd and address 2
usb 5-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usbserial
/build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
/build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/serial/usb-serial.c: USB Serial Driver core
/build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
pl2303 5-1:1.0: pl2303 converter detected
usb 5-1: pl2303 converter now attached to ttyUSB0
usbcore: registered new interface driver pl2303
/build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver
</pre>
<p>What&#8217;s important from the long message is that the kernel has recognized the converter, and attach it to<font face="Courier New"> /dev/ttyUSB0</font>. If your kernel doesn&#8217;t recognize the converter, fom the log you can see that it requires <font face="Courier New">pl2303</font> module, so go re-compile your kernel to have it supported..</p>
<p>After everything is connected, lets run minicom;</p>
<pre>shakir@herugrim ~ $ sudo minicom -s</pre>
<p align="center"><img alt="" src="http://www.mohdshakir.net/wp-content/uploads/image/200712/minicom-1.png" /></p>
<p>Select the Serial port setup option and change it to this;</p>
<p align="center"><img width="400" height="279" alt="" src="http://www.mohdshakir.net/wp-content/uploads/image/200712/minicom-2.png" /></p>
<p>exit;</p>
<p align="center"><img width="400" height="331" alt="" src="http://www.mohdshakir.net/wp-content/uploads/image/200712/minicom-3.png" /></p>
<p>power on the board, and hope for the best <img src='http://www.mohdshakir.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p align="center"><img width="400" height="332" alt="" src="http://www.mohdshakir.net/wp-content/uploads/image/200712/booting-1.png" /></p>
<p align="center"><img width="400" height="330" alt="" src="http://www.mohdshakir.net/wp-content/uploads/image/200712/booting-2.png" /></p>
<p align="center"><img width="400" height="332" alt="" src="http://www.mohdshakir.net/wp-content/uploads/image/200712/booting-3.png" /></p>
<p align="center"><img alt="" src="http://www.mohdshakir.net/wp-content/uploads/image/200712/booting-4.png" /></p>
<p>We&#8217;ve got the login prompt, mission accomplished <img src='http://www.mohdshakir.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.mohdshakir.net/2007/12/11/installing-voyage-linux-in-wrap2c/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
