Show Menu

CAE Hackathon Cheat Sheet (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Interface Info

ip a
general ip & interface info

Bring interfaces up & down

# ip link set dev <interface> up
# ip link set dev <interface> down

# /sbin/ifconfig <interface> up
# /sbin/ifconfig <interface> down


# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface em1 inet static
    broadcast # optional

# Wireless interface
auto wlp3s0
iface wlp3s0 inet dhcp
Template for static & dhcp