Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2013-05-17 21:34:36
Size: 876
Editor: anonymous
Comment:
Revision 5 as of 2013-05-22 09:26:39
Size: 1151
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Warning: This is still a highly untested software use with caution.

[[Netsukuku_Dev/vala/flashing_notes2 | Openwrt notes]]
Line 10: Line 14:
Line 12: Line 17:
howto:
clone vala ntk repository
'''howto: '''

C
lone the vala ntk repository

{{{
Line 15: Line 23:
}}}
__build__
Line 16: Line 26:
{{{
Line 17: Line 28:
./autogen.sh
Line 18: Line 30:
make #got a lot of warnings here
make install
make
sudo make install
}}}
__copy configurations__
Line 21: Line 35:
{{{
sudo cp -r INSTALL_DIR/linux/etc/netsukuku /etc/
}}}
usage:
Line 22: Line 40:
usage:
ntkd -i tunnel1 -i wireless -i eth0 -i whatever-interface


For messing around
{{{
ntkd --help
# for ex
ample:
ntkd -i eth0 -i wlan0 -v 4
}}}
For messing around:
{{{
Line 28: Line 48:

#make a tunnel interface
#make a tunnel interface 
Line 31: Line 50:

#check it's there
#check it's there 
Line 35: Line 53:
#make a bridge interface #make a bridge interface 
Line 37: Line 55:

#check it's there
#check it's there 
Line 41: Line 58:
#add tunnel if to bridge #add tunnel iface to bridge
Line 44: Line 61:
#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 64:
#watch it #watch it 
Line 49: Line 66:
}}}

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

Openwrt notes

depends:

  • valac >=0.14

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

recommends:

howto:

Clone the vala ntk repository

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

build

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:

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

more or less...

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