Differences between revisions 4 and 6 (spanning 2 versions)
Revision 4 as of 2013-05-22 09:25:55
Size: 1149
Editor: anonymous
Comment:
Revision 6 as of 2013-07-13 18:12:03
Size: 1905
Comment: A pair of recomendations
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Line 4: Line 5:
depends: For compilation you will need the following dependencies:
Line 12: Line 13:
recommends: It is recommended to install bazaar to interact with the source
code repository since currently there is no stable tarball for
downloading.
Line 21: Line 24:
$bzr branch bzr://bzr.savannah.nongnu.org/netsukuku/vala netsukuku-vala $ bzr branch bzr://bzr.savannah.nongnu.org/netsukuku/vala netsukuku-vala
Line 23: Line 26:
Line 24: Line 28:

The following will generate the necesary files for autotools work as
intended. It will install ntk to /usr/local by default. Feel free
to run ./configure --help to see all the variables you might change.
Line 32: Line 40:
Line 44: Line 53:
Line 46: Line 56:
# Install OpenVPN and bridge utils
Line 47: Line 58:
#make a tunnel interface
# Make a tunnel interface
Line 49: Line 61:
#check it's there
# Check it's there
Line 52: Line 65:
#make a bridge interface # Make a bridge interface
Line 54: Line 67:
#check it's there
# Check it's there
Line 57: Line 71:
#add tunnel iface to bridge # Add tunnel iface to bridge
Line 60: Line 74:
#start ntkd on the bridge (won't work on tap0 ?!?) # Start ntkd on the bridge (won't work on tap0 ?!?)
Line 63: Line 77:
#watch it # Watch it
Line 67: Line 81:
more or less... Make sure you are not running some sort of network interface
manager such as NetworkManager, wicd, dhcpd, etc., on that
NIC, otherwise it will interrupt the process and assign a new
IP address destroying our link with the Ntk network.

The instructions to deactivate such services depends higly on
your GNU/Linux disto.

Warning: This is still a highly untested software use with caution.

Openwrt notes

For compilation you will need the following dependencies:

  • valac >=0.14

  • libgee-dev
  • libpth-dev
  • libgcrypt11-dev
  • cmake
  • autogen

It is recommended to install bazaar to interact with the source code repository since currently there is no stable tarball for downloading.

howto:

Clone the vala ntk repository

$ bzr branch bzr://bzr.savannah.nongnu.org/netsukuku/vala netsukuku-vala

build

The following will generate the necesary files for autotools work as intended. It will install ntk to /usr/local by default. Feel free to run ./configure --help to see all the variables you might change.

cd netsukuku-vala
./autogen.sh
./configure
make
sudo make install

copy configurations

sudo cp -r INSTALL_DIR/linux/etc/netsukuku /etc/

usage:

ntkd --help
# for example:
ntkd -i eth0 -i wlan0 -v 4

For messing around:

# Install OpenVPN and bridge utils
apt-get install openvpn bridge-utils

# Make a tunnel interface 
sudo openvpn --mktun --dev tap0 --user `id -un`

# Check it's there 
ifconfig tap0

# Make a bridge interface 
brctl addbr br0

# Check it's there 
ifconfig br0

# Add tunnel iface to bridge
brctl addif br0 tap0

# Start ntkd on the bridge (won't work on tap0 ?!?) 
sudo ntkd -i br0

# Watch it 
tcpdump -i br0

Make sure you are not running some sort of network interface manager such as NetworkManager, wicd, dhcpd, etc., on that NIC, otherwise it will interrupt the process and assign a new IP address destroying our link with the Ntk network.

The instructions to deactivate such services depends higly on your GNU/Linux disto.

NewNetsukukuOrgInstallVala (last edited 2013-07-13 18:12:03 by RicardoLanziano-1373737481.55.44393)