LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-08-2009, 12:32 PM   #1
jarias
LQ Newbie
 
Registered: May 2009
Posts: 12

Rep: Reputation: 0
centos - pptpd


Hi all,

I already install pptpd module working great.

My questions is how can I see who's currently online via pptp.>

Is there a command I'm missing?.

Best regrads
Jorge
 
Old 05-08-2009, 01:17 PM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
the w and who commands should be able to provide that info
 
Old 05-08-2009, 03:12 PM   #3
jarias
LQ Newbie
 
Registered: May 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by datopdog View Post
the w and who commands should be able to provide that info
Thanks datopdog but it only show whos loggen in will not show the pptp user connected

root :0 - Thu16 ?xdm? 42.68s 0.30s /usr/bin/gnome-session
root pts/1 216.25.164.10 09:56 0.00s 0.15s 0.00


regrads
Jorge
 
Old 05-08-2009, 04:19 PM   #4
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
a pptp connection is considered a remote login and it should appear as well, the last time i ran a pptpd server i could see the users logged in. I can even see l2tpd users on my ipsec/l2tpd vpn
 
Old 05-08-2009, 04:21 PM   #5
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
You can also try the last command.
 
Old 05-08-2009, 06:05 PM   #6
jarias
LQ Newbie
 
Registered: May 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by datopdog View Post
You can also try the last command.
if I do a netstat -napt
I can see 1 user connected but I don't wish is the account

tcp 0 0 216.25.163.27:1723 201.207.139.14:10539 ESTABLISHED 3389/pptpd [201.207

If I ran # w who I get

[root@vpnradius ppp]# w who
17:00:40 up 1:10, 1 user, load average: 0.00, 0.00, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
[root@vpnradius ppp]#

I'm using chap-secrets
 
Old 05-08-2009, 06:08 PM   #7
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
Okay just check you need the logwtmp option in your pptpd config if you are to use the last command.
 
Old 05-15-2009, 11:22 AM   #8
jarias
LQ Newbie
 
Registered: May 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Ok I got it

to get all current connetion try this command

# last | grep ppp | grep still

for accountng try this one too

# ac -d -p

thanks
Regrads

Jorge
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing pptpd on centOs bakhanbeigi Linux - Networking 2 08-22-2008 06:16 AM
PPTPD CentOS 5 - Issues with Shorewall CoMMy Linux - General 0 08-10-2008 10:12 AM
pptpd help rohang Linux - Networking 1 02-25-2006 06:48 PM
Need help getting PPTPD to work Contriver SUSE / openSUSE 1 10-10-2005 04:09 AM
pptpd carlg Linux - Newbie 0 07-05-2004 07:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration