Hostname is not displayed on Netgear Router / Atached devices | Fix with hostnamectl

Fedora hostname is not displayed in my router, but the other hosts are.
Is it a Fedora thing?

Please check:

hostnamectl --transient && hostnamectl --static && hostnamectl --pretty

If you check the command above on linux mx and manjaro you will see if all hostnames are set.

On my hostname --pretty was not set. That could be the reason that it displays just --

I don’t have a netgear router … could not test it.

2 Likes

Static did it for me. thanks

1 Like