From owner-freebsd-newbies Sun Sep 3 20:21:47 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from stud.alakhawayn.ma (stud.alakhawayn.ma [193.194.63.94]) by hub.freebsd.org (Postfix) with ESMTP id 6D1AC37B422 for ; Sun, 3 Sep 2000 20:21:42 -0700 (PDT) Received: from localhost (961BE653994@localhost) by stud.alakhawayn.ma (8.9.0/8.9.0) with SMTP id DAA07952; Mon, 4 Sep 2000 03:17:12 GMT Date: Mon, 4 Sep 2000 03:17:11 +0000 (GMT) From: Ali Alaoui El Hassani <961BE653994@stud.alakhawayn.ma> To: Junichi Saito Cc: freebsd-newbies@FreeBSD.ORG Subject: Re: your mail In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I found the solution to your probelm. well first : - Go to the file GENERIC (if you can't find it do: $ find . -name GENERIC - once you find it : change the number of tun from 1 to 3 - and recompile the kernel (if you do not know how to recompile the kernel I will tell you if you want) Good luck. Ali ALaoui El Hassani. On Sun, 3 Sep 2000, Junichi Saito wrote: > > [the subject was : no tunnel device available, I forgot to put it] > > On Sun, 3 Sep 2000, Ali Alaoui El Hassani wrote: > > > > >i did the same command ls -l /dev/tun* > >and I just found tun1 > >how do you get tun2 > >and tun3 > > > > There are four by default here. According to the handbook, to create some, > you do: > cd /dev > ./MAKEDEV tunx (x=0,1,2, etc.) > > j. > > > > >On Sun, 3 Sep 2000 j.saito@wanadoo.fr wrote: > > > >> > >> For some reason, there is no tunnel device available on my system > >> (FreeBSD 4.0-RELEASE). I compiled the kernel with the support for it, > >> but when I run 'ifconfig -a' (as root), I only get this: > >> > >> ppp0: flags=8010 mtu 1500 > >> lo0: flags=8049 mtu 16384 > >> inet 127.0.0.1 netmask 0xff000000 > >> > >> The divices files exist. > >> > >> ls -l /dev/tun* > >> crw------- 1 uucp dialer 52, 0 Aug 27 15:47 /dev/tun0 > >> crw------- 1 uucp dialer 52, 1 Aug 27 15:47 /dev/tun1 > >> crw------- 1 uucp dialer 52, 2 Aug 27 15:47 /dev/tun2 > >> crw------- 1 uucp dialer 52, 3 Aug 27 15:47 /dev/tun3 > >> > >> > >> The same is true with the GENERIC kernel. > >> > >> What can be the reason ? Are there some other options to enable other > >> than 'pseudo-device tun' ? > >> > >> tia. > >> > >> j. > >> > >> > >> > >> > >> > >> To Unsubscribe: send mail to majordomo@FreeBSD.org > >> with "unsubscribe freebsd-newbies" in the body of the message > >> > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message