fedora12 开机后 网络默认自动连接etho

fedora12 开机后默认网络连接是断开的 , 要左击

右击网络链接图标-》 edit connections... -》 选中“etho” 选择edit 出现下面的对话框  把 connect automatically 选上即可。


方法2 修改配置文件(该方法参考http://hi.baidu.com/inclover/blog/item/d65248e99b216134b80e2d0a.html)
[root@hhucs hadoop]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
将ONBOOT=no 改成 yes 就表示开机后默认链接etho
[root@hhucs hadoop]# /etc/init.d/network restart


DEVICE=eth0
HWADDR=00:24:7E:DC:0E:DD
ONBOOT=yes //开机是否启动
BOOTPROTO=none
TYPE=Ethernet
NM_CONTROLLED=yes
IPV6INIT=yes
USERCTL=no
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
IPADDR=10.196.80.12
NETMASK=255.0.0.0
GATEWAY=10.196.80.132
DNS1=202.119.112.34
PREFIX=8

猜你喜欢

转载自dagu.iteye.com/blog/842510
今日推荐