LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 646|回复: 0

刚装完gentoo,多块网卡的启动问题

[复制链接]
发表于 2008-11-21 14:37:39 | 显示全部楼层 |阅读模式
刚装好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一个,感觉不是很方便
谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表