From owner-freebsd-newbies Fri Nov 6 07:35:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA11904 for freebsd-newbies-outgoing; Fri, 6 Nov 1998 07:35:49 -0800 (PST) (envelope-from owner-freebsd-newbies@FreeBSD.ORG) Received: from mac1.hail.net (mac1.hail.net [209.137.84.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA11890 for ; Fri, 6 Nov 1998 07:35:46 -0800 (PST) (envelope-from eric@macpublic.com) Received: from [209.4.68.250] (ericsan.dialisdn.com [209.4.68.250]) by mac1.hail.net (8.8.8/8.8.8/Hail/hg.1) with ESMTP id KAA15917 for ; Fri, 6 Nov 1998 10:37:02 -0500 (EST) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="============_-1301755960==_ma============" X-Sender: eric@mail.hail.net Message-Id: Date: Fri, 6 Nov 1998 10:35:10 -0500 To: freebsd-newbies@FreeBSD.ORG From: "Eric L. Santelices" Subject: PPP Question Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --============_-1301755960==_ma============ Content-Type: text/plain; charset="us-ascii" I have configured my PPP setup usingthe tutorial on the web site (PPP - Pedantic PPP Primer). When I type ppp -auto demand, I get a message Warning: You must "set ifaddr" in label demand for auto, background or ddial mode. Any suggestions? Here is my ppp.conf file --- ################################################################ # PPP Configuration File ('/etc/ppp/ppp.conf') # # Default settings; These are always executed always when PPP # is invoked and apply to all system configurations. ################################################################ default: set device /dev/cuaa1 #modem is on com2 set speed 115200 disable pred1 deny pred1 disable lqr deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0M0 OK-AT-OK\\dATDT\\T TIMEOUT 40 CONNECT" set redial 3 10 # # ################################################################ # # For interactive mode use this configuration: # # Invoke with `ppp -alias interactive` # ################################################################ interactive: set authname ericsan set authkey XXXXXX set phone 745-8737 set timeout 300 set openmode active accept chap # ################################################################ # # For demand-dial (automatic) mode we'll use this configuration: # # Invoke with: 'ppp -auto -alias demand' # ################################################################ demand: set authname ericsan set authkey XXXXXX set phone 745-8737 set timeout 300 set openmode active accept chap set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0 add 0 0 127.2.2.2 ################################################################ # End of /etc/ppp/ppp.conf /-------------------------------------------\ Eric L. Santelices macPublic, Inc. 305-232-8756 Voice * 305-259-7576 Fax EMail Pager : pageeric@hail.net http://www.macPublic.com \-------------------------------------------/ --============_-1301755960==_ma============ Content-Type: text/enriched; charset="us-ascii" I have configured my PPP setup usingthe tutorial on the web site (PPP - Pedantic PPP Primer). When I type ppp -auto demand, I get a message Warning: You must "set ifaddr" in label demand for auto, background or ddial mode. Any suggestions? Here is my ppp.conf file --- ################################################################ # PPP Configuration File ('/etc/ppp/ppp.conf') # # Default settings; These are always executed always when PPP # is invoked and apply to all system configurations. ################################################################ default: set device /dev/cuaa1 #modem is on com2 set speed 115200 disable pred1 deny pred1 disable lqr deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0M0 OK-AT-OK\\dATDT\\T TIMEOUT 40 CONNECT" set redial 3 10 # # ################################################################ # # For interactive mode use this configuration: # # Invoke with `ppp -alias interactive` # ################################################################ interactive: set authname ericsan set authkey XXXXXX set phone 745-8737 set timeout 300 set openmode active accept chap # ################################################################ # # For demand-dial (automatic) mode we'll use this configuration: # # Invoke with: 'ppp -auto -alias demand' # ################################################################ demand: set authname ericsan set authkey XXXXXX set phone 745-8737 set timeout 300 set openmode active accept chap set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0 add 0 0 127.2.2.2 ################################################################ # End of /etc/ppp/ppp.conf /-------------------------------------------\ Eric L. Santelices macPublic, Inc. 305-232-8756 Voice * 305-259-7576 Fax EMail Pager : pageeric@hail.net http://www.macPublic.com \-------------------------------------------/ --============_-1301755960==_ma============-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message