You are hereBlogs / punkytse's blog
punkytse's blog
Voyage Linux 0.6.5 released
Voyage 0.6.5, which includes 2.6.30 kernel, is released. Version number jumps from 0.6.2 to 0.6.5 to emphasize the kernel version update. Still, Voyage Linux 0.6.5 is based on Debian Lenny (r5.0)
Apart from kernel update to 2.6.30, 0.6.5 includes a number of enhancements in voyage.update and voyage-sync scripts, as well as the return of /ro directory. Perhaps there will be some updates to 0.6 prior to 0.7.0. 0.7.0 is however scheduled on 2010 summer if Debian "squeeze" is not delayed again.
[2010-02-25 Update]: For user upgrading from 0.6.2 (care should be taken in every step in the upgrade):
# remountrw # apt-get update # apt-get upgrade
To use the new 2.6.30-voyage kernel, first install it by:
# apt-get install linux-image-2.6.30-voyage \
madwifi-modules-2.6.30-voyage \
aufs-modules-2.6.30-voyage
For safety, add the follow entry the grub menu to /boot/grub/menu.lst such that you can fallback to 2.6.26 version:
title voyage-linux-2.6.26 root (hd0,0) kernel /boot/vmlinuz-2.6.26-486-voyage root=LABEL=ROOT_FS console=ttyS0,38400n8 initrd /boot/initrd.img-2.6.26-486-voyage
Then reboot. If everything is OK with the new kernel, you may remove the old kernel by:
# apt-get remove --purge linux-image-2.6.26-486-voyage \
madwifi-modules-2.6.26-486-voyage \
aufs-modules-2.6.26-486-voyage
and the corresponding entry in /boot/grub/menu.lst.
Support or get involved in Voyage Linux!
What do others say?
Voyage Linux can be customized with your imagination. See how people review and use Voyage Linux:
- LinuxDevices
- ServerWatch / Enterprise Networking Planet
- Music Player Daemon
- VoIP / Asterisk / OpenVox
- Embedded Board Specific
- Blog Articles
- Founder/Developer's Blog (PUNKN!X.com)
-
Tip of the Trade: Voyage Linux
The Comforts of Debian. Embedded
Do More With Less: 802.1Q VLANs with Voyage Linux
Run a Business Network on Linux
-
Setting up a Linux home server based on a low cost and low power hardware (PC Engines ALIX) – Part1, Part 2, Part 3 & Part 4
Setting up an Alix
Installing Voyage Linux on ALIX 2c0
Setting up a Linux router based on the WRAP
Ubuntu on Alix (aufs)
-
Debian Lovers - Why I love Voyage Linux
Voyage Linux - fitting name, fitting linux
Setting up a mini-network
You have written about Voyage Linux? Telling us by sending mail to contact @ voyage.hk.
Voyage ONE
Voyage ONE was an un-released special edition of Voyage Linux which was developed in 2008. It is aimed at providing most usable server software and make Voyage Linux as a complete, usable product for any embedded x86 platform.
We now decided to make it available for public download.
voyage-one-0.5.2.tar.bz2 [2009-11-23]
Latest Voyage ONE is based on Voyage Linux 0.5.2 version and it includes the following features:
- VoIP : asterisk zaptel
- VPN and tunneling : vtun openvpn stunnel
- Meshing : AWDS batmand olsrd
- Others: aprtables iperf usbutils gpsd ntp quagga snmpd
To access asterisk-gui,
-
http://<voyage IP>:8088/asterisk/static/index.html
username: admin
password: voyage
We would like hear your comments about Voyage ONE and discuss its possibilities. In future, we will continue to develop Voyage ONE based on latest Voyage Linux. Please post your feedback to the community mailing-list.
Getting Started - PXE boot (v0.6.x)
README.pxe
=============================================================================
__ __
\ \/ /___ __ __ ___ ___ ___
\ // _ \\ \/ /,-_ |/ _ |/ -_)
\/ \___/ \ / \___,\_ |\___|
_/_/ _'_|
{ V o y a g e } - L i n u x
< http://linux.voyage.hk >
==============================================================================
This README.pxe provide information on how to start a PXE+NFS server for
network booting environment using Voyage Live CD. This is useful to install
voyage from Live CD over the network.
==============================================================================
Starting the Live CD as PXE server
==============================================================================
To start PXE environment from live-cd, after login root (password: voyage) ,
type:
# /etc/init.d/voyage-pxe start
where is the serial console speed. Without this parameter, the
default is 9600. Hence, to start PXE server for WRAP/ALIX board, you should:
# /etc/init.d/voyage-pxe start 38400
You can also set to 0 to disable serial console. This is useful
for booting generic PC.
The PXE enviroment on the Live CD assumes eth0 is connected to the network.
/etc/init.d/voyage-pxe will set 192.168.1.200 to eth0, start a TFTP and NFS
sevice, also start dnsmasq to offer DHCP lease of 192.168.1.10-20 for netboot.
To shutdown PXE server environment,
# /etc/init.d/voyage-pxe stop
==============================================================================
Booting a PXE client and starting automated installation
==============================================================================
Start your WRAP/Soekric board or PC to boot from network. When the bootloader
is loaded, you have several options:
1. PXE Boot Voyage Linux with a login shell
2. Start automated install for WRAP (/dev/hda and 38400 serial console)
3. Start automated install for ALIX (/dev/hda and 38400 serial console)
4. Start automated install for 45/48xx (/dev/hda and 19200 serial console)
5. Start automated install for 55xx (/dev/hda and 19200 serial console)
6. Start automated install for gerenic PC (/dev/hda and no serial console)
The boot prompt will wait for 5 seconds. After the timeout, option 1 (login
shell) will be started automatically.
*** Please note that option 2-6 for automated install will erase your disk on
/dev/hda and install a fresh copy of Voyage Linux. Make sure you know what
it is going to do before choosing option 2-6.
==============================================================================
Installing Voyage Linux on a PXE booted environment
==============================================================================
If you want to go through all the steps for manual install, select option 1.
After boot with a login shell, you can login as root. To install voyage under
netboot environment, you can follow the below procedures:
1. Create distribution directory for installation
# mkdir /tmp/root
# mount -o loop /live/image/live/filesystem.squashfs /tmp/root
# cd /tmp/root
2. Make a mount point for installation disk
# mkdir /tmp/cf
3. Format target disk device
# /usr/local/sbin/format-cf.sh /dev/hda
This will create /dev/hda1 ext2 partition on /dev/hda disk device.
** Note that this operation is very dangerous since it will erase your disk!
Make sure what you are doing and must do it right!
4. Start voyage.update installation script
# /usr/local/sbin/voyage.update
Following the instruction to select /tmp/root as distribution directory, and
/tmp/cf as mount point. After the installation complete, simple reboot the
board and Voyage will be started!
There are some additional packages installed for PXE and NFS server. After
starting Voyage, you can safely remove them by:
# remountrw
# apt-get remove syslinux atftpd nfs-kernel-server \
bzip2 sg3-utils minicom
After all, remove the last line in /etc/dnsmasq.more.conf:
conf-file=/etc/dnsmasq.pxe.conf
Important Note:
The current NFS server and client code is unstable for long time use. Hence,
it is not recommended to use PXE+NFS environment for real production. It is
only good for installing Voyage Linux at the moment.
Getting Started - PXE boot (v0.5.x)
README.pxe
=============================================================================
__ __
\ \/ /___ __ __ ___ ___ ___
\ // _ \\ \/ /,-_ |/ _ |/ -_)
\/ \___/ \ / \___,\_ |\___|
_/_/ _'_|
{ V o y a g e } - L i n u x
< http://linux.voyage.hk >
==============================================================================
This README.pxe provide information on how to start a PXE+NFS server for
network booting environment using Voyage Live CD. This is useful to install
voyage from Live CD over the network.
==============================================================================
Starting the Live CD as PXE server
==============================================================================
To start PXE environment from live-cd, after login root (password: voyage) ,
type:
# /etc/init.d/voyage-pxe start
where is the serial console speed. Without this parameter, the
default is 9600. Hence, to start PXE server for WRAP board, you should:
# /etc/init.d/voyage-pxe start 38400
You can also set to 0 to disable serial console. This is useful
for booting generic PC.
The PXE enviroment on the Live CD assumes eth0 is connected to the network.
/etc/init.d/voyage-pxe will set 192.168.1.200 to eth0, start a TFTP and NFS
sevice, also start dnsmasq to offer DHCP lease of 192.168.1.10-20 for netboot.
To shutdown PXE server environment,
# /etc/init.d/voyage-pxe stop
==============================================================================
Booting a PXE client and starting automated installation
==============================================================================
Start your WRAP/Soekric board or PC to boot from network. When the bootloader
is loaded, you have several options:
1. PXE Boot Voyage Linux with a login shell
2. Start automated install for WRAP (/dev/hda and 38400 serial console)
3. Start automated install for Soekris (/dev/hda and 19200 serial console)
4. Start automated install for gerenic PC (/dev/hda and no serial console)
The boot prompt will wait for 5 seconds. After the timeout, option 1 (login
shell) will be started automatically.
*** Please note that option 2-4 for automated install will erase your disk on
/dev/hda and install a fresh copy of Voyage Linux. Make sure you know what
it is going to do before choosing option 2-4.
==============================================================================
Installing Voyage Linux on a PXE booted environment
==============================================================================
If you want to go through all the steps for manual install, select option 1.
After boot with a login shell, you can login as root. To install voyage under
netboot environment, you can follow the below procedures:
1. Create distribution directory for installation
# mkdir /tmp/root
# mount -o loop /live_media/casper/filesystem.squashfs /tmp/root
# cd /tmp/root
2. Make a mount point for installation disk
# mkdir /tmp/cf
3. Format target disk device
# /usr/local/sbin/format-cf.sh /dev/hda
This will create /dev/hda1 ext2 partition on /dev/hda disk device.
** Note that this operation is very dangerous since it will erase your disk!
Make sure what you are doing and must do it right!
4. Start voyage.update installation script
# /usr/local/sbin/voyage.update
Following the instruction to select /tmp/root as distribution directory, and
/tmp/cf as mount point. After the installation complete, simple reboot the
board and Voyage will be started!
There are some additional packages installed for PXE and NFS server. After
starting Voyage, you can safely remove them by:
# remountrw
# apt-get remove casper syslinux atftpd nfs-user-server \
bzip2 unionfs-tools sg3-utils minicom
After all, remove the last line in /etc/dnsmasq.more.conf:
conf-file=/etc/dnsmasq.pxe.conf
Important Note:
The current NFS server and client code is unstable for long time use. Hence,
it is not recommended to use PXE+NFS environment for real production. It is
only good for installing Voyage Linux at the moment.
Getting Started - Live CD (v0.5.x)
README.live-cd
=============================================================================
__ __
\ \/ /___ __ __ ___ ___ ___
\ // _ \\ \/ /,-_ |/ _ |/ -_)
\/ \___/ \ / \___,\_ |\___|
_/_/ _'_|
{ V o y a g e } - L i n u x
< http://linux.voyage.hk >
==============================================================================
This README.live-cd provide information on how to install Voyage Linux from the
Live CD.
==============================================================================
Installing Voyage Linux to a hard disk from Live CD
==============================================================================
Afte booting the Live CD, login as root (password: voyage)
1. Create distribution directory for installation
# mkdir /tmp/root
# mount -o loop /live_media/casper/filesystem.squashfs /tmp/root
# cd /tmp/root
2. Make a mount point for installation disk
# mkdir /tmp/cf
3. Format target disk device
# /usr/local/sbin/format-cf.sh /dev/hda
This will create /dev/hda1 ext2 partition on /dev/hda disk device.
** Note that this operation is very dangerous since it will erase your disk!
Make sure what you are doing and must do it right!
4. Start voyage.update installation script
# /usr/local/sbin/voyage.update
Following the instruction to select /tmp/root as distribution directory, and
/tmp/cf as mount point. After the installation complete, simple reboot the
board and Voyage will be started!
There are some additional packages installed for PXE and NFS server. After
starting Voyage, you can safely remove them by:
# remountrw
# apt-get remove casper syslinux atftpd nfs-user-server \
bzip2 unionfs-tools sg3-utils minicom
After all, remove the last line in /etc/dnsmasq.more.conf:
conf-file=/etc/dnsmasq.pxe.conf
==============================================================================
Installing to a Thumb-drive or Disk-constraint system (net4826)
==============================================================================
Follow the instruction to install Voyage Linux to a ext2 partition with root
squashfs filesystem like the Live CD format. This is done by extlinux.
1. As usual, create mount point for the installation disk and format it
# mkdir /tmp/cf
# /usr/local/sbin/format-cf.sh /dev/hda
This will create /dev/hda1 ext2 partition on /dev/hda disk device.
** Note that this operation is very dangerous since it will erase your disk!
Make sure what you are doing and must do it right!
2. Mount the disk and copy CD content to disk device
# mount /dev/hda1 /tmp/cf
# rsync -aHx /live_media/* /tmp/cf
3. Create extlinux.conf and install extlinux
# cp /tmp/cf/isolinux/isolinux.cfg /tmp/cf/isolinux/extlinux.conf
# extlinux -i /tmp/cf/isolinux
4. Update master boot record for disk device
# cat /usr/lib/syslinux/mbr.bin > /dev/hda
After all, reboot!
There are some notes when using this installation method:
a. You will have a read-only squashfs root filesystem on a CF that consumes
just 36MB and you cannot modify the rootfs.
b. By default, all changes made to the system reside on tmpfs. i.e. Changes
are lost after reboot. You can preserve the changes by creating another
partition and labeled it as "casper-rw", or create a loopback file called
"casper-rw" at /
(see https://help.ubuntu.com/community/LiveCDPersistence: this is not tested
and need more exploration)
c. You will still be able to boot Live CD again after the installation. But
once the CD is booted, the installed disk with be mounted as rootfs and you
are unable to umount it. To get around this, you need to specify the
following command at boot prompt (assume CD-ROM device is /dev/hdc):
linux bootfrom=/dev/hdc
Getting Started - Live CD (v0.6.x)
README.live-cd
=============================================================================
__ __
\ \/ /___ __ __ ___ ___ ___
\ // _ \\ \/ /,-_ |/ _ |/ -_)
\/ \___/ \ / \___,\_ |\___|
_/_/ _'_|
{ V o y a g e } - L i n u x
< http://linux.voyage.hk >
==============================================================================
This README.live-cd provide information on how to install Voyage Linux from the
Live CD.
==============================================================================
Installing Voyage Linux to a hard disk from Live CD
==============================================================================
Afte booting the Live CD, login as root (password: voyage)
1. Create distribution directory for installation
# mkdir /tmp/root
# mount -o loop /live/image/live/filesystem.squashfs /tmp/root
# cd /tmp/root
2. Make a mount point for installation disk
# mkdir /tmp/cf
3. Format target disk device
# /usr/local/sbin/format-cf.sh /dev/hda
This will create /dev/hda1 ext2 partition on /dev/hda disk device.
** Note that this operation is very dangerous since it will erase your disk!
Make sure what you are doing and must do it right!
4. Start voyage.update installation script
# /usr/local/sbin/voyage.update
Following the instruction to select /tmp/root as distribution directory, and
/tmp/cf as mount point. After the installation complete, simple reboot the
board and Voyage will be started!
There are some additional packages installed for PXE and NFS server. After
starting Voyage, you can safely remove them by:
# remountrw
# apt-get remove syslinux atftpd nfs-kernel-server \
bzip2 sg3-utils minicom
After all, remove the last line in /etc/dnsmasq.more.conf:
conf-file=/etc/dnsmasq.pxe.conf
==============================================================================
Installing to a Thumb-drive or Disk-constraint system (net4826)
==============================================================================
Follow the instruction to install Voyage Linux to a ext2 partition with root
squashfs filesystem like the Live CD format. This is done by extlinux.
1. As usual, create mount point for the installation disk and format it
# mkdir /tmp/cf
# /usr/local/sbin/format-cf.sh /dev/hda
This will create /dev/hda1 ext2 partition on /dev/hda disk device.
** Note that this operation is very dangerous since it will erase your disk!
Make sure what you are doing and must do it right!
2. Mount the disk and copy CD content to disk device
# mount /dev/hda1 /tmp/cf
# rsync -aHx /live/image/* /tmp/cf
3. Create extlinux.conf and install extlinux
# cp /tmp/cf/isolinux/isolinux.cfg /tmp/cf/isolinux/extlinux.conf
# extlinux -i /tmp/cf/isolinux
4. Update master boot record for disk device
# cat /usr/lib/syslinux/mbr.bin > /dev/hda
After all, reboot!
There are some notes when using this installation method:
a. You will have a read-only squashfs root filesystem on a CF that consumes
just 36MB and you cannot modify the rootfs.
b. By default, all changes made to the system reside on tmpfs. i.e. Changes
are lost after reboot. You can preserve the changes by creating another
partition and labeled it as "casper-rw", or create a loopback file called
"casper-rw" at /
(see https://help.ubuntu.com/community/LiveCDPersistence: this is not tested
and need more exploration)
c. You will still be able to boot Live CD again after the installation. But
once the CD is booted, the installed disk with be mounted as rootfs and you
are unable to umount it. To get around this, you need to specify the
following command at boot prompt (assume CD-ROM device is /dev/hdc):
linux bootfrom=/dev/hdc
Mirror Instruction
Mirroring Voyage 1. Contact mirror (at) voyage (dot) hk for mirroring request, you will receive a script call voyage-mirror. Change the script to executable (chmod +x). 2. Execute voyage-mirror script, it will call rsync to download files from: rsync://alpha.voyage.hk/voyage to /var/www/voyage-mirror make sure you have right permission to this directory 3. voyage-mirror script is also in /var/www/voyage-mirror. You can use this script for mirroring afterall. 4. Setup cronjob to run voyage-mirror script. Set it to run at most twice a day. 5. There are two directories at the moment: - dists : voyage apt repository - download : distro download and others 6. Now, you create virtual host in apache and set DocumentRoot to this directory, so that everyone is able to see it. 7. For question and problems, please send email to mirror (at) voyage (dot) hk
Getting Started (v0.6.x)
__ __
\ \/ /___ __ __ ___ ___ ___ Useful Commands:
\ // _ \\ \/ /,-_ |/ _ |/ -_) remountrw - mount disk as read-write
\/ \___/ \ / \___,\_ |\___| remountro - mount disk as read-only
_/_/ _'_| remove.docs - remove all docs and manpages
{ V o y a g e } - L i n u x
< http://linux.voyage.hk > Version: 0.6
1. Introduction
======================
Voyage Linux is Debian derived distribution that is best run on a x86-based
embedded platforms such as WRAP, ALIX and Soekris 45xx/48xx boards.
It can also run on low-end x86 PC platforms. Typical installation requires
128MB disk space, although larger storage allows more packages to be installed.
Voyage Linux is so small that it is best suitable for running a full-feature
firewall, wireless access point, VoIP gateway and network storage device.
For more documentation about Voyage Linux, please visit wiki at
http://wiki.voyage.hk
2. Installation
======================
Download the Voyage Linux software package from
http://www.voyage.hk/download/voyage/
to a Linux machine.
extract the software tarball:
tar --numeric-owner -jxf voyage-.tar.bz2
as root, run the installation script:
cd voyage-
./usr/local/sbin/voyage.update
Before you run the installer you may have to format the disk device. Assuming
Compact Flash device on /dev/sda.
fdisk /dev/sda
mkfs.ext2 /dev/sda1
tune2fs -c 0 /dev/sda1
There is a helper script in ./usr/local/sbin/format-cf.sh to ease formatting
and creation of ext2 file system. Use it at your own risk!
./usr/local/sbin/format-cf.sh /dev/sda
Voyage Linux now requires at least 128MB storage to run. However, more disk
space is recommended if you want to add more software and be able to run
"apt-get upgrade".
voyage.update scripts will ask you a couple of questions to complete the
installation:
1 - Create new Voyage Linux disk
2 - Update existing Voyage configuration
3 - Exit
Press 1 to install voyage to disk device. After all, you will be prompted to
the main installation menu. You should go through the menu item 1 - 6 in
sequence.
1 - Specify Distribution Directory
2 - Select Target Profile
3 - Select Target Disk
4 - Select Target Bootstrap Loader
5 - Configure Target Console
6 - Copy Distribution to Target
7 - Exit
It will take a short whlie (~1 min) to copy all files from software package to
disk device. The above configuration will be saved to .voyage.config. If you
run voyage.update next time, it will use same configuration as default.
Once Voyage Linux is booted up, you will be prompted for login. The default
root password is "voyage", please change the root password after first login.
# remountrw
# passwd
3. Configuration
======================
3.1 Network Interface
======================
edit /etc/network/interface and uncomment the interface configuration section:
# for hostap driver
auto wlan0
iface wlan0 inet static
address 10.1.10.1
netmask 255.255.255.0
broadcast 10.1.10.255
up iwconfig wlan0 essid voyage mode Master
up nat.sh wlan0 eth0 "10.1.10.0/24"
To enable wlan0 device (for Prism 2.5/hostap driver)
# for atheros madwifi-ng driver
auto ath0
iface ath0 inet static
address 10.1.20.1
netmask 255.255.255.0
broadcast 10.1.20.255
madwifi-base wifi0
wireless-mode Master
up iwpriv ath0 mode 3
up iwconfig ath0 mode master
up iwconfig ath0 essid voyage
up iwconfig ath0 txpower auto
up iwconfig ath0 enc off
up iwconfig ath0 rate auto
up nat.sh ath0 eth0 "10.1.20.0/24"
To enable ath0 device (for Atheros/madwifi-ng driver)
A friendly script, nat.sh, is located in /usr/local/sbin/, generates all
necessary iptables rules for NAT'ing interface. nat.sh is now integrated to
work with nocat. Syntax:
nat.sh Voyage ONE 0.5.2 released
Voyage ONE was an un-released special edition of Voyage Linux which was developed in 2008. It is aimed at providing most usable server software and make Voyage Linux as a complete, usable product for any embedded x86 platform.
We now decided to make it available for public download.
voyage-one-0.5.2.tar.bz2 [2009-11-23]
Voyage ONE is based on Voyage Linux 0.5.2 version and it includes the following features:
- VoIP : asterisk zaptel
- VPN and tunneling : vtun openvpn stunnel
- Meshing : AWDS batmand olsrd
- Others: aprtables iperf usbutils gpsd ntp quagga snmpd
To access asterisk-gui,
-
http://<voyage IP>:8088/asterisk/static/index.html
username: admin
password: voyage
We would like hear your comments about Voyage ONE and discuss its possibilities.
In future, we will continue to develop Voyage ONE based on latest Voyage Linux.
Please post your feedback to the community mailing-list.

