ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Denis Ovsienko <pilot@altlinux.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: [sisyphus] /etc/net + ifplugd + LINKDETECT + DHCP
Date: Wed, 2 Mar 2005 21:06:08 +0300
Message-ID: <20050302210608.470c0a19.pilot@altlinux.ru> (raw)
In-Reply-To: <d04lm5$mre$1@sea.gmane.org>

По вашим конфигам:
/etc/sysconfig/network: хорошо добавить хотя бы HOSTNAME, но работать должно
/etc/sysconfig/ethtool: только комментарии
/etc/sysconfig/dhcpd: это только к dhcp-server относится
/etc/ifplugd/ifplugd.conf: стандартный из пакета
options-eth: он имеет силу только в каталоге /etc/net/ifaces/default,
но если лежит в /etc/net/ifaces/eth0, то в данном случае он ничего не
испортит, хотя service network check на него ругаться будет.
options (скорее всего /etc/net/ifaces/eth0/options): из заслуживающего внимания
LINKDETECT, ifplugd и DHCP.

Попутно я нашёл и удалил два дубликата одних и тех же опций из разных файлов
в конфигурации по умолчанию.

Исходная проблема, кажется, была в том, что при старте конфигурация проходит,
а при рестарте --- нет. Возможно, ifplugd завершает свою работу при удалении
интерфейса и после его появления ifup-ifplugd запустить уже некому. В этом
случае должна помочь вот эта опция ifplugd:

      -M | --monitor
              Don't fail when the network interface is not available,  instead
              use NETLINK to monitor device avaibility. The is useful for PCM-
              CIA devices and similar.


> Если остановить ifplugd, то действительно ifdown eth0 отрабатывает.
ifdown отрабатывает в любом случае, при остановленном ifplugd это просто
наглядно видно (портить некому).

> Причем после этого ifplugstatus говорит, что eth0 unplugged
> Либо по причине выключенноcти интерфейса, либо службы.
> Второе вероятнее, ибо полсе service eifplugd start - сразу изменяется и 
> статус.
Как раз первое. ifplugd и ifplugstatus независимы.

-- 
    DO4-UANIC


  reply	other threads:[~2005-03-02 18:06 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-26 17:33 [sisyphus] I: /etc/net 0.6.1 Denis Ovsienko
2005-02-26 17:47 ` Вячеслав Диконов
2005-02-26 19:33 ` [sisyphus] " Arioch
2005-02-26 23:21   ` Arioch
2005-02-27 14:26     ` Arioch
2005-02-28  9:45       ` Denis Ovsienko
2005-02-28 11:26         ` Arioch
2005-02-28 12:30           ` Denis Ovsienko
2005-02-28 18:44             ` Arioch
2005-03-01  7:47               ` [sisyphus] I: ещё пояснения по /etc/net Denis Ovsienko
2005-03-01 11:10                 ` [sisyphus] " Arioch
2005-03-01 15:34                   ` Denis Ovsienko
2005-03-01 17:09                     ` Arioch
2005-03-02 14:35                       ` Arioch
2005-03-02 15:26                     ` Arioch
2005-03-02 18:06                       ` Denis Ovsienko [this message]
2005-03-03 21:09                         ` [sisyphus] Re: /etc/net + ifplugd + LINKDETECT + DHCP Arioch
2005-02-27 21:23 ` [sisyphus] I: /etc/net 0.6.1 Volkov Serge
2005-02-28  9:48   ` Denis Ovsienko
2005-02-28 13:55   ` Denis Ovsienko
2005-02-28 15:57   ` Denis Ovsienko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050302210608.470c0a19.pilot@altlinux.ru \
    --to=pilot@altlinux.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git