Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 1996 17:59:39 +0200 (IST)
From:      Nadav Eiron <nadav@barcode.co.il>
To:        Vic Metcalfe <vam@recruiter.on.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Create tun1 device for ppp?
Message-ID:  <Pine.BSF.3.91.961119175906.16382A-100000@gatekeeper.barcode.co.il>
In-Reply-To: <Pine.BSF.3.91.961119092846.16090A-100000@recruiter.on.ca>

next in thread | previous in thread | raw e-mail | index | archive | help


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.961119175906.16382A-100000>