From owner-freebsd-questions Mon May 26 10:46:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA01432 for questions-outgoing; Mon, 26 May 1997 10:46:05 -0700 (PDT) Received: from geocities.com (mail3.geocities.com [204.7.246.133]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA01424 for ; Mon, 26 May 1997 10:46:03 -0700 (PDT) Received: from www.patrick.com (ts003d07.cin-oh.concentric.net [206.173.96.67]) by geocities.com (8.7.5/8.7.3) with SMTP id KAA02773 for ; Mon, 26 May 1997 10:37:10 -0700 (PDT) Message-ID: <3389CBEF.15FB7483@geocities.com> Date: Mon, 26 May 1997 13:44:15 -0400 From: Patrick Gardella Organization: The Creative Group X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.2.1-RELEASE i386) MIME-Version: 1.0 To: questions@freebsd.org Subject: Yet another ppp -auto question Content-Type: multipart/mixed; boundary="------------3F54BC7E1CFBAE3959E2B600" Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk This is a multi-part message in MIME format. --------------3F54BC7E1CFBAE3959E2B600 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sorry about all the ppp questions, but I couldn't get a straight answer from the mailing list archives or from PPP Tutorial. I am setting up ppp -auto for an on-demand dial setup. I can start ppp cincy (my isp) and then "dial", and ppp works fine. But I cannot get the ppp -auto to dial. It just sits there. If I ping/telnet/lynx/etc. I get the "No route" message. netstat -rn returns only the localhost (127.0.0.1) line. I'm not good at shell scripts, which is what I read many people use instead of ppp -auto, so if anyone has one I could use, please send it! I've tried as many "set ifaddr" lines as I can find in the list archives, as well as "route add default 206.173.96.3" (Which is one of my ISP's IPs; They vary from .2 to .6). Any suggestions? My ppp.conf is attached below. Patrick P.S. PPP dial works, since that's how I'm sending this message. Thanks to all who have helped. --------------3F54BC7E1CFBAE3959E2B600 Content-Type: text/plain; charset=us-ascii; name="ppp.conf.pat" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ppp.conf.pat" ################################################################# # # PPP Sample Configuration File # ################################################################# # Default setup. Always executed when PPP is invoked. # default: set device /dev/cuaa2 set speed 38400 disable lqr deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATZ OK AT&F OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" set redial 3 10 cincy: set phone 5830791 set openmode active # set login "TIMEOUT 5 user:-\\r-user: ppp word: ppp" deny chap accept pap # enable pap set authname **** set authkey **** set ifaddr 206.173.96.3/24 10.10.11.11/0 255.255.255.0 # set ifaddr 206.173.96.3/24 HISADDR delete ALL add 0 0 HISADDR # add 206.173.96.3\24 0 HISADDR --------------3F54BC7E1CFBAE3959E2B600--