HOWTO build for The Fonera ========================== Prerequisite: these are the packages you MUST have on your build-machine in order to compile the OpenWRT / Fonera build environement (from archive's README) gcc, binutils, patch, bzip2, flex, bison, make, gettext, pkg-config, unzip, libz-dev and libc headers. . Fetch http://download.fon.com/firmware/fonera/latest/fonera.tar.bz2 . Create a directory for this build environment (obviously not in the Fonera) $ mkdir /some/where/fonera-src . "cd" to it and extract fonera.tar.bz2 $ cd /some/where/fonera-src/tar jxvf /another/where/fonera.tar.bz2 . Configure your environment $ make V=99 config . Exit and save . Compile your environment $ make V=99 => you're ready ! . Add something like this to your PATH environment variable : $ PATH=$PATH:/some/where/fonera-src/staging_dir_mips/bin $ export PATH . Let's create a simple program : $ cat > test.c << EOF #include int main(int argc, char *argv[]) { printf("Yeah, my first Fonera binary !\n"); } EOF . Compile it : $ mips-linux-uclibc-gcc test.c -o test . Send it to the Fonera : $ scp test root@fonera:/tmp . Run it ! root@OpenWrt:~# ./test Yeah, my first Fonera binary ! . Shout "yEPEEEEEEEE"