Now that we have stylesheets that generate links to man.cgi in the html
output, start removing the old hardcoded links. Reviewed by: alex Inspired by: German translation
This commit is contained in:
parent
e987a4430a
commit
cd2b871718
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=9378
2 changed files with 202 additions and 298 deletions
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
<corpauthor>The FreeBSD Documentation Project</corpauthor>
|
<corpauthor>The FreeBSD Documentation Project</corpauthor>
|
||||||
|
|
||||||
<pubdate>$FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.188 2001/05/01 17:56:53 nik Exp $</pubdate>
|
<pubdate>$FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.189 2001/05/04 05:11:18 dd Exp $</pubdate>
|
||||||
|
|
||||||
<copyright>
|
<copyright>
|
||||||
<year>1995</year>
|
<year>1995</year>
|
||||||
|
@ -2755,8 +2755,7 @@ Filesystem 1024-blocks Used Avail Capacity Mounted on
|
||||||
<para>Some unnamed clone cards have also been known to work,
|
<para>Some unnamed clone cards have also been known to work,
|
||||||
especially those that claim to be AST compatible.</para>
|
especially those that claim to be AST compatible.</para>
|
||||||
|
|
||||||
<para>Check the <ulink
|
<para>Check the &man.sio.4;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?sio(4)">sio</ulink>
|
|
||||||
man page to get more information on configuring such cards.</para>
|
man page to get more information on configuring such cards.</para>
|
||||||
</answer>
|
</answer>
|
||||||
</qandaentry>
|
</qandaentry>
|
||||||
|
@ -3012,9 +3011,8 @@ moused_flags=""</programlisting>
|
||||||
paste the text. Pressing the button 3 will
|
paste the text. Pressing the button 3 will
|
||||||
<quote>extend</quote> the selected region of text. If your
|
<quote>extend</quote> the selected region of text. If your
|
||||||
mouse does not have the middle button, you may wish to emulate
|
mouse does not have the middle button, you may wish to emulate
|
||||||
it or remap buttons using moused options. See the <ulink
|
it or remap buttons using moused options. See the
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?moused(8)">
|
&man.moused.8; man page for details.</para>
|
||||||
moused(8)</ulink> man page for details.</para>
|
|
||||||
</answer>
|
</answer>
|
||||||
</qandaentry>
|
</qandaentry>
|
||||||
|
|
||||||
|
@ -3215,13 +3213,13 @@ diff -u -r1.60.2.1 -r1.60.2.2
|
||||||
</question>
|
</question>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>FreeBSD 2.2 supports SCSI changers using the <ulink
|
<para>FreeBSD 2.2 supports SCSI changers using the
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?ch(4)">ch(4)</ulink>
|
&man.ch.4;
|
||||||
device and the <ulink
|
device and the
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?chio(1)">chio(1)</ulink>
|
&man.chio.1;
|
||||||
command. The details of how you actually control the changer
|
command. The details of how you actually control the changer
|
||||||
can be found in the <ulink
|
can be found in the
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?chio(4)">chio(1)</ulink>
|
&man.chio.1;
|
||||||
man page.</para>
|
man page.</para>
|
||||||
|
|
||||||
<para>If you're not using <ulink
|
<para>If you're not using <ulink
|
||||||
|
@ -3738,16 +3736,13 @@ quit</programlisting>
|
||||||
</question>
|
</question>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>You have to tell <ulink
|
<para>You have to tell &man.mount.8;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?mount(8)">mount</ulink>
|
|
||||||
the type of the device that you want to mount. By default,
|
the type of the device that you want to mount. By default,
|
||||||
<ulink
|
&man.mount.8;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?mount(8)">mount(8)</ulink>
|
|
||||||
will assume the filesystem is of type <literal>ufs</literal>.
|
will assume the filesystem is of type <literal>ufs</literal>.
|
||||||
You want to mount a CDROM filesystem, and you do this by
|
You want to mount a CDROM filesystem, and you do this by
|
||||||
specifying the <option>-t cd9660</option> option to <ulink
|
specifying the <option>-t cd9660</option> option to
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?mount(8)">
|
&man.mount.8;. This does, of course, assume that the
|
||||||
mount(8)</ulink>. This does, of course, assume that the
|
|
||||||
CDROM contains an ISO 9660 filesystem, which is what most CDROMs
|
CDROM contains an ISO 9660 filesystem, which is what most CDROMs
|
||||||
have. As of 1.1R, FreeBSD automatically understands the Rock
|
have. As of 1.1R, FreeBSD automatically understands the Rock
|
||||||
Ridge (long filename) extensions as well.</para>
|
Ridge (long filename) extensions as well.</para>
|
||||||
|
@ -3965,8 +3960,7 @@ quit</programlisting>
|
||||||
<para>This is a known problem with the ATI Mach 64 video card.
|
<para>This is a known problem with the ATI Mach 64 video card.
|
||||||
The problem is that this card uses address
|
The problem is that this card uses address
|
||||||
<literal>2e8</literal>, and the fourth serial port does too.
|
<literal>2e8</literal>, and the fourth serial port does too.
|
||||||
Due to a bug (feature?) in the <ulink
|
Due to a bug (feature?) in the &man.sio.4;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?sio(4)">sio(4)</ulink>
|
|
||||||
driver it will touch this port even if you don't have the
|
driver it will touch this port even if you don't have the
|
||||||
fourth serial port, and <emphasis remap=bf>even</emphasis> if
|
fourth serial port, and <emphasis remap=bf>even</emphasis> if
|
||||||
you disable sio3 (the fourth port) which normally uses this
|
you disable sio3 (the fourth port) which normally uses this
|
||||||
|
@ -5423,8 +5417,7 @@ device sio5 at isa? port 0x2b8 tty flags 0x501 vector siointr</programlisting>
|
||||||
comments to show what to put in there.</para>
|
comments to show what to put in there.</para>
|
||||||
|
|
||||||
<para>In post-2.2.1 and 3.0, <filename>/etc/sysconfig</filename>
|
<para>In post-2.2.1 and 3.0, <filename>/etc/sysconfig</filename>
|
||||||
was renamed to a more self-describing <ulink
|
was renamed to a more self-describing &man.rc.conf.5;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?rc.conf(5)">rc.conf</ulink>
|
|
||||||
file and the syntax cleaned up a bit in the process.
|
file and the syntax cleaned up a bit in the process.
|
||||||
<filename>/etc/netstart</filename> was also renamed to
|
<filename>/etc/netstart</filename> was also renamed to
|
||||||
<filename>/etc/rc.network</filename> so that all files could be
|
<filename>/etc/rc.network</filename> so that all files could be
|
||||||
|
@ -5466,14 +5459,11 @@ device sio5 at isa? port 0x2b8 tty flags 0x501 vector siointr</programlisting>
|
||||||
</question>
|
</question>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>Use the <ulink
|
<para>Use the &man.adduser.8;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?adduser">adduser</ulink>
|
command. For more complicated usage, the &man.pw.8;
|
||||||
command. For more complicated usage, the <ulink
|
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?pw">pw</ulink>
|
|
||||||
command.</para>
|
command.</para>
|
||||||
|
|
||||||
<para>To remove the user again, use the <ulink
|
<para>To remove the user again, use the &man.rmuser.8;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?rmuser">rmuser</ulink>
|
|
||||||
command. Once again, <command>pw</command> will work as
|
command. Once again, <command>pw</command> will work as
|
||||||
well.</para>
|
well.</para>
|
||||||
</answer>
|
</answer>
|
||||||
|
@ -5531,8 +5521,7 @@ device sio5 at isa? port 0x2b8 tty flags 0x501 vector siointr</programlisting>
|
||||||
file system on it. You'll get long filename support, at least a
|
file system on it. You'll get long filename support, at least a
|
||||||
2X improvement in performance, and a lot more stability. First,
|
2X improvement in performance, and a lot more stability. First,
|
||||||
you need to redo the DOS-level partitions/filesystems. You can
|
you need to redo the DOS-level partitions/filesystems. You can
|
||||||
either use <ulink
|
either use &man.fdisk.8; or
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?fdisk">fdisk</ulink> or
|
|
||||||
<filename>/stand/sysinstall</filename>, or for a small drive
|
<filename>/stand/sysinstall</filename>, or for a small drive
|
||||||
that you don't want to bother with multiple operating system
|
that you don't want to bother with multiple operating system
|
||||||
support on, just blow away the whole FAT partition table
|
support on, just blow away the whole FAT partition table
|
||||||
|
@ -5703,8 +5692,7 @@ device sio5 at isa? port 0x2b8 tty flags 0x501 vector siointr</programlisting>
|
||||||
|
|
||||||
<para><emphasis remap=bf> Linux</emphasis>: 2.2 and later have
|
<para><emphasis remap=bf> Linux</emphasis>: 2.2 and later have
|
||||||
support for <emphasis remap=bf>ext2fs</emphasis> partitions.
|
support for <emphasis remap=bf>ext2fs</emphasis> partitions.
|
||||||
See <ulink
|
See &man.mount.ext2fs.8;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?mount_ext2fs">mount_ext2fs</ulink>
|
|
||||||
for more information.</para>
|
for more information.</para>
|
||||||
|
|
||||||
<para><emphasis remap=bf> NT</emphasis>: A read-only NTFS driver
|
<para><emphasis remap=bf> NT</emphasis>: A read-only NTFS driver
|
||||||
|
@ -5847,8 +5835,8 @@ C:\="DOS"</programlisting>
|
||||||
|
|
||||||
<screen>Boot: <userinput>1:da(0,a)/kernel</userinput></screen>
|
<screen>Boot: <userinput>1:da(0,a)/kernel</userinput></screen>
|
||||||
|
|
||||||
<para>On FreeBSD 2.2.5 and later, you can configure <ulink
|
<para>On FreeBSD 2.2.5 and later, you can configure
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?boot(8)">boot(8)</ulink>
|
&man.boot.8;
|
||||||
to automatically do this for you at boot time.</para>
|
to automatically do this for you at boot time.</para>
|
||||||
|
|
||||||
<para>The <ulink
|
<para>The <ulink
|
||||||
|
@ -6122,13 +6110,11 @@ C:\="DOS"</programlisting>
|
||||||
|
|
||||||
<para>Both the <filename>/usr/share/syscons/keymaps</filename>
|
<para>Both the <filename>/usr/share/syscons/keymaps</filename>
|
||||||
and the <filename>.kbd</filename> extension are assumed by
|
and the <filename>.kbd</filename> extension are assumed by
|
||||||
<ulink
|
&man.kbdcontrol.1;.</para>
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?kbdcontrol">
|
|
||||||
kbdcontrol</ulink>.</para>
|
|
||||||
|
|
||||||
<para>This can be configured in <filename>/etc/sysconfig</filename>
|
<para>This can be configured in <filename>/etc/sysconfig</filename>
|
||||||
(or <ulink URL="http://www.FreeBSD.org/cgi/man.cgi?rc.conf(5)">
|
(or
|
||||||
rc.conf</ulink>). See the appropriate comments in this
|
&man.rc.conf.5;). See the appropriate comments in this
|
||||||
file.</para>
|
file.</para>
|
||||||
|
|
||||||
<para>In 2.0.5R and later, everything related to text fonts,
|
<para>In 2.0.5R and later, everything related to text fonts,
|
||||||
|
@ -6408,8 +6394,8 @@ options SYSVMSG # enable for messaging</programlisting>
|
||||||
|
|
||||||
<para>Tweaking <filename>/etc/sendmail.cf</filename> manually is
|
<para>Tweaking <filename>/etc/sendmail.cf</filename> manually is
|
||||||
considered something for purists. Sendmail version 8 comes with
|
considered something for purists. Sendmail version 8 comes with
|
||||||
a new approach of generating config files via some <ulink
|
a new approach of generating config files via some
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?m4">m4</ulink>
|
&man.m4.1;
|
||||||
preprocessing, where the actual hand-crafted configuration is
|
preprocessing, where the actual hand-crafted configuration is
|
||||||
on a higher abstraction level. You should use the configuration
|
on a higher abstraction level. You should use the configuration
|
||||||
files under
|
files under
|
||||||
|
@ -6728,8 +6714,8 @@ define(`confDELIVERY_MODE',`deferred')dnl</programlisting>
|
||||||
in-place, with the original file stored with a .bak
|
in-place, with the original file stored with a .bak
|
||||||
extension.</para>
|
extension.</para>
|
||||||
|
|
||||||
<para>Alternatively you can use the <ulink
|
<para>Alternatively you can use the
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?tr">tr</ulink>
|
&man.tr.1;
|
||||||
command:</para>
|
command:</para>
|
||||||
|
|
||||||
<screen>&prompt.user; <userinput>tr -d '\r' < <replaceable>dos-text-file</replaceable> > <replaceable>unix-file</replaceable></userinput></screen>
|
<screen>&prompt.user; <userinput>tr -d '\r' < <replaceable>dos-text-file</replaceable> > <replaceable>unix-file</replaceable></userinput></screen>
|
||||||
|
@ -6746,9 +6732,7 @@ define(`confDELIVERY_MODE',`deferred')dnl</programlisting>
|
||||||
<para>How do I kill processes by name?</para>
|
<para>How do I kill processes by name?</para>
|
||||||
</question><answer>
|
</question><answer>
|
||||||
|
|
||||||
<para>Use <ulink
|
<para>Use &man.killall.1;.</para>
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?killall">
|
|
||||||
killall</ulink>.</para>
|
|
||||||
</answer>
|
</answer>
|
||||||
</qandaentry>
|
</qandaentry>
|
||||||
|
|
||||||
|
@ -7909,8 +7893,7 @@ ttyvb "/usr/libexec/getty Pc" cons25 off secure</programlisting>
|
||||||
by default. On a multi-user system, one doesn't necessarily
|
by default. On a multi-user system, one doesn't necessarily
|
||||||
want just any user to be able to write on the system console.
|
want just any user to be able to write on the system console.
|
||||||
For users who are logging directly onto a machine with a VTY,
|
For users who are logging directly onto a machine with a VTY,
|
||||||
the <ulink
|
the &man.fbtab.5;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?fbtab">fbtab</ulink>
|
|
||||||
file exists to solve such problems.</para>
|
file exists to solve such problems.</para>
|
||||||
|
|
||||||
<para>In a nutshell, make sure an uncommented line of the
|
<para>In a nutshell, make sure an uncommented line of the
|
||||||
|
@ -8304,22 +8287,20 @@ Key F15 A A Menu Workplace Nop</programlisting>
|
||||||
<para>Internet standards and good engineering practice prohibit
|
<para>Internet standards and good engineering practice prohibit
|
||||||
us from providing packet forwarding by default in FreeBSD. You
|
us from providing packet forwarding by default in FreeBSD. You
|
||||||
can however enable this feature by changing the following
|
can however enable this feature by changing the following
|
||||||
variable to <literal>YES</literal> in <ulink
|
variable to <literal>YES</literal> in
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?rc.conf">
|
&man.rc.conf.5;:</para>
|
||||||
rc.conf</ulink>:</para>
|
|
||||||
|
|
||||||
<programlisting>gateway_enable=YES # Set to YES if this host will be a gateway</programlisting>
|
<programlisting>gateway_enable=YES # Set to YES if this host will be a gateway</programlisting>
|
||||||
|
|
||||||
<para>This option will put the <ulink
|
<para>This option will put the
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?sysctl">
|
&man.sysctl.8; variable
|
||||||
sysctl</ulink> variable
|
|
||||||
<filename>net.inet.ip.forwarding</filename>
|
<filename>net.inet.ip.forwarding</filename>
|
||||||
to <literal>1</literal>.</para>
|
to <literal>1</literal>.</para>
|
||||||
|
|
||||||
<para>In most cases, you will also need to run a routing process
|
<para>In most cases, you will also need to run a routing process
|
||||||
to tell other systems on your network about your router;
|
to tell other systems on your network about your router;
|
||||||
FreeBSD comes with the standard BSD routing daemon <ulink
|
FreeBSD comes with the standard BSD routing daemon
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?routed">routed</ulink>,
|
&man.routed.8;
|
||||||
or for more complex situations you may want to try
|
or for more complex situations you may want to try
|
||||||
<emphasis>GaTeD</emphasis> (available from <ulink
|
<emphasis>GaTeD</emphasis> (available from <ulink
|
||||||
URL="http://www.gated.org/"> http://www.gated.org/ </ulink>)
|
URL="http://www.gated.org/"> http://www.gated.org/ </ulink>)
|
||||||
|
@ -8412,14 +8393,13 @@ Key F15 A A Menu Workplace Nop</programlisting>
|
||||||
<para>If you have a local subnet (one or more local machines),
|
<para>If you have a local subnet (one or more local machines),
|
||||||
but have been allocated only a single IP number from your
|
but have been allocated only a single IP number from your
|
||||||
Internet provider (or even if you receive a dynamic IP number),
|
Internet provider (or even if you receive a dynamic IP number),
|
||||||
you may want to look at the <ulink
|
you may want to look at the &man.natd.8;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?natd">natd</ulink>
|
|
||||||
program. <command>natd</command> allows you to connect an
|
program. <command>natd</command> allows you to connect an
|
||||||
entire subnet to the internet using only a single IP
|
entire subnet to the internet using only a single IP
|
||||||
number.</para>
|
number.</para>
|
||||||
|
|
||||||
<para>The <ulink URL="http://www.FreeBSD.org/cgi/man.cgi?ppp">
|
<para>The &man.ppp.8;
|
||||||
ppp</ulink> program has similar functionality built in via
|
program has similar functionality built in via
|
||||||
the <option>-nat</option> switch. The <ulink
|
the <option>-nat</option> switch. The <ulink
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?libalias">
|
URL="http://www.FreeBSD.org/cgi/man.cgi?libalias">
|
||||||
alias library</ulink> is used in both cases.</para>
|
alias library</ulink> is used in both cases.</para>
|
||||||
|
@ -8451,9 +8431,8 @@ Key F15 A A Menu Workplace Nop</programlisting>
|
||||||
<para>How can I setup Ethernet aliases?</para>
|
<para>How can I setup Ethernet aliases?</para>
|
||||||
</question><answer>
|
</question><answer>
|
||||||
|
|
||||||
<para>Add <literal>netmask 0xffffffff</literal> to your <ulink
|
<para>Add <literal>netmask 0xffffffff</literal> to your
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?ifconfig">
|
&man.ifconfig.8; command-line like the following:</para>
|
||||||
ifconfig</ulink> command-line like the following:</para>
|
|
||||||
|
|
||||||
<screen>&prompt.root; <userinput>ifconfig ed0 alias 204.141.95.2 netmask 0xffffffff</userinput></screen>
|
<screen>&prompt.root; <userinput>ifconfig ed0 alias 204.141.95.2 netmask 0xffffffff</userinput></screen>
|
||||||
</answer>
|
</answer>
|
||||||
|
@ -8467,9 +8446,8 @@ Key F15 A A Menu Workplace Nop</programlisting>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>If you want to use the other ports, you'll have to specify
|
<para>If you want to use the other ports, you'll have to specify
|
||||||
an additional parameter on the <ulink
|
an additional parameter on the
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?ifconfig">
|
&man.ifconfig.8; command line. The default port is
|
||||||
ifconfig</ulink> command line. The default port is
|
|
||||||
<literal>link0</literal>. To use the AUI port instead of the
|
<literal>link0</literal>. To use the AUI port instead of the
|
||||||
BNC one, use <literal>link2</literal>. These flags should be
|
BNC one, use <literal>link2</literal>. These flags should be
|
||||||
specified using the ifconfig_* variables in <ulink
|
specified using the ifconfig_* variables in <ulink
|
||||||
|
@ -8894,8 +8872,7 @@ Znyx (2.2.x) ZX312, ZX314, ZX342, ZX345, ZX346, ZX348
|
||||||
</question>
|
</question>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>The Berkeley Packet Filter <ulink
|
<para>The Berkeley Packet Filter (&man.bpf.4;)
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?bpf">(bpf)</ulink>
|
|
||||||
driver needs to be enabled before running programs that
|
driver needs to be enabled before running programs that
|
||||||
utilize it. Add this to your kernel config file and build
|
utilize it. Add this to your kernel config file and build
|
||||||
a new kernel:</para>
|
a new kernel:</para>
|
||||||
|
@ -9000,9 +8977,9 @@ Znyx (2.2.x) ZX312, ZX314, ZX342, ZX345, ZX346, ZX348
|
||||||
</question>
|
</question>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>You should first read the <ulink
|
<para>You should first read the
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?ppp">
|
&man.ppp.8;
|
||||||
ppp man page</ulink> and the <ulink
|
man page and the <ulink
|
||||||
URL="../handbook/ppp-and-slip.html#USERPPP">
|
URL="../handbook/ppp-and-slip.html#USERPPP">
|
||||||
ppp section of the handbook</ulink>. Enable logging with
|
ppp section of the handbook</ulink>. Enable logging with
|
||||||
the command</para>
|
the command</para>
|
||||||
|
@ -9077,8 +9054,7 @@ default 10.0.0.2 UGSc 0 0 tun0
|
||||||
<para>This is assuming that you've used the addresses from the
|
<para>This is assuming that you've used the addresses from the
|
||||||
handbook, the man page or from the ppp.conf.sample file.
|
handbook, the man page or from the ppp.conf.sample file.
|
||||||
If you haven't got a default route, it may be because you're
|
If you haven't got a default route, it may be because you're
|
||||||
running an old version of <ulink
|
running an old version of &man.ppp.8;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?ppp">ppp</ulink>
|
|
||||||
that doesn't understand the word <literal>HISADDR</literal>
|
that doesn't understand the word <literal>HISADDR</literal>
|
||||||
in the ppp.conf file. If your version of
|
in the ppp.conf file. If your version of
|
||||||
<emphasis remap=bf>ppp</emphasis> is from before FreeBSD
|
<emphasis remap=bf>ppp</emphasis> is from before FreeBSD
|
||||||
|
@ -9156,12 +9132,10 @@ add 0 0 HISADDR</programlisting>
|
||||||
the <filename>ppp.conf</filename> file, or to type it at the
|
the <filename>ppp.conf</filename> file, or to type it at the
|
||||||
prompt in interactive mode. It is also possible to adjust it on
|
prompt in interactive mode. It is also possible to adjust it on
|
||||||
the fly while the line is active by connecting to <emphasis
|
the fly while the line is active by connecting to <emphasis
|
||||||
remap=bf>ppp</emphasis>s server socket using <ulink
|
remap=bf>ppp</emphasis>s server socket using
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?telnet">telnet</ulink>
|
&man.telnet.1; or &man.pppctl.8;.
|
||||||
or <ulink
|
Refer to the
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?pppctl">pppctl</ulink>.
|
&man.ppp.8; man
|
||||||
Refer to the <ulink
|
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?ppp">ppp</ulink> man
|
|
||||||
page for further details.</para>
|
page for further details.</para>
|
||||||
</answer>
|
</answer>
|
||||||
</qandaentry>
|
</qandaentry>
|
||||||
|
@ -9309,8 +9283,7 @@ deny pred1 deflate deflate24 protocomp acfcomp shortseq vj</programlisting>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>Prior to FreeBSD version 2.2.5, once the link was
|
<para>Prior to FreeBSD version 2.2.5, once the link was
|
||||||
established, <ulink
|
established, &man.ppp.8;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?ppp">ppp</ulink>
|
|
||||||
would wait for the peer to initiate the Line Control Protocol
|
would wait for the peer to initiate the Line Control Protocol
|
||||||
(LCP). Many ISPs will not initiate negotiations and expect
|
(LCP). Many ISPs will not initiate negotiations and expect
|
||||||
the client to do so. To force
|
the client to do so. To force
|
||||||
|
@ -9558,8 +9531,7 @@ set dfilter 3 permit 0/0 0/0</programlisting>
|
||||||
|
|
||||||
<para>In the DNS case, you should try to determine what is
|
<para>In the DNS case, you should try to determine what is
|
||||||
actually trying to resolve a host name. A lot of the time,
|
actually trying to resolve a host name. A lot of the time,
|
||||||
<ulink URL="http://www.FreeBSD.org/cgi/man.cgi?sendmail">
|
&man.sendmail.8; is the culprit. You should make sure that
|
||||||
sendmail</ulink> is the culprit. You should make sure that
|
|
||||||
you tell sendmail not to do any DNS lookups in its
|
you tell sendmail not to do any DNS lookups in its
|
||||||
configuration file. See the section on
|
configuration file. See the section on
|
||||||
<link linkend="ispmail">Mail Configuration</link> for details
|
<link linkend="ispmail">Mail Configuration</link> for details
|
||||||
|
@ -9635,8 +9607,7 @@ CCP: Received Terminate Ack (1) state = Req-Sent (6)</programlisting>
|
||||||
|
|
||||||
<programlisting>set log +connect</programlisting>
|
<programlisting>set log +connect</programlisting>
|
||||||
|
|
||||||
<para>This will make <ulink
|
<para>This will make &man.ppp.8; log
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?ppp">ppp</ulink> log
|
|
||||||
everything up until the last requested <quote>expect</quote>
|
everything up until the last requested <quote>expect</quote>
|
||||||
string.</para>
|
string.</para>
|
||||||
|
|
||||||
|
@ -9774,8 +9745,7 @@ ATDT1234567</programlisting>
|
||||||
<emphasis remap=bf>iface</emphasis>.</para>
|
<emphasis remap=bf>iface</emphasis>.</para>
|
||||||
|
|
||||||
<para>The problem was that when that initial program calls
|
<para>The problem was that when that initial program calls
|
||||||
<ulink URL="http://www.FreeBSD.org/cgi/man.cgi?connect">
|
&man.connect.2;, the IP number of the tun interface is
|
||||||
connect(2)</ulink>, the IP number of the tun interface is
|
|
||||||
assigned to the socket endpoint. The kernel creates the first
|
assigned to the socket endpoint. The kernel creates the first
|
||||||
outgoing packet and writes it to the tun device. <emphasis
|
outgoing packet and writes it to the tun device. <emphasis
|
||||||
remap=bf>Ppp</emphasis> then reads the packet and establishes a
|
remap=bf>Ppp</emphasis> then reads the packet and establishes a
|
||||||
|
@ -9799,9 +9769,8 @@ ATDT1234567</programlisting>
|
||||||
interface IP to the negotiated IP on the fly. This is
|
interface IP to the negotiated IP on the fly. This is
|
||||||
essentially what the <literal>iface-alias</literal> option in
|
essentially what the <literal>iface-alias</literal> option in
|
||||||
the latest version of <emphasis remap=bf>ppp</emphasis> is
|
the latest version of <emphasis remap=bf>ppp</emphasis> is
|
||||||
doing (with the help of <ulink
|
doing (with the help of
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?libalias">
|
&man.libalias.3; and ppp's <option>-nat</option> switch) -
|
||||||
libalias(3)</ulink> and ppp's <option>-nat</option> switch) -
|
|
||||||
it's maintaining all previous interface addresses and NATing
|
it's maintaining all previous interface addresses and NATing
|
||||||
them to the last negotiated address.</para>
|
them to the last negotiated address.</para>
|
||||||
|
|
||||||
|
@ -10262,8 +10231,7 @@ sio1: type 16550A</programlisting>
|
||||||
<answer>
|
<answer>
|
||||||
<para>Again, the section on kernel configuration provides
|
<para>Again, the section on kernel configuration provides
|
||||||
information about configuring your kernel. For a multiport
|
information about configuring your kernel. For a multiport
|
||||||
serial card, place an <ulink
|
serial card, place an &man.sio.4; line
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?sio">sio</ulink> line
|
|
||||||
for each serial port on the card in the kernel configuration
|
for each serial port on the card in the kernel configuration
|
||||||
file. But place the irq and vector specifiers on only one of
|
file. But place the irq and vector specifiers on only one of
|
||||||
the entries. All of the ports on the card should share one irq.
|
the entries. All of the ports on the card should share one irq.
|
||||||
|
@ -10344,8 +10312,8 @@ device sio7 at isa? port 0x2b8 tty flags 0x781 irq 7 vector siointr</programlist
|
||||||
57600 bps.</para>
|
57600 bps.</para>
|
||||||
|
|
||||||
<para>Naturally, you should make the initial state and lock state
|
<para>Naturally, you should make the initial state and lock state
|
||||||
devices writable only by <username>root</username>. The <ulink
|
devices writable only by <username>root</username>. The
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?MAKEDEV">MAKEDEV</ulink>
|
&man.MAKEDEV.8;
|
||||||
script does <emphasis>NOT</emphasis> do this when it creates the
|
script does <emphasis>NOT</emphasis> do this when it creates the
|
||||||
device entries.</para>
|
device entries.</para>
|
||||||
</answer>
|
</answer>
|
||||||
|
@ -10410,9 +10378,8 @@ device sio7 at isa? port 0x2b8 tty flags 0x781 irq 7 vector siointr</programlist
|
||||||
<para>After making modifications to <ulink
|
<para>After making modifications to <ulink
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?ttys">
|
URL="http://www.FreeBSD.org/cgi/man.cgi?ttys">
|
||||||
/etc/ttys</ulink>, you need to send a hangup or
|
/etc/ttys</ulink>, you need to send a hangup or
|
||||||
<acronym>HUP</acronym> signal to the <ulink
|
<acronym>HUP</acronym> signal to the
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?init">
|
&man.init.8; process:</para>
|
||||||
init</ulink> process:</para>
|
|
||||||
|
|
||||||
<screen>&prompt.root; <userinput>kill -HUP 1</userinput></screen>
|
<screen>&prompt.root; <userinput>kill -HUP 1</userinput></screen>
|
||||||
|
|
||||||
|
@ -10467,10 +10434,9 @@ device sio7 at isa? port 0x2b8 tty flags 0x781 irq 7 vector siointr</programlist
|
||||||
</question>
|
</question>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>On your system, the programs <ulink
|
<para>On your system, the programs &man.tip.1;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?tip">tip</ulink>
|
and &man.cu.1;
|
||||||
and <ulink URL="http://www.FreeBSD.org/cgi/man.cgi?cu">
|
are probably executable only by <ulink
|
||||||
cu</ulink> are probably executable only by <ulink
|
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?uucp">uucp</ulink>
|
URL="http://www.FreeBSD.org/cgi/man.cgi?uucp">uucp</ulink>
|
||||||
and group <literal>dialer</literal>. You can use the group
|
and group <literal>dialer</literal>. You can use the group
|
||||||
<literal>dialer</literal> to control who has access to your
|
<literal>dialer</literal> to control who has access to your
|
||||||
|
@ -10493,8 +10459,7 @@ device sio7 at isa? port 0x2b8 tty flags 0x781 irq 7 vector siointr</programlist
|
||||||
</question>
|
</question>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>Actually, the man page for <ulink
|
<para>Actually, the man page for &man.tip.1; is
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?tip">tip</ulink> is
|
|
||||||
out of date. There is a generic Hayes dialer already built in.
|
out of date. There is a generic Hayes dialer already built in.
|
||||||
Just use <literal>at=hayes</literal> in your <ulink
|
Just use <literal>at=hayes</literal> in your <ulink
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?remote">
|
URL="http://www.FreeBSD.org/cgi/man.cgi?remote">
|
||||||
|
@ -10504,8 +10469,7 @@ device sio7 at isa? port 0x2b8 tty flags 0x781 irq 7 vector siointr</programlist
|
||||||
the advanced features of newer modems---messages like
|
the advanced features of newer modems---messages like
|
||||||
<literal>BUSY</literal>, <literal>NO DIALTONE</literal>, or
|
<literal>BUSY</literal>, <literal>NO DIALTONE</literal>, or
|
||||||
<literal>CONNECT 115200</literal> will just confuse it. You
|
<literal>CONNECT 115200</literal> will just confuse it. You
|
||||||
should turn those messages off when you use <ulink
|
should turn those messages off when you use &man.tip.1;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?tip">tip</ulink>
|
|
||||||
(using <literal>ATX0&W</literal>).</para>
|
(using <literal>ATX0&W</literal>).</para>
|
||||||
|
|
||||||
<para>Also, the dial timeout for <command>tip</command> is 60
|
<para>Also, the dial timeout for <command>tip</command> is 60
|
||||||
|
@ -10594,10 +10558,9 @@ tip57600|Dial any phone number at 57600 bps:\
|
||||||
:dv=/dev/cuaa0:br#57600:at=hayes:pa=none:du:</programlisting>
|
:dv=/dev/cuaa0:br#57600:at=hayes:pa=none:du:</programlisting>
|
||||||
|
|
||||||
<para>Then you can do something like <command>tip -115200
|
<para>Then you can do something like <command>tip -115200
|
||||||
5551234</command>. If you prefer <ulink
|
5551234</command>. If you prefer &man.cu.1;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?cu">cu</ulink>
|
over
|
||||||
over <ulink URL="http://www.FreeBSD.org/cgi/man.cgi?tip">
|
&man.tip.1;, use a generic cu entry:</para>
|
||||||
tip</ulink>, use a generic cu entry:</para>
|
|
||||||
|
|
||||||
<programlisting>cu115200|Use cu to dial any number at 115200bps:\
|
<programlisting>cu115200|Use cu to dial any number at 115200bps:\
|
||||||
:dv=/dev/cuaa1:br#57600:at=hayes:pa=none:du:</programlisting>
|
:dv=/dev/cuaa1:br#57600:at=hayes:pa=none:du:</programlisting>
|
||||||
|
@ -10614,8 +10577,8 @@ tip57600|Dial any phone number at 57600 bps:\
|
||||||
|
|
||||||
<para>Put in an entry for <literal>tip1200</literal> or
|
<para>Put in an entry for <literal>tip1200</literal> or
|
||||||
<literal>cu1200</literal>, but go ahead and use whatever bps
|
<literal>cu1200</literal>, but go ahead and use whatever bps
|
||||||
rate is appropriate with the br capability. <ulink
|
rate is appropriate with the br capability.
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?tip">tip</ulink>
|
&man.tip.1;
|
||||||
thinks a good default is 1200 bps which is why it looks for
|
thinks a good default is 1200 bps which is why it looks for
|
||||||
a <literal>tip1200</literal> entry. You don't have to use 1200
|
a <literal>tip1200</literal> entry. You don't have to use 1200
|
||||||
bps, though.</para>
|
bps, though.</para>
|
||||||
|
@ -10680,8 +10643,8 @@ big-university 5551112
|
||||||
big-university 5551113
|
big-university 5551113
|
||||||
big-university 5551114</programlisting>
|
big-university 5551114</programlisting>
|
||||||
|
|
||||||
<para><ulink URL="http://www.FreeBSD.org/cgi/man.cgi?tip">
|
<para>&man.tip.1;
|
||||||
tip</ulink> will try each one in the listed order, then give
|
will try each one in the listed order, then give
|
||||||
up. If you want to keep retrying, run <command>tip</command>
|
up. If you want to keep retrying, run <command>tip</command>
|
||||||
in a while loop.</para>
|
in a while loop.</para>
|
||||||
</answer>
|
</answer>
|
||||||
|
@ -10695,8 +10658,7 @@ big-university 5551114</programlisting>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>CTRL+P is the default <quote>force</quote> character,
|
<para>CTRL+P is the default <quote>force</quote> character,
|
||||||
used to tell <ulink
|
used to tell &man.tip.1;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?tip">tip</ulink>
|
|
||||||
that the next character is literal data. You can set the
|
that the next character is literal data. You can set the
|
||||||
force character to any other character with the
|
force character to any other character with the
|
||||||
<literal>~s</literal> escape, which means <quote>set a
|
<literal>~s</literal> escape, which means <quote>set a
|
||||||
|
@ -10725,9 +10687,8 @@ big-university 5551114</programlisting>
|
||||||
</question>
|
</question>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>You must've pressed CTRL+A, <ulink
|
<para>You must've pressed CTRL+A, &man.tip.1;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?tip">
|
<quote>raise character</quote>, specially
|
||||||
tip</ulink> <quote>raise character</quote>, specially
|
|
||||||
designed for people with broken caps-lock keys. Use
|
designed for people with broken caps-lock keys. Use
|
||||||
<literal>~s</literal> as above and set the variable
|
<literal>~s</literal> as above and set the variable
|
||||||
<quote>raisechar</quote> to something reasonable. In fact,
|
<quote>raisechar</quote> to something reasonable. In fact,
|
||||||
|
@ -10753,10 +10714,9 @@ raisechar=^^</programlisting>
|
||||||
<answer>
|
<answer>
|
||||||
<para>If you're talking to another UNIX system, you can send
|
<para>If you're talking to another UNIX system, you can send
|
||||||
and receive files with <literal>~p</literal> (put) and
|
and receive files with <literal>~p</literal> (put) and
|
||||||
<literal>~t</literal> (take). These commands run <ulink
|
<literal>~t</literal> (take). These commands run
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?cat">cat</ulink> and
|
&man.cat.1; and
|
||||||
<ulink URL="http://www.FreeBSD.org/cgi/man.cgi?echo">
|
&man.echo.1; on the remote system to accept and send files.
|
||||||
echo</ulink> on the remote system to accept and send files.
|
|
||||||
The syntax is:</para>
|
The syntax is:</para>
|
||||||
|
|
||||||
<programlisting>~p <local-file> [<remote-file>]
|
<programlisting>~p <local-file> [<remote-file>]
|
||||||
|
@ -10881,16 +10841,13 @@ raisechar=^^</programlisting>
|
||||||
<para>
|
<para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><ulink
|
<para>&man.a.out.5;</para>
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?a.out(5)">
|
|
||||||
a.out</ulink></para>
|
|
||||||
|
|
||||||
<para>The oldest and <quote>classic</quote> unix object
|
<para>The oldest and <quote>classic</quote> unix object
|
||||||
format. It uses a short and compact header with a magic
|
format. It uses a short and compact header with a magic
|
||||||
number at the beginning that's often used to
|
number at the beginning that's often used to
|
||||||
characterize the format (see <ulink
|
characterize the format (see
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?a.out(5)">
|
&man.a.out.5; for more details). It contains three
|
||||||
a.out(5)</ulink> for more details). It contains three
|
|
||||||
loaded segments: .text, .data, and .bss plus a symbol
|
loaded segments: .text, .data, and .bss plus a symbol
|
||||||
table and a string table.</para>
|
table and a string table.</para>
|
||||||
|
|
||||||
|
@ -10923,16 +10880,14 @@ raisechar=^^</programlisting>
|
||||||
by providing a utility for <emphasis>branding</emphasis>
|
by providing a utility for <emphasis>branding</emphasis>
|
||||||
a known <acronym>ELF</acronym> executable with
|
a known <acronym>ELF</acronym> executable with
|
||||||
information about the ABI it's compliant with. See the
|
information about the ABI it's compliant with. See the
|
||||||
man page for <ulink
|
man page for &man.brandelf.1;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?brandelf">
|
for more information.</para>
|
||||||
brandelf</ulink> for more information.</para>
|
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist></para>
|
</itemizedlist></para>
|
||||||
|
|
||||||
<para>FreeBSD comes from the <quote>classic</quote> camp and has
|
<para>FreeBSD comes from the <quote>classic</quote> camp and has
|
||||||
traditionally used the <ulink
|
traditionally used the &man.a.out.5;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?a.out(5)">
|
format, a technology tried and proven through
|
||||||
a.out</ulink> format, a technology tried and proven through
|
|
||||||
many generations of BSD releases. Though it has also been
|
many generations of BSD releases. Though it has also been
|
||||||
possible for some time to build and run native
|
possible for some time to build and run native
|
||||||
<acronym>ELF</acronym> binaries (and kernels) on a FreeBSD
|
<acronym>ELF</acronym> binaries (and kernels) on a FreeBSD
|
||||||
|
@ -11069,10 +11024,9 @@ raisechar=^^</programlisting>
|
||||||
|
|
||||||
<para>You have to use either <option>-H</option> or
|
<para>You have to use either <option>-H</option> or
|
||||||
<option>-L</option> together with the <option>-R</option>
|
<option>-L</option> together with the <option>-R</option>
|
||||||
option to make this work. See the <ulink
|
option to make this work. See the
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?chmod">chmod</ulink>
|
&man.chmod.1; and &man.symlink.7;
|
||||||
and <ulink URL="http://www.FreeBSD.org/cgi/man.cgi?symlink">
|
man pages for more info.</para>
|
||||||
symlink</ulink> man pages for more info.</para>
|
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
<warning>
|
<warning>
|
||||||
|
@ -11082,9 +11036,8 @@ raisechar=^^</programlisting>
|
||||||
specifying directories or symlinks to directories to
|
specifying directories or symlinks to directories to
|
||||||
<emphasis remap=tt>chmod</emphasis>. If you want to
|
<emphasis remap=tt>chmod</emphasis>. If you want to
|
||||||
change the permissions of a directory referenced by a
|
change the permissions of a directory referenced by a
|
||||||
symlink, use <ulink
|
symlink, use &man.chmod.1;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?chmod">
|
without any options and follow the symlink
|
||||||
chmod</ulink> without any options and follow the symlink
|
|
||||||
with a trailing slash (<filename>/</filename>). For
|
with a trailing slash (<filename>/</filename>). For
|
||||||
example, if <filename>foo</filename> is a symlink to
|
example, if <filename>foo</filename> is a symlink to
|
||||||
directory <filename>bar</filename>, and you want to change
|
directory <filename>bar</filename>, and you want to change
|
||||||
|
@ -11094,9 +11047,8 @@ raisechar=^^</programlisting>
|
||||||
|
|
||||||
<screen>&prompt.user; <userinput>chmod 555 foo/</userinput></screen>
|
<screen>&prompt.user; <userinput>chmod 555 foo/</userinput></screen>
|
||||||
|
|
||||||
<para>With the trailing slash, <ulink
|
<para>With the trailing slash, &man.chmod.1;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?chmod">
|
will follow the symlink,
|
||||||
chmod</ulink> will follow the symlink,
|
|
||||||
<filename>foo</filename>, to change the permissions of the
|
<filename>foo</filename>, to change the permissions of the
|
||||||
directory, <filename>bar</filename>.</para>
|
directory, <filename>bar</filename>.</para>
|
||||||
</warning></para>
|
</warning></para>
|
||||||
|
@ -11566,8 +11518,8 @@ raisechar=^^</programlisting>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>To make a release you need to do three things: First,
|
<para>To make a release you need to do three things: First,
|
||||||
you need to be running a kernel with the <ulink
|
you need to be running a kernel with the
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?vn">vn</ulink>
|
&man.vn.4;
|
||||||
driver configured in. Add this to your kernel config file
|
driver configured in. Add this to your kernel config file
|
||||||
and build a new kernel:</para>
|
and build a new kernel:</para>
|
||||||
|
|
||||||
|
@ -11869,8 +11821,8 @@ ${RELEASEDIR}/tarballs/bindist/bin_tgz.)</programlisting>
|
||||||
driver publicly available. If you do, then please send us a
|
driver publicly available. If you do, then please send us a
|
||||||
copy of the driver source code, plus the appropriate
|
copy of the driver source code, plus the appropriate
|
||||||
modifications to <emphasis remap=tt>files.i386</emphasis>, a
|
modifications to <emphasis remap=tt>files.i386</emphasis>, a
|
||||||
sample configuration file entry, and the appropriate <ulink
|
sample configuration file entry, and the appropriate
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?MAKEDEV">MAKEDEV</ulink>
|
&man.MAKEDEV.8;
|
||||||
code to create any special files your device uses. If you do
|
code to create any special files your device uses. If you do
|
||||||
not, or are unable to because of licensing restrictions, then
|
not, or are unable to because of licensing restrictions, then
|
||||||
character major number 32 and block major number 8 have been
|
character major number 32 and block major number 8 have been
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
<corpauthor>The FreeBSD Documentation Project</corpauthor>
|
<corpauthor>The FreeBSD Documentation Project</corpauthor>
|
||||||
|
|
||||||
<pubdate>$FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.188 2001/05/01 17:56:53 nik Exp $</pubdate>
|
<pubdate>$FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.189 2001/05/04 05:11:18 dd Exp $</pubdate>
|
||||||
|
|
||||||
<copyright>
|
<copyright>
|
||||||
<year>1995</year>
|
<year>1995</year>
|
||||||
|
@ -2755,8 +2755,7 @@ Filesystem 1024-blocks Used Avail Capacity Mounted on
|
||||||
<para>Some unnamed clone cards have also been known to work,
|
<para>Some unnamed clone cards have also been known to work,
|
||||||
especially those that claim to be AST compatible.</para>
|
especially those that claim to be AST compatible.</para>
|
||||||
|
|
||||||
<para>Check the <ulink
|
<para>Check the &man.sio.4;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?sio(4)">sio</ulink>
|
|
||||||
man page to get more information on configuring such cards.</para>
|
man page to get more information on configuring such cards.</para>
|
||||||
</answer>
|
</answer>
|
||||||
</qandaentry>
|
</qandaentry>
|
||||||
|
@ -3012,9 +3011,8 @@ moused_flags=""</programlisting>
|
||||||
paste the text. Pressing the button 3 will
|
paste the text. Pressing the button 3 will
|
||||||
<quote>extend</quote> the selected region of text. If your
|
<quote>extend</quote> the selected region of text. If your
|
||||||
mouse does not have the middle button, you may wish to emulate
|
mouse does not have the middle button, you may wish to emulate
|
||||||
it or remap buttons using moused options. See the <ulink
|
it or remap buttons using moused options. See the
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?moused(8)">
|
&man.moused.8; man page for details.</para>
|
||||||
moused(8)</ulink> man page for details.</para>
|
|
||||||
</answer>
|
</answer>
|
||||||
</qandaentry>
|
</qandaentry>
|
||||||
|
|
||||||
|
@ -3215,13 +3213,13 @@ diff -u -r1.60.2.1 -r1.60.2.2
|
||||||
</question>
|
</question>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>FreeBSD 2.2 supports SCSI changers using the <ulink
|
<para>FreeBSD 2.2 supports SCSI changers using the
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?ch(4)">ch(4)</ulink>
|
&man.ch.4;
|
||||||
device and the <ulink
|
device and the
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?chio(1)">chio(1)</ulink>
|
&man.chio.1;
|
||||||
command. The details of how you actually control the changer
|
command. The details of how you actually control the changer
|
||||||
can be found in the <ulink
|
can be found in the
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?chio(4)">chio(1)</ulink>
|
&man.chio.1;
|
||||||
man page.</para>
|
man page.</para>
|
||||||
|
|
||||||
<para>If you're not using <ulink
|
<para>If you're not using <ulink
|
||||||
|
@ -3738,16 +3736,13 @@ quit</programlisting>
|
||||||
</question>
|
</question>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>You have to tell <ulink
|
<para>You have to tell &man.mount.8;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?mount(8)">mount</ulink>
|
|
||||||
the type of the device that you want to mount. By default,
|
the type of the device that you want to mount. By default,
|
||||||
<ulink
|
&man.mount.8;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?mount(8)">mount(8)</ulink>
|
|
||||||
will assume the filesystem is of type <literal>ufs</literal>.
|
will assume the filesystem is of type <literal>ufs</literal>.
|
||||||
You want to mount a CDROM filesystem, and you do this by
|
You want to mount a CDROM filesystem, and you do this by
|
||||||
specifying the <option>-t cd9660</option> option to <ulink
|
specifying the <option>-t cd9660</option> option to
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?mount(8)">
|
&man.mount.8;. This does, of course, assume that the
|
||||||
mount(8)</ulink>. This does, of course, assume that the
|
|
||||||
CDROM contains an ISO 9660 filesystem, which is what most CDROMs
|
CDROM contains an ISO 9660 filesystem, which is what most CDROMs
|
||||||
have. As of 1.1R, FreeBSD automatically understands the Rock
|
have. As of 1.1R, FreeBSD automatically understands the Rock
|
||||||
Ridge (long filename) extensions as well.</para>
|
Ridge (long filename) extensions as well.</para>
|
||||||
|
@ -3965,8 +3960,7 @@ quit</programlisting>
|
||||||
<para>This is a known problem with the ATI Mach 64 video card.
|
<para>This is a known problem with the ATI Mach 64 video card.
|
||||||
The problem is that this card uses address
|
The problem is that this card uses address
|
||||||
<literal>2e8</literal>, and the fourth serial port does too.
|
<literal>2e8</literal>, and the fourth serial port does too.
|
||||||
Due to a bug (feature?) in the <ulink
|
Due to a bug (feature?) in the &man.sio.4;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?sio(4)">sio(4)</ulink>
|
|
||||||
driver it will touch this port even if you don't have the
|
driver it will touch this port even if you don't have the
|
||||||
fourth serial port, and <emphasis remap=bf>even</emphasis> if
|
fourth serial port, and <emphasis remap=bf>even</emphasis> if
|
||||||
you disable sio3 (the fourth port) which normally uses this
|
you disable sio3 (the fourth port) which normally uses this
|
||||||
|
@ -5423,8 +5417,7 @@ device sio5 at isa? port 0x2b8 tty flags 0x501 vector siointr</programlisting>
|
||||||
comments to show what to put in there.</para>
|
comments to show what to put in there.</para>
|
||||||
|
|
||||||
<para>In post-2.2.1 and 3.0, <filename>/etc/sysconfig</filename>
|
<para>In post-2.2.1 and 3.0, <filename>/etc/sysconfig</filename>
|
||||||
was renamed to a more self-describing <ulink
|
was renamed to a more self-describing &man.rc.conf.5;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?rc.conf(5)">rc.conf</ulink>
|
|
||||||
file and the syntax cleaned up a bit in the process.
|
file and the syntax cleaned up a bit in the process.
|
||||||
<filename>/etc/netstart</filename> was also renamed to
|
<filename>/etc/netstart</filename> was also renamed to
|
||||||
<filename>/etc/rc.network</filename> so that all files could be
|
<filename>/etc/rc.network</filename> so that all files could be
|
||||||
|
@ -5466,14 +5459,11 @@ device sio5 at isa? port 0x2b8 tty flags 0x501 vector siointr</programlisting>
|
||||||
</question>
|
</question>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>Use the <ulink
|
<para>Use the &man.adduser.8;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?adduser">adduser</ulink>
|
command. For more complicated usage, the &man.pw.8;
|
||||||
command. For more complicated usage, the <ulink
|
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?pw">pw</ulink>
|
|
||||||
command.</para>
|
command.</para>
|
||||||
|
|
||||||
<para>To remove the user again, use the <ulink
|
<para>To remove the user again, use the &man.rmuser.8;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?rmuser">rmuser</ulink>
|
|
||||||
command. Once again, <command>pw</command> will work as
|
command. Once again, <command>pw</command> will work as
|
||||||
well.</para>
|
well.</para>
|
||||||
</answer>
|
</answer>
|
||||||
|
@ -5531,8 +5521,7 @@ device sio5 at isa? port 0x2b8 tty flags 0x501 vector siointr</programlisting>
|
||||||
file system on it. You'll get long filename support, at least a
|
file system on it. You'll get long filename support, at least a
|
||||||
2X improvement in performance, and a lot more stability. First,
|
2X improvement in performance, and a lot more stability. First,
|
||||||
you need to redo the DOS-level partitions/filesystems. You can
|
you need to redo the DOS-level partitions/filesystems. You can
|
||||||
either use <ulink
|
either use &man.fdisk.8; or
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?fdisk">fdisk</ulink> or
|
|
||||||
<filename>/stand/sysinstall</filename>, or for a small drive
|
<filename>/stand/sysinstall</filename>, or for a small drive
|
||||||
that you don't want to bother with multiple operating system
|
that you don't want to bother with multiple operating system
|
||||||
support on, just blow away the whole FAT partition table
|
support on, just blow away the whole FAT partition table
|
||||||
|
@ -5703,8 +5692,7 @@ device sio5 at isa? port 0x2b8 tty flags 0x501 vector siointr</programlisting>
|
||||||
|
|
||||||
<para><emphasis remap=bf> Linux</emphasis>: 2.2 and later have
|
<para><emphasis remap=bf> Linux</emphasis>: 2.2 and later have
|
||||||
support for <emphasis remap=bf>ext2fs</emphasis> partitions.
|
support for <emphasis remap=bf>ext2fs</emphasis> partitions.
|
||||||
See <ulink
|
See &man.mount.ext2fs.8;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?mount_ext2fs">mount_ext2fs</ulink>
|
|
||||||
for more information.</para>
|
for more information.</para>
|
||||||
|
|
||||||
<para><emphasis remap=bf> NT</emphasis>: A read-only NTFS driver
|
<para><emphasis remap=bf> NT</emphasis>: A read-only NTFS driver
|
||||||
|
@ -5847,8 +5835,8 @@ C:\="DOS"</programlisting>
|
||||||
|
|
||||||
<screen>Boot: <userinput>1:da(0,a)/kernel</userinput></screen>
|
<screen>Boot: <userinput>1:da(0,a)/kernel</userinput></screen>
|
||||||
|
|
||||||
<para>On FreeBSD 2.2.5 and later, you can configure <ulink
|
<para>On FreeBSD 2.2.5 and later, you can configure
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?boot(8)">boot(8)</ulink>
|
&man.boot.8;
|
||||||
to automatically do this for you at boot time.</para>
|
to automatically do this for you at boot time.</para>
|
||||||
|
|
||||||
<para>The <ulink
|
<para>The <ulink
|
||||||
|
@ -6122,13 +6110,11 @@ C:\="DOS"</programlisting>
|
||||||
|
|
||||||
<para>Both the <filename>/usr/share/syscons/keymaps</filename>
|
<para>Both the <filename>/usr/share/syscons/keymaps</filename>
|
||||||
and the <filename>.kbd</filename> extension are assumed by
|
and the <filename>.kbd</filename> extension are assumed by
|
||||||
<ulink
|
&man.kbdcontrol.1;.</para>
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?kbdcontrol">
|
|
||||||
kbdcontrol</ulink>.</para>
|
|
||||||
|
|
||||||
<para>This can be configured in <filename>/etc/sysconfig</filename>
|
<para>This can be configured in <filename>/etc/sysconfig</filename>
|
||||||
(or <ulink URL="http://www.FreeBSD.org/cgi/man.cgi?rc.conf(5)">
|
(or
|
||||||
rc.conf</ulink>). See the appropriate comments in this
|
&man.rc.conf.5;). See the appropriate comments in this
|
||||||
file.</para>
|
file.</para>
|
||||||
|
|
||||||
<para>In 2.0.5R and later, everything related to text fonts,
|
<para>In 2.0.5R and later, everything related to text fonts,
|
||||||
|
@ -6408,8 +6394,8 @@ options SYSVMSG # enable for messaging</programlisting>
|
||||||
|
|
||||||
<para>Tweaking <filename>/etc/sendmail.cf</filename> manually is
|
<para>Tweaking <filename>/etc/sendmail.cf</filename> manually is
|
||||||
considered something for purists. Sendmail version 8 comes with
|
considered something for purists. Sendmail version 8 comes with
|
||||||
a new approach of generating config files via some <ulink
|
a new approach of generating config files via some
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?m4">m4</ulink>
|
&man.m4.1;
|
||||||
preprocessing, where the actual hand-crafted configuration is
|
preprocessing, where the actual hand-crafted configuration is
|
||||||
on a higher abstraction level. You should use the configuration
|
on a higher abstraction level. You should use the configuration
|
||||||
files under
|
files under
|
||||||
|
@ -6728,8 +6714,8 @@ define(`confDELIVERY_MODE',`deferred')dnl</programlisting>
|
||||||
in-place, with the original file stored with a .bak
|
in-place, with the original file stored with a .bak
|
||||||
extension.</para>
|
extension.</para>
|
||||||
|
|
||||||
<para>Alternatively you can use the <ulink
|
<para>Alternatively you can use the
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?tr">tr</ulink>
|
&man.tr.1;
|
||||||
command:</para>
|
command:</para>
|
||||||
|
|
||||||
<screen>&prompt.user; <userinput>tr -d '\r' < <replaceable>dos-text-file</replaceable> > <replaceable>unix-file</replaceable></userinput></screen>
|
<screen>&prompt.user; <userinput>tr -d '\r' < <replaceable>dos-text-file</replaceable> > <replaceable>unix-file</replaceable></userinput></screen>
|
||||||
|
@ -6746,9 +6732,7 @@ define(`confDELIVERY_MODE',`deferred')dnl</programlisting>
|
||||||
<para>How do I kill processes by name?</para>
|
<para>How do I kill processes by name?</para>
|
||||||
</question><answer>
|
</question><answer>
|
||||||
|
|
||||||
<para>Use <ulink
|
<para>Use &man.killall.1;.</para>
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?killall">
|
|
||||||
killall</ulink>.</para>
|
|
||||||
</answer>
|
</answer>
|
||||||
</qandaentry>
|
</qandaentry>
|
||||||
|
|
||||||
|
@ -7909,8 +7893,7 @@ ttyvb "/usr/libexec/getty Pc" cons25 off secure</programlisting>
|
||||||
by default. On a multi-user system, one doesn't necessarily
|
by default. On a multi-user system, one doesn't necessarily
|
||||||
want just any user to be able to write on the system console.
|
want just any user to be able to write on the system console.
|
||||||
For users who are logging directly onto a machine with a VTY,
|
For users who are logging directly onto a machine with a VTY,
|
||||||
the <ulink
|
the &man.fbtab.5;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?fbtab">fbtab</ulink>
|
|
||||||
file exists to solve such problems.</para>
|
file exists to solve such problems.</para>
|
||||||
|
|
||||||
<para>In a nutshell, make sure an uncommented line of the
|
<para>In a nutshell, make sure an uncommented line of the
|
||||||
|
@ -8304,22 +8287,20 @@ Key F15 A A Menu Workplace Nop</programlisting>
|
||||||
<para>Internet standards and good engineering practice prohibit
|
<para>Internet standards and good engineering practice prohibit
|
||||||
us from providing packet forwarding by default in FreeBSD. You
|
us from providing packet forwarding by default in FreeBSD. You
|
||||||
can however enable this feature by changing the following
|
can however enable this feature by changing the following
|
||||||
variable to <literal>YES</literal> in <ulink
|
variable to <literal>YES</literal> in
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?rc.conf">
|
&man.rc.conf.5;:</para>
|
||||||
rc.conf</ulink>:</para>
|
|
||||||
|
|
||||||
<programlisting>gateway_enable=YES # Set to YES if this host will be a gateway</programlisting>
|
<programlisting>gateway_enable=YES # Set to YES if this host will be a gateway</programlisting>
|
||||||
|
|
||||||
<para>This option will put the <ulink
|
<para>This option will put the
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?sysctl">
|
&man.sysctl.8; variable
|
||||||
sysctl</ulink> variable
|
|
||||||
<filename>net.inet.ip.forwarding</filename>
|
<filename>net.inet.ip.forwarding</filename>
|
||||||
to <literal>1</literal>.</para>
|
to <literal>1</literal>.</para>
|
||||||
|
|
||||||
<para>In most cases, you will also need to run a routing process
|
<para>In most cases, you will also need to run a routing process
|
||||||
to tell other systems on your network about your router;
|
to tell other systems on your network about your router;
|
||||||
FreeBSD comes with the standard BSD routing daemon <ulink
|
FreeBSD comes with the standard BSD routing daemon
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?routed">routed</ulink>,
|
&man.routed.8;
|
||||||
or for more complex situations you may want to try
|
or for more complex situations you may want to try
|
||||||
<emphasis>GaTeD</emphasis> (available from <ulink
|
<emphasis>GaTeD</emphasis> (available from <ulink
|
||||||
URL="http://www.gated.org/"> http://www.gated.org/ </ulink>)
|
URL="http://www.gated.org/"> http://www.gated.org/ </ulink>)
|
||||||
|
@ -8412,14 +8393,13 @@ Key F15 A A Menu Workplace Nop</programlisting>
|
||||||
<para>If you have a local subnet (one or more local machines),
|
<para>If you have a local subnet (one or more local machines),
|
||||||
but have been allocated only a single IP number from your
|
but have been allocated only a single IP number from your
|
||||||
Internet provider (or even if you receive a dynamic IP number),
|
Internet provider (or even if you receive a dynamic IP number),
|
||||||
you may want to look at the <ulink
|
you may want to look at the &man.natd.8;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?natd">natd</ulink>
|
|
||||||
program. <command>natd</command> allows you to connect an
|
program. <command>natd</command> allows you to connect an
|
||||||
entire subnet to the internet using only a single IP
|
entire subnet to the internet using only a single IP
|
||||||
number.</para>
|
number.</para>
|
||||||
|
|
||||||
<para>The <ulink URL="http://www.FreeBSD.org/cgi/man.cgi?ppp">
|
<para>The &man.ppp.8;
|
||||||
ppp</ulink> program has similar functionality built in via
|
program has similar functionality built in via
|
||||||
the <option>-nat</option> switch. The <ulink
|
the <option>-nat</option> switch. The <ulink
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?libalias">
|
URL="http://www.FreeBSD.org/cgi/man.cgi?libalias">
|
||||||
alias library</ulink> is used in both cases.</para>
|
alias library</ulink> is used in both cases.</para>
|
||||||
|
@ -8451,9 +8431,8 @@ Key F15 A A Menu Workplace Nop</programlisting>
|
||||||
<para>How can I setup Ethernet aliases?</para>
|
<para>How can I setup Ethernet aliases?</para>
|
||||||
</question><answer>
|
</question><answer>
|
||||||
|
|
||||||
<para>Add <literal>netmask 0xffffffff</literal> to your <ulink
|
<para>Add <literal>netmask 0xffffffff</literal> to your
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?ifconfig">
|
&man.ifconfig.8; command-line like the following:</para>
|
||||||
ifconfig</ulink> command-line like the following:</para>
|
|
||||||
|
|
||||||
<screen>&prompt.root; <userinput>ifconfig ed0 alias 204.141.95.2 netmask 0xffffffff</userinput></screen>
|
<screen>&prompt.root; <userinput>ifconfig ed0 alias 204.141.95.2 netmask 0xffffffff</userinput></screen>
|
||||||
</answer>
|
</answer>
|
||||||
|
@ -8467,9 +8446,8 @@ Key F15 A A Menu Workplace Nop</programlisting>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>If you want to use the other ports, you'll have to specify
|
<para>If you want to use the other ports, you'll have to specify
|
||||||
an additional parameter on the <ulink
|
an additional parameter on the
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?ifconfig">
|
&man.ifconfig.8; command line. The default port is
|
||||||
ifconfig</ulink> command line. The default port is
|
|
||||||
<literal>link0</literal>. To use the AUI port instead of the
|
<literal>link0</literal>. To use the AUI port instead of the
|
||||||
BNC one, use <literal>link2</literal>. These flags should be
|
BNC one, use <literal>link2</literal>. These flags should be
|
||||||
specified using the ifconfig_* variables in <ulink
|
specified using the ifconfig_* variables in <ulink
|
||||||
|
@ -8894,8 +8872,7 @@ Znyx (2.2.x) ZX312, ZX314, ZX342, ZX345, ZX346, ZX348
|
||||||
</question>
|
</question>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>The Berkeley Packet Filter <ulink
|
<para>The Berkeley Packet Filter (&man.bpf.4;)
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?bpf">(bpf)</ulink>
|
|
||||||
driver needs to be enabled before running programs that
|
driver needs to be enabled before running programs that
|
||||||
utilize it. Add this to your kernel config file and build
|
utilize it. Add this to your kernel config file and build
|
||||||
a new kernel:</para>
|
a new kernel:</para>
|
||||||
|
@ -9000,9 +8977,9 @@ Znyx (2.2.x) ZX312, ZX314, ZX342, ZX345, ZX346, ZX348
|
||||||
</question>
|
</question>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>You should first read the <ulink
|
<para>You should first read the
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?ppp">
|
&man.ppp.8;
|
||||||
ppp man page</ulink> and the <ulink
|
man page and the <ulink
|
||||||
URL="../handbook/ppp-and-slip.html#USERPPP">
|
URL="../handbook/ppp-and-slip.html#USERPPP">
|
||||||
ppp section of the handbook</ulink>. Enable logging with
|
ppp section of the handbook</ulink>. Enable logging with
|
||||||
the command</para>
|
the command</para>
|
||||||
|
@ -9077,8 +9054,7 @@ default 10.0.0.2 UGSc 0 0 tun0
|
||||||
<para>This is assuming that you've used the addresses from the
|
<para>This is assuming that you've used the addresses from the
|
||||||
handbook, the man page or from the ppp.conf.sample file.
|
handbook, the man page or from the ppp.conf.sample file.
|
||||||
If you haven't got a default route, it may be because you're
|
If you haven't got a default route, it may be because you're
|
||||||
running an old version of <ulink
|
running an old version of &man.ppp.8;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?ppp">ppp</ulink>
|
|
||||||
that doesn't understand the word <literal>HISADDR</literal>
|
that doesn't understand the word <literal>HISADDR</literal>
|
||||||
in the ppp.conf file. If your version of
|
in the ppp.conf file. If your version of
|
||||||
<emphasis remap=bf>ppp</emphasis> is from before FreeBSD
|
<emphasis remap=bf>ppp</emphasis> is from before FreeBSD
|
||||||
|
@ -9156,12 +9132,10 @@ add 0 0 HISADDR</programlisting>
|
||||||
the <filename>ppp.conf</filename> file, or to type it at the
|
the <filename>ppp.conf</filename> file, or to type it at the
|
||||||
prompt in interactive mode. It is also possible to adjust it on
|
prompt in interactive mode. It is also possible to adjust it on
|
||||||
the fly while the line is active by connecting to <emphasis
|
the fly while the line is active by connecting to <emphasis
|
||||||
remap=bf>ppp</emphasis>s server socket using <ulink
|
remap=bf>ppp</emphasis>s server socket using
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?telnet">telnet</ulink>
|
&man.telnet.1; or &man.pppctl.8;.
|
||||||
or <ulink
|
Refer to the
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?pppctl">pppctl</ulink>.
|
&man.ppp.8; man
|
||||||
Refer to the <ulink
|
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?ppp">ppp</ulink> man
|
|
||||||
page for further details.</para>
|
page for further details.</para>
|
||||||
</answer>
|
</answer>
|
||||||
</qandaentry>
|
</qandaentry>
|
||||||
|
@ -9309,8 +9283,7 @@ deny pred1 deflate deflate24 protocomp acfcomp shortseq vj</programlisting>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>Prior to FreeBSD version 2.2.5, once the link was
|
<para>Prior to FreeBSD version 2.2.5, once the link was
|
||||||
established, <ulink
|
established, &man.ppp.8;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?ppp">ppp</ulink>
|
|
||||||
would wait for the peer to initiate the Line Control Protocol
|
would wait for the peer to initiate the Line Control Protocol
|
||||||
(LCP). Many ISPs will not initiate negotiations and expect
|
(LCP). Many ISPs will not initiate negotiations and expect
|
||||||
the client to do so. To force
|
the client to do so. To force
|
||||||
|
@ -9558,8 +9531,7 @@ set dfilter 3 permit 0/0 0/0</programlisting>
|
||||||
|
|
||||||
<para>In the DNS case, you should try to determine what is
|
<para>In the DNS case, you should try to determine what is
|
||||||
actually trying to resolve a host name. A lot of the time,
|
actually trying to resolve a host name. A lot of the time,
|
||||||
<ulink URL="http://www.FreeBSD.org/cgi/man.cgi?sendmail">
|
&man.sendmail.8; is the culprit. You should make sure that
|
||||||
sendmail</ulink> is the culprit. You should make sure that
|
|
||||||
you tell sendmail not to do any DNS lookups in its
|
you tell sendmail not to do any DNS lookups in its
|
||||||
configuration file. See the section on
|
configuration file. See the section on
|
||||||
<link linkend="ispmail">Mail Configuration</link> for details
|
<link linkend="ispmail">Mail Configuration</link> for details
|
||||||
|
@ -9635,8 +9607,7 @@ CCP: Received Terminate Ack (1) state = Req-Sent (6)</programlisting>
|
||||||
|
|
||||||
<programlisting>set log +connect</programlisting>
|
<programlisting>set log +connect</programlisting>
|
||||||
|
|
||||||
<para>This will make <ulink
|
<para>This will make &man.ppp.8; log
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?ppp">ppp</ulink> log
|
|
||||||
everything up until the last requested <quote>expect</quote>
|
everything up until the last requested <quote>expect</quote>
|
||||||
string.</para>
|
string.</para>
|
||||||
|
|
||||||
|
@ -9774,8 +9745,7 @@ ATDT1234567</programlisting>
|
||||||
<emphasis remap=bf>iface</emphasis>.</para>
|
<emphasis remap=bf>iface</emphasis>.</para>
|
||||||
|
|
||||||
<para>The problem was that when that initial program calls
|
<para>The problem was that when that initial program calls
|
||||||
<ulink URL="http://www.FreeBSD.org/cgi/man.cgi?connect">
|
&man.connect.2;, the IP number of the tun interface is
|
||||||
connect(2)</ulink>, the IP number of the tun interface is
|
|
||||||
assigned to the socket endpoint. The kernel creates the first
|
assigned to the socket endpoint. The kernel creates the first
|
||||||
outgoing packet and writes it to the tun device. <emphasis
|
outgoing packet and writes it to the tun device. <emphasis
|
||||||
remap=bf>Ppp</emphasis> then reads the packet and establishes a
|
remap=bf>Ppp</emphasis> then reads the packet and establishes a
|
||||||
|
@ -9799,9 +9769,8 @@ ATDT1234567</programlisting>
|
||||||
interface IP to the negotiated IP on the fly. This is
|
interface IP to the negotiated IP on the fly. This is
|
||||||
essentially what the <literal>iface-alias</literal> option in
|
essentially what the <literal>iface-alias</literal> option in
|
||||||
the latest version of <emphasis remap=bf>ppp</emphasis> is
|
the latest version of <emphasis remap=bf>ppp</emphasis> is
|
||||||
doing (with the help of <ulink
|
doing (with the help of
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?libalias">
|
&man.libalias.3; and ppp's <option>-nat</option> switch) -
|
||||||
libalias(3)</ulink> and ppp's <option>-nat</option> switch) -
|
|
||||||
it's maintaining all previous interface addresses and NATing
|
it's maintaining all previous interface addresses and NATing
|
||||||
them to the last negotiated address.</para>
|
them to the last negotiated address.</para>
|
||||||
|
|
||||||
|
@ -10262,8 +10231,7 @@ sio1: type 16550A</programlisting>
|
||||||
<answer>
|
<answer>
|
||||||
<para>Again, the section on kernel configuration provides
|
<para>Again, the section on kernel configuration provides
|
||||||
information about configuring your kernel. For a multiport
|
information about configuring your kernel. For a multiport
|
||||||
serial card, place an <ulink
|
serial card, place an &man.sio.4; line
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?sio">sio</ulink> line
|
|
||||||
for each serial port on the card in the kernel configuration
|
for each serial port on the card in the kernel configuration
|
||||||
file. But place the irq and vector specifiers on only one of
|
file. But place the irq and vector specifiers on only one of
|
||||||
the entries. All of the ports on the card should share one irq.
|
the entries. All of the ports on the card should share one irq.
|
||||||
|
@ -10344,8 +10312,8 @@ device sio7 at isa? port 0x2b8 tty flags 0x781 irq 7 vector siointr</programlist
|
||||||
57600 bps.</para>
|
57600 bps.</para>
|
||||||
|
|
||||||
<para>Naturally, you should make the initial state and lock state
|
<para>Naturally, you should make the initial state and lock state
|
||||||
devices writable only by <username>root</username>. The <ulink
|
devices writable only by <username>root</username>. The
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?MAKEDEV">MAKEDEV</ulink>
|
&man.MAKEDEV.8;
|
||||||
script does <emphasis>NOT</emphasis> do this when it creates the
|
script does <emphasis>NOT</emphasis> do this when it creates the
|
||||||
device entries.</para>
|
device entries.</para>
|
||||||
</answer>
|
</answer>
|
||||||
|
@ -10410,9 +10378,8 @@ device sio7 at isa? port 0x2b8 tty flags 0x781 irq 7 vector siointr</programlist
|
||||||
<para>After making modifications to <ulink
|
<para>After making modifications to <ulink
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?ttys">
|
URL="http://www.FreeBSD.org/cgi/man.cgi?ttys">
|
||||||
/etc/ttys</ulink>, you need to send a hangup or
|
/etc/ttys</ulink>, you need to send a hangup or
|
||||||
<acronym>HUP</acronym> signal to the <ulink
|
<acronym>HUP</acronym> signal to the
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?init">
|
&man.init.8; process:</para>
|
||||||
init</ulink> process:</para>
|
|
||||||
|
|
||||||
<screen>&prompt.root; <userinput>kill -HUP 1</userinput></screen>
|
<screen>&prompt.root; <userinput>kill -HUP 1</userinput></screen>
|
||||||
|
|
||||||
|
@ -10467,10 +10434,9 @@ device sio7 at isa? port 0x2b8 tty flags 0x781 irq 7 vector siointr</programlist
|
||||||
</question>
|
</question>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>On your system, the programs <ulink
|
<para>On your system, the programs &man.tip.1;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?tip">tip</ulink>
|
and &man.cu.1;
|
||||||
and <ulink URL="http://www.FreeBSD.org/cgi/man.cgi?cu">
|
are probably executable only by <ulink
|
||||||
cu</ulink> are probably executable only by <ulink
|
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?uucp">uucp</ulink>
|
URL="http://www.FreeBSD.org/cgi/man.cgi?uucp">uucp</ulink>
|
||||||
and group <literal>dialer</literal>. You can use the group
|
and group <literal>dialer</literal>. You can use the group
|
||||||
<literal>dialer</literal> to control who has access to your
|
<literal>dialer</literal> to control who has access to your
|
||||||
|
@ -10493,8 +10459,7 @@ device sio7 at isa? port 0x2b8 tty flags 0x781 irq 7 vector siointr</programlist
|
||||||
</question>
|
</question>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>Actually, the man page for <ulink
|
<para>Actually, the man page for &man.tip.1; is
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?tip">tip</ulink> is
|
|
||||||
out of date. There is a generic Hayes dialer already built in.
|
out of date. There is a generic Hayes dialer already built in.
|
||||||
Just use <literal>at=hayes</literal> in your <ulink
|
Just use <literal>at=hayes</literal> in your <ulink
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?remote">
|
URL="http://www.FreeBSD.org/cgi/man.cgi?remote">
|
||||||
|
@ -10504,8 +10469,7 @@ device sio7 at isa? port 0x2b8 tty flags 0x781 irq 7 vector siointr</programlist
|
||||||
the advanced features of newer modems---messages like
|
the advanced features of newer modems---messages like
|
||||||
<literal>BUSY</literal>, <literal>NO DIALTONE</literal>, or
|
<literal>BUSY</literal>, <literal>NO DIALTONE</literal>, or
|
||||||
<literal>CONNECT 115200</literal> will just confuse it. You
|
<literal>CONNECT 115200</literal> will just confuse it. You
|
||||||
should turn those messages off when you use <ulink
|
should turn those messages off when you use &man.tip.1;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?tip">tip</ulink>
|
|
||||||
(using <literal>ATX0&W</literal>).</para>
|
(using <literal>ATX0&W</literal>).</para>
|
||||||
|
|
||||||
<para>Also, the dial timeout for <command>tip</command> is 60
|
<para>Also, the dial timeout for <command>tip</command> is 60
|
||||||
|
@ -10594,10 +10558,9 @@ tip57600|Dial any phone number at 57600 bps:\
|
||||||
:dv=/dev/cuaa0:br#57600:at=hayes:pa=none:du:</programlisting>
|
:dv=/dev/cuaa0:br#57600:at=hayes:pa=none:du:</programlisting>
|
||||||
|
|
||||||
<para>Then you can do something like <command>tip -115200
|
<para>Then you can do something like <command>tip -115200
|
||||||
5551234</command>. If you prefer <ulink
|
5551234</command>. If you prefer &man.cu.1;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?cu">cu</ulink>
|
over
|
||||||
over <ulink URL="http://www.FreeBSD.org/cgi/man.cgi?tip">
|
&man.tip.1;, use a generic cu entry:</para>
|
||||||
tip</ulink>, use a generic cu entry:</para>
|
|
||||||
|
|
||||||
<programlisting>cu115200|Use cu to dial any number at 115200bps:\
|
<programlisting>cu115200|Use cu to dial any number at 115200bps:\
|
||||||
:dv=/dev/cuaa1:br#57600:at=hayes:pa=none:du:</programlisting>
|
:dv=/dev/cuaa1:br#57600:at=hayes:pa=none:du:</programlisting>
|
||||||
|
@ -10614,8 +10577,8 @@ tip57600|Dial any phone number at 57600 bps:\
|
||||||
|
|
||||||
<para>Put in an entry for <literal>tip1200</literal> or
|
<para>Put in an entry for <literal>tip1200</literal> or
|
||||||
<literal>cu1200</literal>, but go ahead and use whatever bps
|
<literal>cu1200</literal>, but go ahead and use whatever bps
|
||||||
rate is appropriate with the br capability. <ulink
|
rate is appropriate with the br capability.
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?tip">tip</ulink>
|
&man.tip.1;
|
||||||
thinks a good default is 1200 bps which is why it looks for
|
thinks a good default is 1200 bps which is why it looks for
|
||||||
a <literal>tip1200</literal> entry. You don't have to use 1200
|
a <literal>tip1200</literal> entry. You don't have to use 1200
|
||||||
bps, though.</para>
|
bps, though.</para>
|
||||||
|
@ -10680,8 +10643,8 @@ big-university 5551112
|
||||||
big-university 5551113
|
big-university 5551113
|
||||||
big-university 5551114</programlisting>
|
big-university 5551114</programlisting>
|
||||||
|
|
||||||
<para><ulink URL="http://www.FreeBSD.org/cgi/man.cgi?tip">
|
<para>&man.tip.1;
|
||||||
tip</ulink> will try each one in the listed order, then give
|
will try each one in the listed order, then give
|
||||||
up. If you want to keep retrying, run <command>tip</command>
|
up. If you want to keep retrying, run <command>tip</command>
|
||||||
in a while loop.</para>
|
in a while loop.</para>
|
||||||
</answer>
|
</answer>
|
||||||
|
@ -10695,8 +10658,7 @@ big-university 5551114</programlisting>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>CTRL+P is the default <quote>force</quote> character,
|
<para>CTRL+P is the default <quote>force</quote> character,
|
||||||
used to tell <ulink
|
used to tell &man.tip.1;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?tip">tip</ulink>
|
|
||||||
that the next character is literal data. You can set the
|
that the next character is literal data. You can set the
|
||||||
force character to any other character with the
|
force character to any other character with the
|
||||||
<literal>~s</literal> escape, which means <quote>set a
|
<literal>~s</literal> escape, which means <quote>set a
|
||||||
|
@ -10725,9 +10687,8 @@ big-university 5551114</programlisting>
|
||||||
</question>
|
</question>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>You must've pressed CTRL+A, <ulink
|
<para>You must've pressed CTRL+A, &man.tip.1;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?tip">
|
<quote>raise character</quote>, specially
|
||||||
tip</ulink> <quote>raise character</quote>, specially
|
|
||||||
designed for people with broken caps-lock keys. Use
|
designed for people with broken caps-lock keys. Use
|
||||||
<literal>~s</literal> as above and set the variable
|
<literal>~s</literal> as above and set the variable
|
||||||
<quote>raisechar</quote> to something reasonable. In fact,
|
<quote>raisechar</quote> to something reasonable. In fact,
|
||||||
|
@ -10753,10 +10714,9 @@ raisechar=^^</programlisting>
|
||||||
<answer>
|
<answer>
|
||||||
<para>If you're talking to another UNIX system, you can send
|
<para>If you're talking to another UNIX system, you can send
|
||||||
and receive files with <literal>~p</literal> (put) and
|
and receive files with <literal>~p</literal> (put) and
|
||||||
<literal>~t</literal> (take). These commands run <ulink
|
<literal>~t</literal> (take). These commands run
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?cat">cat</ulink> and
|
&man.cat.1; and
|
||||||
<ulink URL="http://www.FreeBSD.org/cgi/man.cgi?echo">
|
&man.echo.1; on the remote system to accept and send files.
|
||||||
echo</ulink> on the remote system to accept and send files.
|
|
||||||
The syntax is:</para>
|
The syntax is:</para>
|
||||||
|
|
||||||
<programlisting>~p <local-file> [<remote-file>]
|
<programlisting>~p <local-file> [<remote-file>]
|
||||||
|
@ -10881,16 +10841,13 @@ raisechar=^^</programlisting>
|
||||||
<para>
|
<para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><ulink
|
<para>&man.a.out.5;</para>
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?a.out(5)">
|
|
||||||
a.out</ulink></para>
|
|
||||||
|
|
||||||
<para>The oldest and <quote>classic</quote> unix object
|
<para>The oldest and <quote>classic</quote> unix object
|
||||||
format. It uses a short and compact header with a magic
|
format. It uses a short and compact header with a magic
|
||||||
number at the beginning that's often used to
|
number at the beginning that's often used to
|
||||||
characterize the format (see <ulink
|
characterize the format (see
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?a.out(5)">
|
&man.a.out.5; for more details). It contains three
|
||||||
a.out(5)</ulink> for more details). It contains three
|
|
||||||
loaded segments: .text, .data, and .bss plus a symbol
|
loaded segments: .text, .data, and .bss plus a symbol
|
||||||
table and a string table.</para>
|
table and a string table.</para>
|
||||||
|
|
||||||
|
@ -10923,16 +10880,14 @@ raisechar=^^</programlisting>
|
||||||
by providing a utility for <emphasis>branding</emphasis>
|
by providing a utility for <emphasis>branding</emphasis>
|
||||||
a known <acronym>ELF</acronym> executable with
|
a known <acronym>ELF</acronym> executable with
|
||||||
information about the ABI it's compliant with. See the
|
information about the ABI it's compliant with. See the
|
||||||
man page for <ulink
|
man page for &man.brandelf.1;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?brandelf">
|
for more information.</para>
|
||||||
brandelf</ulink> for more information.</para>
|
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist></para>
|
</itemizedlist></para>
|
||||||
|
|
||||||
<para>FreeBSD comes from the <quote>classic</quote> camp and has
|
<para>FreeBSD comes from the <quote>classic</quote> camp and has
|
||||||
traditionally used the <ulink
|
traditionally used the &man.a.out.5;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?a.out(5)">
|
format, a technology tried and proven through
|
||||||
a.out</ulink> format, a technology tried and proven through
|
|
||||||
many generations of BSD releases. Though it has also been
|
many generations of BSD releases. Though it has also been
|
||||||
possible for some time to build and run native
|
possible for some time to build and run native
|
||||||
<acronym>ELF</acronym> binaries (and kernels) on a FreeBSD
|
<acronym>ELF</acronym> binaries (and kernels) on a FreeBSD
|
||||||
|
@ -11069,10 +11024,9 @@ raisechar=^^</programlisting>
|
||||||
|
|
||||||
<para>You have to use either <option>-H</option> or
|
<para>You have to use either <option>-H</option> or
|
||||||
<option>-L</option> together with the <option>-R</option>
|
<option>-L</option> together with the <option>-R</option>
|
||||||
option to make this work. See the <ulink
|
option to make this work. See the
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?chmod">chmod</ulink>
|
&man.chmod.1; and &man.symlink.7;
|
||||||
and <ulink URL="http://www.FreeBSD.org/cgi/man.cgi?symlink">
|
man pages for more info.</para>
|
||||||
symlink</ulink> man pages for more info.</para>
|
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
<warning>
|
<warning>
|
||||||
|
@ -11082,9 +11036,8 @@ raisechar=^^</programlisting>
|
||||||
specifying directories or symlinks to directories to
|
specifying directories or symlinks to directories to
|
||||||
<emphasis remap=tt>chmod</emphasis>. If you want to
|
<emphasis remap=tt>chmod</emphasis>. If you want to
|
||||||
change the permissions of a directory referenced by a
|
change the permissions of a directory referenced by a
|
||||||
symlink, use <ulink
|
symlink, use &man.chmod.1;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?chmod">
|
without any options and follow the symlink
|
||||||
chmod</ulink> without any options and follow the symlink
|
|
||||||
with a trailing slash (<filename>/</filename>). For
|
with a trailing slash (<filename>/</filename>). For
|
||||||
example, if <filename>foo</filename> is a symlink to
|
example, if <filename>foo</filename> is a symlink to
|
||||||
directory <filename>bar</filename>, and you want to change
|
directory <filename>bar</filename>, and you want to change
|
||||||
|
@ -11094,9 +11047,8 @@ raisechar=^^</programlisting>
|
||||||
|
|
||||||
<screen>&prompt.user; <userinput>chmod 555 foo/</userinput></screen>
|
<screen>&prompt.user; <userinput>chmod 555 foo/</userinput></screen>
|
||||||
|
|
||||||
<para>With the trailing slash, <ulink
|
<para>With the trailing slash, &man.chmod.1;
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?chmod">
|
will follow the symlink,
|
||||||
chmod</ulink> will follow the symlink,
|
|
||||||
<filename>foo</filename>, to change the permissions of the
|
<filename>foo</filename>, to change the permissions of the
|
||||||
directory, <filename>bar</filename>.</para>
|
directory, <filename>bar</filename>.</para>
|
||||||
</warning></para>
|
</warning></para>
|
||||||
|
@ -11566,8 +11518,8 @@ raisechar=^^</programlisting>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>To make a release you need to do three things: First,
|
<para>To make a release you need to do three things: First,
|
||||||
you need to be running a kernel with the <ulink
|
you need to be running a kernel with the
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?vn">vn</ulink>
|
&man.vn.4;
|
||||||
driver configured in. Add this to your kernel config file
|
driver configured in. Add this to your kernel config file
|
||||||
and build a new kernel:</para>
|
and build a new kernel:</para>
|
||||||
|
|
||||||
|
@ -11869,8 +11821,8 @@ ${RELEASEDIR}/tarballs/bindist/bin_tgz.)</programlisting>
|
||||||
driver publicly available. If you do, then please send us a
|
driver publicly available. If you do, then please send us a
|
||||||
copy of the driver source code, plus the appropriate
|
copy of the driver source code, plus the appropriate
|
||||||
modifications to <emphasis remap=tt>files.i386</emphasis>, a
|
modifications to <emphasis remap=tt>files.i386</emphasis>, a
|
||||||
sample configuration file entry, and the appropriate <ulink
|
sample configuration file entry, and the appropriate
|
||||||
URL="http://www.FreeBSD.org/cgi/man.cgi?MAKEDEV">MAKEDEV</ulink>
|
&man.MAKEDEV.8;
|
||||||
code to create any special files your device uses. If you do
|
code to create any special files your device uses. If you do
|
||||||
not, or are unable to because of licensing restrictions, then
|
not, or are unable to because of licensing restrictions, then
|
||||||
character major number 32 and block major number 8 have been
|
character major number 32 and block major number 8 have been
|
||||||
|
|
Loading…
Reference in a new issue