How to monitor who is log in to my PPP dial-in server?

How to monitor who is log in to my PPP dial-in server?

Post by Anthon » Sun, 27 Feb 2000 04:00:00



I have setting up a PPP dial-in server for others access to internet.
Who can tell me how to monitor who log in to my server?
Thank you.

--
Posted via CNET Help.com
http://www.help.com/

 
 
 

How to monitor who is log in to my PPP dial-in server?

Post by Bill Unr » Sun, 27 Feb 2000 04:00:00



Quote:>I have setting up a PPP dial-in server for others access to internet.
>Who can tell me how to monitor who log in to my server?
>Thank you.

There are two seperate question here. To find out who logs into your
server, you need to just look in
last
Hwever if you want to know who has dialed up and made a ppp connection,
that is more difficult. With an appropriate debug level, you can find
out from the pppd log. But mgetty just logs the user in as something
like a_ppp.

 
 
 

1. PPP dial-ins refused, OSR-5 with net100

We're having problems at several client sites running OSR-5 with the
rs500d and net100 patches applied.  PPP is better than it was, but
there are still problems where dial-in PPP connections will work fine
for a while, then will fail to start (usually around 10pm when I'm not
near a system to be able to check anything :-).

I have the system configured so that users logging in through a serial
port are presented with a prompt asking whether they want to start
PPP.  If they want PPP it sets the HOME environment variable and execs
/usr/lib/ppp:
    HOME=/usr/lib/ppp; export HOME
    exec /usr/lib/ppp/ppp

These all are using dynamic IP assignment with entries in the
/etc/ppphosts of the form:
*bill remote=+pool1 flow=rtscts proxy idle=60

Before I installed the net100 patches, this same behaviour would occur
(PPP works for a while then stops), with syslog entries saying the it
couldn't find pool entries once it started failing.  These messages
aren't appearing any more, and I'm still trying to isolate the
problem.

Has anybody else experienced things like this?

These machines are directly connected to the Internet via high speed
lines, CSU/DSU, and routers so there's no need for outgoing PPP, only
dial-in.  Is there any reason to have a pppd running all the time in
this case or can I comment out the startup on /etc/tcp?  The only
thing this process seems to do is generate lots of messages in the
/usr/adm/syslog file of the form:
    Jan  8 08:11:35 tally pppd[282]: can't get passwd for local host
    Jan  8 08:11:35 tally pppd[282]: getppphostent: no local host ID

Bill
--

UUCP:              camco!bill   2835 82nd Avenue S.E. S-100
FAX:           (206) 232-9186   Mercer Island, WA 98040; (206) 947-5591
http://www.celestial.com/
SPEED COSTS MONEY -- HOW FAST DO YOU WANT TO GO?

2. copying files over a network

3. concurrent ppp dial-ins

4. Q: Shell programming problem: HELP!

5. IP Accounting doesn't work for PPP dial-ins :-(( ??

6. right mouse click on panel (gnome 1.4 )

7. Problems with dialing out when dial-ins are enabled

8. Yacc entry for crontab , accepting negative entry how ?

9. Remote unix (RS/6000) servers with dial-ins

10. Need HELP to Log User Log-ins form the internet

11. dial ins

12. Setting up firewall for dial-ins: How?

13. supraexpress modems (28.8) problems w/dial-ins