From owner-freebsd-questions Tue Nov 19 10:41:45 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA23354 for questions-outgoing; Tue, 19 Nov 1996 10:41:45 -0800 (PST) Received: from freebie.brann.org ([207.122.63.57]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA23349 for ; Tue, 19 Nov 1996 10:41:43 -0800 (PST) Received: (from jbrann@localhost) by freebie.brann.org (8.7.6/8.7.3) id NAA03427; Tue, 19 Nov 1996 13:41:20 -0500 (EST) Message-Id: <199611191841.NAA03427@freebie.brann.org> Subject: Re: Create tun1 device for ppp? In-Reply-To: from Vic Metcalfe at "Nov 19, 96 09:39:09 am" To: vam@recruiter.on.ca (Vic Metcalfe) Date: Tue, 19 Nov 1996 13:41:19 -0500 (EST) Cc: freebsd-questions@freebsd.org From: John Brann Organisation: Not while I'm at home X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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. You'll need to rebuild the kernel (probably). Look for the line pseudo-device tun 1 #Tunnel driver(user process ppp) in your kernel config file. The number should be increased to the number of tunnels you want. > > Thanks in advance, > Vic. You're welcome, John> -- Well, that's like hypnotizing chickens. finger jbrann@brann.org for pgp public key