public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] udev-197: activate new naming scheme
@ 2013-01-31  9:20 Grant
  2013-01-31  9:36 ` Canek Peláez Valdés
  0 siblings, 1 reply; 4+ messages in thread
From: Grant @ 2013-01-31  9:20 UTC (permalink / raw
  To: Gentoo mailing list

I've booted into udev-197 but my network interfaces are named the same
as ever and I've read that the new naming scheme is deactivated by
default.  Do you think the new naming scheme will stick?  If so, how
can I activate it?

- Grant


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] udev-197: activate new naming scheme
  2013-01-31  9:20 [gentoo-user] udev-197: activate new naming scheme Grant
@ 2013-01-31  9:36 ` Canek Peláez Valdés
  2013-01-31 11:23   ` Stefan G. Weichinger
  2013-01-31 19:13   ` Grant
  0 siblings, 2 replies; 4+ messages in thread
From: Canek Peláez Valdés @ 2013-01-31  9:36 UTC (permalink / raw
  To: gentoo-user

On Thu, Jan 31, 2013 at 3:20 AM, Grant <emailgrant@gmail.com> wrote:
> I've booted into udev-197 but my network interfaces are named the same
> as ever and I've read that the new naming scheme is deactivated by
> default.  Do you think the new naming scheme will stick?

In the discussion in [1] the consensus seems to be that they actually
solve a real problem, and that they are an improvement to the old
scheme.

>  If so, how can I activate it?

Follow the instructions at [2]. In short, eliminate
/etc/udev/rules.d/80-net-name-slot.rules and
/etc/udev/rules.d/70-persistent-net.rules.

[1] http://lwn.net/Articles/531850/
[2] http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] udev-197: activate new naming scheme
  2013-01-31  9:36 ` Canek Peláez Valdés
@ 2013-01-31 11:23   ` Stefan G. Weichinger
  2013-01-31 19:13   ` Grant
  1 sibling, 0 replies; 4+ messages in thread
From: Stefan G. Weichinger @ 2013-01-31 11:23 UTC (permalink / raw
  To: gentoo-user

Am 31.01.2013 10:36, schrieb Canek Peláez Valdés:
> On Thu, Jan 31, 2013 at 3:20 AM, Grant <emailgrant@gmail.com> wrote:
>> I've booted into udev-197 but my network interfaces are named the same
>> as ever and I've read that the new naming scheme is deactivated by
>> default.  Do you think the new naming scheme will stick?
> 
> In the discussion in [1] the consensus seems to be that they actually
> solve a real problem, and that they are an improvement to the old
> scheme.
> 
>>  If so, how can I activate it?
> 
> Follow the instructions at [2]. In short, eliminate
> /etc/udev/rules.d/80-net-name-slot.rules and
> /etc/udev/rules.d/70-persistent-net.rules.

While I am fiddling around with systemd that is the perfect time to also
try this one. Switched to the new scheme on two of my systems, no
problems so far.

What helped:

on the thinkpad I use networkmanager so I didn't have to do anything ...

I assume openrc-users would have to relink net.lo to the new names like
net.enp6s0 in my case (instead of the old net.eth0)?

-

On the other machine with systemd I only had to edit my funny
kvm-bridge.service to match the new NIC-device.

Runs fine.

In general I see the benefit in this new approach even when it means to
let old habits go somehow. Well, we have the option to keep the good old
naming by just setting/keeping the old udev-rules.

Stefan


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] udev-197: activate new naming scheme
  2013-01-31  9:36 ` Canek Peláez Valdés
  2013-01-31 11:23   ` Stefan G. Weichinger
@ 2013-01-31 19:13   ` Grant
  1 sibling, 0 replies; 4+ messages in thread
From: Grant @ 2013-01-31 19:13 UTC (permalink / raw
  To: Gentoo mailing list

>> I've booted into udev-197 but my network interfaces are named the same
>> as ever and I've read that the new naming scheme is deactivated by
>> default.  Do you think the new naming scheme will stick?
>
> In the discussion in [1] the consensus seems to be that they actually
> solve a real problem, and that they are an improvement to the old
> scheme.
>
>>  If so, how can I activate it?
>
> Follow the instructions at [2]. In short, eliminate
> /etc/udev/rules.d/80-net-name-slot.rules and

Thank you for the info.  I just read the contents of the above file
which has good info too.

- Grant


> /etc/udev/rules.d/70-persistent-net.rules.
>
> [1] http://lwn.net/Articles/531850/
> [2] http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-01-31 19:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-31  9:20 [gentoo-user] udev-197: activate new naming scheme Grant
2013-01-31  9:36 ` Canek Peláez Valdés
2013-01-31 11:23   ` Stefan G. Weichinger
2013-01-31 19:13   ` Grant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox