LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 01-29-2013, 02:29 PM   #1
MogaMoga
LQ Newbie
 
Registered: Jan 2012
Posts: 11

Rep: Reputation: Disabled
way to limit internet usage?


I need to control the time I spend on the internet. The ideal thing would be a timer that pops up when I log in; Everything works like normal for a set amount of time, for example one hour, and after that all connections go down until the next day, forcing me to go offline.

Is there such a program? Or a very easy way to solve it? I know how to edit the hosts file and can copy and paste and run a simple script, but that's about it.

Found two apps already - SelfControl and SelfRestraint, but they both work with a timer on the internet block instead of a timer on the amount of time the net is accessible, and only work with specified sites.

I need a system wide block, not browser-specific like Leechblock and StayFocused.

Appreciate any help!
 
Old 01-29-2013, 08:07 PM   #2
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, Mint
Posts: 6,891

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
I don't know about any applications, but how about a kitchen timer? It will probably be harder to ignore than a program on the computer. And it's delightfully low tech.

Alternatively, you may be able to configure connection times in your router by MAC address. I used to block the "family computer" from the internet in the router between midnight and 6 a. m. so Second Son couldn't be chatting on AIM all night.

Not that it made him any easier to get up and get to school in the morning . . . .
 
Old 01-29-2013, 08:37 PM   #3
suicidaleggroll
Senior Member
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 2,413

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
As frankbell alluded to, doing things like this in the central router is often easier and more effective than through iptables restrictions on one specific computer (it'll block all internet traffic through the router, including laptops, tablets, smart phones, etc., rather than just internet traffic on one computer).

My girlfriend actually uses this quite often...I'll get a text message at work saying something along the lines of "Block facebook, I'm not getting any work done", and I'll log into the router's web interface and block facebook either indefinitely or for a predetermined length of time. Depending on the router, it's usually easy and effective, and it keeps her off of facebook on the server, her laptop, and her iphone.
 
  


Reply

Tags
block, internet


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Limit memory usage vinaytp Linux - Newbie 1 11-30-2009 11:45 PM
[Squid] Howto Limit Internet Usage Per Month abedzilla Linux - Server 0 07-13-2008 06:49 AM
Limit CPU usage slantoflight Linux - General 5 02-23-2006 03:37 AM
How to limit the account usage. prabhatsoni Linux - Security 5 01-18-2006 02:19 AM
limit usage? mifan Linux - Newbie 4 04-18-2004 06:05 AM


All times are GMT -5. The time now is 01:24 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration