Danke für den Tipp mit dem Strace Befehl! Das scheint genau das gleiche Problem zu sein, wie in dem Eintrag der Mailinglist den du oben verlinkt hast.
[pid 1280] +++ exited with 0 +++
<... waitpid resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 1280
rt_sigaction(SIGINT, {SIG_DFL, [], 0}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], 0}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1280, si_uid=0, si_status=0, si_utime=4, si_stime=2} ---
open("/dev/net/tun", O_RDWR) = 4
ioctl(4, _IOC(_IOC_WRITE, 0x54, 0xca, 0x04), 0x7faa0b38) = -1 EPERM (Operation not permitted)
close(4) = 0
write(1, " using interface tun \n", 24 using interface tun
) = 24
write(2, "vpnc: ", 6vpnc: ) = 6
write(2, "can't initialise tunnel interfac"..., 33can't initialise tunnel interface) = 33
write(2, ": Operation not permitted", 25: Operation not permitted) = 25
write(2, "\n", 1
) = 1
exit_group(1) = ?
+++ exited with 1 +++
Alles anzeigen
Das /dev/net/tun device sieht auch in Ordnung aus:
crw-rw-rw- 1 root root 10, 200 Jan 1 01:39 /dev/net/tun
Ich führe die Befehle ja als root user aus, dennoch bekomme ich den 'operation not permitted' Fehler.
Was mir jetzt nicht ganz so klar ist, was ich machen muss, damit das ganze auch funktioniert. Hast du da einen Tipp? Oder ist das ein vpnc Bug?