Hello, I’m an advanced beginner with Linux and I’m having an issue setting up a wired Ethernet connection to the internet. Here is what I have done, but I still cannot get a connection to the internet due to SELinux blocking connection. I did want to mention that I tried relaxing the SELinux settings, and the Fedora security locked up my operating system to where I had to do a fresh install again. Any guidance would be appreciated.
ip link show
enp0s20f0u4
sudo dnf install dhcpcd
sudo dhcpcd enp0s20f0u4
SELinux error:
You can generate a local policy module to allow this access.
Before we continue please whatch that you format your terminal output as pre formatted text. it looks better and it is easy readable. You can do that while clicking on the </> icon in the editor.
dhcpd is for running a DHCP server on your own network, on a router.
It is not required if all you want to do is resolve DNS lookups.
Can you show the output of ip addr and ip route when only the wired connect is connected please?
If selinux gets into a terrible mess turning it off on the kernel command line usually allows your system to boot and then you can look to repair selinux.
I believe that the SELinux is blocking some components of the DHCP from working. My cable is plugged in correctly. Likely, the code to the DHCP needs to boot up in the correct sequence and SELinux is blocking a couple of the processes.
Thank you Barry. You were on point with my Ethernet cable connection. I unplugged my Ethernet cable from the modem and plugged it into the router (correct device) and restarted my laptop, and now the Wired Ethernet connection is working correctly with no Wifi enabled. I did change the NetworkManager GUI to Auto from static also.
I do not have much system admin skills at all. You’ve helped me out greatly. You Rock! Thank you!