diff options
| author | Miguel <m.i@gmx.at> | 2018-09-25 09:54:59 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-25 09:54:59 +0200 |
| commit | 2ba77c01a33c3454aeed42d5394dd5ccede10851 (patch) | |
| tree | a16d0a06262e842f0fe195e1c22f4ab529a571c5 /Makefile | |
| parent | 90c3c74107e9a1e15ea8524057c1e1c48d401da9 (diff) | |
tap interface via makefile
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -259,17 +259,15 @@ doxygen: clean list_headers: find asm/ driver/ fs/ kernel/ lib/ -iname *.h -exec basename {} \; | sort | uniq -c - +#tap interface# +create_tap: + sudo tunctl -t tap0 -u miguel + sudo ip link set tap0 up + sudo route add -host 192.168.0.20 dev tap0 #qemu-system-i386 -netdev tap,id=mynet0,ifname=tap0,script=no,downscript=no -enable-kvm fool-os-i386.iso -smp 4 -serial stdio -#sudo tunctl -t tap0 -u miguel - # tunctl -u <username> - #-net user,hostfwd=tcp::10022-:22\ #echo 1 > /proc/sys/net/ipv4/ip_forward #echo 1 > /proc/sys/net/ipv4/conf/wlan0/proxy_arp #echo 1 > /proc/sys/net/ipv4/conf/tap0/proxy_arp - -#ip link set tap0 up -#route add -host 192.168.0.20 dev tap0 <-- to be changed by you. |
