more stupid network questions

Tony Alfrey tonyalfrey
Mon May 17 12:01:18 PDT 2004


On Sunday 11 April 2004 09:01 pm, Ted Ozolins wrote:
> Tony Alfrey wrote:
> >Hi list:
> >
> >Please bear with me because I'm gonna have a pile of really DUMB
> > network questions now that I have this warp speed connection.  You
> > are all gonna be ROTFLYAO.
> >
> >Is there a way to turn the f*$(%& network card off other than
> > unplugging the RJ-45 cable?  So that I'm not hooked up to the
> > entire world when I don't want to be, at least until I learn about
> > this stuff.
> >
> >Thanks!
>
> I think you should be able to :
> /etc/init.d/net.eth0 stop   and then when you want your network up
> just use the previous with start.

Yes, this works nicely, both stop and start
(on my box it is /etc/init.d/network stop eth0)
whereas the ifconfig command will stop it but not restart it, even 
though ifconfig -a "shows" that it is working after commanding
 ifconfig eth0 up

-- 
Tony Alfrey
tonyalfrey at earthlink.net
"I'd rather be sailing"




More information about the Linux-users mailing list