Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 1996 13:41:19 -0500 (EST)
From:      John Brann <jbrann@brann.org>
To:        vam@recruiter.on.ca (Vic Metcalfe)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Create tun1 device for ppp?
Message-ID:  <199611191841.NAA03427@freebie.brann.org>
In-Reply-To: <Pine.BSF.3.91.961119092846.16090A-100000@recruiter.on.ca> from Vic Metcalfe at "Nov 19, 96 09:39:09 am"

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



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