Difference between revisions of "Configuring a Network"
Jump to navigation
Jump to search
(Created page with "==Network Commands== lsmod # see what processes is loaded into memory nmtui # modify network info ifdown #unconfigures a NIC ifup # configures Nic using /etc/sysconfig/ ==...") |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
==Configure Network interface== | ==Configure Network interface== | ||
/etc/sysconfig/network-scripts/ifcfg-interface file | /etc/sysconfig/network-scripts/ifcfg-interface file | ||
==Restart Network == | |||
/etc/init.d/networking restart | |||
==DNS Server File== | |||
/etc/resolv.conf | |||
nslookup # same as dig but depreciated | |||
dig # used to query records | |||
== Files which lists ports used== | |||
/etc/services | |||
==Open ssh Port, Enabling ssh== | |||
sudo apt install openssh-server | |||
#check to see if ssh is running | |||
sudo systemctl status ssh |
Latest revision as of 13:32, 14 May 2019
Network Commands
lsmod # see what processes is loaded into memory nmtui # modify network info ifdown #unconfigures a NIC ifup # configures Nic using /etc/sysconfig/
Configure Network interface
/etc/sysconfig/network-scripts/ifcfg-interface file ==Restart Network == /etc/init.d/networking restart
DNS Server File
/etc/resolv.conf nslookup # same as dig but depreciated dig # used to query records
Files which lists ports used
/etc/services
Open ssh Port, Enabling ssh
sudo apt install openssh-server #check to see if ssh is running sudo systemctl status ssh