From: Andrei Bulava <abulava@altlinux.ru> To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org> Subject: Re: [sisyphus] 2 сетевые карты меняются местами Date: Fri, 19 May 2006 15:24:22 +0300 Message-ID: <446DB8F6.3010601@altlinux.ru> (raw) In-Reply-To: <e4ceek$c3t$2@sea.gmane.org> Anton Farygin wrote: > Sergey Vlasov wrote: >> On Tue, May 16, 2006 at 03:32:21PM +0400, Anton Farygin wrote: >>> Это уже не поможет - hotplug сейчас не загружает модули для сетевых карт. >>> Их теперь грузит udevd >> Пока что он это делает через hotplug, поэтому /etc/hotplug/blacklist >> действует. > > наверное это поведение я пока менять не буду. Что именно не будет меняться? Загрузка udev'ом через hotplug или действие /etc/hotplug/blacklist? ;-) >>> Так что только ifrename. >> Либо /etc/udev/rules.d/*.rules - udev умеет переименовывать и сетевые >> интерфейсы. > > Но лучше наверное через ifrename ;) Что-то у меня не очень получилось с ifrename. Ситуация: два сетевых интерфейса, по моей задумке eth0: 8139too и eth1: forcedeth. Так вот, если ifrename запускать после того, как модули уже загружены в обратном порядке (первым пошёл forcedeth и занял eth0, а вторым пошёл 8139too и ему достался eth1), то переименование не выходит: # /etc/init.d/network start Computing interface groups: ... 3 interfaces found Starting group 0/virtual (1 interfaces) Starting lo: .....OK Starting group 1/realphys (2 interfaces) Starting eth0: .Error: cannot change name of eth1 to eth0: File exists ......OK Starting eth1: .Error: cannot change name of eth0 to eth1: Device or resource busy ....OK Processing /etc/net/vlantab: empty. И только когда я внёс модули forcedeth и 8139too в /etc/hotplug/blacklist, мне удалось получить нормальный порядок интерфейсов. Кстати, будет ли альтернативой внесению всех имеющихся модулей сетевых карт изменение на NETPLUG=no в /etc/sysconfig/hotplug? -- // AB1002-UANIC
next prev parent reply other threads:[~2006-05-19 12:24 UTC|newest] Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-05-16 10:57 Pavel Shurubura 2006-05-16 11:10 ` Шенцев Алексей Владимирович 2006-05-16 11:24 ` Andrei Bulava 2006-05-16 11:51 ` Шенцев Алексей Владимирович 2006-05-16 11:57 ` Шенцев Алексей Владимирович 2006-05-16 12:10 ` Шенцев Алексей Владимирович 2006-05-21 7:54 ` Michael Shigorin 2006-05-22 5:18 ` Шенцев Алексей Владимирович 2006-05-22 5:40 ` Michael Shigorin 2006-05-16 11:32 ` Anton Farygin 2006-05-16 11:48 ` Sergey Vlasov 2006-05-16 12:02 ` Anton Farygin 2006-05-16 12:11 ` Anton Gorlov 2006-05-19 12:24 ` Andrei Bulava [this message] 2006-05-19 12:29 ` Шенцев Алексей Владимирович 2006-05-19 12:37 ` Sergey Vlasov 2006-05-19 13:40 ` Andrei Bulava 2006-05-21 7:57 ` Michael Shigorin 2006-05-19 12:39 ` Yuriy Kashirin 2006-05-19 12:40 ` Kirill A. Shutemov 2006-05-19 13:38 ` Anton Gorlov 2006-05-21 7:59 ` Michael Shigorin 2006-05-21 10:45 ` Anton Gorlov 2006-05-18 12:25 ` Pavel Shurubura 2006-05-18 12:33 ` Anton Gorlov 2006-05-18 12:59 ` Sergey Vlasov 2006-05-16 11:11 ` Anton Gorlov 2006-05-16 11:27 ` Andrei Bulava 2006-05-21 7:52 ` Michael Shigorin 2006-05-16 11:32 ` Sergey Vlasov 2006-05-16 11:18 ` Andrei Bulava 2006-05-16 12:19 ` Andrii Dobrovol`s`kii
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=446DB8F6.3010601@altlinux.ru \ --to=abulava@altlinux.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