Changes

Jump to: navigation, search

FSOSS 2010 Plug Computing Workshop

463 bytes added, 22:31, 7 November 2010
Getting the Root Filesystem Image
* 802.11bg wireless
* bluetooth
* u-SNAP connector for home power automation (smart electric meter access)
The total power consumption of the GuruPlug is typically under 5W - about that of a small nightlight.
== Getting the Root Filesystem Image ==
# Check that the file <code>rootfs-f12.tar.bz2</code> is in your Downloads directory (go to the menu option Places>Downloads). If not, download Download and save this file: http://australia.senecacproximity.on.ca/fsoss/rootfs-f12.tar.bz2
== Copying the rootfs to the microSD Card ==
# Insert the card into the card reader on your PC. A window should appear; it is OK to leave this window open.
# Open a terminal window (menu option Applications>System Tools>Terminal).
# Request administrator/superuser privilege by typing: <code>su</code>(password is "fsoss10")
# Change to the directory containing the microSD card: <code>cd /media/*</code>
# Erase everything on the card ('''type this command very carefully!'''): <code>rm -rf /media/*/*</code>
# Change to the directory containing the startup scripts: <code>cd /media/*/etc/rc.d</code>
# Add this code to the rc.local script to flash the lights:
for LAMP in /sys/class/leds/*/trigger
echo heartbeat >$LAMP
done
 
== Preparing the rootfs Image: Setting a Message of the Day ==
 
Edit the Message of the Day file so that you can be sure that you've connected to the right plug later in this workshop.
# Edit the file <code>/media/*/etc/motd</code>
# Add a greeting of your own choice. For example: <code>Welcome to Chris & Diane's GuruPlug!</code>
# Save the file.
== Try it! ==
# Umount Unmount the microSD card.Find the icon for the card on the desktop, and right-click to select "Unmount"; or enter the command: <code>umount /media/*</code>
# Remove the card from your PC.
# Insert the card into your GuruPlug.
To connect to your plug over the network, you'll need to connect to the computer managing the GuruPlug cluster, which is named "HongKong".
# Connect to HongKong: <code>ssh -XC ''nameOfYourPlug''@hongkong.proximity.on.ca</code> -- for example, if your GuruPlug is <code>cdot-guru-2-3</code>, then connect with <code>ssh -XC cdot-guru-2-3@hongkong</code> (password is "fsoss10")# Connect to your plug fron HongKong: <code>ssh root@''nameOfYourPlug''</code>(password is "fedoraarm")# Check the message of the day (printed after you log in) to be sure you have connected to the right GuruPlug.
= Making Your Plug Useful =
firefox http://''nameOfYourPlug''/
== Ways to Use Put Your Plug to Work ==
Here are some possible applications for a GuruPlug that you can try out:* [[FSOSS 2010 Plug Computing Workshop - Wiki|Create a Wiki]]* Use your plug to [[FSOSS 2010 Plug Computing Workshop - Photo Gallery|Make a Photo Gallery]]* [[FSOSS 2010 Plug Computing Workshop - Obby Server|Make ake a collaborative editing serverweb photo gallery]].
= Other Uses for a Plug Computer =
Here are some other PlugComputer application ideas (which are less suited for demonstration in this workshop):
* wiki host
* print server
* scan server
* GIT or other version control server
* automatic wireless backup system for smartphones
* collaborative editing server using Obby
 
... the applications go on and on.

Navigation menu