Date: Sat, 22 Jul 2000 08:10:03 -0700 (PDT) From: Ben Smithurst <ben@FreeBSD.org> To: freebsd-doc@freebsd.org Subject: Re: docs/20107: Documention of setup of user ppp does not apply to 4.0 as it did to 3.x Message-ID: <200007221510.IAA68008@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR docs/20107; it has been noted by GNATS.
From: Ben Smithurst <ben@FreeBSD.org>
To: george.russell@clara.net
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: docs/20107: Documention of setup of user ppp does not apply to 4.0 as it did to 3.x
Date: Sat, 22 Jul 2000 15:32:32 +0100
george.russell@clara.net wrote:
> The documentatin sstates that ifconfig -a will show if you have tun drivers
> compiled into the kernel for use by user ppp.
>
> It does not show in the output if they are there in 4.0, as the tun behaviour
> has changed.
>> How-To-Repeat:
>
>> Fix:
> Mention in 4.0 that it will not appear in the output, and it is included
> in the GENRRIC kernel anyway, so should work anyway.
Does something like this look ok?
--- chapter.sgml 2000/07/16 16:43:40 1.26
+++ chapter.sgml 2000/07/18 17:44:57
@@ -156,6 +156,15 @@
inet 203.10.100.1 --> 203.10.100.20 netmask 0xffffffff
tun3: flags=8010<POINTOPOINT,MULTICAST> mtu 1500</screen>
+ <note>
+ <para>In FreeBSD 4.0 and later releases, you will only see any
+ <devicename>tun</devicename> devices which have already been
+ used. This means you might not see <emphasis>any</emphasis>
+ <devicename>tun</devicename> devices. If this is the case, do
+ not worry; the device should be created dynamically when
+ <command>ppp</command> attempts to use it.</para>
+ </note>
+
<para>This case shows four tunnel devices, two of which are
currently configured and being used. It should be noted that
the <literal>RUNNING</literal> flag above indicates that the
@@ -209,6 +218,10 @@
<screen>&prompt.root; <userinput>ifconfig tun0</userinput>
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500</screen>
+
+ <para>Remember from earlier that you might not see the device if it
+ has not been used yet, as <devicename>tun</devicename> devices are
+ created on demand in FreeBSD 4.0 and later releases.</para>
</sect3>
<sect3>
--
Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D
FreeBSD Documentation Project /
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007221510.IAA68008>
