데비안 계열에서는 아래 설정 파일을 통해 네트웍 설정을 변경합니다.
/etc/network/interface
# 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
auto eth0
iface eth0 dhcp
iface eth0 inet static
address 192.168.1.69
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameservers 168.126.63.1
|
우부투 계열에서도 interface 설정 파일을 사용하지만 만약 gnome desktop 에서 네트웍 관련 설정을 건드리게 되면 interface 설정 파일을 무력화 됩니다.
이후에는 아래 위치에 있는 설정 파일을 사용하게 됩니다.
/etc/NetworkManager/system-connections/Auto eth0
|
만약 /etc/network/interface 설정 파일을 사용하고 싶다면 "Auto eth0" 파일을 삭제하면 됩니다.