From owner-freebsd-bugs Sun Nov 9 11:30:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA29871 for bugs-outgoing; Sun, 9 Nov 1997 11:30:07 -0800 (PST) (envelope-from owner-freebsd-bugs) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA29856; Sun, 9 Nov 1997 11:30:04 -0800 (PST) (envelope-from gnats) Resent-Date: Sun, 9 Nov 1997 11:30:04 -0800 (PST) Resent-Message-Id: <199711091930.LAA29856@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, frf@xocolatl.com Received: from ns.tesco-stores.cz ([194.228.14.253]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA29775 for ; Sun, 9 Nov 1997 11:28:42 -0800 (PST) (envelope-from frf@crux.tesco-stores.cz) Received: from crux.tesco-stores.cz (nis6.cesnet.cz [194.108.107.214]) by ns.tesco-stores.cz (8.8.2/8.8.2) with ESMTP id UAA31892 for ; Sun, 9 Nov 1997 20:23:27 +0100 Received: (from frf@localhost) by crux.tesco-stores.cz (8.8.7/8.8.7) id UAA01457; Sun, 9 Nov 1997 20:24:52 +0100 (CET) Message-Id: <199711091924.UAA01457@crux.tesco-stores.cz> Date: Sun, 9 Nov 1997 20:24:52 +0100 (CET) From: frf@xocolatl.com Reply-To: frf@xocolatl.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/4993: ppp retains old phone number after loading new profile Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >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: