From owner-freebsd-doc Sun Jul 26 05:32:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA19961 for freebsd-doc-outgoing; Sun, 26 Jul 1998 05:32:53 -0700 (PDT) (envelope-from owner-freebsd-doc@FreeBSD.ORG) Received: from maverick.riko.shimane-u.ac.jp (maverick.riko.shimane-u.ac.jp [192.244.218.106]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA19956 for ; Sun, 26 Jul 1998 05:32:50 -0700 (PDT) (envelope-from jiro@maverick.riko.shimane-u.ac.jp) Received: from maverick.riko.shimane-u.ac.jp (localhost.riko.shimane-u.ac.jp [127.0.0.1]) by maverick.riko.shimane-u.ac.jp (8.8.7/8.8.7) with ESMTP id VAA01145 for ; Sun, 26 Jul 1998 21:28:41 +0900 (JST) (envelope-from jiro@maverick.riko.shimane-u.ac.jp) Message-Id: <199807261228.VAA01145@maverick.riko.shimane-u.ac.jp> To: freebsd-doc@FreeBSD.ORG Subject: PPP server with mgetty From: Sakamoto Jiro X-Mailer: Mew version 1.70 on Emacs 19.28.1 / Mule 2.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Date: Sun, 26 Jul 1998 21:28:41 +0900 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dear colleagues; I'm a Free-BSD user for about two years. A few days ago, I set up usr ppp (iij-ppp) with mgetty+sendfax to make my Free-BSD box a ppp server. At that time I had a problem to be confused what driver I should use for the serial lines (COM ports) due to a conflict of the descriptions in "man ppp" or the document of mgetty with that of the Hand Book of Free-BSD. In "man ppp" and the document of mgetty, cuaa is indicated to use, but in the Hand Book, there is an example of /etc/ppp/ppp.conf as papttyd0: enable pap set ifaddr 203.14.100.1 203.14.100.20 255.255.255.255 enable proxy papttyd1: enable pap set ifaddr 203.14.100.1 203.14.100.21 255.255.255.255 enable proxy which is linked from "Mgetty and AutoPPP" in "15.1.5.3. Receiving incoming calls with PPP". From this you may misunderstand that you should use ttyd rather than cuaa. Taking the mechanism of mgetty into account, I think that it is proper to use cuaa, and in fact I have confirmed that ttyd does not work well for this case. So, I think that the above example should be papcuaa0: enable pap set ifaddr 203.14.100.1 203.14.100.20 255.255.255.255 enable proxy ............... ............. Would you please check this point? Thank you. _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/ De Sakamoto, Jiro 阪本滋郎 _/ Dept. of Physics 島根大学総合理工学部物質科学科 _/ Shimane University _/ jsakamot@riko.shimane-u.ac.jp, PBC00630@nifty.ne.jp, JI4QBY To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message