Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 May 1999 09:26:44 -0500 (EST)
From:      Richard J Kuhns <rjk@grauel.com>
To:        freebsd-current@freebsd.org
Subject:   PPP problem + mailing list archive problem
Message-ID:  <14156.1188.726396.700281@moran.grauel.com>

next in thread | raw e-mail | index | archive | help
Well, I'd hoped I'd be able to do a little more before bothering the list,
but...

I'd last built world around the end of April, with no problems.  I then
grew a fairly heavy workload, and so didn't get a chance to build world
again until 2 days ago (May 24).  During that time, something changed with
ppp so it no longer works correctly for me (details shortly).

**
I decided to check the -commit archives in case I missed an alert
somewhere, and the database seems to be corrupted.  Using netscape 4.5, I
checked cvs-committers only, asked for articles on ppp sorted by date, and
got a nice list.  However, when I click on, say,

4.Brian Some cvs commit: src/usr.sbin/ppp arp.c defs.c iface.c ipcp.c tun.c 
       Score: 711; Lines: 35; 26-Apr-1999; Archive: cvs-committers

I get an article commenting on a commit to src/secure/usr.bin/bdes bdes.c.
**

I normally start ppp with -auto XXX-pppd, with the following ppp.conf (I
have a static IP address).

#
# Default setup. Executed always when PPP is invoked.
#
default:
 set log Phase Chat Connect LCP IPCP CCP TUN command
 set device /dev/cuaa0
 set speed 57600
 set ctsrts on
 set stopped 5
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATZ OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"
#
#
XXX-pppd:
 allow user me
 set openmode passive
 set phone 123456
 set login "TIMEOUT 5 login:-\\r-login: ppp word: xxxxxx
 set timeout 1200
 set socket /var/tmp/internet ""
 deny lqr
 disable lqr
 delete all
 set ifaddr *myaddr* *hisaddr*
 add default HISADDR
 enable dns

test-pppd:
 allow user me
 set openmode passive
 set phone 123456
 set login "TIMEOUT 5 login:-\\r-login: ppp word: xxxxxx

#################################################

I dial and login ok, but then nothing happens.  the ppp.log says

(normal successful login...)
May 25 11:02:48 moran ppp[3577]: tun0: Phase: deflink: login -> lcp 
May 25 11:02:48 moran ppp[3577]: tun0: LCP: FSM: Using "deflink" as a transport 
May 25 11:02:48 moran ppp[3577]: tun0: LCP: deflink: State change Initial --> Closed 
May 25 11:02:48 moran ppp[3577]: tun0: LCP: deflink: State change Closed --> Stopped 
May 25 11:02:53 moran ppp[3577]: tun0: LCP: deflink: Stopped timer expired 
May 25 11:02:53 moran ppp[3577]: tun0: LCP: deflink: State change Stopped --> Closed 
May 25 11:02:53 moran ppp[3577]: tun0: LCP: deflink: State change Closed --> Initial 
May 25 11:03:01 moran ppp[3577]: tun0: Command: /dev/tty: down 
May 25 11:03:01 moran ppp[3577]: tun0: Phase: deflink: Disconnected! 

It sits at the "State change Closed --> Initial" until I tell it to
disconnect or the idle time goes off.  ps shows it waiting on "select".
All the `p's in the pppctl/ppp prompt are lower case.

Curiously enough, if I do everything manually, it works!  Ie, I start ppp,
set device, set speed, use "term" to talk directly to the modem, and
ATDT123456 to dial and then login, I get the prompt almost immediately with
all upper-case Ps, and I can then enter the commands to set address/routes
and it works just fine.

At this moment, I'm running a 3.1 binary from the CD; it works perfectly
also.  Did I miss something, or is this a genuine bug?  I'll be happy to
try other things/supply more info on request.

Thanks...

-- 
Richard Kuhns			rjk@grauel.com
PO Box 6249			Tel: (765)477-6000 \
100 Sawmill Road				    x319
Lafayette, IN  47903		     (800)489-4891 /


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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