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 Size Used by Not tainted
tun 4560 3
Note: Everything works perfectly here.
Log snippet:
tinc.sunnet[3634]: /dev/net/tun is a Linux tun/tap device
Sunsite:
~~~~~~~~
tinc-1.0pre8 self compiled with /usr/src/linux/include/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, why tun modules has different size on both machines...
What am I doing wrong?
Many thanks...
mARTin
Tinc: Discussion list about the tinc VPN daemon
Archive: http://mail.nl.linux.org/lists/
Tinc site: http://tinc.nl.linux.org/
On Wed, Nov 06, 2002 at 11:00:00PM +0100, Martin Rusko wrote:> The problem: > Sunclient: > ~~~~~~~~~~ > tinc-1.0pre7 original binary package from Woody, machine is running on[...]> Sunsite: > ~~~~~~~~ > tinc-1.0pre8 self compiled with /usr/src/linux/include/linux/if_tun.h, > original distribution kernel (2.4.18).First of all, make sure you run the same version of tinc on all machines. 1.0pre8 is incompatible with older versions.> 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??Yes. Please verify that tinc really compiled with the kernel headers and that /dev/net/tun really is a tun/tap device (character device major 10 minor 200). If it still doesn't work you could try doing this: strace -s 128 -o /tmp/tinctrace tincd ... -d5 -D And mail us /tmp/tinctrace. -- 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: not available Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20021107/10ce05e4/attachment.pgp