similar to: Cannot open /dev/net/tun

Displaying 20 results from an estimated 10000 matches similar to: "Cannot open /dev/net/tun"

2004 Sep 30
4
Could not open /dev/net/tun
Hi, I am triying to configure a VPN, my configuration files are: ****************** TINC.CONF: Name = nova # The internet host to connect with. ConnectTo = nova2 Device = /dev/net/tun #Device name.. Leave as is. Interface = vpn #Virtual Interface name. Give any suitable name. #Mode = "router" #use Router mode
2002 Jul 01
1
deamon error message
Hi, I have installed tinc-1.0pre7-1.i386.rpm in redhat 7.2, followed the documentation. While running daemon, its giving following error message Jul 1 15:06:18 localhost modprobe: modprobe: Can't locate module char-major-36 Jul 1 15:06:18 localhost tinc.percipia[1292]: Could not open /dev/misc/net/tun: Nos uch device ================== /etc/modules.conf alias char-major-10-200 tun
2007 Jun 10
1
Setup problems, /dev/net/tun FD in bad state
Hi all, I'm following the manual but I get the below error, and I believe tinc is clobbering my conf file. I've never set up VPN before, I'm just trying to connect to my work network from home. All the following is on my work computer. Thanks in advance for any help. $ ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:1A:A0:17:3A:50 inet addr:172.24.104.145
2012 Jan 23
1
libvirt 0.9.9: could not open /dev/net/tun: Operation not permitted
Hi, I'm running the latest libvirt 0.9.9. I'm trying to start a VIF of type "Ethernet". I know there are problems with that because you need to be root in order to control the tun/tap driver. I changed my qemu.conf file to user = "root" group = "root" clear_emulator_capabilities = 0 However, I still get an error when trying to start my VM: [root]# virsh
2017 May 26
3
What/why this event happens: Can't write to Linux tun/tap device (tun mode) /dev/net/tun: Input/output error
Hi, All Due to some routing rotation purpose, I use crontab to add below info: 0 * * * * echo Subnet = 54.169.128.0/17 >> /etc/tinc/myvpn/hosts/aws_sgp 0 * * * * echo Subnet = 54.169.0.0/17 >> /etc/tinc/myvpn/hosts/aws_sgp 1 * * * * /usr/sbin/tincd -n myvpn -k 1 * * * * /usr/sbin/tincd -n myvpn --debug=3 30 * * * * sed -i '/54.169.128.0\/17/d' /etc/tinc/myvpn/hosts/aws_sgp
2001 Jun 28
4
Tinc1.0pre4 & kernel 2.4.5 & tun/tap
Hi ! I want to setup tinc 1.0 pre4 with kernel 2.4.5 I didn't find information about settings of tun/tap device I did in kernel - [*] Prompt for development and/or incomplete code/drivers Network device support <M> Universal TUN/TAP device driver support in /etc/modules.conf - alias char-major-10-200 tun mknod -m 600 /dev/tun c 10 200 chown 0.0 /dev/tun In mailing list archive I
2017 May 26
1
What/why this event happens: Can't write to Linux tun/tap device (tun mode) /dev/net/tun: Input/output error
Hi, Guus Thanks a lot for your suggestion, actually I did something else as below. But one question here is if I don’t add "/sbin/ifconfig myvpn 10.0.0.1 netmask 255.255.255.0”, it seems the crontab wouldn’t trigger tinc-up, and then the ip addr of myvpn wouldn’t be configured, then it will prompt the error of "Can't write to Linux tun/tap device (tun mode) /dev/net/tun:
2020 Nov 12
2
Examples request - tinc witn tun/utun mode=router
Hi Folks, Does anyone have a set of config files handy, using tinc in routed/tun mode (preferably DeviceType=utun) I'm particularly interested to see what the tinc-up and tinc-down files should look like when the vpn is not using tap mode. I have this, from my tap (switch mode tinc) , but it doesn't work for tun devices.    ifconfig $INTERFACE inet 10.10.101.2/24 up If I run my
2016 Jan 23
1
Persistent tun/tap
It is possible for tinc to made a persistent tun/tap or can I configure a persistent tun/tap by hand and tell to tinc to use that virtual interface device without starting up/shutting down tun/tap at every tincd start/stop ? Roberto -------------- parte successiva -------------- Un allegato HTML ? stato rimosso... URL:
2016 Jan 25
1
Persistent tun/tap
So we can configure a persistent tun and tinc on startup recognize this, tinc uses just present tun without problems ? Can you point me to Tinc-RedHat best practice method to do that please ? Thank you in advance Best Regards Roberto -----Original Message----- From: tinc [mailto:tinc-bounces at tinc-vpn.org] On Behalf Of Guus Sliepen Sent: domenica 24 gennaio 2016 09.53 To: tinc at
2002 Nov 06
1
File descriptor in bad state...again ;-(
Hi folks, I'm trying to set up a small vpn between a few Sun Ultra1 machines (UltraSparc). Distribution is Debian Woody (stable). The problem: Sunclient: ~~~~~~~~~~ tinc-1.0pre7 original binary package from Woody, machine is running on original distribution kernel (2.4.18). # ls -l /dev/net/tun crw-r--r-- 1 root root 10, 200 Nov 6 22:09 /dev/net/tun # lsmod Module
2002 Nov 21
2
TINC (vpn daemon) has stopped working after compiling kernel
Hi folks, after recompiling of kernel (need quota support), tinc daemon has stopped working. Messages from log file are: ... Nov 21 14:45:02 m61 tinc.sunnet[326]: tincd 1.0pre7 starting Nov 21 14:45:02 m61 tinc.sunnet[326]: /dev/net/tun is a Linux ethertap device Nov 21 14:45:02 m61 tinc.sunnet[326]: Process 327 (tinc-up) exited with non-zero status 255 Nov 21 14:45:02 m61 tinc.sunnet[326]:
2013 Jul 08
4
Re: Permission problem with /dev/net/tun
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Daniel, On 07/08/2013 11:41 AM, Daniel P. Berrange wrote: >> the symptom my libvirt LXC container suffers from is: >> root@depot:/dev/net# ls -la total 0 drwxr-xr-x 2 root root 40 >> Jun 29 16:26 . drwxr-xr-x 5 root root 480 Jun 29 16:26 .. >> root@depot:/dev/net# mknod tun c 10 200 mknod: `tun': Operation >>
2005 Feb 04
1
FC3 and tun error
I am using Fedora Core 3 distribution with tinc-1.0.3-1.1.fc3.rf. These are the contents of my configuration files: /etc/tinc/saaotun/tinc.conf: Name = suth DEvice = /dev/net/tun /etc/tinc/saaotun: /sbin/ifconfig eth0 192.168.1.1 netmask 255.0.0.0 /etc/tinc/saaotun/hosts/suth: -----BEGIN RSA PUBLIC KEY----- MIGJAoGBAMNiy1zXS6k3s+ocIdFWKU6MbpW3rQXGp7yIL+baY7GMxhOmsgZdyc1B
2013 Jul 06
2
Permission problem with /dev/net/tun
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi lxc folks, the symptom my libvirt LXC container suffers from is: root@depot:/dev/net# ls -la total 0 drwxr-xr-x 2 root root 40 Jun 29 16:26 . drwxr-xr-x 5 root root 480 Jun 29 16:26 .. root@depot:/dev/net# mknod tun c 10 200 mknod: `tun': Operation not permitted The host is an up-to-date AMD64 Ubuntu raring on 3.8.0-25-generic that was
2018 Apr 15
3
tinc starts too early on boot
I have a bunch of Debian stretch machines with systemd where I find that tinc starts too early during boot, and fails to work. Typically it is running, but printing out Apr 14 00:53:41 db7 tinc[3077]: Can't write to Linux tun/tap device (tun mode) /dev/net/tun: Input/output error regularly. Unfortunately because it is running systemd does not restart it, even though it's not actually
2006 May 05
1
Problem running Tinc
I configured tinc on my little server, but i get this when i try to run it: root@blacky:~# tincd -n venere -d5 -D tincd 1.0.4 (Apr 30 2006 22:53:06) starting, debug level 5 /dev/net/tun is a Linux tun/tap device (tun mode) Executing script tinc-up Listening on :: port 655 Can't bind to 0.0.0.0 port 655/tcp: Address already in use Ready I don't understand what's wrong.. I hope
2014 Dec 10
2
A tun/tap driver for an i386 OS X
Hello everyone! I have a PowerMac running 10.6.8 and I'd love to get it connected to my VPN. However, even by compiling tuntaposx by hand on the said MacPro, I see that the kernel module is apparently built for x86_64 systems: macintosh MacOS ?? pwd /Library/Extensions/tun.kext/Contents/MacOS macintosh MacOS ?? file tun tun: Mach-O 64-bit kext bundle x86_64 Because YES! The system is
2018 Jan 29
2
How to use /dev/net/tun from libvirt-lxc with user namespacing enabled
I have a container rootfs that I use to keep all work-related stuff. This container was originally created by lxd (which creates all containers for use with user namespacing), but now I decided to start using libvirt for container management since I already use it for virtual machines, which will spare me from dealing with multiple hypervisor technologies. I managed to create a working domain xml
2016 Jan 19
2
tinc running openwrt (mikrotik metarouter mips)
Hi Marek I managed to setup everything in openwrt. However I am getting errors when trying to run tinc daemon. Below is my debug output. Please help.. How do I fix tunnel interface error? root at OpenWrt:/etc/tinc/vpn# tincd -n vpn -D -d3 tincd 1.0.21 (Mar 9 2014 18:26:59) starting, debug level 3 /dev/net/tun is a Linux ethertap device Executing script tinc-up ifconfig: SIOCGIFFLAGS: No