Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 May 1996 17:50:30 +0200 (MET DST)
From:      Mark Huizer <xaa@xaa.stack.urc.tue.nl>
To:        freebsd-current@freebsd.org
Subject:   ppp not detecting more than 1 tun device
Message-ID:  <199605261550.RAA01598@xaa.stack.urc.tue.nl>

next in thread | raw e-mail | index | archive | help
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					-
-------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605261550.RAA01598>