Yes, rather linux-centric, I know. Patch from Marco d'Itri
(Debian ppp package maintainer).
that you will be dialling. For example, suppose the file is called
/etc/ppp/peers/isp. This file would contain something like this:
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
38400 # run the serial port at 38400 baud
crtscts # use hardware flow control
noauth # don't require the ISP to authenticate itself
send_user "hello, starting ppp\n"
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
#
# These are the parameters for the program.
#
set user Pxxxxxx
set password xxxxxxx
set dialup <put phone number here>
set timeout 60
set dialup <put phone number here>
set timeout 60
-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
crtscts modem defaultroute debug