Support LQ: Use code LQ3 and save $3 on Domain Registration
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 08-04-2004, 09:25 AM   #1
Registered: Jul 2004
Location: INDIA
Distribution: SusE, Gentoo,Debian,FreeBSD
Posts: 197

Rep: Reputation: 30
stopping and starting net

i want to stop my net and lan connection from the command line when i dont need it,,,,,,how to do that? and also how to start the lan n net again?
Old 08-04-2004, 09:58 AM   #2
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
To bring an interface down:
/sbin/ifconfig eth0 down

for DHCP:
dhcpcd -k
To bring it up again:
/sbin/ifconfig eth0 up

for DHCP
dhcpcd eth0


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
Stopping X server from starting up Graham_UK Fedora 4 04-19-2005 03:39 PM
stopping xserver from starting up? Zaskar Debian 17 03-20-2004 07:59 PM
Stopping X from starting KennyK Linux - Software 4 06-03-2003 09:12 PM
stopping and starting services nero64 Linux - Newbie 3 11-13-2002 02:10 AM
Starting/stopping httpd bughunter Linux - Newbie 3 10-20-2001 11:02 AM

All times are GMT -5. The time now is 04:54 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