Results 1 to 5 of 5

Thread: Restart the network interface via command line

  1. #1
    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.

  2. #2
    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

  3. #3
    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....

  4. #4
    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

  5. #5
    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

Similar Threads

  1. Command Line Interface email client
    By foraman in forum Technology & Internet
    Replies: 6
    Last Post: 13-11-2010, 11:12 PM
  2. BackTrack - Wireless network interface with command line
    By Captain Carrot in forum Networking & Security
    Replies: 7
    Last Post: 19-05-2010, 10:26 AM
  3. Replies: 3
    Last Post: 18-05-2009, 08:38 AM
  4. Watch Star Wars full movie In Command Line Interface
    By FaMe FacToR in forum Tips & Tweaks
    Replies: 2
    Last Post: 15-04-2009, 10:57 PM
  5. Replies: 1
    Last Post: 01-04-2008, 11:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,583,527.65312 seconds with 17 queries