Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-21-2005, 10:50 AM   #1
LQ Newbie
Registered: Jan 2005
Location: St. Louis
Distribution: Mandrake 7.0
Posts: 1

Rep: Reputation: 0
Linux Networking

I'm running Mandrake Linux 7.0... because It's all I could find and the price was right. I have it set up on a machine with latest version of MySql, and have most/all of the services available. All is working well.

I desire to disable the Internet services for several hours each day.
This machine is a private machine with DSL Internet connection behind
a cable modem.

Internet -> CableModem -> LinuxBox1 -> LAB_1/24PC's
LinuxBox2 -> LAB_2/12PC's

I am interested in stopping Internet connection to the individual
computer labs for several specific hours each day.

I am looking at crontab for setting up a disableing script, but I am
not too sure what to disable. Maybe a service, maybe just an interface?

... but then later I will need the selected item re-enabled.

Can anyone assist with an idea or two?

Old 01-21-2005, 11:28 AM   #2
Senior Member
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 97
If it's a standalone machine, probably the easiest way is:

Shutdown eth0:

ifconfig eth0 down

Then later start it back up:

ifconfig eth0 up


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
networking xp and linux djgerbavore Linux - Networking 1 01-01-2005 07:37 PM
Linux Networking alexr186 Linux - Networking 4 10-11-2003 10:48 AM
Linux Networking Arch3r Linux - Networking 0 07-22-2003 03:01 PM
Linux RH 8.0 networking klmn1 Linux - Networking 1 11-18-2002 06:52 AM
Networking Linux Disaster Linux - Newbie 6 12-04-2000 04:46 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration