posted 1 year ago
Welcome to the Ranch, Jestina!
Ron has given a (somewhat minimal) set of specs for manually defining a network interface on Ref Hat/Fedora/CentOS/Alma/Rocky Linux systems. Ubuntu/Debian have different methods, but they don't have an /etc/sysconfig, so that's what we're assuming here.
This is the old tried and true method for configuration, but as time has progressed, it has been pushed aside in favor of NetworkManager. So unless you've manually disabled NetworkManager, your best bet is to use that. For GUI management, there should be an icon on a screen taskbar you can use the right/left mouse buttons on (depending on which GUI desktop you're using). For a non-GUI system, you'll probably have to download/install the NetworkManager-tui package and run the command-line (Text User Interface) app.
Also make sure that once you've got the NIC configured (use the old "ifconfig" or "ip address" command to check it), the next step is to make sure your firewall allows your pings and connections. Here again, the older solution would be the iptables command, but the newer OS releases may use the firewall-cmd utility.
Education won't help those who are proudly and willfully ignorant. They'll literally rather die before changing.