stunned!

Here you can discuss every aspect of Debian. Note: not for support requests!

stunned!

Postby Bulkley » 2020-08-20 02:11

Ever since it appeared, even when it was in Testing, I have had trouble with Buster. Oh, I could do all sorts of stuff in a VM but that doesn't count when installing on real hardware. Like many users I have my personal requirements. My preferred method for install is to start with a headless system that has basic utilities and ends at a black screen with a cursor. Then I add what I want. I've done this through at least 4 versions of Debian. I never had a problem until I met Buster head on. A couple of dozen times I have tried to install Buster on a spare hard drive and slammed into a Wifi wall. I could install MX, Antix, Devuan and a mess of non-Debian OS but not Buster. Well I can be a stubborn old git and I dug in. This machine only needs one Net connection. I do not use Network-Manager, Wicd or the like; I just write a short script in /network/interfaces. I've used the same script for a very long time without problems.

I'm absolutely stunned! Some twit has changed wlan0 to something that looks like a comic book swear word and believe me, I've used many. Does Debian employ a sadist to dream up changes like this? Aaaaauuuuggghhhhhhh!
Bulkley
 
Posts: 5992
Joined: 2006-02-11 18:35

Re: stunned!

Postby sunrat » 2020-08-20 03:38

That changed happened enough years ago i had almost forgotten there ever was wlan0 or eth0. There is a way to change it back to the old way, don't remember it of the top of my head.
There is some sanity to the new naming scheme and it's predictable from MAC address.
Here's my wifi one; you can see it is basically the MAC address with wlx in front.

Code: Select all
IF: wlxf8d1111403eb state: up mac: f8:d1:11:14:03:eb
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 3186
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: stunned!

Postby stevepusser » 2020-08-20 03:50

Yeah---MX renames them back to the old interfaces, but I forget exactly how we did that.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 11983
Joined: 2009-10-06 05:53

Re: stunned!

Postby golinux » 2020-08-20 03:54

Some discussion and workarounds in this dev1galaxy thread. I have yet to see a "predictable" name on devuan which makes me very happy. :D
May the FORK be with you!
User avatar
golinux
 
Posts: 1533
Joined: 2010-12-09 00:56
Location: not a 'buntard!

Re: stunned!

Postby Bulkley » 2020-08-20 05:10

All this time I thought it was a Systemd problem and I was looking there. I could install full fledged systems with tons of stuff I never use and don't want. I'd then try removing the surplus and inevitably made messes. This afternoon I ran ifconfig and my Wifi hardware has a new name and . . . Good Grief!

So, I have a bare bones system loaded with Xorg and Openbox which is showing every sign of working properly. We'll see.
Bulkley
 
Posts: 5992
Joined: 2006-02-11 18:35

Re: stunned!

Postby CwF » 2020-08-20 12:05

Can't speak to a fresh install, but I prep the image to be 'flashed' here.
/etc/systemd/network/
Code: Select all
# udev 226 introduced predictable interface names for virtio;
# disable this for upgrades. You can remove this file if you update your
# network configuration to move to the ens* names instead.
# See /usr/share/doc/udev/README.Debian.gz for details about predictable
# network interface names.

This maintains old naming if the image is in a vm using the virt nic. The user gui to be used in a vm is configured to use eth0, etc.
Code: Select all
#[Match]
#Driver=virtio_net

#[Link]
#NamePolicy=onboard kernel


When I know where the image is going, while in a vm I will add the specific rules so the bare metal user is configured for the friendly names I use. Multiple names can be called out if prior kernel renaming is going on, or the driver if known, or get out the magnifyer and read the mac sticker....Don't use driver names for the link name, that has(had) goofed detection...under [Link] leave 'NamePolicy=' with no value when specifying 'Name='

/10-something.link
Code: Select all
[Match]
#Name=wlx000...
#Name=wlan0
#Driver=
MACAddress=

[Link]
Name=
NamePolicy=
CwF
 
Posts: 767
Joined: 2018-06-20 15:16

Re: stunned!

Postby Bulkley » 2020-08-20 14:37

A long time ago I bookmarked WiFiHowToUse, last updated 2020-04-06. For WPA-PSK and WPA2-PSK they still use allow-hotplug wlan0. It is only under Command Line that we see allow-hotplug wlp2s0. When I saw that wlp2s0 there was a "what the hell is that moment?". My version of wlp2s0 works just fine.

