<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Permissions are OK, I have exactly the same in Ubuntu.<br>
It is something else.<br>
<br>
Bob VE3TOK<br>
<br>
On 12-02-23 01:43 PM, Michael Curry wrote:
<blockquote
cite="mid:CAD65X4iv4CjdVPav+N3MCcJqnGWOk7=TNJKoW0oxSESj4a9vKQ@mail.gmail.com"
type="cite">JNOS version: 2.0i<br>
OS: Ubuntu 10.10 <br>
<br>
Problem: When loading autoexec.nos, JNOS complains about my
"attach tun" line:<br>
<br>
<span style="font-family:courier new,monospace">input line: attach
tun tun0 1500 0</span><br>
<br>
and this message appears in the log file:<br>
<br>
<span style="font-family:courier new,monospace">09:56:16 - unable
to setup tunnel</span><br>
<br>
Looking at the source code of <span style="font-family:courier
new,monospace">tun_attach()</span> in tun.c, this suggests that
the tun device is being successfully opened, but that the
subsequent <span style="font-family:courier new,monospace">ioctl(tunfd,TUNSETIFF,&ifr)</span>
call is failing (although no information on the nature of the
failure is logged).<br clear="all">
<br>
The tun device is present, as shown by:<br>
<br>
<span style="font-family:courier new,monospace">% ls -l
/dev/net/tun</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">crw-rw-rw- 1 root
root 10, 200 2012-02-13 21:53 /dev/net/tun</span><br>
<br>
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?<br>
<br>
Thanks,<br>
<br>
Michael, KI6TYV<br>
-- <br>
This cat is pushing a watermelon out of a lake. Your argument is
invalid.<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
nos-bbs mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nos-bbs@tapr.org">nos-bbs@tapr.org</a>
<a class="moz-txt-link-freetext" href="https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs">https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs</a>
</pre>
</blockquote>
<br>
</body>
</html>