LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-06-2017, 04:55 PM   #1
shinga77
LQ Newbie
 
Registered: Jun 2011
Location: Centurion, Gauteng, South-Africa
Distribution: Mandriva / CentOS / Fedora / Ubuntu / openSuse / Solaris / RedHat
Posts: 7

Rep: Reputation: 0
Internet Blocking Per User Per Daily Data Usage


Good Day,

I'm setting up a system for a friend. I'm using a Paspberry PI2 with Ubuntu Mate. I'm using the built in Lan port to the router and a USB Wireless card for WiFi.

I got this part working using it as a Gateway firewall. Now, the next step I can't seem to find the program I need, I was thinking about Squid, but seems like Squid can't do what I Need.

He has two Children, both use PC's, Cellphones and tablet for the internet. He want's them to connect to the PI WiFi using their own user name and password for all their devices, which will block them per their user name for a Certain amount of Data allowed per day. Thus if their combined data on their devices are up, they do not have internet access until the next day, when it resets.

Any suggestions on how we can accomplish this?
 
Old 07-06-2017, 05:15 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
https://www.netnanny.com/ comes to mind.

Maybe not. Sorry about that.
 
Old 07-07-2017, 08:22 PM   #3
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
I would start with a traffic shaper, or use iptables (net filter)rules. But it won't be trivial!
 
Old 07-07-2017, 08:42 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,599

Rep: Reputation: 4164Reputation: 4164Reputation: 4164Reputation: 4164Reputation: 4164Reputation: 4164Reputation: 4164Reputation: 4164Reputation: 4164Reputation: 4164Reputation: 4164
I have no experience with setting up a captive portal but it with a radius server should get you going for the wireless devices.

http://coova.github.io/CoovaChilli/

Last edited by michaelk; 07-07-2017 at 08:48 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Internet data usage software zetrotrack000 Linux - Newbie 12 07-02-2017 03:24 AM
Internet Usage Monitor :- Data Usage Monitor / Calculator in Linux jeevanism Linux - Software 1 12-05-2014 01:57 PM
how to get internet data usage in fedora ? santhosh_au Linux - Networking 2 09-07-2010 04:56 AM
Blocking a certain user from the internet The_Nerd Linux - Networking 5 03-14-2008 10:39 PM
How to check daily internet usage? mrpc_cambodia Linux - General 1 07-25-2005 11:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:45 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