home  wiki

Spelling: VoyageLinux



* Partition the CF card [1]
* Format the CF Card [2]
* Transfer to Compact Flash card [3]
* Connect to Wrap Board via serial console [4]
* Setup Network Connections [5]
* Setup DHCP [6]
* Setup Time zone [7]
* Install thttpd web sever [8]
* Download Quagga [9]

PARTITION THE CF CARD

[root@localhost ~]# fdisk /dev/hde
Command (m for help): n
Command action

e extended p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-980, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-980, default 980):
Using default value 980
Command (m for help): a
Partition number (1-4): 1
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks
[root@localhost ~]#

FORMAT THE CF CARD

[root@localhost ~]# mkfs.ext2 /dev/hde1

TRANSFER TO COMPACT FLASH CARD

Voyage Linux requires at least 64MB storage to run. However, 128MB is
necessary 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. Voyage Linux software package directoy. (default to current path)
2. The target device to install Voyage Linux. (default to /dev/hde) 3.
The temporary mount point for the disk device (default to /dev/mnt).
4. The module configuration to install

It will take a short while (~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.

[root@localhost voyage-0.2pre1]# ./voyage.update
Welcome to the Voyage Linux installation script
Loading defaults from .voyage.config
Where is the Voyage Linux installer (this) directory?
(default=/root/voyage-0.2pre1):
Which device accesses the disk? (default=/dev/hde):
Which directory should the disk or flash card mount?
(default=/media/idedisk):
Which module to install?

1 - WRAP 2 - 4501/4801 3 - 4511/4521 4 - Notebook (pcmcia) 5 -
Generic PC (default=1):
1
Saving defaults to .voyage.config
Configuration completed:
-----------------------
Installer directory: /root/voyage-0.2pre1
Disk/Flash Device: /dev/hdeWill be mounted on: /media/idedisk
Installation mode: 1
If press RETURN to start installation, otherwise hit CTRL+C
Installing . . .

CONNECT TO WRAP BOARD VIA SERIAL CONSOLE

Use a serial terminal program such as Minicom(Linux),
Hyperterminal(Windows) to connect to the wrap board, set with the
following settings ==> 9600 N 8 1.
Plug the flash card into your Wrap board and turn it on.

On the first boot of voyage the console will as you to enter the
Roots password
Click to see full boot capture

PC Engines WRAP.2B/2C v1.04
640 KB Base Memory
15360
31744
48128
64512 KB Extended Memory

01F0 Master 848A SanDisk [10] SDCFH-256
Phys C/H/S 980/16/32 Log C/H/S 980/16/32
LILLOO 2222..66..11 LLooaaddiinngg
LLiinnuuxx....................................
BBIIOOSS ddaattaa cchheecckk ssuucccceessssffuull
Linux version 2.6.8-486-voyage (root@punknix-uml) (gcc version 3.3.5
(Debian 1:3.3.5-13)) #1 Tue Jul 12 04:06:34 GMT 2005

SETUP NETWORK CONNECTIONS

Edit /etc/network/interface and uncomment the interface configuration
section:

#Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
#/usr/share/doc/ifupdown/examples for more information.
auto eth0
iface eth0 inet static

address 10.10.***.** netmask 255.255.255.240

auto ath0
iface ath0 inet static

address 10.10.***.*** netmask 255.255.255.240 gateway 10.10.***.***
pre-up iwpriv ath0 mode 3 pre-up iwconfig ath0 essid
"***.melbournewireless.org.au" mode master channel 1

auto ath1
iface ath1 inet static

address 10.10.***.*** netmask 255.255.255.240 broadcast
10.10.***.***

Or Set it up for bridge mode

#Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
#/usr/share/doc/ifupdown/examples for more information.
auto lo
iface lo inet loopback
auto br0
iface br0 inet static

address 10.10.***.*** netmask 255.255.255.240 gateway 10.10.***.***
bridge_ports eth0 ath0 pre-up ifconfig eth0 0.0.0.0 up pre-up ifconfig
ath0 0.0.0.0 up pre-up iwpriv ath0 mode 3 pre-up iwconfig ath0 essid
"***.melbournewireless.org.au" mode master channel 1 pre-up brctl
addbr br0 pre-up brctl addif br0 eth0 pre-up brctl addif br0 ath0
post-down ifconfig eth0 0.0.0.0 down post-down ifconfig ath0 0.0.0.0
down post-down brctl delif br0 eth0 post-down brctl delif br0 ath0
post-down brctl delbr br0

SETUP DHCP

By default dhcp is not enabled. To enable DHCP, edit
/etc/dnsmasq.conf and add the following lines at the end of the file:

dhcp-range=ath0,10.10.***.***,10.10.***.***,24h
dhcp-leasefile=/var/tmp/dnsmasq.leases

dnsmasq will provide IP address leases between the 2 ranges

SETUP TIME ZONE

remountrw
ln -sf /usr/share/zoneinfo/Australia/Melbourne /etc/localtime
remountro

INSTALL THTTPD WEB SEVER

Download and untar the thttpd-php binary.

remountrw
cd /rw
wget http://www.pure-wireless.net/thttpd-voyage.tar.gz
tar zxf thttpd-voyage.tar.gz
cd thttpd

Move the files to their required locations.

mv etc/init.d/thttpd /etc/init.d/
mv etc/logrotate.d/thttpd /etc/logrotate.d/
mv etc/thttpd /etc/
mv usr/sbin/thttpd /usr/sbin/thttpd

Create the user to run under and the data director.

useradd www
mkdir /var/www/
remountro

DOWNLOAD QUAGGA

Download and install the quagga package

remountrw
apt-get update
apt-get install quagga
mkdir /ro/var/run/quagga
mkdir /ro/var/quagga
chmod 777 /ro/var/run/quagga
chmod 777 /ro/var/quagga
fastreboot

Turn zebra & ospfd on in the /etc/quagga/daemons file
Create zebra.conf & ospfd.conf files in the /etc/quagga directory

Links:
------
[1] http://melbournewireless.org.au/#partition_the_cf_card_
[2] http://melbournewireless.org.au/#format_the_cf_card_
[3] http://melbournewireless.org.au/#transfer_to_compact_flash_card_
[4]
http://melbournewireless.org.au/#connect_to_wrap_board_via_serial_console
[5] http://melbournewireless.org.au/#setup_network_connections_
[6] http://melbournewireless.org.au/#setup_dhcp_
[7] http://melbournewireless.org.au/#setup_time_zone_
[8] http://melbournewireless.org.au/#install_thttpd_web_sever_
[9] http://melbournewireless.org.au/#download_quagga_
[10] http://melbournewireless.org.au/?SanDisk

[EditText] [Spelling] [Current] [Raw] [Code] [Diff] [Subscribe] [VersionHistory] [Revert] [Delete] [RecentChanges]

> home> about> events> files> members> maps> wiki board   > home   > categories   > search   > changes   > formatting   > extras> site map

Username
Password

 Remember me.
>

> forgotten password?
> register?
currently 0 users online
Node Statistics
building132
gathering193
interested515
operational233
testing214