请教:如何使随开机启动的interface eth0关闭??
我的ML1.2总是在开机到 bring up interface eth0 时无响应好长时间然后提示 failed ,我想开机不让其随机启动,请教应该如何操作,我在控制中心的网卡选项中关闭了但重启问题依旧,大大们告知一下吧。 [root@MagicLinux binbin]# ifconfigeth0 Link encap:EthernetHWaddr 52:54:AB:4F:F2:AC
UP BROADCAST RUNNING MULTICASTMTU:1500Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b)TX bytes:2394 (2.3 Kb)
Interrupt:11 Base address:0xb800
eth1 Link encap:EthernetHWaddr 00:E0:4C:3B:A5:23
UP BROADCAST RUNNING MULTICASTMTU:1500Metric:1
RX packets:430 errors:0 dropped:0 overruns:0 frame:0
TX packets:411 errors:0 dropped:0 overruns:0 carrier:0
collisions:2 txqueuelen:1000
RX bytes:162660 (158.8 Kb)TX bytes:52630 (51.3 Kb)
Interrupt:11 Base address:0xf00
lo Link encap:Local Loopback
inet addr:127.0.0.1Mask:255.0.0.0
UP LOOPBACK RUNNINGMTU:16436Metric:1
RX packets:22 errors:0 dropped:0 overruns:0 frame:0
TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1104 (1.0 Kb)TX bytes:1104 (1.0 Kb)
ppp0 Link encap:Point-to-Point Protocol
inet addr:220.188.217.26P-t-P:218.71.160.1Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICASTMTU:1492Metric:1
RX packets:397 errors:0 dropped:0 overruns:0 frame:0
TX packets:391 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:149103 (145.6 Kb)TX bytes:42768 (41.7 Kb)
另外,我想开机实现eth1自启动,应该如何实现???? 修改 /etc/sysconfig/network-scripts/ifcfg-eth0 成为:
DEVICE=eth0
ONBOOT=no
BOOTPROTO=static
页:
[1]