LinuxSir.cn,穿越时空的Linuxsir!

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

tor 的 net 依赖问题(已解决)

[复制链接]
发表于 2009-2-20 15:48:46 | 显示全部楼层 |阅读模式
我笔记本上有两个网卡,一个有线的,用net.eth0启动,一个无线的,用net.wlan0启动。有时用有线,有时用无线。最近发现tor一定要依赖net.wlan0,net.eth0活着也不行。
发表于 2009-2-20 16:38:36 | 显示全部楼层
看看/etc/conf.d/rc里的这个两个参数

# Some people want a finer grain over hotplug/coldplug. RC_PLUG_SERVICES is a
# list of services that are matched in order, either allowing or not. By
# default we allow services through as RC_COLDPLUG/RC_HOTPLUG has to be yes
# anyway.
# Example - RC_PLUG_SERVICES="net.wlan !net.*"
# This allows net.wlan and any service not matching net.* to be plugged.

RC_PLUG_SERVICES="net.eth0 !net.*"

# RC_NET_STRICT_CHECKING allows some flexibility with the 'net' service.
# The following values are allowed:
#  none  - The 'net' service is always considered up.
#  no    - This basically means that at least one net.* service besides net.lo
#          must be up.  This can be used by notebook users that have a wifi and
#          a static nic, and only wants one up at any given time to have the
#          'net' service seen as up.
#  lo    - This is the same as the 'no' option, but net.lo is also counted.
#          This should be useful to people that do not care about any specific
#          interface being up at boot.
#  yes   - For this ALL network interfaces MUST be up for the 'net' service to
#          be considered up.

RC_NET_STRICT_CHECKING="no"
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-21 17:23:45 | 显示全部楼层
好,就是这儿的事儿,已解决。多谢。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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