Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Nov 1998 10:35:10 -0500
From:      "Eric L. Santelices" <eric@macpublic.com>
To:        freebsd-newbies@FreeBSD.ORG
Subject:   PPP Question
Message-ID:  <v04020a01b268c6472d87@[209.4.68.250]>

next in thread | raw e-mail | index | archive | help
--============_-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

---

<fixed><bigger>################################################################

# 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 </bigger></fixed>

/-------------------------------------------\

                    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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v04020a01b268c6472d87>