View previous topic :: View next topic |
Author |
Message |
gr_alex n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 16 Mar 2006 Posts: 48
|
Posted: Fri Nov 14, 2008 6:15 am Post subject: Автозапуск сетевых |
|
|
Делаю
Code: |
#rc-update delete net.eth0
|
На любых сетевушках, а они все равно поднимаются после перезагрузки. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nilreM n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Nov 2007 Posts: 20 Location: Voronezh
|
Posted: Fri Nov 14, 2008 7:37 am Post subject: |
|
|
в /etc/conf.d/rc есть несколько параметров, которые за это отвечают:
Code: | # 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.*"
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"
# RC_DOWN_INTERFACE allows you to specify if RC will bring the interface
# completely down when it stops. The default is yes, but there are some
# instances where you may not want this to happen such as using Wake On LAN.
RC_DOWN_INTERFACE="yes" |
Возможно, они помогут? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Laitr Keiows Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/13508758814691b8263008f.jpg)
Joined: 04 Jul 2005 Posts: 891 Location: Kobe, Japan
|
Posted: Mon Nov 17, 2008 2:21 am Post subject: |
|
|
Можно так:
Code: | # If you don't want ANY address (only useful when calling for advanced stuff)
config_eth0=( "null" )
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|