LinuxQuestions.org
Help answer threads with 0 replies.
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
  Search this Thread
Old 08-16-2015, 02:40 AM   #1
sirabhorn
Member
 
Registered: Jan 2012
Distribution: Debian, Slackware, CentOS
Posts: 45

Rep: Reputation: Disabled
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?
 
Old 08-16-2015, 03:39 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Best way to kill the Internet is not to sit before the computer.
 
1 members found this post helpful.
Old 08-16-2015, 04:22 AM   #3
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,473

Rep: Reputation: Disabled
Depending on your distro, use ifup <your interface> & ifdown <your interface> as root or sudo.
 
Old 08-16-2015, 04:58 AM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,790

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
If you want to keep the LAN connectivity alive then removing the default route with
Code:
ip route delete default
and restoring with 'ip route add default via <gateway router address>' eg
Code:
ip route add default via 192.168.1.1
 
Old 08-16-2015, 03:20 PM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
pull the plug?

http://www.biggercheese.com/comics/0332.png
 
Old 08-16-2015, 08:49 PM   #6
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Mentioned in the first post.
 
Old 08-18-2015, 05:39 AM   #7
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 997
Blog Entries: 15

Rep: Reputation: 136Reputation: 136
arptables -P INPUT DROP

Assuming you're in an IPv4 environment...
 
Old 08-18-2015, 06:54 AM   #8
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,879
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by sirabhorn View Post
(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)
What in the world does that mean?
Quote:
Originally Posted by sirabhorn View Post
How these software solutions compare to pulling cord off from an ADSL modem?
The right software solution is exactly the same result as pulling a cable.

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.

Last edited by rtmistler; 08-18-2015 at 06:56 AM.
 
  


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
“Standard Operating Procedure 303,” also known as the “Internet kill switch” mjolnir General 6 11-19-2013 03:27 PM
LXer: How to kill a process in Linux - kill, killall, pkill, xkill LXer Syndicated Linux News 0 04-02-2013 12:01 PM
The Senate is attempting to sneak through the infamous Internet kill switch rob.rice General 67 09-06-2011 12:18 PM
Should Obama's 'internet kill switch' power be curbed? Jeebizz Linux - News 3 11-25-2010 01:29 PM
Torrent clients kill my internet connection? gejr Ubuntu 4 04-23-2007 05:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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