[ale] tun on Ubuntu
PairOfTwins
PairOfTwins at mindspring.com
Tue May 22 13:51:07 EDT 2007
Anyone:
In setting up Hamachi on Ubuntu Feisty AMD64, I hit an unexpected snag:
"tuncfg" won't run.
See below, where I see tun was already configured, the module is loaded,
I added tun to the aliases file, and even (later) made tuncfg
world-readable AND world-executable. Still, tuncfg responds "No such
file or directory" . What's next? Maybe tuncfg is a 32-bit version?
tom at dare:~$ ls -l /dev/net
total 0
crw-rw---- 1 root root 10, 200 2007-04-29 16:48 tun
tom at dare:~$ lsmod | grep tun
tun 13824 0
tom at dare:~$ cat /etc/modprobe.d/aliases | grep tun
alias char-major-10-200 tun
alias xfrm-type-2-4 xfrm4_tunnel
alias xfrm-type-10-41 xfrm6_tunnel
alias tunl0 ipip
tom at dare:~$ which tuncfg
tom at dare:~$ sudo which tuncfg
/sbin/tuncfg
tom at dare:~$ sudo tuncfg
sudo: unable to execute /sbin/tuncfg: No such file or directory
tom at dare:~$ sudo echo 1 > /proc/sys/net/ipv4/ip_forward
bash: /proc/sys/net/ipv4/ip_forward: Permission denied
tom at dare:~$ sudo ls -l /sbin/tun*
-rwxr--r-- 1 root root 9248 2007-05-18 10:48 /sbin/tuncfg
-rwxr-xr-x 3 root root 24544 2007-03-28 09:47 /sbin/tune2fs
tom at dare:/sbin$ sudo ldd tuncfg
not a dynamic executable
Thanks!
Tom
More information about the Ale
mailing list