**NOTE** January 2022 - Changes to Gstreamer and Pipewire packages from PackmanPlease read the following thread about the current changes
-
Rename NIC name without YAST
Hello all!
Server with 4 nic interfaces, OpenSuse 11.1. I want rename eth0 to wan1. I can use yast, but want to now, how did it from console.
# ifconfig eth0 down
# ip link set eth0 name wan1
# ifconfig wan1 up
is work, but after reboot, eth0 still here.
if I rename /etc/sysconfig/network/ifcfg-eth0 -> ifcfg-wan1 network did'n work, and I see new config in yast.
How I can currectly rename NIC name w/o yast?
-
Re: Rename NIC name without YAST
 Originally Posted by terset
Hello all!
Server with 4 nic interfaces, OpenSuse 11.1. I want rename eth0 to wan1. I can use yast, but want to now, how did it from console.
# ifconfig eth0 down
# ip link set eth0 name wan1
# ifconfig wan1 up
is work, but after reboot, eth0 still here.
if I rename /etc/sysconfig/network/ifcfg-eth0 -> ifcfg-wan1 network did'n work, and I see new config in yast.
How I can currectly rename NIC name w/o yast?
Hi,
check out the nameif command. man nameif from the command prompt.
hth
J
-
Re: Rename NIC name without YAST
thx,
I modified /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:1a:4f:1d:ff", ATTR{type}=="1", KERNEL=="eth*", NAME="wan1"
and it work after reboot
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|