Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio blue screen boot bsod connection crash dell desktop driver dvd email error excel excel 2003 firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem processor ram recovery router screen slow sound spyware tdlwsp.dll trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
bringing nic back up

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
snowdog's Avatar
Member with 72 posts.
 
Join Date: Apr 2003
Location: Edmonton, AB, Canada
10-May-2003, 10:33 PM #1
bringing nic back up
I'm in the habit of leaving my computer on all the time (except in thunderstorms, no UPS), but what I'd like to do is disable the nic while I'm away (I'm already behind a physical firewall). What I've tried is '#ifconfig eth0 down' to disable which works fine. Now when I enter '#ifconfig eth0 up' nothing happens (had to reboot to bring it back up). Anyone have an idea about this? Not too sure what other options I should add to that '...up' command. Would restarting an init script work (maybe DHCP)? I'm running Mandrake 9.1.
__________________
"One OS to rule them all, one Passport to find them,
DRM to bring them all and with the EULA bind them,
In the Land of Redmond, where the Shadows lie." -- Unknown
snowdog's Avatar
Member with 72 posts.
 
Join Date: Apr 2003
Location: Edmonton, AB, Canada
10-May-2003, 10:42 PM #2
Hate replying to myself, but I'm also running gkrellm. Not sure if that would get in the way of anything. Thanks for reading these posts guys.
lynch's Avatar
Senior Member with 1,962 posts.
 
Join Date: Aug 2002
Location: Back East,Way Back East
11-May-2003, 05:28 AM #3
If you use DHCP you could try:
ifconfig eth0 down
dhcpcd eth0

Other than that,I guess it would take a reboot to restart the nic.
I use a cable modem with a stand-by switch so I just use that to dis-connect from the clouds .
My box runs 24/7 also.
HTH
lynch
__________________
seldom right,but never in doubt...
Here's a few links I find helpful:
Intro to Linux:A Hands-on Guide
USALUG
A little Linux help
OpenSUSE help+
Bash Commands
snowdog's Avatar
Member with 72 posts.
 
Join Date: Apr 2003
Location: Edmonton, AB, Canada
11-May-2003, 12:14 PM #4
Thx for responding lynch. I did some digging on Google and found this... http://lwn.net/Alerts/19741/. To restart the network just enter (as root) '#service network restart'. I gave it a test run, entered '#ifconfig eth0 down', then brought it back up with '#service network restart', no prob!
__________________
"One OS to rule them all, one Passport to find them,
DRM to bring them all and with the EULA bind them,
In the Land of Redmond, where the Shadows lie." -- Unknown
lynch's Avatar
Senior Member with 1,962 posts.
 
Join Date: Aug 2002
Location: Back East,Way Back East
11-May-2003, 01:34 PM #5
That's great.Glad you found a solution.Thanks for providing the link,too.
lynch
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 08:32 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.