|
|
刚装好gentoo
目前我有两块网卡:eth0 和 eth1
emerge dhcpcd
在/etc/init.d/中 默认有net.eth0
然后 ln -s net.lo net.eth1
现在使用的eth0,所以只rc-update add net.eth0 default
/etc/conf.d/net中也只定义了eth0
不过开机还是发现系统会去启动 net.eth1
* Caching service dependencies ... [ ok ]
* Starting eth1
* Loading networking modules for eth1
* modules: apipa arping ccwgroup iptunnel macchanger macnet rename ifconfig system dhcpcd ip6to4
* ifconfig provides interface
* dhcpcd provides dhcp
* Configuring eth1 for MAC address 00:11:0A:3A:A3:5E ... [ ok ]
* Configuration not set for eth1 - assuming DHCP
* Bringing up eth1
* dhcp
* Running dhcpcd ...
eth1: dhcpcd 4.0.2 starting
eth1: waiting for carrier
eth1: timed out [ !! ]
请问怎么才能让net.eth1不启动呢
我目前解决方法是 rm /etc/init.d/net.eth1
如果需要启动再ln -s一个,感觉不是很方便
谢谢 |
|