Re: [DNG] Interface names changed after eudev installation

2017-12-15 Thread fsmithred
On 12/14/2017 11:47 AM, Jaromil wrote:
> While the report starting this thread is not yet verified (and hard to
> replicate due to lack of information) we do have a currently known and
> bad condition in Devuan: if the network device will change on the same
> installation, its suffix number will be increased (wlan0 -> wlan1 ->
> wlan2) I think this is also terrible especially on systems that have a
> single network device which has been simply substituted. I wonder if
> anyone has more insights about this.
> 

I have not seen this behavior where I expected it in ascii. In the past, a
live-usb with persistence that gets booted on different machines would
increment the device names unless you deleted 70-persistent-net.rules.
That is no longer the case. On my live-usb, wlan0 and eth0 stay the same
from machine to machine, and there's no 70-persistent-net.rules file to
delete.

I tested with udev, fungus tested with eudev:
https://dev1galaxy.org/viewtopic.php?pid=6499#p6499

fsmithred
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Interface names changed after eudev installation

2017-12-14 Thread Svante Signell
On Thu, 2017-12-14 at 08:22 +0100, Dr. Nikolaus Klepp wrote:
> Am Mittwoch, 13. Dezember 2017 schrieb Yevgeny Kosarzhevsky:
> > Hello,
> > 
> > 
> > I have run upgrade recently and got eudev installed.
> > After reboot I've got some weird names of interfaces: wlp4s0 and
> > wwp0s20f0u3i12 instead of wlan0 and wwan0.
> > 
> > How to change them back to normal?
> > 
> 
> Add this in /etc/default/grub to GRUB_CMDLINE_LINUX_DEFAULT:
> GRUB_CMDLINE_LINUX_DEFAULT=" ... net.ifnames=0 biosdevname=0"

The latest versions of eudev already sets net.ifnames=0 see the patch:
reverse-net-ifnames-logic.patch of 80-net-name-slot.rules
and the warning in eudev.postinst:
***
  Warning: eudev will default to the older network
  interface names, such as eth0 or wlan0. If you use
  the new names, such as enp0s3, you will need to add
  the following to the boot command:
net.ifnames=1

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Interface names changed after eudev installation

2017-12-14 Thread Didier Kryn

Le 14/12/2017 à 17:47, Jaromil a écrit :

hi Harald,

On Wed, 13 Dec 2017, Harald Arnesen wrote:


Steve Litt [2017-12-13 20:59]:


Although this new namescheme is cheerleadered by systemd fanboiz
FreeDesktop.Org, many sans-systemd distros have adopted the new device
naming scheme. I've lived with it for a few years, and it's really not
that terribly bad.

That's your opinion. I think it's terribly bad.

I think I can speak for most if not all developers active behind
Devuan right now that this is also terribly bad for all of us. Devuan
should do everything possible so that devices do not change names
arbitrarily and in any case without the consent of administrators.

While the report starting this thread is not yet verified (and hard to
replicate due to lack of information) we do have a currently known and
bad condition in Devuan: if the network device will change on the same
installation, its suffix number will be increased (wlan0 -> wlan1 ->
wlan2) I think this is also terrible especially on systems that have a
single network device which has been simply substituted. I wonder if
anyone has more insights about this.

    There was a long discussion about this on this list and I think the 
general conclusion is that there are different cases and no universally 
satisfactory policy.


    When there are several NICs, the current renaming makes sense and 
the admin should be skilled enough to hack the eudev rules. When there 
is only one, it is clearly simpler to not rename. For Wifi, the case 
with several interfaces is marginal but might be treated the same way.


    I have suggested the question be asked at install time or when 
running dpkg-reconfigure on the relevant package (eudev?). Dunno how 
difficult it is.


    Didier


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Interface names changed after eudev installation

2017-12-14 Thread Jaromil
hi Harald,

On Wed, 13 Dec 2017, Harald Arnesen wrote:

> Steve Litt [2017-12-13 20:59]:
> 
> > Although this new namescheme is cheerleadered by systemd fanboiz
> > FreeDesktop.Org, many sans-systemd distros have adopted the new device
> > naming scheme. I've lived with it for a few years, and it's really not
> > that terribly bad.
> 
> That's your opinion. I think it's terribly bad.

