From owner-freebsd-stable Tue Apr 28 23:52:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA06678 for freebsd-stable-outgoing; Tue, 28 Apr 1998 23:52:56 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from penguin.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [194.237.142.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA06670; Tue, 28 Apr 1998 23:52:50 -0700 (PDT) (envelope-from erakupa@kk.etx.ericsson.se) Received: from kkb3 (kkb3.kk.etx.ericsson.se [130.100.97.23]) by penguin.wise.edt.ericsson.se (8.7.5/8.7.3/glacier-1.12) with SMTP id IAA28077; Wed, 29 Apr 1998 08:52:46 +0200 (MET DST) Received: from kk662.kk.etx.ericsson.se by kkb3 (SMI-8.6/LME-2.2.6) id IAA23925; Wed, 29 Apr 1998 08:52:44 +0200 From: erakupa@kk.etx.ericsson.se (ETX-B-SL Martti Kuparinen) Received: by kk662.kk.etx.ericsson.se (SMI-8.6/client-1.6) id IAA09588; Wed, 29 Apr 1998 08:52:45 +0200 Date: Wed, 29 Apr 1998 08:52:45 +0200 Message-Id: <199804290652.IAA09588@kk662.kk.etx.ericsson.se> To: isp@FreeBSD.ORG, stable@FreeBSD.ORG Subject: pppd troubles in 2.2.6-STABLE X-Sun-Charset: ISO-8859-1 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk I'm having troubles with my PPP server running 2.2.6-STABLE. This server is running the kernel PPP, a.k.a pppd, and accepts only PPP connections with PAP authentication. Every time users disconnects from the PPP server the wtmp entry is not updated, i.e. the user seems to be logged in until the server is rebooted. Here is a snapshot from wtmp: # last | grep PPP gunnar ttyd0 :PPP Lör 25 Apr 19:54 still logged in gunnar ttyd0 :PPP Fre 24 Apr 22:01 still logged in gunnar ttyd0 :PPP Tor 23 Apr 20:58 still logged in The log messages indicate that gunnar connected on Apr 24 22:01:12 and disconnected shortly after on Apr 24 22:01:27. This disconnection is however not recorded to wtmp. Apr 23 21:07:24 sigurd pppd[3232]: pppd 2.2.0 started by root, uid 0 Apr 24 22:01:12 sigurd pppd[3232]: Connect: ppp0 <--> /dev/ttyd0 Apr 24 22:01:13 sigurd pppd[3232]: local IP address 10.0.0.1 Apr 24 22:01:13 sigurd pppd[3232]: remote IP address 10.0.0.100 Apr 24 22:01:13 sigurd pppd[3232]: No matching compression scheme, CCP disabled Apr 24 22:01:27 sigurd pppd[3232]: Modem hangup Apr 24 22:01:27 sigurd pppd[4785]: pppd 2.2.0 started by root, uid 0 Apr 25 19:54:48 sigurd pppd[4785]: Connect: ppp0 <--> /dev/ttyd0 Apr 25 19:54:49 sigurd pppd[4785]: local IP address 10.0.0.1 Apr 25 19:54:49 sigurd pppd[4785]: remote IP address 10.0.0.100 Apr 25 19:54:49 sigurd pppd[4785]: No matching compression scheme, CCP disabled Apr 25 20:03:46 sigurd pppd[4785]: Modem hangup Apr 25 20:03:46 sigurd pppd[7907]: pppd 2.2.0 started by root, uid 0 I am starting pppd directly from /etc/ttys with the following lines ttyd0 "/usr/sbin/pppd -detach 115200" dialup on insecure ttyd1 "/usr/sbin/pppd -detach 115200" dialup on insecure My pppd configuration file (/etc/options) looks like this: crtscts # Hardware flow control modem # modem line passive # wait for LCP +pap # Use PAP login # Use /etc/passwd in PAP domain xxx.xxx # our domain name dns1 xxx.xxx.xxx.xxx # our primary DNS server dns2 xxx.xxx.xxx.xxx # our secondary DNS server The server has the address of 10.0.0.1. Clients connected to the first modem get 10.0.0.100 and cilent to the second modem get 10.0.0.101. So my option files look like # cat /etc/options.ttyd0 10.0.0.1:10.0.0.100 # # cat /etc/options.ttyd1 10.0.0.1:10.0.0.101 My /etc/ppp/pap-secrets looks like this. Passwords should are verified against /etc/passwd (well, that is really master.passwd) gunnar * "" martti * "" Any idea what I might be doing wrong? Or is this simply a bug in pppd 2.2.0? Thanks in advance, Martti To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message