CentOS8 USB LAN adapter network settings

Doesn't the NUC wired LAN of my home server recognize it?

After making various settings, NetworkManager did not start and the built-in wired LAN was not recognized, so I stabbed the USB LAN adapter. And I got a little addicted, so myself.

USB LAN adapter recognized

I recognize the LAN adapter, but I can't set the address ...

# nmcli d
DEVICE           TYPE      STATE     CONNECTION 
enp0s20f0u3 ethernet disconnected--         

# nmcli c modify enp0s20f0u3 ipv4.addresses 192.168.33.34/24 
error:Unknown connection'enp0s20f0u3'.

Add a new device

I completely forgot, and I went through. You have to add a new device.

# nmcli c add type ethernet ifname enp0s20f0u3 con-name enp0s20f0u3
Connection'enp0s20f0u3' (c6488439-e233-4874-8b2b-13f8d5022501)Was added successfully.

# nmcli c modify enp0s20f0u3 ipv4.addresses 192.168.33.34/24 

# nmcli d
DEVICE           TYPE      STATE     CONNECTION  
enp0s20f0u3 ethernet connected enp0s20f0u3

Clean

For some reason, it also recognized the built-in wired LAN. Even though I got a USB LAN, I'm sorry ...

Recommended Posts

CentOS8 USB LAN adapter network settings
CentOS7 network settings
CentOS8 bind settings
centos7 Initial settings
CentOS7 initial settings