Mine must be a question not only asked many a time, but also common knowledge
to most network users.
I want to setup an Internet Service Provider service for many users with an
ISDN link to the Internet! I've looked into this with Linux in great detail
and am going ahead with it. Everything is setup such as DNS, Email, WWW, etc,
etc, even as far as having the Cyclades multiport card. However, I would like
to be able to have some way of keeping account of people's dialup usage.
I would setup a seperate machine to be the modem-pool server with probably
2 multiport serial cards. They would callup and due to (I think) ugetty they
will receive a "telnet" login screen. They then enter their unique username
and password and that would run a batch file, perhaps ppplogin, or something
like that. At that stage they will have ppp access until they hangup or use
more than the time allowed. Fairly simple, once setup properly.
Question is, are there programs out there that will "account" the amount of
time spent on a ppp connection, the amount used, and if either of these is used
over the amount allowed the program(s) would hangup the user until the next
day. I think you can see what I'm getting at here. Perhaps the answer lies in
some intelligent batch file that would monitor /proc/net/dev, or something like
Again, I want something that keeps an account of users time and data usage, and
perhaps some sort of setup to hangup people who overuse their allowed amounts.
ANY information would be greatly appriciated.