There is some sanity to the new naming scheme . . .

Probably but if it's not broken don't fix it.

To demonstrate how long I have been using Debian this: I use Thunderbird for email. Of course, Thunderbird places hidden configuration files. In my system there is .thunderbird which links to .icedove. Do you remember Icedove? Yes, I know I should put them together but that's like reorganizing a closet; it can always be put off for another day. :wink:
Bulkley
 
Posts: 5992
Joined: 2006-02-11 18:35

Re: stunned!

Postby Head_on_a_Stick » 2020-08-20 17:10

The simplest way to revert to the old naming scheme is to mask udev's .link file:
Code: Select all
# ln -s /dev/null /etc/systemd/network/99-default.link

For the other methods see the list at the end of this page: https://www.freedesktop.org/wiki/Softwa ... faceNames/
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12488
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: stunned!

Postby CwF » 2020-08-20 18:01

I assume '/etc/systemd/network/99-default.link' is included in a fresh install since the change?
CwF
 
Posts: 767
Joined: 2018-06-20 15:16

Re: stunned!

Postby Head_on_a_Stick » 2020-08-20 18:13

No, the udev .link file is under /lib/systemd/network/ but creating a symlink to /dev/null from a file of the same name under /etc/systemd/network/ masks it (ie, prevents it from being activated).
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12488
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: stunned!

Postby Deb-fan » 2020-08-20 20:13

Im stunned somebody didnt do one search engine search and have multiple solutions within minutes. I even misspelled rename, search engine autocorrected the search term for me and I'd bet a million bucks there's more than one working fix in the first page of the SERP's.

https://duckduckgo.com/?q=renane+interf ... =h_&ia=web

Am mostly just being a dork but it is funny how many threads in help/support, if someone googled the thread title, solution(s) right there. Lol ... well not in this case, im stunned is pretty broad. :P
Most powerful FREE tech-support tool on the planet * HERE. *
Deb-fan
 
Posts: 889
Joined: 2012-08-14 12:27

Re: stunned!

Postby Bulkley » 2020-08-20 22:52

Deb-fan, my problem was that I did not know I had a naming problem. I didn't even know I had a Wifi configuration problem. The configuration I have on my Debian Stretch had and still has a configuration I've been using for many years without a problem. It has been far and away the most reliable Internet connection I've used. Rock solid. Since this has been so reliable I was looking in other directions such as missing software, firmware, Systemd and whatever came to mind on whichever day. It simply never occurred to me that someone would "fix" something that worked so well.
Bulkley
 
Posts: 5992
Joined: 2006-02-11 18:35

Re: stunned!

Postby cuckooflew » 2020-08-20 23:12

This: https://wiki.debian.org/NetworkInterfaceNames
Mentions the excuse they use, kind of ironic:
Image Anything that changes the names of your network interfaces may result in the machine suddenly not being reachable over SSH, so if you're editing settings on a remote server, plan your changes carefully and doublecheck your safety nets.

But, even though this was some time back,and I remember seeing a lot of posts where the unexpected name changing done left users confused, etc. Apparently, it still is affecting users...
It simply never occurred to me that someone would "fix" something that worked so well.

It seems ironic to me, now they are writing warnings that you should be carefull before you go and start trying to fix the broken network interfaces that somebody else broke, when they decided to start changing names , fixing something that was not broken , etc.
Last edited by cuckooflew on 2020-08-21 01:40, edited 1 time in total.
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
cuckooflew
 
Posts: 683
Joined: 2018-05-10 19:34
Location: Some where out west

Re: stunned!

Postby sunrat » 2020-08-21 00:12

Many years ago it was law to have a person with a red flag walking in front of an automobile for safety. I think we should bring that back to reduce the number of fatalities on roads. Or maybe not, the planet needs more ways to reduce its population before we all die! :|
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 3186
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: stunned!

Postby Deb-fan » 2020-08-21 00:41

It's not a big deal. Yeah there's a lot of changes but technology is bound to do that. Would have to read that Debian wiki page myself for a clue as to why this was changed. Am sure it wasnt done for the heck of it. :)
Most powerful FREE tech-support tool on the planet * HERE. *
Deb-fan
 
Posts: 889
Joined: 2012-08-14 12:27

Next

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable