[Cancelled] Need to "hide" onboard network card from NetworkManager
Posted: 2018/01/09 17:12:13
I have a motherboard with two onboard network cards. One of them went bad about 8 months after building the machine, so I plugged the network into the other card and all is well. Sort of.
Despite my attempts to disable the bad card in NetworkManager, it still starts the correct card, shuts it down, attempts/fails to start the bad card, shuts it down, then restarts the good one. Normally, that would be ok, except NFS shares failed to mount in the meantime "mount.nfs: Failed to resolve server wlinux: Name or service not known". Because of that, some bootup logging & other chores involving the shares did not happen. By the time Gnome comes up, the shares have mounted (wait-online, perhaps) but the startup chores never got done.
Question: How can I hide or completely disable the bad card so NetworkManager isn't spending that critical piece of time trying to start it? Is there a file I should edit to remove references to the bad card?
ifcfg for bad card:
ifcfg for GOOD card:
Thank you.
Despite my attempts to disable the bad card in NetworkManager, it still starts the correct card, shuts it down, attempts/fails to start the bad card, shuts it down, then restarts the good one. Normally, that would be ok, except NFS shares failed to mount in the meantime "mount.nfs: Failed to resolve server wlinux: Name or service not known". Because of that, some bootup logging & other chores involving the shares did not happen. By the time Gnome comes up, the shares have mounted (wait-online, perhaps) but the startup chores never got done.
Question: How can I hide or completely disable the bad card so NetworkManager isn't spending that critical piece of time trying to start it? Is there a file I should edit to remove references to the bad card?
ifcfg for bad card:
Code: Select all
TYPE=Ethernet
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=enp7s4
UUID=d9033914-e8fd-47da-925a-f3ee7b1ddaa6
DEVICE=enp7s4
ONBOOT=no
PROXY_METHOD=none
BROWSER_ONLY=no
USERS=candace
Code: Select all
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_PEERDNS="yes"
IPV6_PEERROUTES="yes"
IPV6_FAILURE_FATAL="no"
NAME=enp2s0
UUID=092acf50-5224-46e6-9aac-eb8b0a51c284
DEVICE=enp2s0
ONBOOT=yes
HWADDR=90:E6:BA:07:42:A6
MACADDR=90:E6:BA:07:42:A6
PROXY_METHOD=none
BROWSER_ONLY=no