There is no hostname file in /etc
Then things are not
as they should be
I am surprised your computer is running at all.
Unless FC is completely different from "normal" linux distros (which I doubt, but I am not familiar with FC), the following might sort it out:
All this has to be done as root
First create the hostname file:
Than give it the right permissions:
chmod 644 /etc/hostname
chown root:root /etc/hostname
Now either edit /etc/hostname
with your preferred editor to read like this (it's just one line):
Or, even easier because it is just one line
echo linuxserver > /etc/hostname
Now edit /etc/hosts
and make it look like this:
127.0.0.1 linuxserver.localdomain localhost linuxserver
That means that 127.0.0.1 (the "loopback address") is pointed to by linuxserver.localdomain and localhost and linuxserver
If you are not using IPv6 (and nobody seems to be, yet, I am awaiting the "Great Migration" (and possible "Great Chaos")) you do not need the next line that starts with ::1 and you can safely delete it, or leave it, until chaos hits us
Now reboot. Linux doesn't often need rebooting like windows does, but it does
need a reboot if you have changed the hostname, because this is essential
to many processes.
Then you should be good to go
If further problems, please come back here.