Update Question 15.11:
- Point to Handbook Reviewed by: trhodes Approved by: gabor
This commit is contained in:
parent
61fecbbaf7
commit
e3ab2b8ace
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=32459
1 changed files with 3 additions and 31 deletions
|
@ -9609,37 +9609,9 @@ hint.sio.7.irq="12"</programlisting>
|
|||
</question>
|
||||
|
||||
<answer>
|
||||
<para>Make what is called a <quote>direct</quote> entry in
|
||||
your <filename>/etc/remote</filename> file (see
|
||||
&man.remote.5;). For example, if your modem is hooked up
|
||||
to the first serial port,
|
||||
<devicename>/dev/cuaa0</devicename>, then put in the
|
||||
following line:</para>
|
||||
|
||||
<programlisting>cuaa0:dv=/dev/cuaa0:br#19200:pa=none</programlisting>
|
||||
|
||||
<para>Use the highest bps rate your modem supports in the br
|
||||
capability. Then, type <command>tip
|
||||
<devicename>cuaa0</devicename></command> (see &man.tip.1;)
|
||||
and you will be connected to your modem.</para>
|
||||
|
||||
<para>If there is no <devicename>/dev/cuaa0</devicename> on your
|
||||
system, do this:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>cd /dev</userinput>
|
||||
&prompt.root; <userinput>sh MAKEDEV cuaa0</userinput></screen>
|
||||
|
||||
<para>Or use cu as <username>root</username> with the
|
||||
following command:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>cu -l<replaceable>line</replaceable> -s<replaceable>speed</replaceable></userinput></screen>
|
||||
|
||||
<para>with <replaceable>line</replaceable> being the serial
|
||||
port (e.g. <devicename>/dev/cuaa0</devicename>) and
|
||||
<replaceable>speed</replaceable> being the speed
|
||||
(e.g.<literal>57600</literal>). When you are done
|
||||
entering the AT commands hit <literal>~.</literal> to
|
||||
exit.</para>
|
||||
<para>See <ulink
|
||||
url="&url.books.handbook;/dialout.html#DIRECT-AT">this answer</ulink>
|
||||
in the &os; Handbook.</para>
|
||||
</answer>
|
||||
</qandaentry>
|
||||
|
||||
|
|
Loading…
Reference in a new issue