Changes

Talk:Trisquel Linux Distribution Reference

1,056 bytes added, 16:08, 21 February 2017
/* ifconfig */
The following lines were added (+) and removed (-):
== ifconfig ==== networking ===== ifconfig ===sudo ifconfig eth0 10.0.0.100 netmask 255.255.255.0 sudo ifconfig eth0 10.0.0.100 netmask 255.255.255.0 === interfaces ===To configure your server to use DHCP for dynamic address assignment, add the dhcp method to the inet address family statement for the appropriate interface in the file /etc/network/interfaces. The example below assumes you are configuring your first Ethernet interface identified as eth0.  auto eth0 iface eth0 inet dhcp configure your system to use a static IP address assignment, add the static method to the inet address family statement for the appropriate interface in the file /etc/network/interfaces. The example below assumes you are configuring your first Ethernet interface identified as eth0. Change the address, netmask, and gateway values to meet the requirements of your network.  auto eth0 iface eth0 inet static address 10.0.0.100 netmask 255.255.255.0 gateway 10.0.0.1 By adding an interface configuration as shown above, you can manually enable the interface through the ifup command.  sudo ifup eth0 To manually disable the interface, you can use the ifdown command.  sudo ifdown eth0
Bureaucrat, administrator
16,192
edits