From owner-freebsd-questions  Fri Oct  8  0: 1: 9 1999
Delivered-To: freebsd-questions@freebsd.org
Received: from liu.dhis.org (geodial1.geology.wisc.edu [144.92.137.117])
	by hub.freebsd.org (Postfix) with ESMTP id 5F2C614DC5
	for <freebsd-questions@FreeBSD.ORG>; Fri,  8 Oct 1999 00:01:05 -0700 (PDT)
	(envelope-from root@liu.dhis.org)
Received: (from root@localhost)
	by liu.dhis.org (8.9.3/8.9.3) id CAA00668
	for freebsd-questions@FreeBSD.ORG; Fri, 8 Oct 1999 02:02:09 -0500 (CDT)
	(envelope-from root)
From: Charlie Root <root@liu.dhis.org>
Message-Id: <199910080702.CAA00668@liu.dhis.org>
Subject: ppp script
To: freebsd-questions@FreeBSD.ORG
Date: Fri, 8 Oct 1999 02:02:08 -0500 (CDT)
X-Mailer: ELM [version 2.4ME+ PL43 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-questions@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

Hi,

Could someone point out how to the auto ppp script from the manual way below?
I also can connect with kppp, but its speed is about 50% slow than the manual
 one. I am using 56k moodem and FreeBSD 3.2.

Thanks in advance!

#########################
# manual typed commands #
#########################
star# ppp
Working in interactive mode
Using interface: tun0
ppp ON star> term
deflink: Entering terminal mode on /dev/cuaa1
Type `~?' for help
at
OK
atdt2222222
CONNECT 115200
ISP Dial In

User Access Verification

Username: me
Password:
geodial>ppp
Entering PPP mode.
Async interface address is unnumbered (Ethernet0)
Your IP address is xxx.xx.xxx.xxx. MTU is 1500 bytes
Header compression will match your system.

~ppp ON star>                              
PPp ON star>
PPP ON star> set timeout 0
PPP ON star> add! default HISADDR
PPP ON star>          


##############
# ppp.conf   #
##############
default:
 set log Phase Chat LCP IPCP CCP tun command
 set device /dev/cuaa1
 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\
dATDT\\T TIMEOUT 40 CONNECT"  


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message