Date: Sun, 14 Jul 2002 00:44:49 +1000 (EST) From: april <april@oublinet.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/40527: [PATCH] Incorrect procedure documented for creating modem device in handbook (PPP chapter) Message-ID: <200207131444.g6DEinvM000411@oublinet.net>
next in thread | raw e-mail | index | archive | help
>Number: 40527
>Category: docs
>Synopsis: [PATCH] Incorrect procedure documented for creating modem device in handbook (PPP chapter)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jul 13 07:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: april
>Release: FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD december.beam.dropbear.id.au 4.6-STABLE FreeBSD 4.6-STABLE #0: Sat Jun 29 15:08:33 EST 2002 root@december.beam.dropbear.id.au:/usr/obj/usr/src/sys/DECEMBER i386
>Description:
The User PPP section of the handbook (doc/en_US.ISO8859-1/books/handbook/userppp.html)
gives incorrect instructions for creating the serial (modem) device. From the handbook:
-- [snip] --
Now make the serial device with
# sh MAKEDEV cuaa
which will create the serial devices for your system. If your modem is on sio1 or COM2 if you are
in dos, then your modem device would be /dev/cuaa1.
-- [snip] --
>How-To-Repeat:
Following the above instructions:
december:/dev# rm -r cuaa*
december:/dev# sh MAKEDEV cuaa
december:/dev# ls -l cuaa*
crw-rw---- 1 uucp dialer 28, 138 Jul 14 00:02 cuaaa
>Fix:
While the rest of the document uses /dev/cuaa1 as the example device, I believe
this MAKEDEV example should show creation of all of the serial devices (analogous to what
a 'sh MAKEDEV all' would create).
Index: chapter.sgml
===================================================================
RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/handbook/ppp-and-slip/chapter.sgml,v
retrieving revision 1.80
diff -u -r1.80 chapter.sgml
--- chapter.sgml 2002/07/11 19:08:26 1.80
+++ chapter.sgml 2002/07/13 14:44:46
@@ -301,8 +301,8 @@
then you most likely only need to make the serial device.
You can do this by changing your directory to
<filename>/dev</filename> and running the <filename>MAKEDEV</filename>
- script like above. Now make the serial device with
-<screen>&prompt.root; <userinput>sh MAKEDEV cuaa</userinput></screen>
+ script like above. Now make the serial devices with
+<screen>&prompt.root; <userinput>sh MAKEDEV cuaa0 cuaa1 cuaa2 cuaa3</userinput></screen>
which will create the serial devices for your system.
If your modem is on <devicename>sio1</devicename> or
<acronym>COM2</acronym> if you are in dos, then your
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207131444.g6DEinvM000411>
