Skip to content

Instantly share code, notes, and snippets.

@VuokkoVuorinnen
Created January 6, 2014 10:21
Show Gist options
  • Save VuokkoVuorinnen/8280801 to your computer and use it in GitHub Desktop.
Save VuokkoVuorinnen/8280801 to your computer and use it in GitHub Desktop.
Network troubleshooting
Network Troubleshooting:
------------------------
1) Kabels checken!
2) IP adres -> ifconfig
3) Default gateway
-) netstat -rn
-) route -n
4) DNS
-) /etc/resolv.conf
Netwerkservice
--------------
Service manipuleren
-------------------
upstart
-------
service httpd start
service httpd stop
service httpd restart
service httpd status
chkconfig httpd.on (starten bij booten)
chkconfig httpd.off (niet starten bij booten)
systemd
-------
systemctl start httpd.service
systemctl stop httpd.service
systemctl restart httpd.service
systemctl status httpd.service
systemctl enable httpd.service
systemctl disable httpd.service
Troubleshooting:
----------------
1) Draait de service wel?
-) service httpd status
-) netstat -tln
2) Service remote testen
-) client software (vb. browser)
-) nmap
3) Firewall instellingen
-) vi /etc/sysconfig/iptables
-) service iptables restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment