Commit 95fd9206 authored by Philip Linghammar's avatar Philip Linghammar
Browse files

Updates basics_of_linux.md

Auto commit by GitBook Editor
parent 27e2b49a
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -841,8 +841,14 @@ If you use standard desktop installation for Ubuntu or Debian you get NetworkMan
# Stop NetworkManager
sudo systemctl stop NetworkManager.service

# Start NetworkManager
sudo systemctl start NetworkManager.service

# Disable it so it won't start at boot
sudo systemctl disable NetworkManager

#Enable it so it will start at boot
sudo systemctl disable NetworkManager
```

Network cards \(NIC\) are identified by their mac address, hosts by theirip address andapplications by their port number.
@@ -871,8 +877,6 @@ sudo ip link set dev eth0 down
# So use ifup and ifdown!
ifconfig eth0 up
ifconfig eth0 down


```

**Configure an interface with ip or ifconfig**