<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Проблемы с сетью.]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=14285&amp;type=atom" />
	<updated>2011-06-09T19:28:15Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=14285</id>
		<entry>
			<title type="html"><![CDATA[Re: Проблемы с сетью.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=186504#p186504" />
			<content type="html"><![CDATA[<p>Всё, таки разобрался. Меня опять подвела привычка быстро читать, пролетел этот пункт<br /></p><div class="codebox"><pre><code># Do we allow any started service in the runlevel to satisfy the dependency
# or do we want all of them regardless of state? For example, if net.eth0
# and net.eth1 are in the default runlevel then with rc_depend_strict=&quot;NO&quot;
# both will be started, but services that depend on &#039;net&#039; will work if either
# one comes up. With rc_depend_strict=&quot;YES&quot; we would require them both to
# come up.
rc_depend_strict=&quot;NO&quot;</code></pre></div><p>Раньше просто в старом rc была опция RC_KILL_CHILDREN=&quot;no&quot;, которая не давала тушить зависимых демонов. В новом она теперь вот так выглядит.<br />Тему можно закрывать.</p>]]></content>
			<author>
				<name><![CDATA[kessian]]></name>
				<uri>https://linuxforum.ru/profile.php?id=1975</uri>
			</author>
			<updated>2011-06-09T19:28:15Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=186504#p186504</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Проблемы с сетью.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=186469#p186469" />
			<content type="html"><![CDATA[<p><strong>Lupo Alberto</strong>, спасибо за наводку, меня лицом к ним тоже уже развернули. Что-то не подумал, что проблема не столько в сетевых службах, сколько в управлении ими может быть. Буду пробовать.</p>]]></content>
			<author>
				<name><![CDATA[kessian]]></name>
				<uri>https://linuxforum.ru/profile.php?id=1975</uri>
			</author>
			<updated>2011-06-09T17:40:54Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=186469#p186469</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Проблемы с сетью.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=186466#p186466" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>kessian пишет:</cite><blockquote><div class="codebox"><pre><code># rc_nostop is a list of services which will not stop when changing runlevels. 
# This still allows the service itself to be stopped when called directly. 
#rc_nostop=&quot;&quot; 
# rc will attempt to start crashed services by default. 
# However, it will not stop them by default as that could bring down other 
# critical services. 
#rc_crashed_stop=NO 
#rc_crashed_start=YES </code></pre></div></blockquote></div><p>Попробуйте поэкспериментировать с этими опциями, например, так:<br /></p><div class="codebox"><pre><code>rc_nostop=&quot;sshd dhcpd samba&quot;
rc_crashed_stop=NO
rc_crashed_start=YES</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2011-06-09T17:36:27Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=186466#p186466</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Проблемы с сетью.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=186464#p186464" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>kessian ~ # cat /etc/rc.conf 
# Global OpenRC configuration settings

# Set to &quot;YES&quot; if you want the rc system to try and start services
# in parallel for a slight speed improvement. When running in parallel we
# prefix the service output with its name as the output will get
# jumbled up.
# WARNING: whilst we have improved parallel, it can still potentially lock
# the boot process. Don&#039;t file bugs about this unless you can supply
# patches that fix it without breaking other things!
#rc_parallel=&quot;NO&quot;

# Set rc_interactive to &quot;YES&quot; and you&#039;ll be able to press the I key during
# boot so you can choose to start specific services. Set to &quot;NO&quot; to disable
# this feature. This feature is automatically disabled if rc_parallel is
# set to YES.
#rc_interactive=&quot;YES&quot;

# If we need to drop to a shell, you can specify it here.
# If not specified we use $SHELL, otherwise the one specified in /etc/passwd,
# otherwise /bin/sh
# Linux users could specify /sbin/sulogin
rc_shell=/sbin/sulogin

# Do we allow any started service in the runlevel to satisfy the dependency
# or do we want all of them regardless of state? For example, if net.eth0
# and net.eth1 are in the default runlevel then with rc_depend_strict=&quot;NO&quot;
# both will be started, but services that depend on &#039;net&#039; will work if either
# one comes up. With rc_depend_strict=&quot;YES&quot; we would require them both to
# come up.
#rc_depend_strict=&quot;YES&quot;

# rc_hotplug is a list of services that we allow to be hotplugged.
# By default we do not allow hotplugging.
# A hotplugged service is one started by a dynamic dev manager when a matching
# hardware device is found.
# This service is intrinsically included in the boot runlevel.
# To disable services, prefix with a !
# Example - rc_hotplug=&quot;net.wlan !net.*&quot;
# This allows net.wlan and any service not matching net.* to be plugged.
# Example - rc_hotplug=&quot;*&quot;
# This allows all services to be hotplugged
#rc_hotplug=&quot;*&quot;

# rc_logger launches a logging daemon to log the entire rc process to
# /var/log/rc.log
# NOTE: Linux systems require the devfs service to be started before
# logging can take place and as such cannot log the sysinit runlevel.
#rc_logger=&quot;YES&quot;

# By default we filter the environment for our running scripts. To allow other
# variables through, add them here. Use a * to allow all variables through.
#rc_env_allow=&quot;VAR1 VAR2&quot;

# By default we assume that all daemons will start correctly.
# However, some do not - a classic example is that they fork and return 0 AND
# then child barfs on a configuration error. Or the daemon has a bug and the
# child crashes. You can set the number of milliseconds start-stop-daemon
# waits to check that the daemon is still running after starting here.
# The default is 0 - no checking.
#rc_start_wait=100

# rc_nostop is a list of services which will not stop when changing runlevels.
# This still allows the service itself to be stopped when called directly.
#rc_nostop=&quot;&quot;

# rc will attempt to start crashed services by default.
# However, it will not stop them by default as that could bring down other
# critical services.
#rc_crashed_stop=NO
#rc_crashed_start=YES

##############################################################################
# MISC CONFIGURATION VARIABLES
# There variables are shared between many init scripts

# Set unicode to YES to turn on unicode support for keyboards and screens.
unicode=&quot;YES&quot;

# Below is the default list of network fstypes.
#
# afs cifs coda davfs fuse fuse.sshfs gfs glusterfs lustre ncpfs
# nfs nfs4 ocfs2 shfs smbfs
#
# If you would like to add to this list, you can do so by adding your
# own fstypes to the following variable.
#extra_net_fs_list=&quot;&quot;

##############################################################################
# SERVICE CONFIGURATION VARIABLES
# These variables are documented here, but should be configured in
# /etc/conf.d/foo for service foo and NOT enabled here unless you
# really want them to work on a global basis.

# Some daemons are started and stopped via start-stop-daemon.
# We can set some things on a per service basis, like the nicelevel.
#export SSD_NICELEVEL=&quot;-19&quot;

# Pass ulimit parameters
#rc_ulimit=&quot;-u 30&quot;

# It&#039;s possible to define extra dependencies for services like so
#rc_config=&quot;/etc/foo&quot;
#rc_need=&quot;openvpn&quot;
#rc_use=&quot;net.eth0&quot;
#rc_after=&quot;clock&quot;
#rc_before=&quot;local&quot;
#rc_provide=&quot;!net&quot;

# You can also enable the above commands here for each service. Below is an
# example for service foo.
#rc_foo_config=&quot;/etc/foo&quot;
#rc_foo_need=&quot;openvpn&quot;
#rc_foo_after=&quot;clock&quot;

# You can also remove dependencies.
# This is mainly used for saying which servies do NOT provide net.
#rc_net_tap0_provide=&quot;!net&quot;

# This is the subsystem type. Valid options on Linux:
# &quot;&quot;        - nothing special
# &quot;lxc&quot;     - Linux Containers
# &quot;openvz&quot;  - Linux OpenVZ
# &quot;prefix&quot;  - Prefix
# &quot;uml&quot;     - Usermode Linux
# &quot;vserver&quot; - Linux vserver
# &quot;xen0&quot;    - Xen0 Domain
# &quot;xenU&quot;    - XenU Domain
# If this is commented out, automatic detection will be attempted.
# Note that autodetection will not work in a prefix environment or in a
# linux container.
#
# This should be set to the value representing the environment this file is
# PRESENTLY in, not the virtualization the environment is capable of.
#rc_sys=&quot;&quot;

##############################################################################
# LINUX SPECIFIC OPTIONS

# This is the number of tty&#039;s used in most of the rc-scripts (like
# consolefont, numlock, etc ...)
rc_tty_number=12</code></pre></div>]]></content>
			<author>
				<name><![CDATA[kessian]]></name>
				<uri>https://linuxforum.ru/profile.php?id=1975</uri>
			</author>
			<updated>2011-06-09T17:30:08Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=186464#p186464</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Проблемы с сетью.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=186462#p186462" />
			<content type="html"><![CDATA[<p><strong>kessian</strong>, покажите файл <em>/etc/rc.conf</em>.</p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2011-06-09T17:25:41Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=186462#p186462</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Проблемы с сетью.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=186460#p186460" />
			<content type="html"><![CDATA[<p>После обновления системы заметил крайне неприятную вещь - при рестарте интерфейса eth1 (интернет), останавливаются все сетевые службы (sshd, dhcpd, samba) и запускаются только руками. dhcpd висит на eth0.<br /></p><div class="codebox"><pre><code>kessian ~ # cat /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).

dns_domain_lo=&quot;kes-home&quot;

modules=&quot;iproute2 dhcpcd&quot;

 config_eth0=&quot;192.168.160.254/24&quot;

 config_eth1=&quot;null&quot;

#PPPoE
 config_ppp0=&quot;ppp&quot;
 link_ppp0=&quot;eth1&quot;
 plugins_ppp0=&quot;pppoe&quot;
 username_ppp0=&#039;&#039;
 password_ppp0=&#039;&#039;
 pppd_ppp0=&quot;
         defaultroute
         noauth
         default-asyncmap
         ipcp-accept-remote
         ipcp-accept-local
         mru 1412
         mtu 1412
         persist
         maxfail 0
         lcp-echo-interval 15
         lcp-echo-failure 3
         usepeerdns
&quot;
rc_need_ppp0=&quot;net.eth1&quot;</code></pre></div><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">kessian ~ # uname -a<br />Linux kessian 2.6.38-gentoo-r4 #4</div><br />Никто не сталкивался с такой проблемой?</p>]]></content>
			<author>
				<name><![CDATA[kessian]]></name>
				<uri>https://linuxforum.ru/profile.php?id=1975</uri>
			</author>
			<updated>2011-06-09T17:10:18Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=186460#p186460</id>
		</entry>
</feed>
