Skip to content

Commit 968c0d2

Browse files
committed
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).
1 parent da7530a commit 968c0d2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

SETUP

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ administrator to create a file under /etc/ppp/peers, named for the ISP
2121
that you will be dialling. For example, suppose the file is called
2222
/etc/ppp/peers/isp. This file would contain something like this:
2323

24-
cua0 # modem is connected to /dev/cua0
24+
ttyS0 # modem is connected to /dev/ttyS0
2525
38400 # run the serial port at 38400 baud
2626
crtscts # use hardware flow control
2727
noauth # don't require the ISP to authenticate itself

scripts/secure-card

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717

1818
send_user "hello, starting ppp\n"
1919

20-
system "stty 19200 -echoe -echo raw < /dev/cua3 > /dev/cua3"
20+
system "stty 19200 -echoe -echo raw < /dev/ttyS3 > /dev/ttyS3"
2121

2222
#
2323
# These are the parameters for the program.
2424
#
2525
set user Pxxxxxx
2626
set password xxxxxxx
27-
set modem /dev/cua3
27+
set modem /dev/ttyS3
2828
set dialup <put phone number here>
2929
set timeout 60
3030

@@ -107,5 +107,5 @@ expect {
107107
}
108108
}
109109

110-
overlay -0 $spawn_id -1 $spawn_id pppd /dev/cua3 19200 192.111.187.215: \
110+
overlay -0 $spawn_id -1 $spawn_id pppd /dev/ttyS3 19200 192.111.187.215: \
111111
crtscts modem defaultroute debug

0 commit comments

Comments
 (0)