- Make 6.X device naming scheme leading and specify the old one in parenthesis
in each case [1] - Use groupname to mark up the network group instead of username [2] - Use replaceable element to mark up replaceable parts [3] PR: docs/123471 (based on) [1], docs/123472 [2], docs/123473 [3] Submitted by: pgj
This commit is contained in:
parent
1f958aaf6d
commit
da6a8dde4b
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=31968
1 changed files with 19 additions and 19 deletions
|
@ -281,7 +281,7 @@
|
||||||
<programlisting>1 default:
|
<programlisting>1 default:
|
||||||
2 set log Phase Chat LCP IPCP CCP tun command
|
2 set log Phase Chat LCP IPCP CCP tun command
|
||||||
3 ident user-ppp VERSION (built COMPILATIONDATE)
|
3 ident user-ppp VERSION (built COMPILATIONDATE)
|
||||||
4 set device /dev/cuaa0
|
4 set device /dev/cuad0
|
||||||
5 set speed 115200
|
5 set speed 115200
|
||||||
6 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
|
6 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
|
||||||
7 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
|
7 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
|
||||||
|
@ -339,9 +339,9 @@
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Identifies the device to which the modem is
|
<para>Identifies the device to which the modem is
|
||||||
connected. <devicename>COM1</devicename> is
|
connected. <devicename>COM1</devicename> is
|
||||||
<filename>/dev/cuaa0</filename> and
|
<filename>/dev/cuad0</filename> (or <filename>/dev/cuaa0</filename> under &os; 5.X) and
|
||||||
<devicename>COM2</devicename> is
|
<devicename>COM2</devicename> is
|
||||||
<filename>/dev/cuaa1</filename>.</para>
|
<filename>/dev/cuad1</filename> (or <filename>/dev/cuaa1</filename>).</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
@ -688,7 +688,7 @@ protocol: ppp</screen>
|
||||||
server mode as a normal user by executing
|
server mode as a normal user by executing
|
||||||
<command>ppp</command> as described below, that user
|
<command>ppp</command> as described below, that user
|
||||||
must be given permission to run <command>ppp</command>
|
must be given permission to run <command>ppp</command>
|
||||||
by adding them to the <username>network</username> group
|
by adding them to the <groupname>network</groupname> group
|
||||||
in <filename>/etc/group</filename>.</para>
|
in <filename>/etc/group</filename>.</para>
|
||||||
|
|
||||||
<para>You will also need to give them access to one or more
|
<para>You will also need to give them access to one or more
|
||||||
|
@ -1324,10 +1324,10 @@ noipdefault # remote PPP server must supply your IP address
|
||||||
passive # wait for LCP packets
|
passive # wait for LCP packets
|
||||||
domain ppp.foo.com # put your domain name here
|
domain ppp.foo.com # put your domain name here
|
||||||
|
|
||||||
:<remote_ip> # put the IP of remote PPP host here
|
:<replaceable>remote_ip</replaceable> # put the IP of remote PPP host here
|
||||||
# it will be used to route packets via PPP link
|
# it will be used to route packets via PPP link
|
||||||
# if you didn't specified the noipdefault option
|
# if you didn't specified the noipdefault option
|
||||||
# change this line to <local_ip>:<remote_ip>
|
# change this line to <replaceable>local_ip</replaceable>:<replaceable>remote_ip</replaceable>
|
||||||
|
|
||||||
defaultroute # put this if you want that PPP server will be your
|
defaultroute # put this if you want that PPP server will be your
|
||||||
# default router</programlisting>
|
# default router</programlisting>
|
||||||
|
@ -1459,7 +1459,7 @@ exit</programlisting>
|
||||||
|
|
||||||
<para><filename>/etc/ppp/options</filename>:</para>
|
<para><filename>/etc/ppp/options</filename>:</para>
|
||||||
|
|
||||||
<programlisting>/dev/cuaa1 115200
|
<programlisting>/dev/cuad1 115200
|
||||||
|
|
||||||
crtscts # enable hardware flow control
|
crtscts # enable hardware flow control
|
||||||
modem # modem control line
|
modem # modem control line
|
||||||
|
@ -1468,12 +1468,12 @@ noipdefault # remote PPP serve must supply your IP address
|
||||||
# if the remote host doesn't send your IP during
|
# if the remote host doesn't send your IP during
|
||||||
# IPCP negotiation, remove this option
|
# IPCP negotiation, remove this option
|
||||||
passive # wait for LCP packets
|
passive # wait for LCP packets
|
||||||
domain <your.domain> # put your domain name here
|
domain <replaceable>your.domain</replaceable> # put your domain name here
|
||||||
|
|
||||||
: # put the IP of remote PPP host here
|
: # put the IP of remote PPP host here
|
||||||
# it will be used to route packets via PPP link
|
# it will be used to route packets via PPP link
|
||||||
# if you didn't specified the noipdefault option
|
# if you didn't specified the noipdefault option
|
||||||
# change this line to <local_ip>:<remote_ip>
|
# change this line to <replaceable>local_ip</replaceable>:<replaceable>remote_ip</replaceable>
|
||||||
|
|
||||||
defaultroute # put this if you want that PPP server will be
|
defaultroute # put this if you want that PPP server will be
|
||||||
# your default router</programlisting>
|
# your default router</programlisting>
|
||||||
|
@ -1484,9 +1484,9 @@ defaultroute # put this if you want that PPP server will be
|
||||||
<para>The following should go on a single line.</para>
|
<para>The following should go on a single line.</para>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
<programlisting>ABORT BUSY ABORT 'NO CARRIER' "" AT OK ATDT<phone.number>
|
<programlisting>ABORT BUSY ABORT 'NO CARRIER' "" AT OK ATDT<replaceable>phone.number</replaceable>
|
||||||
CONNECT "" TIMEOUT 10 ogin:-\\r-ogin: <login-id>
|
CONNECT "" TIMEOUT 10 ogin:-\\r-ogin: <replaceable>login-id</replaceable>
|
||||||
TIMEOUT 5 sword: <password></programlisting>
|
TIMEOUT 5 sword: <replaceable>password</replaceable></programlisting>
|
||||||
|
|
||||||
<para>Once these are installed and modified correctly, all you need
|
<para>Once these are installed and modified correctly, all you need
|
||||||
to do is run <command>pppd</command>, like so:</para>
|
to do is run <command>pppd</command>, like so:</para>
|
||||||
|
@ -1758,7 +1758,7 @@ exit 1
|
||||||
required to rebuild the kernel.
|
required to rebuild the kernel.
|
||||||
When matching up sio modem is on <devicename>sio1</devicename> or
|
When matching up sio modem is on <devicename>sio1</devicename> or
|
||||||
<devicename>COM2</devicename> if you are in DOS, then your
|
<devicename>COM2</devicename> if you are in DOS, then your
|
||||||
modem device would be <filename>/dev/cuaa1</filename>.</para>
|
modem device would be <filename>/dev/cuad1</filename> (or <filename>/dev/cuaa1</filename> under &os; 5.X).</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2>
|
<sect2>
|
||||||
|
@ -1779,10 +1779,10 @@ exit 1
|
||||||
|
|
||||||
<para>We have now started <command>ppp</command>.</para>
|
<para>We have now started <command>ppp</command>.</para>
|
||||||
|
|
||||||
<screen>ppp ON example> <userinput>set device <filename>/dev/cuaa1</filename></userinput></screen>
|
<screen>ppp ON example> <userinput>set device <filename>/dev/cuad1</filename></userinput></screen>
|
||||||
|
|
||||||
<para>We set our modem device, in this case it is
|
<para>We set our modem device, in this case it is
|
||||||
<devicename>cuaa1</devicename>.</para>
|
<devicename>cuad1</devicename> (or <filename>/dev/cuaa1</filename> under &os; 5.X).</para>
|
||||||
|
|
||||||
<screen>ppp ON example> <userinput>set speed 115200</userinput></screen>
|
<screen>ppp ON example> <userinput>set speed 115200</userinput></screen>
|
||||||
|
|
||||||
|
@ -1801,7 +1801,7 @@ exit 1
|
||||||
<para>Switch to <quote>terminal</quote> mode so that we can manually
|
<para>Switch to <quote>terminal</quote> mode so that we can manually
|
||||||
control the modem.</para>
|
control the modem.</para>
|
||||||
|
|
||||||
<programlisting>deflink: Entering terminal mode on <filename>/dev/cuaa1</filename>
|
<programlisting>deflink: Entering terminal mode on <filename>/dev/cuad1</filename>
|
||||||
type '~h' for help</programlisting>
|
type '~h' for help</programlisting>
|
||||||
|
|
||||||
<screen><userinput>at</userinput>
|
<screen><userinput>at</userinput>
|
||||||
|
@ -2415,15 +2415,15 @@ tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
|
||||||
<para>First, determine which serial port your modem is connected to.
|
<para>First, determine which serial port your modem is connected to.
|
||||||
Many people set up a symbolic link, such as
|
Many people set up a symbolic link, such as
|
||||||
<filename>/dev/modem</filename>, to point to the real device name,
|
<filename>/dev/modem</filename>, to point to the real device name,
|
||||||
<filename>/dev/cuaaN</filename> (or <filename>/dev/cuadN</filename> under &os; 6.X). This allows you to
|
<filename>/dev/cuadN</filename> (or <filename>/dev/cuaaN</filename> under &os; 5.X). This allows you to
|
||||||
abstract the actual device name should you ever need to move
|
abstract the actual device name should you ever need to move
|
||||||
the modem to a different port. It can become quite cumbersome when you
|
the modem to a different port. It can become quite cumbersome when you
|
||||||
need to fix a bunch of files in <filename>/etc</filename> and
|
need to fix a bunch of files in <filename>/etc</filename> and
|
||||||
<filename>.kermrc</filename> files all over the system!</para>
|
<filename>.kermrc</filename> files all over the system!</para>
|
||||||
|
|
||||||
<note>
|
<note>
|
||||||
<para><filename>/dev/cuaa0</filename> (or <filename>/dev/cuad0</filename> under &os; 6.X) is
|
<para><filename>/dev/cuad0</filename> (or <filename>/dev/cuaa0</filename> under &os; 5.X) is
|
||||||
<devicename>COM1</devicename>, <filename>cuaa1</filename> (or <filename>/dev/cuad1</filename>) is
|
<devicename>COM1</devicename>, <filename>cuad1</filename> (or <filename>/dev/cuaa1</filename>) is
|
||||||
<devicename>COM2</devicename>, etc.</para>
|
<devicename>COM2</devicename>, etc.</para>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue