Tools for creating, configuring, starting and stopping user-mode linux devices

References:
-----------
- HOWTO-build-SnapGearVirtualPRO+.txt
- http://user-mode-linux.sourceforge.net/index.html

Prerequisites:
--------------
  Export environment variable: ROOTDIR=<new-wave directory>
  Add $ROOTDIR/uml/bin to your PATH

Configuration
-------------
  Certain default settings are used for the UML devices.
  These settings can be found in $ROOTDIR/uml/bin/uml.conf

  If you wish to change these settings, copy uml.conf to your current
  directory before setting up networking or creating devices.

Settings up networking
----------------------
  We use TUN/TAP and the uml_switch daemon to provide host network access to the UML devices.
  We use multicast to provide host-to-host network access.

  As root:
  # setup-uml-tap <your-user-id>

  Now as yourself, you can run the switch daemon (it runs in the foreground)
  $ run-uml-switch

  To exit the switch daemon, simply use ^D (once all UML devices are shutdown).

Creating devices
----------------
  Some simple scripts are provided to create VirtualPRO+ devices.
  These use subdirectories such as 'uml01', 'uml02', etc. within the current
  directory.

  Each device is numbered from 1, has a unique MAC address for each of
  it's two network interfaces (eth0 and eth1) and a unique, static IP
  address in the 192.168.162.0/24 subnet on eth0.

  If you want a console (in an xterm) with a getty running, specify the
  -console option when creating the devices.

  $ make-vpro+-devices [-console] [<from>] <to>

  e.g.

  $ make-vpro+-devices 1 5

Running uml devices
-------------------
  To start all defined UML devices:
  $ start-uml-devices

  To stop all running devices:
  $ stop-uml-devices

Other Notes
-----------
- The scripts above are current not executable in CVS. Do 'chmod 755 $ROOTDIR/uml/bin/*'
- VirtualPRO+ devices are initially configured with SnapGear Centralised Management enabled, 
  and a root password of 'default'.
