point 2.1 leap42 release notes :Network Interface Names

I’m trying to upgrade to leap42 from 13.2.
reading the release notes I found this:

2.1 Network Interface Names #](https://doc.opensuse.org/release-notes/x86_64/openSUSE/Leap/42.1/#idm140130419921264)

When upgrading a remote machine from openSUSE 13.2, make sure your network interfaces are named correctly.
openSUSE 13.2 used so-called predictable network interface names (for example, enp5s0), whereas Leap 42.1 uses persistent interface names (eth0). After upgrading and rebooting, the network interface names may therefore change. This could lock you out of the system. To avoid interfaces from being renamed, run the following command for each of your network interfaces before you reboot the system:

/usr/lib/udev/udev-generate-persistent-rule -v -c enp5s0 -n enp5s0 -o /etc/udev/rules.d/70-persistent-net.rules
 Replace enp5s0 with the name of your network interface.

my question is:
1)how can I know each of my network interfaces name??
2)the command

/usr/lib/udev/udev-generate-persistent-rule -v -c enp5s0 -n enp5s0 -o /etc/udev/rules.d/70-persistent-net.rules

has to be ran in 13.2 before to upgrade to leap42 or after upgrade and before reboot??

manythanks :slight_smile: ciao :slight_smile: pier

Get them before you upgrade eg

/sbin/ifconfig 
/usr/sbin/hwinfo --netcard

manythanks,
I get this:

pla@suseST-pla:~> /sbin/ifconfig
em1       Link encap:Ethernet  HWaddr 00:26:B9:D4:11:15  
          inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::226:b9ff:fed4:1115/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:114700 errors:0 dropped:0 overruns:0 frame:0
          TX packets:75799 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:122623771 (116.9 Mb)  TX bytes:11657691 (11.1 Mb)
          Interrupt:20 Memory:e9600000-e9620000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:220 errors:0 dropped:0 overruns:0 frame:0
          TX packets:220 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:13368 (13.0 Kb)  TX bytes:13368 (13.0 Kb)

wlan0     Link encap:Ethernet  HWaddr 00:24:D7:08:09:34  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

pla@suseST-pla:~> 

and this:

pla@suseST-pla:~> /usr/sbin/hwinfo --netcard
15: PCI 19.0: 0200 Ethernet controller                          
  [Created at pci.328]
  Unique ID: WZJ3.oNx4tQq5uJ1
  SysFS ID: /devices/pci0000:00/0000:00:19.0
  SysFS BusID: 0000:00:19.0
  Hardware Class: network
  Device Name: "Onboard LAN"
  Model: "Dell Latitude E6510"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x10ea "82577LM Gigabit Network Connection"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x040b "Latitude E6510"                                                                                                                                                                           
  Revision: 0x05                                                                                                                                                                                                   
  Driver: "e1000e"                                                                                                                                                                                                 
  Driver Modules: "e1000e"                                                                                                                                                                                        
  Device File: em1                                                                                                                                                                                                
  Memory Range: 0xe9600000-0xe961ffff (rw,non-prefetchable)                                                                                                                                                       
  Memory Range: 0xe9680000-0xe9680fff (rw,non-prefetchable)
  I/O Ports: 0x8040-0x805f (rw)
  IRQ: 56 (160948 events)
  HW Address: 00:26:b9:d4:11:15
  Link detected: yes
  Module Alias: "pci:v00008086d000010EAsv00001028sd0000040Bbc02sc00i00"
  Driver Info #0:
    Driver Status: e1000e is active
    Driver Activation Cmd: "modprobe e1000e"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

29: PCI 300.0: 0282 WLAN controller
  [Created at pci.328]
  Unique ID: y9sn.0nPpvn09Ip8
  Parent ID: qTvu.txJLWCW3tg4
  SysFS ID: /devices/pci0000:00/0000:00:1c.1/0000:03:00.0
  SysFS BusID: 0000:03:00.0
  Hardware Class: network
  Model: "Intel Centrino Ultimate-N 6300 3x3 AGN"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x422b "Centrino Ultimate-N 6300"
  SubVendor: pci 0x8086 "Intel Corporation"
  SubDevice: pci 0x1121 "Centrino Ultimate-N 6300 3x3 AGN"
  Revision: 0x35
  Driver: "iwlwifi"
  Driver Modules: "iwlwifi"
  Device File: wlan0
  Features: WLAN
  Memory Range: 0xe6e00000-0xe6e01fff (rw,non-prefetchable)
  IRQ: 55 (417872 events)
  HW Address: 00:24:d7:08:09:34
  Link detected: no
  WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140
  WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472 5.18 5.2 5.22 5.24 5.26 5.28 5.3 5.32 5.5 5.52 5.54 5.56 5.58 5.6 5.62 5.64 5.66 5.68 5.7
  WLAN encryption modes: WEP40 WEP104 TKIP CCMP
  WLAN authentication modes: open sharedkey wpa-psk wpa-eap
  Module Alias: "pci:v00008086d0000422Bsv00008086sd00001121bc02sc80i00"
  Driver Info #0:
    Driver Status: iwlwifi is active
    Driver Activation Cmd: "modprobe iwlwifi"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #19 (PCI bridge)
pla@suseST-pla:~> 


so I suppose I have only these three:
em1
lo
wlan0
…also “lo” has to be included??
but, the command

/usr/lib/udev/udev-generate-persistent-rule -v -c enp5s0 -n enp5s0 -o /etc/udev/rules.d/70-persistent-net.rules 


has to be ran in 13.2 before to upgrade to leap42 or after upgrade and before reboot??

No, lo represents the loopback network interface and remains as is.