Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Nov 1997 20:24:52 +0100 (CET)
From:      frf@xocolatl.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/4993: ppp retains old phone number after loading new profile
Message-ID:  <199711091924.UAA01457@crux.tesco-stores.cz>
Resent-Message-ID: <199711091930.LAA29856@hub.freebsd.org>

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

>Number:         4993
>Category:       bin
>Synopsis:       ppp retains old phone number after loading new profile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov  9 11:30:03 PST 1997
>Last-Modified:
>Originator:     frf
>Organization:
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

3.0-CURRENT FreeBSD 3.0-CURRENT #0:
Sun Nov  9 04:53:27 CET 1997

>Description:

ppp uses phone number from prior profile after loading a new profile,
but only the first time.


>How-To-Repeat:

# lines starting with # are my comments.
# Lines starting in col 0 are prompts.
# Lined indented are program output.

# Define multiple profiles in ppp.conf.

# Start it up with profile 1
root@crux: 8 > ppp work
        User Process PPP. Written by Toshiharu OHNO.
        Using interface: tun0
        Interactive mode

# Dail from profile 1

ppp ON crux> dial
        Dial attempt 1 of 1
        Phone: 24227488
        Warning: DialModem: dial failed.

# Number's busy. 
# Show "work" profile

ppp ON crux> show modem
        device: /dev/cuaa0  speed: 115200
        cs8, no parity, CTS/RTS on.
        connect count: 1
        outqlen: 0
        DialScript  = ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" ATE1Q0X3
        	      OK-AT-OK \dATDP\T TIMEOUT 60 CONNECT
        LoginScript = TIMEOUT 5 name:--name: xxx word: xxx raha> ppp
        PhoneNumber(s) = 24227488|22003242

# Load "play" profile

ppp ON crux> load play
ppp ON crux> show modem
        device: /dev/cuaa0  speed: 115200
        cs8, no parity, CTS/RTS on.
        connect count: 1
        outqlen: 0
        DialScript  = ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" ATE1Q0X3
        	      OK-AT-OK \dATDP\T TIMEOUT 60 CONNECT
        LoginScript = TIMEOUT 5 name:--name: xxx word: xxx NET> ppp

# Phone number displayed is correct.

        PhoneNumber(s) = 24221174
ppp ON crux> dial
        Dial attempt 1 of 1

# Number dialed is wrong
# Second phone number of profile work
        Phone: 22003242

# Break out of dial attempt with wrong number and dial again.

^Cppp ON crux> dial
        Dial attempt 1 of 1
        Phone: 24221174
        dial OK!
        login OK!
ppp ON crux> Packet mode.
ppp ON crux> 
PPP ON crux> 
PPP ON crux> show version
        PPP Version 1.3 - $Date: 1997/10/29 01:19:51 $ 
PPP ON crux> 

>Fix:
Unknown

-- frf@xocolatl.com            Currently on assignment at tesco-stores.cz

 There's no point in being grown up if you can't be childish sometimes.
 		-- Dr. Who
>Audit-Trail:
>Unformatted:



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