Changes between Version 6 and Version 7 of ClickImage


Ignore:
Timestamp:
Sep 15, 2011 5:52:10 PM (13 years ago)
Author:
mikeryan
Comment:

support for click 2.0

Legend:

Unmodified
Added
Removed
Modified
  • ClickImage

    v6 v7  
    1 = Ubuntu804-click =
     1= Ubuntu with Click =
    22
    33[[TOC]]
    44
    5 Ubuntu804-click is an OS image with support for [http://read.cs.ucla.edu/click The Click Modular Router].
     5We have two OS images with support for [http://read.cs.ucla.edu/click The Click Modular Router]: Ubuntu804-click and Ubuntu1004-click20.
     6
     7We support click 1.8 (in Ubuntu804-click) and click 2.0 (in Ubuntu1004-click20).
     8
     9=== Ubuntu804-click ===
    610
    711Ubuntu804-click is based on Ubuntu804-STD with the following modifications
     
    1115 * click and kernel source in /usr/src
    1216
     17=== Ubuntu1004-click20 ===
     18
     19Ubuntu1004-click20 is based on Ubuntu1004-STD with the following modifications
     20 * loads as a full disk image with about 12 GB free on /
     21 * click 2.0 installed in /usr/local
     22 * click source in /usr/src
     23
    1324== Using click ==
    1425
    15 click 1.8.0 is installed in {{{/usr/local}}}. If you do not require custom modules, the image should be usable out of the box.
     26click is installed in {{{/usr/local}}}. If you do not require custom modules, the images should be usable out of the box.
    1627
    1728=== Running the example ===
     
    1930For a simple example, download [attachment:test.click test.click] and copy it to your home directory on users.
    2031
    21 On a node running Ubuntu804-click, run the following command:
     32On a node running Ubuntu804-click or Ubuntu1004-click20, run the following command:
    2233
    2334{{{
     
    3748== Building custom modules ==
    3849
    39 The source for click is in {{{/usr/src/click-1.8.0}}}.
     50The source for click is in {{{/usr/src/click-1.8.0}}} or {{{/usr/src/click-2.0}}}.
    4051
    41 You must always give configure the path to the kernel source (see below).
     52Custom modules are typically built in the local elements folder. Copy your source files into {{{/usr/src/click-1.8.0/elements/local}}} or {{{/usr/src/click-2.0/elements/local}}} and give configure the {{{--enable-local}}} flag.
    4253
    43 Custom modules are typically built in the local elements folder. Copy your source files into {{{/usr/src/click-1.8.0/elements/local}}} and give configure the {{{--enable-local}}} flag.
    44 
     54=== Ubuntu804-click ===
     55In click 1.8, you must give configure the path to the kernel source.
    4556{{{
    4657$ sudo -s
     
    4960}}}
    5061
     62=== Ubuntu1004-click20 ===
     63{{{
     64$ sudo -s
     65# cd /usr/src/click-2.0
     66# ./configure --enable-local
     67}}}
     68
     69=== Building and installing ===
    5170At this point building and installing is as simple as:
    5271