Best way to kill the Internet?
What is the most recommendable way to switch off the Internet connection temporarily? (probably by using some terminal commands)
Ideally, it would be good if the connection could not be restored in seconds but it would take at least half a minute or more to get it back. (I have got a picture that according to the research literature on work efficiency, it helps a lot if disturbing factors are at least at the distance of 20 seconds) How these software solutions compare to pulling cord off from an ADSL modem? |
Best way to kill the Internet is not to sit before the computer.
|
Depending on your distro, use ifup <your interface> & ifdown <your interface> as root or sudo.
|
If you want to keep the LAN connectivity alive then removing the default route with
Code:
ip route delete default Code:
ip route add default via 192.168.1.1 |
|
Mentioned in the first post.
|
arptables -P INPUT DROP
Assuming you're in an IPv4 environment... |
Quote:
Quote:
It would be helpful if you explained better what your intentions are here. I thought that maybe you wished to disable it to avoid someone like your child from getting on the Internet when they weren't allowed. Talking about work efficiency is the opposite of what I'd think because if the Internet was not available, a large amount of myself and peers would be limited in our work capabilities. If you're talking about removing distractions away from employees so that they can do work as opposed to surfing the network, that's a management problem not a technology problem. They'll find ways to not work and likely many of them have other means to get to the network besides their desktop systems. And if this is all philosophical, I'd instead recommend the Non-Nix->General forum instead. |
All times are GMT -5. The time now is 06:00 PM. |