Tuesday December 11, 2007 08:21

Installing Voyage Linux in Wrap2c

Posted by shakir as Information Insemination, Nerd Public Journal?





Basicly this is how my home network looks like;

As I’m upgrading the Linux I have in my Access Point, a.k.a. my home server, a.k.a. an SBC, I’ll just share it here in my blog.

Here’s what I need:

- SBC (Single Board Computer), wrap2c in my case
- Storage – I’m using 2GB CF card here
- Mini PCI wireless adapter – mine is CM9 (Atheros based)
- RS232 adapter
- USB – RS232 converter (optional, as my laptop doesnt have serial port)
- CF card reader
- and a camera to snap the photos in this post..

Instead of installing Debian or or Gentoo as what I described in my previous post, I’m gonna just install Voyage, a minimal Debian based distro customised for SBCs.

After downloading the tarball, extract it with sudo;

shakir@herugrim ~ $ sudo tar xvjf voyage-version.tar.bz2

Time to plug in the CF card, and let’s see where it is attached to:

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

Here I can see my 2Gb CF is identified as /dev/sdb, and with this I run;

shakir@herugrim ~ $ cd voyage-version
shakir@herugrim ~/voyage-version $ less README

and follow the installation guide, which is in section 2 of the README :)

To see if things really work, I’m gonna need to make sure I can use my USB RS232 converter. Let’s plug it in and see what the kernel says;

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

What’s important from the long message is that the kernel has recognized the converter, and attach it to /dev/ttyUSB0. If your kernel doesn’t recognize the converter, fom the log you can see that it requires pl2303 module, so go re-compile your kernel to have it supported..

After everything is connected, lets run minicom;

shakir@herugrim ~ $ sudo minicom -s

Select the Serial port setup option and change it to this;

exit;

power on the board, and hope for the best :)

We’ve got the login prompt, mission accomplished :D





Tags: , , ,



8 Responses to Installing Voyage Linux in Wrap2c

adli

December 11th, 2007 at 6:31 pm

voyage simply rox. when 3boss.org goes up I’ll post some stuff on getting it to work soekris :-)

- adli

Bonar

December 11th, 2007 at 11:48 pm

hah hah…
rajin sungguh ek.. buat blog neh..
but it’s a nice work..
helping others… sharing knowledge…
teruskan usaha murni mu…
hah hah… :P

shakir

December 12th, 2007 at 11:08 pm

adli: it’s already up :)

bonar: blogging helps me in many ways by itself, so I don’t mind and even enjoy it, very much.

fadli

December 16th, 2007 at 8:44 am

bila tgk gambar pertama tu. teringat la kat rumah yang selalu pi dulu. tak pindah2 lagi dari kg abu bakar baginda ke?

shakir

December 16th, 2007 at 1:43 pm

Nope. At least not yet :) Still waiting for the apartment I bought to finish. Maybe early next year..

Andrew

August 15th, 2008 at 7:46 am

What brand is your USB-serial converter? Not all are Linux-compatible. Looks you did your homework/got lucky.

shakir

August 15th, 2008 at 10:21 am

I don’t remember the brand of the converter (and I don’t remember where was the last place I store it), but it’s pl2303 (prolific) based.

Me

November 12th, 2009 at 3:15 pm

Oh, i really miss our moment in that house. I’m sorry if accidentally threw your things masa kemas2 rumah dulu.. From the time you said about that, i don’t want to touch your things without your permission. I’m sorry, dear.

Comment Form