[nos-bbs] Problem attaching tun device
Bob Tenty
bobtenty at gmail.com
Thu Feb 23 15:12:15 EST 2012
Permissions are OK, I have exactly the same in Ubuntu.
It is something else.
Bob VE3TOK
On 12-02-23 01:43 PM, Michael Curry wrote:
> JNOS version: 2.0i
> OS: Ubuntu 10.10
>
> Problem: When loading autoexec.nos, JNOS complains about my "attach
> tun" line:
>
> input line: attach tun tun0 1500 0
>
> and this message appears in the log file:
>
> 09:56:16 - unable to setup tunnel
>
> Looking at the source code of tun_attach() in tun.c, this suggests
> that the tun device is being successfully opened, but that the
> subsequent ioctl(tunfd,TUNSETIFF,&ifr) call is failing (although no
> information on the nature of the failure is logged).
>
> The tun device is present, as shown by:
>
> % ls -l /dev/net/tun
> crw-rw-rw- 1 root root 10, 200 2012-02-13 21:53 /dev/net/tun
>
> This seems to smack of a permissions problem, but the permissions on
> the device are open, as you can see. Anyone have any thoughts on
> what's going on and how to work around it?
>
> Thanks,
>
> Michael, KI6TYV
> --
> This cat is pushing a watermelon out of a lake. Your argument is invalid.
>
>
>
> _______________________________________________
> nos-bbs mailing list
> nos-bbs at tapr.org
> https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/nos-bbs_lists.tapr.org/attachments/20120223/b4dd9f58/attachment.html>
More information about the nos-bbs
mailing list