Size: 961
Comment:
|
Size: 1149
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 2: | Line 5: |
Line 16: | Line 18: |
clone vala ntk repository | Clone the vala ntk repository |
Line 25: | Line 27: |
./autogen.sh ./configure make sudo make install |
|
Line 26: | Line 32: |
__copy configurations__ |
|
Line 27: | Line 35: |
./autogen.sh }}} {{{ ./configure }}} {{{ make #got a lot of warnings here }}} {{{ make install |
sudo cp -r INSTALL_DIR/linux/etc/netsukuku /etc/ |
Line 40: | Line 39: |
{{{ | |
Line 41: | Line 41: |
# 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 52: |
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 58: |
Line 58: | Line 60: |
#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 63: |
#watch it tcpdump -i br0 | #watch it tcpdump -i br0 }}} |
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:
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...