Important files:
/etc/hostname: contains hostname
/etc/network/interfaces: contains interfaces
display network interfaces info: ifconfig
bring interface up: ifup eth0 or ifconfig eth0 up
take interface down: ifdown eth0 or ifconfig eth0 down
get the default gateway: ip route | grep default
route -n (look for 0.0.0.0 destination)
Leave a Reply