Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Sep 1998 20:49:41 +0100
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        Andy Nelsen <sportz@discover-net.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: PPP
Message-ID:  <19980929204941.B14840@scientia.demon.co.uk>
In-Reply-To: <000101bdeb4e$6a4c3e80$016f6f6f@syntax>
References:  <000101bdeb4e$6a4c3e80$016f6f6f@syntax>

next in thread | previous in thread | raw e-mail | index | archive | help
Andy Nelsen wrote:

> Hi, I'm having a little trouble getting my ppp to work. I'm pretty sure my
> modem is responding but not quite sure how to enable ppp and get it working.
> I recently switch to FreeBSD, before I was running Linux, Slackware and I
> had a chat script to get on the net. Would this be of any help? Well I'm
> wondering if you can help me and send some step-by-step procedures, thanks
> very much.

If it helps, my /etc/ppp/ppp.conf looks like this:

default:
 set redial 5 10
 set device /dev/cuaa2
 set speed 115200
 set server /var/run/ppp "" 0117
 set log Phase Chat Connect LCP IPCP CCP tun
 set mtu 576
demon:
 deny lqr
 set timeout 70
 set phone 2389666
 set dial "ABORT NO\\sDIALTONE ABORT ERROR ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0L1 OK-AT-OK ATDT; OK ATDT2389666 TIMEOUT 40 CONNECT"
 set login "TIMEOUT 5 ogin:--ogin: scientia word: xyz ocol: ppp,idle=70"
 set ifaddr 212.228.14.13 158.152.1.222 255.255.255.255
 add 0 0 HISADDR
demon-colt:
 deny lqr
 set timeout 70
 set phone 08453535666
 set dial "ABORT NO\\sDIALTONE ABORT ERROR ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0L1 OK-AT-OK ATDT; OK ATDT08453535666 TIMEOUT 40 CONNECT"
 set login "TIMEOUT 5 ogin:--ogin: scientia word: xyz ocol: ppp,idle=70"
 set ifaddr 212.228.14.13 158.152.1.222 255.255.255.255
 add 0 0 HISADDR

That should at least help you see what does what, although the
ppp.conf.sample should be able to help you there.

Which bit isn't working at your end? Make sure you enable logging with
something like this in syslog.conf

!ppp
*.*			/var/log/ppp

which will make finding problems easier (probably). All this assumes
you're using ppp and not pppd. Also, I assume you have a tun driver in
your kernel?

-- 
Ben Smithurst : ben@scientia.demon.co.uk : http://www.scientia.demon.co.uk/

PGP: 0x99392F7D - 3D 89 87 42 CE CA 93 4C  68 32 0E D5 36 05 3D 16
     http://www.scientia.demon.co.uk/ben/pgp-key.html (or use keyservers)

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?19980929204941.B14840>