Page 1 of 1

[Sovled] Ethernet disconnected after yum group install "Server with GUI"

Posted: 2020/09/20 12:29:35
by m0t0m
My Ethernet was working until I ran

Code: Select all

yum group install "Server with GUI"
after the install finished it disconnected me from ethernet. How do I reconnect?

Code: Select all

nmcli 
virbr0: connected to virbr0
	"virbr0"
	bridge ...
	
enp9s0: disconnnected
	"Marvel 88E8040"
	ethernet (sky2), 00:25..., hw, mtu 65536
My /etc/sysconfig/network-scripts is empty.

Re: Ethernet disconnected after yum group install "Server with GUI"

Posted: 2020/09/22 10:17:21
by jlehtone
The 'enp9s0' is name of device.
You can list devices with: nmcli d s
You can list connections with: nmcli c s

Code: Select all

nmcli c up $CONN
Where $CONN is the name or uuid of a connection. Could be 'enp9s0' or something else.

However, that just starts a connection now (unless there is some error that prevents it).

Code: Select all

nmcli -f connection c s $CONN
Shows part of config of $CONN.

Re: Ethernet disconnected after yum group install "Server with GUI"

Posted: 2020/09/25 12:54:19
by m0t0m
For future reference the solution is

Code: Select all

nmcli connection add type ethernet autoconnect yes