Table of contents

How to copy sample images to your hard drives

This How To gives an alternative to installation of the OS on a hard drive using the DVD image. Instead, you can copy the drive images from here, then update the IP address of the proxy. Here are the steps:

Download Images

Download the sample images from here:

  • kiosk.img.gz part1 (http://blizzard.cs.uwaterloo.ca/tetherless/disk-image-march10/kiosk.img.gz.aa)
  • kiosk.img.gz part2 (http://blizzard.cs.uwaterloo.ca/tetherless/disk-image-march10/kiosk.img.gz.ab)
  • ferry.img.gz (http://blizzard.cs.uwaterloo.ca/tetherless/disk-image-march10/ferry.img.gz)
  • gateway.img.gz (http://blizzard.cs.uwaterloo.ca/tetherless/disk-image-march10/gateway.img.gz)
  • proxy.img.gz (http://blizzard.cs.uwaterloo.ca/tetherless/disk-image-march10/proxy.img.gz)

We have split the kiosk image into two parts to keep the size within bounds.

To copy the kiosk image to your hard drive after downloading its two parts, run the following command:

cat kiosk.img.gz.aa kiosk.img.gz.ab > kiosk.img.gz

Copying images to your Hard Drives

Now you have the sample compressed images locally. To copy a sample image, let's say kiosk.img.gz, to your hard drive, attach that hard drive to your computer. Login as root and run the following command to identify the name of the hard drive:

fdisk -l

NOTE: Be careful!! If you identify another hard drive as the one attached, the following procedure may erase that hard drive and you will not have any way to restore your data.

Suppose /dev/sdc is the name of the attached hard drive, run the following commands as root:

gunzip -c kiosk.img.gz | dd of=/dev/sdc

Please wait; it may take 10-15 minutes for this command to complete. Do not interrupt it! After the command finishes you can detach the hard drive and install it in your Sokris/Via Box.

Changing IP address and network

You will need to alter the IP address of proxy which is 129.97.34.193 on proxy and gateway images, and if you want gateway's local network.

Proxy

/var/ocmp/ocmp.txt Replace all occurrences of "129.97.34.193" with your proxy IP address.

NOTE: you must replace 129.97.34.193 with something else if not your testbed may conflict with ours, and will not work.

/etc/network/interfaces: Replace all occurrences of the following block with your own proxy network settings:

address 129.97.34.193
netmask 255.255.255.0
gateway 129.97.34.1
broadcast 129.97.34.255

gateway

/var/ocmp/ocmp.txt: replace all occurrences of "129.97.34.193" with your proxy IP.


/etc/network/interfaces: Either set the following block on your router so that gateway can access proxy through your local network, or Replace all occurrences of the following block with the setting you want:

address 192.168.1.111
netmask 255.255.255.0
gateway 192.168.1.13
broadcast 192.168.1.255

Retrieved from "http://blizzard.cs.uwaterloo.ca/tetherless/index.php/Howto_Copy_sample_Images_to_your_hard_drives"

This page has been accessed 509 times. This page was last modified 14:01, 13 Mar 2009.


Main Page

About

Current Projects

Downloads

Documents

Internal

Old Projects

Meta