From: Paul Mackerras Date: Tue, 13 Jan 2004 03:55:52 +0000 (+0000) Subject: Change references to cuaN in examples and documentation to ttySN. X-Git-Tag: ppp-2.4.7~265 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=968c0d2221f53d7de4abf422caed01c079c20e2c Change references to cuaN in examples and documentation to ttySN. Yes, rather linux-centric, I know. Patch from Marco d'Itri (Debian ppp package maintainer). --- diff --git a/SETUP b/SETUP index fb28a21..d52b869 100644 --- a/SETUP +++ b/SETUP @@ -21,7 +21,7 @@ administrator to create a file under /etc/ppp/peers, named for the ISP that you will be dialling. For example, suppose the file is called /etc/ppp/peers/isp. This file would contain something like this: -cua0 # modem is connected to /dev/cua0 +ttyS0 # modem is connected to /dev/ttyS0 38400 # run the serial port at 38400 baud crtscts # use hardware flow control noauth # don't require the ISP to authenticate itself diff --git a/scripts/secure-card b/scripts/secure-card index a32138b..0002365 100755 --- a/scripts/secure-card +++ b/scripts/secure-card @@ -17,14 +17,14 @@ send_user "hello, starting ppp\n" -system "stty 19200 -echoe -echo raw < /dev/cua3 > /dev/cua3" +system "stty 19200 -echoe -echo raw < /dev/ttyS3 > /dev/ttyS3" # # These are the parameters for the program. # set user Pxxxxxx set password xxxxxxx -set modem /dev/cua3 +set modem /dev/ttyS3 set dialup set timeout 60 @@ -107,5 +107,5 @@ expect { } } -overlay -0 $spawn_id -1 $spawn_id pppd /dev/cua3 19200 192.111.187.215: \ +overlay -0 $spawn_id -1 $spawn_id pppd /dev/ttyS3 19200 192.111.187.215: \ crtscts modem defaultroute debug