conf/121452: /etc/rc.d/ppp not working as expected

Manfred Usselmann usselmann.m at icg-online.de
Thu Mar 6 23:00:02 UTC 2008


>Number:         121452
>Category:       conf
>Synopsis:       /etc/rc.d/ppp not working as expected
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 06 23:00:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Manfred Usselmann
>Release:        6.3 STABLE
>Organization:
ICG IT Consulting GmbH
>Environment:
FreeBSD icg-pc211.hofheim.icg-online.de 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #4: Wed Dec 26 13:38:10 CET 2007     manfred at icg-pc211.hofheim.icg-online.de:/usr/obj/usr/src/sys/ICG-PC211-RELENG-6-I4B  i386

>Description:
ppp_mode in rc.conf is set to 'ddial', but the start script /etc/rc.d/ppp sets it to 'auto'.

The following part 

        eval _ppp_mode=\$ppp_${_ppp_profile}_mode
        if [ -z "$_ppp_mode" ]; then
                _ppp_mode=$ppp_mode
        fi

sets _ppp_mode  to '-dsl_mode' instead of 'ddial'. This is invalid and therefore set to 'auto' later on.

My settings in rc.conf are:

ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="NO"
ppp_profile="t-dsl"   # name of service provider
>How-To-Repeat:
Set rc.conf to:

ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="NO"
ppp_profile="t-dsl"   # name of service provider

>Fix:
I'm not an expert in shell programming unfortunately...

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list