Community discussions

MikroTik App
 
jihad
just joined
Topic Author
Posts: 4
Joined: Tue Feb 22, 2005 1:32 am

PPPoE user Control

Wed Feb 23, 2005 2:40 am

Hi every one I have been using MT for the last 2 dais VERY Impressed as I'm from a Cisco, Lucent,Unix backgroud on the NAS

But I have found some thing I need to do but can't so here is the qestion

I have a Unix billing system call billmax which allowsv me to control the user.

So for time logging I get the info from the NAS via SNMP which tells me Username, bytes up, down,tty, tickes (time on line) and so on I take the tickes + tickes used and if greater then the ticks allows drop him

same with the bytes used I read allot in the forum about and I think it much easier with SNMP for pppoe as pppoe is an interface the info is there as

IF-MIB::ifName.36 = STRING: <pppoe-test>
IF-MIB::ifHCInOctets.36 = Counter64: 5526
IF-MIB::ifHCOutOctets.36 = Counter64: 19304

as you can see it's there but small thing missing

like the info tying to the pppoe number and how long the interface is up for. Once it's there and as the info is in the system and need's to be put in the SNMP system this would greatly help

plus a more egent way of disconecting some the runing ssh and running a comand when you dont know the number to KILL agents the user.
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Wed Feb 23, 2005 4:06 pm

Why not to use RADIUS?
plus a more egent way of disconecting some the runing ssh and running a comand when you dont know the number to KILL agents the user.
Find command should help.
 
jihad
just joined
Topic Author
Posts: 4
Joined: Tue Feb 22, 2005 1:32 am

Thu Feb 24, 2005 3:08 am

Radius on the Server Side you mean on the start record. If so do you have a script I can look at and the ssh for the find command so to get the info.

I just like SNMP way it was much easier one call and you get the info. I hope you can get it put in the system to get all the user info from snmp as most SNMP managers can get this standered info.
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Thu Feb 24, 2005 3:15 pm

 
sonbob115
just joined
Posts: 1
Joined: Wed Jun 03, 2009 5:27 am

Re: PPPoE user Control

Wed Jun 03, 2009 5:28 am

Hi there, Would a new one like me be welcome here?
Thanks so much in deed. :o

fiscalite assurance vie