Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jul 1999 12:11:46 -0400
From:      Kenneth Legg <sce04020@mail.wvnet.edu>
To:        freebsd-questions@FreeBSD.ORG
Subject:   ppp
Message-ID:  <378770C2.CE5C0209@mail.wvnet.edu>

next in thread | raw e-mail | index | archive | help

--------------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

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
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.
<p>#################################################################
<br>#
<br>#&nbsp;&nbsp; PPP&nbsp; Sample Configuration File
<br>#
<br>#&nbsp;&nbsp; Written by Toshiharu OHNO
<br>#
<br># $Id: ppp.conf.sample,v 1.5.2.12 1997/09/10 01:00:27 brian Exp $
<br>#
<br>#################################################################
<p># Default setup. Always executed when PPP is invoked.
<br>#
<br>default:
<br>&nbsp;set device /dev/cuaa0
<br>&nbsp;set speed 115200
<br>&nbsp;set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0
OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"
<br>ISP:
<br>&nbsp;set phone <i>1234567</i>
<br>&nbsp;set login
<br>&nbsp;set authname <i>foo</i>
<br>&nbsp;set authkey <i>far</i>
<br>&nbsp;set timeout 120
<br>&nbsp;set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0.0.0.0.0
<br>&nbsp;add default HISADDR
<br>&nbsp;enable dns<br CLEAR=BOTH>
<BR>
<br>After the modem dials this is what I get.
<p>dial OK!
<br>login OK!
<br>ppp ON myname> Packet mode
<br>ppp ON myname>
<br>PPP ON myname>
<p>Any help will be greatly appreciated
<p>Kenny</html>

--------------3BC4248A91E2FEAC4602C507--



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?378770C2.CE5C0209>