Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have an internet connection that I'd like to be enabled only during the day. With multiple household internet devices, this would need to be something disabled at the level of the router.

I don't believe the router offers this sort of functionality, but I'm reasonably familiar with setting up web servers and the like, and I'm wondering if I can set up some sort of proxy server on the internet that the router must go through and have that proxy only active at certain times of day.

It's a bit vague I know, but is something like this even possible?

If not, are there other solutions to the problem?

share|improve this question
3  
Do you have access to the router's admin features? If you give us a make and model someone might be able to give you specifics. –  CharlieRB Aug 29 '12 at 13:26
    
The question title is in conflict with the actual question. "How to disable internet access at night"..."I have an internet connection that I'd like to be enabled only at night" –  Moab Aug 29 '12 at 13:58
    
I don’t know about your situation, but we have a cable-modem that has a standby button on top, so each night, I just hit it to turn off all Internet access, even to the router itself (it doesn’t really need to update its clock in the middle of the night). It’s not automatic, but it’s simple and effective. –  Synetech Aug 29 '12 at 14:33
add comment

5 Answers

There are low tech solutions also. You can use a light timer such as this. They also make digital ones that are more customizable.

share|improve this answer
4  
Genius! I wonder though if the router or its power supply would fail sooner due to the power being toggled so often? Does anyone have experience with using solution? –  Chris Nava Aug 29 '12 at 15:43
    
you could use a cheap switch between the router and modem so the router is always on –  ratchet freak Aug 29 '12 at 16:26
12  
There is another solution that this even more low tech. Get into the following routine: (1) Wake up. (2) Plug in the router. (3) Go about your day. (4) Unplug the router. (5) Go to sleep. –  emory Aug 29 '12 at 17:07
    
Devices like these draw little power, nor do they have a surge in power when turned on. Still, to be safe, always use a surge protector. –  Keltari Aug 29 '12 at 18:41
1  
@ChrisNava - I just noticed your question. Yes, I came up with and used this solution before. Long, long ago I worked at a company where we provided dial in access to in internal network. The modem aggregator connected 16 modems to the LAN. I found it would lock up once a week. I called the manufacturer and was told it was an unfixable bug and the device would have to be reset if it occurred. Rather than waiting around for it to fail, I implemented a nightly "maintenance window" which was using the timer to turn the device off at 3AM for 15 minutes. Never had an issue again. –  Keltari Sep 3 '12 at 17:59
add comment

If your router supports running DD-WRT then you can quite happily disable certain features at certain times (or even restrict this to only include particular machines)

If your router doesn't support DD-WRT, then buy a router that supports DD-WRT.

See the DD-WRT Website which has a compatibility list (Router Database)

share|improve this answer
    
Except for the "buy a new router" portion I recommend this solution. I received a second hand router that supported DD-WRT and promptly replaced my existing (arguably better quality) router that didn't support DD-WRT once I saw its features. –  Chris Nava Aug 29 '12 at 15:46
add comment

Some routers have telnet or SSH access. If yours does then you could create a script to log into the router and disable/enable the WAN connection (do a DHCP release/renew.) Run that on a schedule and you're all set. Restarting the router at night would re-enable the WAN in this case.

share|improve this answer
    
Run it from where? They have multiple Internet devices, so which one is supposed to be the “master” that administers the router? –  Synetech Aug 29 '12 at 14:31
    
Whichever one he wants... –  Chris Nava Aug 29 '12 at 14:39
    
You missed the point. Because there are multiple devices, none can be a “master”. For example, he could assign his own laptop to be the master, but what if the wife wants to check her email after you finished up early for the night? With your way, he would need to wait until every device is confirmed to be disconnected, or else leave one system on 24x7; either way it’s at best inconvenient, at worst, a waste. He needs a device-independent way, which is why he asked for an in-router method. –  Synetech Aug 29 '12 at 15:08
    
You are reading too much into the question... He didn't ask for device independence or a solution that doesn't require a computer. This is just one possible way to accomplish the goal. I'm not saying it's the only way or even the best way. Chill out. –  Chris Nava Aug 29 '12 at 15:13
1  
"If not, are there other solutions to the problem?" leaves it open to creativity IMHO. –  Chris Nava Aug 29 '12 at 15:14
show 3 more comments

The OP has not responded to a request for his specific router's "make and model", so we don't know what features it has. However I have a 1 year old, high-end wireless router (dual band, guest network access, wireless on/off switch, USB port), and it does not have direct control of enabling/disabling the "internet access" or the WAN based on a timer.

However this wireless router can perform "content filtering" (aka "parental control") by blocking sites and/or services based on a schedule. The firewall is inspecting all packets traversing the WAN to LAN boundary, and is the natural place to install a simple "internet en/dis-able capability" (i.e. block all sites and services on a nightly schedule).

So the OP should be evaluating the firewall capabilities of his router (e.g. can rules be applied by a schedule), rather than looking for a "WAN disable" feature/capability.

share|improve this answer
add comment

It depends on why you want it off at night. Obviously to disable it completely, internet and network traffic you could just unplug it. That wouldn't work for me because the reason I want it off at night is to keep my teenage kids from staying up too late on their computers, and they could just plug the router back in. So I go into the settings on my router with the password and block all ports on a certain schedule. This would also depend though on if your router supports this feature.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.