similar to: What/why this event happens: Can't write to Linux tun/tap device (tun mode) /dev/net/tun: Input/output error

Displaying 20 results from an estimated 10000 matches similar to: "What/why this event happens: Can't write to Linux tun/tap device (tun mode) /dev/net/tun: Input/output error"

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:
2017 May 26
0
What/why this event happens: Can't write to Linux tun/tap device (tun mode) /dev/net/tun: Input/output error
On Fri, May 26, 2017 at 09:30:44AM +0800, Bright Zhao wrote: > 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
2019 May 06
4
config help & pid file not existing issue
Tinc team: I'm creating a vpn for my work laptop and vps and got trapped, here are my config files: on laptop: *tinc.conf Name = envy13 Device = /dev/net/tun ConnectTo = main *hosts/main Address = <my vps ext ip address> Port = 655 Subnet = 10.0.0.1/32 *hosts/envy13 Port = 655 Subnet = 10.0.0.2/32 *tinc-up #!/bin/sh ip link set myvpn up ip addr add 10.0.0.2/32 dev myvpn ip route add
2017 May 06
2
Show the subnets learnt and update configuration without reset?
1. Is there any tools/command, we can show the subnet where a certain tinc nodes learnt? So that I can know the weight for certain subnet(in real time), instead of go back to the node’s (who advertise the subnet) configuration file to check. 2. So far in order to change the weight of a subnet, or something else, I have to reset the tinc daemon( tincd -k -n myvpn and then tincd -n myvpn) in
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
2016 Jan 26
1
Persistent tun/tap
On 26/01/16 09:13, Guus Sliepen wrote: > On Tue, Jan 26, 2016 at 07:25:55AM +0000, mlist wrote: I will not > add this feature to tinc. You can easily do this yourself by adding > these environment variables to a separate file, and sourcing it in > the scripts that tinc calls. For example: Does tinc clear the environment before calling the scripts? Or can you just define the
2017 Jun 21
2
How to diagnostic UDP discovery failed situation
Hi, experts for example, the below case: You can see a lot of back and forth MTU probe packets been exchanged between tinc nodes, but it’s weird that, from the debug log, one line shows "No response to MTU probes from node1”, but it indeed received a lot of MTU probe response, and finally it get the conclusion of "Packet for node1 (1.1.1.1 port 443) larger than minimum MTU”.
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:
2017 Jun 01
1
Cache of the the unreachable nodes cause un-optimized route?
Hi, All Here is the case: A, B, C, D all configured with "IndirectData = yes”, so connection only happens when there’s a “ConnectTo” in tinc.conf. Arrow indicate the “ConnectTo” direction Everything works fine earlier as below: 1. A connect to C, D connect to C 2. C is the transit node where only forward traffic between A and C 3. D advertise 0.0.0.0/0#2 4. A can access internet from D
2016 Jan 26
2
Persistent tun/tap
It would be nice if in a next tinc release you'll add some service variables tinc propagates to its scripts. So for example you can define in tinc.conf env variables like: SERVICE1= ... SERVICEn= and tinc will propagates all SERVICEx Variables found in tinc.conf to all scripts it calls. One can use theoretically infinite Env Var for custom behavior (like custom debug messages, conditional
2017 May 18
1
How can I change the speed of tun interface?
Hi, experts I found the tun0 is 10Mb/s and I installed vnstat to monitor the tinc vpn traffic statistic, but due to 10Mb/s, the vnstat couldn’t update it’s database due to low speed rate, so anyway to change the tun from10Mb/s to higher? [root at box1 ~]# vnstat -u Info: Traffic rate for "myvpn" higher than set maximum 10 Mbit (248->341, r735 t38), syncing. [root at box1 ~]#
2013 Jan 13
4
tinc 1.1pre4 on Win7x64 --mlock prevents service from starting
c:\APPS\TINC\tincd.exe --mlock --net=mynet --config=C:\APPS\tinc\mynet Without --mlock, the service starts OK. With --mlock, the service fails to start.
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
2017 Sep 07
1
A FAQ: is it mandatory to include the local IP address classes in the global VPN address class?
Hello, Since the present tinc documentation is not very clear about this, please explain the following: is it mandatory to include the local IP address classes in the global VPN address class? Namely, please consider the following setup (which works great in practice): 1. A tinc VPN, full mesh, with n nodes (n > 3) 2. tinc runs on the firewall, which is also the default gateway for each
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
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
2017 May 01
4
How to set Subnet in a node which act as both server and client role?
Hi, Tinc experts Diagram as below, A is trying to access host X behind C: A >> B >> C — “host X" B is the tinc server for A, but also B is the tinc client to connect to C. My question is, if I only use one VPN (/etc/tinc/myvpn), then the host configuration for B will be tricky. As the tinc server to A, B’s host config (/etc/tinc/myvpn/hosts/B) needs have the Subnet = X/32,
2001 Jun 01
1
No subject
Hi Tinc Groups again, Now i can set syslog. But my problem still the same. When i check Tap0 configure. I know idea what's wrong that i set. I set up tap follow these. ifconfig tap0 hw ether fe:fd:00:00:00:00 ifconfig tap0 192.168.1.1 netmask 255.255.255.0 ifconfig tap0 -arp But i notice in my routing table have 2 myvpn. Like these, myvpn * 255.0.0.0
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
2006 Apr 21
1
Cannot open /dev/net/tun
Hi! On two quite different servers I have the problem that I get this error message: tincd 1.0.4 (Apr 21 2006 16:20:48) starting, debug level 3 Could not open /dev/net/tun: No such device Terminating The device is there: ~ # ls -l /dev/net/tun crw------- 1 root root 10, 200 Sep 9 2002 /dev/net/tun As I did not create it myself my best guess would have been that it comes with