User Tools

Site Tools


building:start

Building Homenet from source

This page explains how to download and build Homenet from source. This entails downloading and installing the tools required to build OpenWrt, adding Homenet to the configuration, and then building a new image.

Note: If you don't want to install Homenet from source and prefer using precompiled packages, see the Installation Guides on the Setting up and Configuring Homenet page.

General documentation can be found on OpenWrt wiki.

  1. Building OpenWrt from source: http://wiki.openwrt.org/doc/howto/build
  2. Installing official and custom feeds: http://wiki.openwrt.org/doc/devel/feeds

Step by step

0. Installing build prerequisites (These commands are suitable for Debian, Ubuntu, Mint and other related distributions, please see your distribution's documentation if you are unsure if this applies to you).

sudo apt-get update
sudo apt-get install subversion build-essential git-core zlib1g-dev gawk ncurses-dev gettext

1. Getting the latest OpenWrt

git clone git://git.openwrt.org/openwrt.git
cd openwrt

2. Fetching and installing hnet packages

./scripts/feeds update
./scripts/feeds install hnet-full

3. Selecting your packages

make menuconfig

In this menu make the necessary adaptions for your target device and then go to the “Network” category and select hnet-full. This will install hnetd (the main HNCP daemon), ohybridproxy (the mDNS hybrid proxy) and babels (source-routing capable babel). At your own discretion you can also manually select hnetd alone or together with either of the two other packages which can be found in the “IP Addresses and Names” and “Routing and Redirection” subcategories.

4. Building

make

5. Installing and Configuration

Please refer to the OpenWrt website to learn how to flash the built image on your device. Afterwards please see Setup and Configuration to setup and configure hnet.

building/start.txt · Last modified: 2016/09/05 16:15 (external edit)