Op dinsdag 22 november 2022 14:52:32 CET schreef Alexander Bergmann:
> 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~

Many thanks. However I do have a different Ethernet device on my Banana Pi 
M64.

# hwinfo --network
18: None 00.0: 10701 Ethernet                                   
  [Created at net.126]
  Unique ID: 5WpM.ndpeucax6V1
  Parent ID: Euci.TfPFe67fIBB
  SysFS ID: /class/net/end0
  SysFS Device Link: /devices/platform/soc/1c30000.ethernet
  Hardware Class: network interface
  Model: "Ethernet network interface"
  Driver: "dwmac-sun8i"
  Driver Modules: "dwmac_sun8i"
  Device File: end0
  HW Address: 02:ba:f7:39:24:a4
  Permanent HW Address: 02:ba:f7:39:24:a4
  Link detected: yes
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #3 (Ethernet controller)

So my /etc/udev/rules.d/70-persistent-net.rules, which is currently empty 
should look like?:

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="dwmac_sun8i", ATTR{dev_id}=="0x0", 
ATTR{type}=="1", ATTR{address}=="02:ba:f7:39:24:a4",NAME="eth0"

-- 
fr.gr.

member openSUSE
Freek de Kruijf

Reply via email to