From owner-freebsd-questions Wed Dec 4 20:31:29 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.8.3/8.7.3) id UAA12850 for questions-outgoing; Wed, 4 Dec 1996 20:31:29 -0800 (PST) Received: from base486.synet.net (imdave@DIAL49.SYNET.NET [168.113.1.53]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA12844 for ; Wed, 4 Dec 1996 20:31:26 -0800 (PST) Received: (from imdave@localhost) by base486.synet.net (8.8.4/8.8.4) id WAA07948; Wed, 4 Dec 1996 22:31:21 -0600 (CST) Date: Wed, 4 Dec 1996 22:31:21 -0600 (CST) From: Dave Bodenstab Message-Id: <199612050431.WAA07948@base486.synet.net> To: SimsS@IBM.Net Subject: Re: HELP: IIJ-PPP demand-dial with dynamic IP on both ends Cc: questions@FreeBSD.ORG Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I've been using -auto for many months with an ISP that assigns dynamic addresses. Here's my ppp.conf: default: set device /dev/cuaa0 set speed 38400 set parity none # SYNET: set authname xxxxxx set authkey xxxxxx set ifaddr 168.113.1.46/24 168.113.1.44/24 255.255.255.0 set phone *67,1234567 set debug Phase set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATZ OK AT&F&A3&B1&H1&K3&R2X4 TIMEOUT 30 OK ATDT\\T CONNECT" set login "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 10 \"\" \\p\\r username>-\\r-username> \\U password> \\P mode. \\d^z\\d\\c \"\"" set timeout 3600 disable pred1 deny pred1 disable lqr deny lqr set openmode active [Note that I need to send a ^Z to initiate the ppp session since the ISP has a terminal server that waits for me to initiate the session] My ppp.linkup is: SYNET: delete ALL add 0 255.255.255.0 HISADDR I've also got the following in /etc/hosts: 168.113.1.44 ppp.synet.net When I want to connect, I start it with: ppp -auto SYNET and I use a "ping ppp.synet.net" to get it to auto-dial. I shut it down with: telnet localhost 3000 >quit all I'm really unclear on the routing stuff, but this setup works flawlessly for me. Good luck. Dave Bodenstab imdave@syent.net