SIFTeam / openembedded

MIT License
6 stars 6 forks source link

Tun device didn't work #3

Open drgogeta86 opened 12 years ago

drgogeta86 commented 12 years ago

At least on azbox ....

WRRWRMon Nov 28 12:01:21 2011 us=823236 PUSH: Received control message: 'PUSH_REPLY,route 192.168.68.1,topology net30,ping 10,ping-restart 120,ifconfig 192.168.68.10 192.168.68.9'
Mon Nov 28 12:01:21 2011 us=824385 OPTIONS IMPORT: timers and/or timeouts modified
Mon Nov 28 12:01:21 2011 us=824751 OPTIONS IMPORT: --ifconfig/up options modified
Mon Nov 28 12:01:21 2011 us=825134 OPTIONS IMPORT: route options modified
Mon Nov 28 12:01:21 2011 us=830779 ROUTE default_gateway=192.168.1.1
Mon Nov 28 12:01:21 2011 us=833418 Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Mon Nov 28 12:01:21 2011 us=834306 Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Mon Nov 28 12:01:21 2011 us=835355 Cannot open TUN/TAP dev /dev/tun0: No such file or directory (errno=2)

Module tun is present

root@azbox:~# lsmod | grep tun
tun                    12960  0 
drgogeta86 commented 12 years ago

We must find the way to add this

mkdir -p /dev/net
mknod /dev/net/tun c 10 200
chmod 600 /dev/net/tun