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.

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.

1 Answer 1

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

Your Answer

 
discard

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