From owner-freebsd-questions Sat Jul 10 9:11:43 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gold.wvnet.edu (gold.wvnet.edu [129.71.2.25]) by hub.freebsd.org (Postfix) with ESMTP id 173E114D07 for ; Sat, 10 Jul 1999 09:11:39 -0700 (PDT) (envelope-from sce04020@mail.wvnet.edu) Received: from mail.wvnet.edu (129.71.227.239:1061) by gold.wvnet.edu (LSMTP for Windows NT v1.1b) with SMTP id <0.41C80D84@gold.wvnet.edu>; Sat, 10 Jul 1999 12:19:08 -0400 Message-ID: <378770C2.CE5C0209@mail.wvnet.edu> Date: Sat, 10 Jul 1999 12:11:46 -0400 From: Kenneth Legg X-Mailer: Mozilla 4.5 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: ppp Content-Type: multipart/alternative; boundary="------------3BC4248A91E2FEAC4602C507" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --------------3BC4248A91E2FEAC4602C507 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I'm running FreeBSD 2.2.5 and I'm having trouble hooking to my ISP. The modem dials and seems to connect, but drops the connection with in a couple of minutes. This is my first attempt at connecting FreeBSD to an ISP so I'm sure there's many things I could be doing wrong. Here's the script I'm running form ppp.conf, the only things I've changed are the phone number, user name and password the rest is a exact copy. ################################################################# # # PPP Sample Configuration File # # Written by Toshiharu OHNO # # $Id: ppp.conf.sample,v 1.5.2.12 1997/09/10 01:00:27 brian Exp $ # ################################################################# # Default setup. Always executed when PPP is invoked. # default: set device /dev/cuaa0 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" ISP: set phone 1234567 set login set authname foo set authkey far set timeout 120 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0.0.0.0.0 add default HISADDR enable dns After the modem dials this is what I get. dial OK! login OK! ppp ON myname> Packet mode ppp ON myname> PPP ON myname> Any help will be greatly appreciated Kenny --------------3BC4248A91E2FEAC4602C507 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit I'm running FreeBSD 2.2.5 and I'm having trouble hooking to my ISP. The modem dials and seems to connect, but drops the connection with in a couple of minutes. This is my first attempt at connecting FreeBSD to an ISP so I'm sure there's many things I could be doing wrong. Here's the script I'm running form ppp.conf, the only things I've changed are the phone number, user name and password the rest is a exact copy.

#################################################################
#
#   PPP  Sample Configuration File
#
#   Written by Toshiharu OHNO
#
# $Id: ppp.conf.sample,v 1.5.2.12 1997/09/10 01:00:27 brian Exp $
#
#################################################################

# Default setup. Always executed when PPP is invoked.
#
default:
 set device /dev/cuaa0
 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"
ISP:
 set phone 1234567
 set login
 set authname foo
 set authkey far
 set timeout 120
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0.0.0.0.0
 add default HISADDR
 enable dns


After the modem dials this is what I get.

dial OK!
login OK!
ppp ON myname> Packet mode
ppp ON myname>
PPP ON myname>

Any help will be greatly appreciated

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