Solved

PPP Monitoring Utility

Posted on 2000-03-24
7
204 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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

705 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now