Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2013-05-17 21:34:36
Size: 876
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 1: Line 1:
depends: Warning: This is still a highly untested software use with caution.

[[Netsukuku_Dev/vala/flashing_notes2 | Openwrt notes]]

For compilation you will need the following dependencies:
Line 9: 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 12: Line 19:
howto:
clone vala ntk repository
$bzr branch bzr://bzr.savannah.nongnu.org/netsukuku/vala netsukuku-vala
'''howto: '''
Line 16: Line 21:
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.

{{{
Line 17: Line 35:
./autogen.sh
Line 18: Line 37:
make #got a lot of warnings here
make install
make
sudo make install
}}}
Line 21: Line 41:
__copy configurations__
Line 22: Line 43:
{{{
sudo cp -r INSTALL_DIR/linux/etc/netsukuku /etc/
}}}
Line 23: Line 47:
ntkd -i tunnel1 -i wireless -i eth0 -i whatever-interface
Line 25: Line 48:
{{{
ntkd --help
# for example:
ntkd -i eth0 -i wlan0 -v 4
}}}
Line 26: Line 54:
For messing around For messing around:
{{{
# Install OpenVPN and bridge utils
Line 29: Line 59:
#make a tunnel interface # Make a tunnel interface 
Line 32: Line 62:
#check it's there # Check it's there 
Line 35: Line 65:
#make a bridge interface # Make a bridge interface 
Line 38: Line 68:
#check it's there # Check it's there 
Line 41: Line 71:
#add tunnel if to bridge # Add tunnel iface to bridge
Line 44: Line 74:
#start ntkd on the bridge (won't work on tap0 ?!?)
ntkd -i br0
# Start ntkd on the bridge (won't work on tap0 ?!?) 
sudo ntkd -i br0
Line 47: Line 77:
#watch it # Watch it 
Line 49: Line 79:
}}}
Line 50: 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)