don fisher composed on 2015-12-28 14:37 (UTC-0700):
Felix Miata wrote:
don fisher composed on 2015-12-28 11:40 (UTC-0700):
Look in /etc/udev/rules.d/ for a file
70-persistent-net.rules
It is probably there assigning the MAC address you want on eth0 to eth1. Likely it has two assignment lines. Just changing the assignment on the right address, a single character edit, and deleting the other line should be all you need to do before rebooting to find what you expected in the first place.
Adding a zero byte file
80-net-setup-link.rules
in rules.d/ might help to avoid future perplexity. See (near its bottom): http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterface...
There are just two lines in 70-persistent-net.rules. Both have an ATTR(address) entry, but the ATTR(dev_id)=="0x0 and the ATTR(type)=="1". I have forgotten how to determine the MAC address. lspci shows a lot of info, but no mac address.
Among others: Shorter way: # ip a Longer way: hwinfo --network
lsattr on the troublesome machine has entries like ------./70-persistent-net.rules
That's in /etc/udev/rules.d/.
while on my functioning machine I get: ---------------- ./scripts ---------------- ./if-up.d ---------------- ./if-down.d ---------------- ./providers ---------------- ./routes ---------------- ./routes.YaST2save ---------------- ./ifroute-wlp11s0 ---------------- ./ifcfg.template ---------------- ./dhcp ---------------- ./ifcfg-enp9s0 ---------------- ./ifcfg-wlp11s0 ---------------- ./config ---------------- ./ifcfg-lo
That looks like from /etc/sysconfig/network/. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org