Go Back   TechArena Community > Technology > Networking & Security
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , ,

Sponsored Links



Restart the network interface via command line

Networking & Security


Reply
 
Thread Tools Search this Thread
  #1  
Old 29-01-2010
Member
 
Join Date: Sep 2009
Posts: 5
Restart the network interface via command line

How can i Restart the network interface via command line? I need it for windows. If someone knows commands for restarting network interface session them please let me know. Thank you very much in advance.
Reply With Quote
  #2  
Old 29-01-2010
Fleming's Avatar
Member
 
Join Date: Nov 2008
Posts: 173
Re: Restart the network interface via command line

The netsh tool (netsh.exe) can automate the startup or shutdown of a service through the following command line:

To start a service:


Net start nom_du_service

To stop a service:

Net stop nom_du_service

This requires the administrator (or SuperUser).

If you do not have administrator privileges, you can still put a service break and restart:

Pausing a service:

Net pause nom_du_service

More services:

Net continue nom_du_service
Reply With Quote
  #3  
Old 29-01-2010
Ade Ade is offline
Member
 
Join Date: Jul 2009
Posts: 6
Re: Restart the network interface via command line

What are the restart network interface commands for distributions are based on Linux, like ubuntu or xandros? I have a ubuntu, please help me also. Thank you....
Reply With Quote
  #4  
Old 29-01-2010
linux.'s Avatar
Member
 
Join Date: Dec 2008
Posts: 50
[Linux] start / stop service command line

In the case of setting up a network, verify that a particular DHCP server assigns IP addresses correctly, it may be quicker to restart the network interface command line rather than GUI .

These commands must be executed root Or via sudo.

Stop the network interface eth0: ifdown eth0

Start the network interface eth0: ifup eth0

This should not be confused with the following command, which explicitly raise all network services: /etc/init.d/networking restart

Reminder: To see your various network interfaces, use the command: /sbin/ifconfig -a
Reply With Quote
  #5  
Old 29-01-2010
Mac rumor's Avatar
Member
 
Join Date: Oct 2008
Posts: 336
Restart the network interface via command line MAC OS X

Subject to restart ubuntu network interfaces a simple ifup and ifdown but only in OS X that does not pass.

The command in OS X is as follows:
  • To stop sudo ifconfig en0 down
  • To restart the sudo ifconfig en0 up
en0 is the ethernet port to replace the interface en0 recalcitrant ifconfig command to display settings
Reply With Quote
Reply

  TechArena Community > Technology > Networking & Security


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Restart the network interface via command line"
Thread Thread Starter Forum Replies Last Post
Command Line Interface email client foraman Technology & Internet 6 13-11-2010 11:12 PM
BackTrack - Wireless network interface with command line Captain Carrot Networking & Security 7 19-05-2010 11:26 AM
Question about Windows XP Screen Saver, Power Manager and Command Line Interface Zeeman28a Operating Systems 3 18-05-2009 09:38 AM
Watch Star Wars full movie In Command Line Interface FaMe FacToR Tips & Tweaks 2 15-04-2009 11:57 PM
CLI application (command line interface) has stopped working Firebird Vista Help 1 02-04-2008 12:05 AM


All times are GMT +5.5. The time now is 06:36 AM.