From owner-freebsd-questions Tue Nov 19 08:00:28 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA14034 for questions-outgoing; Tue, 19 Nov 1996 08:00:28 -0800 (PST) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id IAA14021 for ; Tue, 19 Nov 1996 08:00:23 -0800 (PST) Received: (from nadav@localhost) by gatekeeper.barcode.co.il (8.7.5/8.6.12) id RAA16387; Tue, 19 Nov 1996 17:59:39 +0200 (IST) Date: Tue, 19 Nov 1996 17:59:39 +0200 (IST) From: Nadav Eiron To: Vic Metcalfe cc: freebsd-questions@freebsd.org Subject: Re: Create tun1 device for ppp? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 19 Nov 1996, Vic Metcalfe wrote: > I have a system connected to the net through a dialup account, full > time, with a class C network. I have an extra modem and line on the > FreeBSD (2.1) system, and I would like to allow dial-up ppp into that > system. > > Since I am using tun0 for my internet connection, I get the message: > > No tunnel device is available. > open_tun: No such file or directory > > It looks like I have to create a tun1 device, but I have created the entry: > > crw------- 1 uucp dialer 52, 1 Nov 6 13:49 tun1 > > in the /dev directory, and it doesn't get used. I can't find anything in > the man page for ppp which would allow me to tell it which tun device to > use. > > I'm sure I've missed something obvious, but I would be gratefull if > someone could tell me what it is. > > Thanks in advance, > Vic. > Try rebuilding the kernel with the following line in the configuration: # ijppp uses tun instead of ppp device pseudo-device tun 2 (instead of the default of 1). Nadav