I think I can speak for most if not all developers active behind
Devuan right now that this is also terribly bad for all of us. Devuan
should do everything possible so that devices do not change names
arbitrarily and in any case without the consent of administrators.

While the report starting this thread is not yet verified (and hard to
replicate due to lack of information) we do have a currently known and
bad condition in Devuan: if the network device will change on the same
installation, its suffix number will be increased (wlan0 -> wlan1 ->
wlan2) I think this is also terrible especially on systems that have a
single network device which has been simply substituted. I wonder if
anyone has more insights about this.


ciao
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Interface names changed after eudev installation

2017-12-13 Thread Dr. Nikolaus Klepp
Am Mittwoch, 13. Dezember 2017 schrieb Yevgeny Kosarzhevsky:
> Hello,
> 
> 
> I have run upgrade recently and got eudev installed.
> After reboot I've got some weird names of interfaces: wlp4s0 and
> wwp0s20f0u3i12 instead of wlan0 and wwan0.
> 
> How to change them back to normal?
> 

Add this in /etc/default/grub to GRUB_CMDLINE_LINUX_DEFAULT:
GRUB_CMDLINE_LINUX_DEFAULT=" ... net.ifnames=0 biosdevname=0"

Then remove /etc/udev/rules.d/70-persistent-net.rules.

Don't forget to run "update-grub" at the end.

Now reboot. Things should be back to normal. And I hate that braindead naming 
scheme, too. 


Nik




-- 
Please do not email me anything that you are not comfortable also sharing with 
the NSA, CIA ...
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Interface names changed after eudev installation

2017-12-13 Thread KatolaZ
On Thu, Dec 14, 2017 at 12:42:22AM +0800, Yevgeny Kosarzhevsky wrote:
> Hello,
> 
> 
> I have run upgrade recently and got eudev installed.
> After reboot I've got some weird names of interfaces: wlp4s0 and
> wwp0s20f0u3i12 instead of wlan0 and wwan0.
> 
> How to change them back to normal?

Which version of Devuan are you using? Which version of eudev,
exactly? eudev from ascii defaults to the "traditional" device names,
so this looks quite strange, indeed. More details needed please.

My2Cents

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


signature.asc
Description: Digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Interface names changed after eudev installation

2017-12-13 Thread Harald Arnesen
Steve Litt [2017-12-13 20:59]:

> Although this new namescheme is cheerleadered by systemd fanboiz
> FreeDesktop.Org, many sans-systemd distros have adopted the new device
> naming scheme. I've lived with it for a few years, and it's really not
> that terribly bad.

That's your opinion. I think it's terribly bad.
-- 
Hilsen Harald
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Interface names changed after eudev installation

2017-12-13 Thread Steve Litt
On Thu, 14 Dec 2017 00:42:22 +0800
Yevgeny Kosarzhevsky  wrote:

> Hello,
> 
> 
> I have run upgrade recently and got eudev installed.
> After reboot I've got some weird names of interfaces: wlp4s0 and
> wwp0s20f0u3i12 instead of wlan0 and wwan0.
> 
> How to change them back to normal?

Hi Yevgeny,

In my personal opinion, these "new device names" aren't necessarily a
bad thing. They take the randomness out of device names when both
devices are identical hardware.

Also, it's very easy to make a shellscript to convert these names into
old-style names: Somewhere in the DNG archives you'll find such a
shellscript in an email from me.

Although this new namescheme is cheerleadered by systemd fanboiz
FreeDesktop.Org, many sans-systemd distros have adopted the new device
naming scheme. I've lived with it for a few years, and it's really not
that terribly bad.

SteveT

Steve Litt 
December 2017 featured book: Thriving in Tough Times
http://www.troubleshooters.com/thrive
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Interface names changed after eudev installation

2017-12-13 Thread Yevgeny Kosarzhevsky
Hello,


I have run upgrade recently and got eudev installed.
After reboot I've got some weird names of interfaces: wlp4s0 and
wwp0s20f0u3i12 instead of wlan0 and wwan0.

How to change them back to normal?

-- 
Regards,
Yevgeny
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng