From owner-freebsd-current Sun May 26 08:50:55 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA01799 for current-outgoing; Sun, 26 May 1996 08:50:55 -0700 (PDT) Received: from terra.stack.urc.tue.nl (terra.stack.urc.tue.nl [131.155.140.128]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id IAA01793 for ; Sun, 26 May 1996 08:50:51 -0700 (PDT) Received: from xaa.stack.urc.tue.nl (uucp@localhost) by terra.stack.urc.tue.nl (8.7.5) with UUCP id RAA20495 for freebsd-current@freebsd.org; Sun, 26 May 1996 17:50:48 +0200 (MET DST) Received: (from xaa@localhost) by xaa.stack.urc.tue.nl (8.7.5/8.6.12) id RAA01598 for freebsd-current@freebsd.org; Sun, 26 May 1996 17:50:30 +0200 (MET DST) From: Mark Huizer Message-Id: <199605261550.RAA01598@xaa.stack.urc.tue.nl> Subject: ppp not detecting more than 1 tun device To: freebsd-current@freebsd.org Date: Sun, 26 May 1996 17:50:30 +0200 (MET DST) Reply-To: xaa@stack.urc.tue.nl X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hmm... I mailed this using send-pr, but have never seen it appear in buglists :-( anyway, I have a machine with two tunneldevices, but unfortunately recently it stopped working: the first device tun0 is used correctly with /usr/bin/ppp. When a second person attempts a ppp-connection, ppp return with an error saying there is no more configured device. I had a look at the code, and found that "open" returns an ENXIO when it tries to open the tun0 device, instead of giving some other error. Thus: ppp then thinks there is no tun0 and stops looking for further devices. Greetings, Mark Huizer ------------------------------------------------------------------------- - Mark Huizer - xaa@stack.urc.tue.nl - huizer@circlesoft.nl - ------------------------------------------------------------------------- - A "No" uttered from deepest conviction is better and greater than a - - "Yes" merely uttered to please, or what is worse, to avoid trouble. - - -- Mahatma Ghandi - -------------------------------------------------------------------------