Differences between revisions 1 and 2
Revision 1 as of 2013-05-17 21:34:36
Size: 876
Editor: anonymous
Comment:
Revision 2 as of 2013-05-17 21:45:22
Size: 961
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Line 10: Line 11:
Line 12: Line 14:
howto: '''howto: '''
Line 14: Line 17:

{{{
Line 15: Line 20:
}}}
__build__
Line 16: Line 23:
{{{
Line 17: Line 25:
}}}
{{{
./autogen.sh
}}}
{{{
Line 18: Line 31:
}}}
{{{
Line 19: Line 34:
}}}
{{{
Line 20: Line 37:
}}}
usage:
Line 21: Line 40:
ntkd --help
Line 22: Line 42:
usage:
ntkd -i tunnel1 -i wireless -i eth0 -i whatever-interface
for example: ntkd -i tap0 -i eth0
Line 25: Line 44:
For messing around apt-get install openvpn bridge-utils
Line 26: Line 46:
For messing around
apt-get install openvpn bridge-utils
#make a tunnel interface sudo openvpn --mktun --dev tap0 --user `id -un`
Line 29: Line 48:
#make a tunnel interface
sudo openvpn --mktun --dev tap0 --user `id -un`
#check it's there ifconfig tap0
Line 32: Line 50:
#check it's there
ifconfig tap0
#make a bridge interface brctl addbr br0
Line 35: Line 52:
#make a bridge interface
brctl addbr br0
#check it's there ifconfig br0
Line 38: Line 54:
#check it's there
ifconfig br0
#add tunnel iface to bridge
Line 41: Line 56:
#add tunnel if to bridge
Line 44: Line 58:
#start ntkd on the bridge (won't work on tap0 ?!?)
ntkd -i br0
#start ntkd on the bridge (won't work on tap0 ?!?) ntkd -i br0
Line 47: Line 60:
#watch it
tcpdump -i br0
#watch it tcpdump -i br0

depends:

  • valac >=0.14

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

recommends:

howto:

clone vala ntk repository

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

build

cd netsukuku-vala

./autogen.sh

./configure

make  #got a lot of warnings here

make install

usage:

ntkd --help

for example: ntkd -i tap0 -i eth0

For messing around 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 ?!?) ntkd -i br0

#watch it tcpdump -i br0

more or less...

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