From owner-freebsd-newbies Mon Sep 4 0:30: 5 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from alisier.wanadoo.fr (smtp-rt-9.wanadoo.fr [193.252.19.55]) by hub.freebsd.org (Postfix) with ESMTP id 53E9C37B423 for ; Mon, 4 Sep 2000 00:29:59 -0700 (PDT) Received: from andira.wanadoo.fr (193.252.19.152) by alisier.wanadoo.fr; 4 Sep 2000 09:20:12 +0200 Received: from Mix-Toulouse-203-193.abo.wanadoo.fr (193.250.3.193) by andira.wanadoo.fr; 4 Sep 2000 09:20:04 +0200 Date: Mon, 4 Sep 2000 09:29:43 +0200 (CEST) From: Junichi Saito To: Jaroshenko Serge 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 > >All correct! > >Do ifconfig -a: > >de0: flags=8843 mtu 1500 > inet XXX.XXX.XXX.XXX netmask 0xffffff00 broadcast 192.168.5.255 > ether 00:80:48:da:1f:56 > media: 10base2/BNC status: active > supported media: autoselect 10base5/AUI 10base2/BNC 10baseT/UTP >plex> 10baseT/UTP >lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xffffff00 > > >Just run command (for example): >^^^^^^^^^^^^^^^^ >ppp -auto MY_ISP >^^^^^^^^^^^^^^^^ >and ifconfig -a (for me): > >de0: flags=8843 mtu 1500 > inet XXX.XXX.XXX.XXX netmask 0xffffff00 broadcast 192.168.5.255 > ether 00:80:48:da:1f:56 > media: 10base2/BNC status: active > supported media: autoselect 10base5/AUI 10base2/BNC 10baseT/UTP >plex> 10baseT/UTP >lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xffffff00 >tun0: flags=8051 mtu 1500 > inet XXX.XXX.XXX.XXX --> XXX.XXX.XXX.XXX netmask 0xffffffff > Opened by PID 205 > >Interface tun0, for me, compile as module (no "pseudo-device tun" >in kernel config file and no other options). When I run connection to >my ISP, kernel auto load if_tun.ko and configure interface tun0 >(with ppp.conf, ppp.* in /etc/ppp directory). > >Good luck! >(Sory for bad english!) > >Serge. In my case, ppp as well as tun are compiled in the kernel. When the command 'ifconfig -a' is run, they should show up: so dose indeed ppp0 but not tun0. >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