понеделник, 1 декември 2008 г.

Редактиране на /etc/network/interfaces

Най простата възможна операция - редакция чрез:
#vi /etc/network/interfaces

Естествено има и подводни камъни, но за бързо и лесно е супер.
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).# The loopback network interface
auto lo
iface lo inet loopback# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 10.10.10.10
netmask 255.255.255.0
network 10.10.10.0
broadcast 10.10.10.255
gateway 10.10.10.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 10.10.10.1

auto eth0

Няма коментари: