linux上不了网

vi /etc/resolv.conf

nameserver 61.139.2.69

 

vi /ets/sysconfig/network-scriptes/ifcfg-eth0

DEVICE=eth0
HWADDR=F0:92:1C:F2:C7:AD
TYPE=Ethernet
UUID=2e47513f-b374-48d6-92bf-2188bd49f23f
ONBOOT=yes
BOOTPROT=static
IPADDR=192.168.0.84
GATEWAY=192.168.0.1
NETMASK=255.255.255.0
NM_CONTROLLED=yes
#BOOTPROTO=dhcp

 

你可能感兴趣的:(linux)