Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way to temporarily "switch off (and back on)" the internet connection on a system (that runs linux)? The following methods are not allowed:

  1. Turning off the router. That would lead to a lot of angry young individuals. This method must be particular to my workstation.

  2. Use root privileges (coz I do not have them).

  3. Yank the ethernet cable from the system.

Why: Sometimes the internet proves to be a distraction.

I am using the following system: Fedora release 11 (Leonidas), linux kernel 2.6.30 and GNOME 2.26.3

share|improve this question

migrated from stackoverflow.com Jan 20 '11 at 10:06

This question came from our site for professional and enthusiast programmers.

What version of linux are you using? There is a page on the ubuntu help that goes into disabling a network adaptor..

https://help.ubuntu.com/8.04/internet/C/networking-disable.html

share|improve this answer
    
you need root for – bestsss Jan 20 '11 at 9:59
    
@bestsss - ah thanks, surely you must need to sudo and know the password then? – WraithNath Jan 20 '11 at 10:01
    
@WraithNath: Added information about system to question. – Sriram Jan 20 '11 at 10:03

You must log in to answer this question.