On Tue, Nov 22, 2022 at 12:55:01PM +0100, Freek de Kruijf wrote:
> I just did a 'zypper dup' on an aarch64 Tumbleweed system and lost the 
> Ethernet device.
> 
> Instead of having the name eth0 it is now named end0. After copying 
> /etc/sysconfig/network/ifcfg-eth0 to /etc/sysconfig/network/ifcfg-end0 and 
> restarting the network I now see with ip a an UP end0 device. However I 
> cannot 
> access the system using ssh because the firewall does not know end0.
> 
> How can I rename end0 into eth0 again?

Just have a quick look into your udev rules:

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

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="e1000", ATTR{dev_id}=="0x0", 
ATTR{type}=="1", ATTR{address}=="52:54:00:12:5e:01", NAME="ext0"

You can also use YaST to set a specific NIC name.


Ciao,
Alex~

> 
> 
> -- 
> fr.gr.
> 
> member openSUSE
> Freek de Kruijf

-- 
Alexander Bergmann <[email protected]>
Security Engineer, GPG: E30A 65A4 0F50 0066 B2B5  F614 DE54 E875 9FFA 4886
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nuremberg, Germany
(HRB 36809, AG Nürnberg)
Managing Director/Geschäftsführer: Ivo Totev, Andrew Myers, Andrew McDonald, 
Boudien Moerman

Attachment: signature.asc
Description: PGP signature

Reply via email to