From owner-freebsd-questions Sun Jun 24 12:35:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fang.cs.sunyit.edu (fang.cs.sunyit.edu [192.52.220.111]) by hub.freebsd.org (Postfix) with ESMTP id DAC4237B409 for ; Sun, 24 Jun 2001 12:35:45 -0700 (PDT) (envelope-from banksw@fang.cs.sunyit.edu) Received: from localhost (banksw@localhost) by fang.cs.sunyit.edu (8.9.3/8.9.3) with ESMTP id PAA37022 for ; Sun, 24 Jun 2001 15:35:45 -0400 (EDT) (envelope-from banksw@fang.cs.sunyit.edu) Date: Sun, 24 Jun 2001 15:35:45 -0400 (EDT) From: Wyatt Banks To: questions@freebsd.org Subject: using pseudo-device tun Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm currently following the handbook on how to dial into another machine using ppp and having some difficulty getting a tun device working. Here is the output from grep tun mykernel: pseudo-device tun 1 # Packet tunnel. pseudo-device gif 4 # IPv6 and IPv4 tunneling I then rebuilt this kernel, installed it and rebooted, but ifconfig -a gives me the following output which shows no tun devices: rl0: flags=8843 mtu 1500 inet 192.168.0.97 netmask 0xffffff00 broadcast 192.168.0.255 inet6 fe80::2e0:29ff:fe50:93ef%rl0 prefixlen 64 scopeid 0x1 ether 00:e0:29:50:93:ef media: autoselect (none) status: no carrier supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP 100baseTX lp0: flags=8810 mtu 1500sl0: flags=c010 mtu 552ppp0: flags=8010 mtu 1500lo0: flags=8049 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 gif0: flags=8010 mtu 1280 inet6 fe80::2e0:29ff:fe50:93ef%gif0 prefixlen 64 scopeid 0x6 gif1: flags=8010 mtu 1280 inet6 fe80::2e0:29ff:fe50:93ef%gif1 prefixlen 64 scopeid 0x7 gif2: flags=8010 mtu 1280 inet6 fe80::2e0:29ff:fe50:93ef%gif2 prefixlen 64 scopeid 0x8 gif3: flags=8010 mtu 1280 inet6 fe80::2e0:29ff:fe50:93ef%gif3 prefixlen 64 scopeid 0x9 stf0: flags=8000 mtu 1280 inet6 fe80::2e0:29ff:fe50:93ef%stf0 prefixlen 64 scopeid 0xa faith0: flags=8000 mtu 1500 Did I do something wrong in my kernel? Am I supposed to use a gif instead of a tun somehow? thank you banksw@sunyit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message