Displaying 20 results from an estimated 66 matches for "ethertap".
2001 May 08
4
tap1 problem
Hi Tinc Mailing-Group,
Having set up the kernel correctly, and got tinc running successfully,
I am now trying to get two VPNs running at once. Hence I need to
have two ethertap devices ( /dev/tap0 and /dev/tap1 ).
The first tap0 device was created thus:
mknod -m 600 /dev/tap0 c 36 16
chown 0.0 /dev/tap0
The second tap1 device was created too:
mknod -m 600 /dev/tap1 c 36 17
chown 0.0 /dev/tap1
I am running a Linux 2.2.18 kernel, and the following lines have been
added...
2001 Nov 08
1
ethertap dropping packets?
...--------
17:59:45.212188 > 10.11.15.11 > 10.11.1.1: icmp: echo request (DF)
17:59:45.213943 < 10.11.1.1 > 10.11.15.11: icmp: echo reply (DF)
17:59:46.207298 > 10.11.15.11 > 10.11.1.1: icmp: echo request (DF)
17:59:46.208155 < 10.11.1.1 > 10.11.15.11: icmp: echo reply (DF)
ethertap interface on pax: (tcpdump -i tap0 icmp)
---------------------------
00:07:14.750000 > 10.11.15.11 > 10.11.1.1: icmp: echo request (DF)
00:07:14.820000 P 10.11.1.1 > 10.11.15.11: icmp: echo reply (DF)
00:07:15.750000 > 10.11.15.11 > 10.11.1.1: icmp: echo request (DF)
00:07:15.840000...
2007 Jun 10
1
Setup problems, /dev/net/tun FD in bad state
...a_key.priv]:
Please enter a file to save public RSA key to [/etc/tinc/yang/hosts/zee]:
Appending key to existing contents.
Make sure only one key is stored in the file.
$ sudo tincd -d9 -D -n yang 2>&1 | head
tincd 1.0.4 (Oct 25 2005 12:55:06) starting, debug level 9
/dev/net/tun is a Linux ethertap device
Listening on 0.0.0.0 port 655
Creating metasocket failed: Address family not supported by protocol
Ready
Error while reading from Linux ethertap device /dev/net/tun: File
descriptor in bad state
Error while reading from Linux ethertap device /dev/net/tun: File
descriptor in bad state
Error w...
2016 Jan 19
2
tinc running openwrt (mikrotik metarouter mips)
...p 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 such device
ifconfig: SIOCSIFADDR: No such device
Script tinc-up exited with non-zero status 1
Creating metasocket failed: Address family not supported by protocol
Listening on 0.0.0.0 port 655
Ready
Trying to connect to vpn_gw2 (x....
2011 Jul 08
1
Rsyslog and "Error while reading from Linux ethertap device /dev/net/tun: File descriptor in bad state"
Hi,
I recently had a machine filling up its harddisk with syslog and tinc
pilling up milions of messages like this:
"Error while reading from Linux ethertap device /dev/net/tun: File
descriptor in bad state"
I remembered that there was a difference between rsyslog and other
loggers, where one of those was skipping those messages, and simply
was displaying:
"this message has been repeated x times"
Any idea which logger it was?
Best,...
2016 Jan 18
3
tinc running openwrt (mikrotik metarouter mips)
Hi Mark
Im trying to run this as a metarouter instance in mikrotik. Which build
should I use that has tinc pre-built?
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
This
email has been sent from a virus-free computer protected by Avast.
www.avast.com
2001 Aug 27
2
ethertap device: File descriptor in bad state
...nc-up) exited with non-zero
status 255
Aug 27 17:26:49 q tinc.vpn[971]: Ready: listening on port 30001
Aug 27 17:26:49 q tinc.vpn[971]: Trying to connect to 55.55.55.55
Aug 27 17:26:49 q tinc.vpn[971]: Connected to 55.55.55.55 port 30001
Aug 27 17:26:49 q tinc.vpn[971]: Error while reading from ethertap device:
File descriptor in bad state
Aug 27 17:26:50 q last message repeated 19806 times
If I start tinc with the no detach option: tincd -n vpn -D -dddddddddd
I get this:
SIOCSIFHWADDR: No such device
SIOCSIFADDR: No such device
vpn: unknown interface: No such device
SIOCSIFNETMASK: No suc...
2002 Jan 28
3
Problem withs hosts/ -files & Ethertap with 2.4.x
...ress is correct)
I got this on both hosts, but I deleted the line on the listening host so
the problem is only left on the host that should connect ;-)
Anyone that knows what this could be? (Kernel=2.4.16, tincd=1.0pre4)
A other small question I have is; is it possible to use the "old" Ethertap
instead of the universal TUN/TAP by just compile it into the kernel and
create the /dev-files? I can't recompile tincd and I get the "File
descriptor in bad state"-error when trying to use the universal TUN/TAP.
Thanks!
Best regards, Lars Fredriksson
-----
Lars Fredriksson (mailto:...
2007 Apr 18
1
[Bridge] Bridging with ethertap causing kernel oops
On Sun, 17 Aug 2003 03:51:57 -0600
Sean Reifschneider <jafo@tummy.com> wrote:
> Greetings. I've been experimenting with bridging an ethernet device
> with an ethertap device (using the Linux tun/tap driver). This is
> running with the bridge code in the Linux kernel version 2.4.20 as
> provided by Red Hat (2.4.20-18.9). I also seem to have seen the problem
> with 2.4.21 from the Red Hat beta kernel. I'm going to try a generic
> kernel as soon...
2001 May 25
4
tinc 1.0pre4 released
Hello everybody,
I have just released tinc 1.0pre4. Changes:
- New authentication protocol (better security, and faster too).
- TCPonly and IndirectData are back (but not fully tested).
- Documentation revised, it's really up to date with the released package now.
- tincd -K now stores public/private keys in PEM format, but keys of 1.0pre3
can still be used.
- Faster and more secure
2000 Aug 21
0
Rewritten script /etc/init.d/tinc
...function vpn_start () {
MSG=""; ERR=""
vpn_load $1 || return 1
# create device file
if [ ! -c $DEV ]; then
[ -e $DEV ] && rm -f $DEV
mknod --mode=0600 $DEV c 36 $((16 + NUM))
fi
# load device module
if [ -n "$(grep ethertap /lib/modules/$KERNELVER/modules.dep)" ]; then
ERR="$(insmod ethertap -o ethertap$NUM unit=$NUM &> /dev/null )" || \
{ MSG="could not insmod ethertap as unit $NUM!"; return 2; }
fi
# configure the interface
ERR="$(ifconfig $TAP hw ether...
2002 Aug 23
1
problem with tun/tap device
Hello!
I've a problem with tinc-up on Debian Woody (tinc 1.0pre7):
router:/etc/tinc/vpn# /etc/init.d/tinc start
Starting tinc daemons: vpn.
router:/etc/tinc/vpn# tail /var/log/syslog
Aug 23 03:25:26 router tinc.vpn[503]: /dev/tap0 is a Linux ethertap device
Aug 23 03:25:26 router modprobe: modprobe: Can't locate module tap0
Aug 23 03:25:27 router last message repeated 4 times
Aug 23 03:25:27 router tinc.vpn[503]: Process 504 (tinc-up) exited with
non-zero status 255
Aug 23 03:25:27 router tinc.vpn[503]: Ready
router:/etc/tinc/vpn# cat tin...
2001 Feb 25
1
Tinc config problem
I fairly new to Linux, and I'm trying to set up Tinc on my Linux box. However I got stuck at the following point in the documentation:
"....
The actual setup of the ethertap device is quite simple, just repeat after me:
ifconfig tap_n_ hw ether fe:fd:00:00:00:00
...
".
Now, this is obviously not what I have to type to the command prompt, although, I'm not ashamed to say, that I tried this, too. These are the commands that I also tried:
ifconfig...
2002 Nov 06
1
File descriptor in bad state...again ;-(
...ude/linux/if_tun.h,
because I'm not running distribution kernel here, but it is also 2.4.18,
compiled from Debian kernel sources
# lsmod
Module Size Used by Not tainted
tun 3920 0 (autoclean)
Log snippet:
tinc.sunnet[15288]: /dev/net/tun is a Linux ethertap device
^^^^^^^^
||||||||
Why it logs, that tinc is using ethertap device?!?!?
It should be also tun/tap, or not??
Of course, it doesn't work, and logs the message as I wrote in subject.
I'm not sure,...
2004 Jan 12
1
tinc and ipcop
...on the
> firewall? the server has the module tun installed, the firewall hasn't -
> and i would not like to work on the firewalls kernel.
It's your network, you can choose whereever you want to run tinc. As
long as you make sure everything is routed correctly. If the firewall
has the ethertap module, tinc can use that as well.
--
Met vriendelijke groet / with kind regards,
Guus Sliepen <guus@sliepen.eu.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature...
2000 Jun 16
1
RedHat initialization script and bash2
..."; return 1 }
+ { MSG="multiple VPNMask entries not allowed!"; return 1; }
# device & IP address extraction
@@ -208,21 +208,21 @@
# load device module
ERR="$(insmod ethertap -o "ethertap$NUM" unit="$NUM" 2>&1 1> /dev/null)" ||
- { MSG="could not insmod ethertap as unit $NUM!"; return 2 }
+ { MSG="could not insmod ethertap as unit $NUM!"; return 2; }
# configure the interface
ERR="...
2002 Jul 07
2
Metadata socket and net2str() error
...p
/etc/tinc/iwan/hosts/Client: (on both machines)
-----BEGIN RSA PUBLIC KEY-----
...
-----END RSA PUBLIC KEY-----
Address = 192.168.0.9
Subnet = 10.0.0.0/16
General
-------
For both machines I have added the following to /etc/modules:
netlink_dev
ethertap
and the following to /etc/modules.conf:
alias char-major-36 netlink_dev
alias tap0 ethertap
options tap0 -o tap0 unit=0
alias tap1 ethertap
options tap1 -o tap1 unit=1
(No details, except for the public keys and my external IP, have been
*intentionally* ;) left out.)
Problem
-...
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]: Ready
Nov 21 14:45:02 m61 tinc.sunnet[326]: Error while reading from Linux
ethertap device /dev/net/tun: File descriptor in bad state
Nov 21 14:45:07 m61 last...
2002 Feb 25
1
problem with tinc pre5
....9.223
-----BEGIN RSA PUBLIC KEY-----
...
HostB:
----------------------------------------
/usr/local/etc/tinc/test4/tinc.conf
Name = HostA
TapDevice = /dev/tap0
PrivateKeyFile = /usr/local/etc/tinc/test4/rsa_key.priv
/usr/local/etc/tinc/test4/hosts/HostA and .../HostB are the same
[HostB]#insmod ethertap0 -o "ethertap0" unit="0"
[HostB]#ifconfig tap0 hw ether fe:fd:00:00:00:00
[HostB]#ifconfig tap0 10.100.9.223 netmask 255.255.255.0 broadcast
10.100.9.255
[HostB]#ifconfig tap0 -arp
[HostB]#tincd -n test4 -ddddd
[HostB]#tail -f /var/log/messages | grep tinc
HostB tinc.test4...
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