From owner-freebsd-questions Tue Sep 29 13:16:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA00108 for freebsd-questions-outgoing; Tue, 29 Sep 1998 13:16:31 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA29935 for ; Tue, 29 Sep 1998 13:16:00 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from ben by scientia.demon.co.uk with local (Exim 2.04 #7) id 0zO5mH-0003sR-00; Tue, 29 Sep 1998 20:49:41 +0100 Date: Tue, 29 Sep 1998 20:49:41 +0100 From: Ben Smithurst To: Andy Nelsen , freebsd-questions@FreeBSD.ORG Subject: Re: PPP Message-ID: <19980929204941.B14840@scientia.demon.co.uk> References: <000101bdeb4e$6a4c3e80$016f6f6f@syntax> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <000101bdeb4e$6a4c3e80$016f6f6f@syntax> User-Agent: Mutt/0.94.3i (FreeBSD 3.0-BETA i386) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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