[mythtv-users] Is 12th gen i3-12100 supported by myth 31/fixes?
Stephen Worthington
stephen_agent at jsw.gen.nz
Tue Apr 26 04:26:13 UTC 2022
On Mon, 25 Apr 2022 18:36:12 +0100, you wrote:
>Another gotcha: since systemd sneers at 'eth0' then you can guarantee that your NIC will have a
>different name when you do move anything - including the copy you describe above. Make sure you can
>boot to a console, do 'ip a' to find out what the NIC is now called and edit /etc/network/interfaces
>to suit.
In Ubuntu 20.04 with the default 5.4 kernels, udev rules still work to
change the name of your network interfaces. On my new motherboard:
root at lith:/etc/udev/rules.d# cat 20-network.rules
# Asus ROG STRIX X570-E GAMING motherboard
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="3c:7c:3f:26:2c:ec",
NAME="eth0"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="3c:7c:3f:26:2c:ee",
NAME="eth1"
You can also try adding "net.ifnames=0" or "net.ifnames=0
biosdevname=0" to the kernel command line using the
GRUB_CMDLINE_LINUX= option in /etc/defaults/grub (remember to run
update-grub afterwards). This should turn off the new naming system
and give you back the original interface names of eth0, eth1, ... that
the kernel generates. There is still a risk that the kernel will swap
the names between boots if you have more than one Ethernet interface,
but I have never actually seen that happen.
In later versions of Ubuntu (and maybe later kernels also), the udev
rules do not work and there are new things to try - I think you need
to use netplan configuration files for Ubuntu server. See the
"Ethernet Interface Logical Names" section on this page:
https://ubuntu.com/server/docs/network-configuration
but I have yet to try that and I am not sure it works for Ubuntu
desktop.
More information about the mythtv-users
mailing list