ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Rafael Malikov <malikov@ancor.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] скачущие интерфейсы невозможно переименовать (etcnet/iftab)
Date: Tue, 24 Mar 2009 12:15:54 +0300
Message-ID: <49C8A4CA.6000401@ancor.ru> (raw)
In-Reply-To: <gqa74v$g6j$1@ger.gmane.org>

Anton Farygin wrote:
> Rafael Malikov пишет:
>> Anton Farygin wrote:
>>> Вот и я нарвался на эту странную ошибку с интерфейсами (после
>>> вчерашнего отключения электроэнергии в калужской области).
>>>
>>> Итак, что имеем:
>>> роутер с интерфейсом внутрь и интерфейсом наружу. На branch/5.0
>>>
>>> настроенный /etc/iftab, в котором один интерфейс переименовывается в
>>> alt, второй в maxnet
>>>
>>> После перезагрузки - куча ругани о том, что невозможно поднять
>>> несуществующие интерфейсы. как назывались eth1 и eth2 (без eth0,
>>> почему-то) - так и называются.
>>>
>>>
>>> Перенёс конфиг в /etc/net/iftab
>>>
>>> После перезагрузки - интерфейсы не переименованы. service network
>>> restart ничего не показывает.
>>>
>>> Конфигурация, видимо, отличается тем, что интерфейс alt входит в бридж
>>> br0 из tap1 и alt интерфейса.
>>>
>>
>> cat /etc/net/iftab
>> for f in $(find /etc/net/ifaces/ -name options); do ls $f ; cat $f ;
>> done
>> в студию
>
> Поехали:
>
> # cat /etc/net/iftab; for f in $(find /etc/net/ifaces/ -name options);
> do echo "----------------";ls $f ;echo "-----------"; cat $f ; done
>
{skip}
> ----------------
> /etc/net/ifaces/alt/options
> -----------
> TYPE=eth
> BOOTPROTO=static
> ONBOOT=yes
> ----------------
> /etc/net/ifaces/maxnet/options
> -----------
> TYPE=eth
> BOOTPROTO=static
> ONBOOT=yes
{skip}

echo "MODULE=модуль_сетевушки" >> /etc/net/ifaces/alt/options
echo "MODULE=модуль_сетевушки" >> /etc/net/ifaces/maxnet/options

-- 
Rafael Malikov,
System administrator.



  reply	other threads:[~2009-03-24  9:15 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-24  7:26 Anton Farygin
2009-03-24  8:21 ` Rafael Malikov
2009-03-24  8:53   ` Anton Farygin
2009-03-24  9:15     ` Rafael Malikov [this message]
2009-03-24  9:26       ` Anton Farygin
2009-03-24 11:57         ` Yuriy Kashirin
2009-03-24 12:19           ` Anton Farygin
2009-03-24  8:23 ` Alexey Gladkov
2009-03-24  7:52   ` Anton Farygin
2009-03-24  7:56     ` Алексей Шенцев
2009-03-24  8:01       ` Anton Farygin
2009-03-24  8:36     ` Alexey Gladkov
2009-03-24  8:03       ` Anton Farygin
2009-03-24 11:32         ` Anton Farygin
2009-03-24 10:45       ` Dmitry V. Levin
2009-03-24 11:08         ` Anton Farygin
2009-03-24 11:40         ` Alexey Gladkov
2009-03-24 11:09           ` Anton Farygin
2009-03-24 11:51           ` [sisyphus] переименование ещё не проинициализированных интерфейсов Dmitry V. Levin
2009-03-24 11:56             ` Alexey Gladkov
2009-03-24  8:01   ` [sisyphus] скачущие интерфейсы невозможно переименовать (etcnet/iftab) Anton Farygin
2009-03-24  8:47     ` Alexey Gladkov
2009-03-24  8:13       ` Anton Farygin
2009-03-24 10:47         ` Alexey Gladkov
2009-03-24 11:10           ` Anton Farygin
2009-03-24 13:36           ` Anton Farygin
2009-03-24 13:49             ` Alexey Gladkov
2009-03-27  6:35 ` Anton Farygin

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=49C8A4CA.6000401@ancor.ru \
    --to=malikov@ancor.ru \
    --cc=sisyphus@lists.altlinux.org \
    /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