Networking command lines

Classified in : Ubuntu, Hardware - Tags : network, command

One of the main strong point on Linux, is that we are not forced to use a graphic interface to perform operations.

That can be view as a draw back but to perform operations faster and remotely, that's really useful.

Here are a few commands to manage network intefaces on Ubuntu :

  • To print configuration
$ ifconfig
  • To start or shutdown a specifcnetwork interface  (e.g. eth0 )
$ sudo ifup eth0
$ sudo ifdown eth0
  • To get a dhcp address
$ sudo dhclient
  • To restart all network interfaces
$ sudo /etc/init.d/networking restart

 

These commands used to work ... but do not seem to work anymore with v. 14.04 ! ? !  sad

 

[ no comments ]

© Le Computing Froggy  !

  • Article Currently 2.00/5
  • 1
  • 2
  • 3
  • 4
  • 5

 Rating : 2.0/5 (37 votes cast)

Write a comment

What is the first letter of the word rcvoo? :