Solved

PPP Monitoring Utility

Posted on 2000-03-24
7
208 Views
Last Modified: 2013-12-15
Man, I've been all over the net trying to find a PPP monitoring utility for Linux, and I'm coming up empty-handed.
Has noone made anything like this yet, or am I just looking in the wrong places? What I need is a utility(preferably GUI) that would show who's connected, how long they've been connected, and ideally the bandwith they're using.
PLEASE HELP.
0
Comment
Question by:tibori
  • 4
  • 2
7 Comments
 
LVL 4

Accepted Solution

by:
kiffney earned 30 total points
ID: 2654101
These might be too simple, but I just use 'w' (shows the start time of the connection) and 'pppstats pppx' (shows bytes sent and received, replace pppx with the device number). For GUI, I know of  pload at
http://www.engr.utk.edu/~mdsmith/pload).  or there's http://sunsite.auc.dk/qweb/kpppload/

0
 
LVL 3

Author Comment

by:tibori
ID: 2654368
Thanks kiffney. That's nice for the bandwith, but I still don't know the names of the users that are connected and which terminal device they're connected to. The only way I have currently of knowing this is checking the mgetty logs. BTW, I'm running a ppp dialin server using mgetty and pppd, and I would like to have a way of monitoring(in real time) when someone connects, disconnects, etc.
0
 
LVL 4

Expert Comment

by:kiffney
ID: 2655149
So 'w' doesn't show you login names on your ttySx lines?  It works here.  If you edit mgetty's login.conf on the ppp line, and change the third entry to @, it will put the username in utmp and 'w' should show you the usernames of logged-in ppp users.  I think.  Give it a shot.  (I think any monitoring program you find might be expecting utmp to have the username so you might have to do this anyway, whether or not it makes 'w' work)
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 2

Expert Comment

by:modulus
ID: 2784770
Not _exactly_ what you want, but EtherApe will display some of the info
http://etherape.sourceforge.net/
and Netwatch has an "experimental" version that monitors ppp connections
http://www.slctech.org/~mackay/netwatch.html
0
 
LVL 3

Author Comment

by:tibori
ID: 2899271
Adjusted points from 24 to 30
0
 
LVL 3

Author Comment

by:tibori
ID: 2899272
Comment accepted as answer
0
 
LVL 3

Author Comment

by:tibori
ID: 2899273
Actually "w" does work. A bit simple but adequate.
Thanks
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question