[ale] tun on Ubuntu
Jim
ale_nospam at fayettedigital.com
Wed May 23 09:12:55 EDT 2007
PairOfTwins wrote:
> 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
>
Just a guess, but take a look at the file. It may be a script and the
utility to execute it may not exist.
file /sbin/tuncfg
and
head /sbin/tuncfg
Jim.
> 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
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>
>
More information about the Ale
mailing list