Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2008 22:49:44 GMT
From:      Manfred Usselmann <usselmann.m@icg-online.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   conf/121452: /etc/rc.d/ppp not working as expected
Message-ID:  <200803062249.m26Mni7I045357@www.freebsd.org>
Resent-Message-ID: <200803062300.m26N01Ji036600@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



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