Date: Mon, 4 Sep 2000 03:17:11 +0000 (GMT) From: Ali Alaoui El Hassani <961BE653994@stud.alakhawayn.ma> To: Junichi Saito <j.saito@wanadoo.fr> Cc: freebsd-newbies@FreeBSD.ORG Subject: Re: your mail Message-ID: <Pine.SOL.3.96.1000904031310.7925D-100000@stud.alakhawayn.ma> In-Reply-To: <Pine.LNX.4.21.0009031018560.231-100000@kintaro>
next in thread | previous in thread | raw e-mail | index | archive | help
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<POINTOPOINT,MULTICAST> mtu 1500 > >> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.3.96.1000904031310.7925D-100000>