From owner-freebsd-questions Tue Sep 30 22:35:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA18172 for questions-outgoing; Tue, 30 Sep 1997 22:35:28 -0700 (PDT) Received: from ms11.hinet.net (root@ms11.hinet.net [168.95.4.11]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA18161 for ; Tue, 30 Sep 1997 22:35:22 -0700 (PDT) Received: from ms11.hinet.net ([163.17.3.233]) by ms11.hinet.net (8.8.3/8.8.3) with ESMTP id NAA16651 for ; Wed, 1 Oct 1997 13:36:39 +0800 (CST) Message-ID: <3431E08D.95EC08E1@ms11.hinet.net> Date: Wed, 01 Oct 1997 13:33:02 +0800 From: Doug Lo X-Mailer: Mozilla 4.03b8 [en] (X11; I; FreeBSD 2.2.2-RELEASE i386) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: FYI. My rules of thumb for configuring PPP by using PAP. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, ALL, I have spent the time to study how to configurate PPP by using PAP without no problem. The following files ppp.conf, ppp.linkup should work fine for who want to use PAP. I'm using FreeBSD 2.2.2-Release and my ISP uses 'dynamic IP address". =========== /etc/ppp/ppp.conf ============================= default: set device /dev/cuaa1 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" provider: set openmode active ==> must add this line set phone xxxxxxx deny chap disable chap accept pap set authname jwlo set authkey 2ruiodgi dial ===================================================== Caution: DON'T ADD THIS LINE "set login" in ppp.conf. If your ISP uses "static IP address", add "ifaddr xxxx xxxx xxxx" before 'dial'. ======== /etc/ppp/ppp.linkup ====================== provider: delete ALL add 0 0 HISADDR ============================================= When you finish editing these files, type ppp provide, the result is: %ppp provider User Process PPP. Written by Toshiharu OHNO. Log Level is 281 Using interface: tun0 Interactive mode Dial attempt 1 of 1 Phone: xxxxxxx dial OK! login OK! ppp ON Ariel> Packet mode. ppp on Ariel> ppp on Ariel> Hope this helps for you, Doug.