961
Comment:
|
1093
|
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. |
|
Line 2: | Line 4: |
Line 16: | Line 17: |
clone vala ntk repository | Clone the vala ntk repository |
Line 25: | Line 26: |
./autogen.sh ./configure make sudo make install |
|
Line 26: | Line 31: |
__copy configurations__ |
|
Line 27: | Line 34: |
./autogen.sh }}} {{{ ./configure }}} {{{ make #got a lot of warnings here }}} {{{ make install |
sudo cp -r INSTALL_DIR/linux/etc/netsukuku /etc/ |
Line 40: | Line 38: |
{{{ | |
Line 41: | Line 40: |
# 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 |
|
Line 42: | Line 51: |
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 |
#make a bridge interface brctl addbr br0 #check it's there ifconfig br0 |
Line 55: | Line 57: |
Line 58: | Line 59: |
#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 60: | Line 62: |
#watch it tcpdump -i br0 | #watch it tcpdump -i br0 }}} |
Warning: This is still a highly untested software use with caution.
depends:
valac >=0.14
- libgee-dev
- libpth-dev
- libgcrypt11-dev
- cmake
- autogen
recommends:
bzr #see https://savannah.nongnu.org/bzr/?group=netsukuku for CVS and tar
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...