help needed for freebsd

Folkert van Heusden folkert at vanheusden.com
Mon Apr 6 16:10:32 CEST 2009


If I configure it like this

# Device=/dev/net/tun0
DeviceType=tunifhead

it won't work either:

Apr  6 16:08:51 aegir tinc.fvh[47507]: tincd 1.0.9 (Apr  6 2009 14:15:52) starting, debug level 0
Apr  6 16:08:51 aegir tinc.fvh[47507]: Could not open /dev/tun0: Device busy
Apr  6 16:08:51 aegir tinc.fvh[47507]: Terminating
Apr  6 16:08:51 aegir tinc.fvh[47507]: Got fatal signal 11 (Segmentation fault: 11)
Apr  6 16:08:51 aegir tinc.fvh[47507]: Trying to re-execute in 5 seconds...
Apr  6 16:08:56 aegir tinc.fvh[47514]: tincd 1.0.9 (Apr  6 2009 14:15:52) starting, debug level 0
Apr  6 16:08:56 aegir tinc.fvh[47514]: Could not open /dev/tun0: Device busy
Apr  6 16:08:56 aegir tinc.fvh[47514]: Terminating
Apr  6 16:08:56 aegir kernel: pid 47514 (tincd), uid 0: exited on signal 11 (core dumped)


On Mon, Apr 06, 2009 at 03:37:12PM +0200, Folkert van Heusden wrote:
> Hi,
> 
> I'm trying to run tinc 1.0.9 on freebsd 7.1-RELEASE-p4.
> I tried:
> Device=/dev/net/tun0
> DeviceType=tun
> I tried it without the device-line, i tried the other
> devicetype-options, none of them work. With all of them I get the
> following error:
> 
> 30311: open("/dev/net/tun0",O_RDWR|O_NONBLOCK,05024360414) = 3 (0x3)
> 30311: ioctl(3,TUNSIFHEAD,0xbfbfec58)		 ERR#45 'Operation not supported'
>                ^^^^^^^^^^
> which is odd as for this run I had configured:
> Device=/dev/net/tun0
> DeviceType=tun
> 
> 
> Folkert van Heusden
> 
> -- 
> ----------------------------------------------------------------------
> Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com


Folkert van Heusden

-- 
Multitail est un outil permettant la visualisation de fichiers de
journalisation et/ou le suivi de l'exécution de commandes. Filtrage,
mise en couleur de mot-clé, fusions, visualisation de différences
(diff-view), etc.  http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com


More information about the tinc mailing list