Chapter 6. Loading HIPL on OpenWRT

Table of Contents

Preparation
Building OpenWRT on La Fonera
Loading HIPL on OpenWRT
Some notes about HIPL on La Fonera
Building OpenWRT on Netgear WGT634U
Loading HIPL on Netgear WGT634U

Preparation

This is a common part for both La Fonera and Netgear WGT634U.

  1. Install required packages on your system:

    gcc, binutils, patch, bzip2, flex, bison, make, gettext, pkg-config, unzip, libz-dev and libc.

  2. In Debian/Ubuntu Linux, for example, do like this:

    # apt-get install gcc binutils-dev patch bzip2 libbz2-dev flex bison make gettext pkg-config unzip zlib1g-dev libc6-dev
    

  3. If you are using bash, make sure that your shell option does not include the noclobber option. First check if noclobber is included in your shell option.

    $ set | grep -i noclobber
    SHELLOPTS=braceexpand:emacs:hashall:histexpand:interactive-comments:monitor:noclobber:notify
    

    Like this case, if you have that option, you must remove set -o noclobber in your $HOME/.bashrc file. Otherwise you might encounter a lot of errors while building OpenWRT, like "cannot overwrite existing files".

  4. Checkout and build the openWRT sources following this manual: http://wiki.openwrt.org/OpenWrtDocs/BuildingKamikazeHowTo It is not much different for each version, no matter the 7.09 release or the svn devel tree.