ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Владимир Гусев" <vova1971@narod.ru>
To: "ALT Linux Community general discussions" <community@lists.altlinux.org>
Subject: Re: [Comm] Имя сетевого интерфейса после смены железа
Date: Tue, 15 Jun 2010 14:15:14 +0400
Message-ID: <op.veb6roqxglg102@post.cnt.ru> (raw)
In-Reply-To: <54221.195.230.140.18.1276594993.metamail@webmail.meta.ua>

> Померла в моём домашнем компе мать. До кончины сетевой интефейс назывался
> eth0
> Поставил другую. Всё номально, вот только сетевой интефейс стал  
> обзываться
> eth1.
> Не понравилась она мне что-то и я снова сменил мать. И сетевой интефейс
> стал обзываться eth2.
>
> В /var/log/messages наблодаю такое:
> ---8<---
> Jun 15 09:58:12 C3 kernel: [   27.918758] eth0: RTL8168d/8111d at
> 0xf8afc000, e0:cb:4e:da:98:cf, XI
> Jun 15 09:58:12 C3 kernel: [   27.923007] udev: renamed network interface
> eth0 to eth2
>
> Jun 15 09:58:14 C3 network: ^IStarting eth0:
> Jun 15 09:58:14 C3 network: Cannot find device "eth0"
> Jun 15 09:58:14 C3 network: !
> Jun 15 09:58:14 C3 network: FAILED
> Jun 15 09:58:14 C3 network: ^IStarting eth1:
> Jun 15 09:58:14 C3 network: Cannot find device "eth1"
> Jun 15 09:58:14 C3 network: !
> Jun 15 09:58:14 C3 network: FAILED
> Jun 15 09:58:14 C3 network: ^IStarting eth2:
> Jun 15 09:58:14 C3 network: .
> Jun 15 09:58:14 C3 last message repeated 6 times
> Jun 15 09:58:14 C3 network: OK
> --->8---
>
> Всё работает. Но "осадок остался".
> Вопрос: Как сетевому интерфейсу вернуть его исконное имя eth0 ?
>
> Заранее благодарен за ответ.

Заглянуть в /etc/net/ifaces и подправить ручками? С указанием модуля и  
мак-адреса.. Да просто убрать каталог eth1 и переименовать eth2 в eth1?  
Попробуйте...

-- 
С уважением,
Владимир Гусев


  parent reply	other threads:[~2010-06-15 10:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-15  9:43 Olexander Chernetskyy
2010-06-15  9:58 ` Anton Farygin
2010-06-15 10:15 ` Владимир Гусев [this message]
2010-06-15 10:18   ` Andriy Dobrovol`s`kii
2010-06-15 10:45     ` Владимир Гусев

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=op.veb6roqxglg102@post.cnt.ru \
    --to=vova1971@narod.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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