|
|
This is what I've found out so far with both Mandrake 10.0 and 10.1. **10.0). The /dev/net/tun device is owned by root:root. Permissions on it are crw/r--/--- I get an openvpn error: /dev/net/tun permissions denied. Changing the permissions on the tun to: crw/r--/rw- I get the following log entries: Tue Sep 28 08:32:45 2004 us=821904 OPTIONS IMPORT: --ifconfig/up options modified Tue Sep 28 08:32:45 2004 us=821942 OPTIONS IMPORT: route options modified Tue Sep 28 08:32:45 2004 us=821971 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified Tue Sep 28 08:32:45 2004 us=865181 TUN/TAP device tap0 opened Tue Sep 28 08:32:45 2004 us=884883 Note: Cannot set tx queue length on tap0: Operation not permitted (errno=1) Tue Sep 28 08:32:45 2004 us=884999 /sbin/ifconfig tap0 192.168.200.2 netmask 255.255.255.0 mtu 1500 broadcast 192.168.200.255 SIOCSIFADDR: Permission denied SIOCSIFFLAGS: Permission denied SIOCSIFNETMASK: Permission denied SIOCSIFMTU: Operation not permitted SIOCSIFBRDADDR: Permission denied SIOCSIFFLAGS: Permission denied Tue Sep 28 08:32:45 2004 us=892509 Linux ifconfig failed: shell command exited with error status: 255 Tue Sep 28 08:32:45 2004 us=892625 Exiting Also, when trying to manually run chroot /etc/openvpn, I get: chroot cannot run '/bin/bash': no such file or directory. **10.1). Under Mandrake 10.1 it would seem that the /dev/net/tun is a link to ../tun Permissions are: lrw/rwx/rwx Trying to run as chroot and nobody:nogroup works only if I run the start.sh script manually, running it as a startup script fails with the tun/tap not found error. James, any suggestions? Doug
|