Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Apr 1998 13:26:41 +0200
From:      erakupa@kk.etx.ericsson.se (ETX-B-SL Martti Kuparinen)
To:        questions@FreeBSD.ORG
Subject:   pppd not writing to wtmp on disconnect
Message-ID:  <199804091126.NAA01296@kk662.kk.etx.ericsson.se>

next in thread | raw e-mail | index | archive | help
I have some problems with my pppd server (2.2.6-RELEASE). See the
following outputs and I'll try to explain what was going on.

Lines from /var/log/messages:

Apr  9 00:18:20 sigurd pppd[1011]: pppd 2.2.0 started by root, uid 0
Apr  9 00:19:01 sigurd pppd[1011]: Connect: ppp0 <--> /dev/ttyd1
[...]
Apr  9 00:26:35 sigurd pppd[1011]: Connection terminated.
Apr  9 00:26:39 sigurd pppd[1021]: pppd 2.2.0 started by root, uid 0

Apr  9 00:33:05 sigurd pppd[1021]: Connect: ppp0 <--> /dev/ttyd1
Apr  9 00:33:06 sigurd pppd[1021]: local  IP address 10.0.0.1
Apr  9 00:33:06 sigurd pppd[1021]: remote IP address 10.0.0.2
Apr  9 00:33:06 sigurd pppd[1021]: No matching compression scheme, CCP disabled
Apr  9 00:38:26 sigurd pppd[1021]: Modem hangup
Apr  9 00:38:26 sigurd pppd[1033]: pppd 2.2.0 started by root, uid 0

>From the ``last'' command:

challe   ttyd1    :PPP             Tor  9 Apr 00:33   still logged in
rui      ttyd1    :PPP             Tor  9 Apr 00:19 - 00:26  (00:07)

User ``rui'' used his Windows 95 pc between 00:19-00:26 and everything
was logged to wtmp as it should be.

User ``challe'' used his FreeBSD 2.2.5-RELEASE pc to connect at 00:33.
He disconnected from the server at 00:38 (according to entries in
/var/log/messages). This disconnection was however not written to wtmp!

Any ideas how to fix this? This happens never when using Windows client
and _every_ time when using FreeBSD client!!

/Martti

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



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