Guide for troubleshooting network services on a Linux system
This project is maintained by bertvv
The most important commands, usable in most situations. See the detailed guides for specific commands/things to check.
ip a
ip r
(+ ping default gw)cat /etc/resolv.conf
(+ dig www.google.com @a.b.c.d +short
)nslookup
, dig
, getent ahosts
sudo systemctl status SERVICE.service
sudo systemctl start SERVICE.service
sudo systemctl enable SERVICE.service
sudo ss -tlnp
sudo firewall-cmd --list-all
sudo firewall-cmd --add-service=SERVICE --permanent
sudo firewall-cmd --add-port=PORT/tcp --permanent
sudo systemctl restart firewalld
sudo journalctl -f -u SERVICE.service
sudo systemctl restart SERVICE.service