From c12873bbd439d34ad974632457434f3334eb50e6 Mon Sep 17 00:00:00 2001
From: John Ogness <john.ogness@linutronix.de>
Date: Fri, 31 Aug 2018 15:15:23 +0206
Subject: networking: cleanup formatting and capitalization

Signed-off-by: John Ogness <john.ogness@linutronix.de>
---
 linux-basics/networking/pres_networking_en.tex | 67 +++++++++++++++-----------
 1 file changed, 38 insertions(+), 29 deletions(-)

(limited to 'linux-basics/networking/pres_networking_en.tex')

diff --git a/linux-basics/networking/pres_networking_en.tex b/linux-basics/networking/pres_networking_en.tex
index 21ac72f..b1fee46 100644
--- a/linux-basics/networking/pres_networking_en.tex
+++ b/linux-basics/networking/pres_networking_en.tex
@@ -3,25 +3,27 @@
 
 \input{configpres}
 
-\title{Network configuration}
+\title{Network Configuration}
 \maketitle
 
 % stop displaying 'fueller.png' on the following slides
 \def\lximg{none}
 
-\subsection{Network configuration}
+\subsection{Network Configuration}
 
 \begin{frame}[fragile]
 \frametitle{ifconfig}
 \begin{verbatim}
-# List all configured network devices
+# list all configured network devices
 ifconfig
-# List all available network devices
+
+# list all available network devices
 ifconfig -a
-# Configure eth0
-ifconfig eth0 192.168.0.2 \
-     netmask 255.255.255.0 up
-# De-activate eth0
+
+# configure eth0
+ifconfig eth0 192.168.0.2 netmask 255.255.255.0 up
+
+# de-activate eth0
 ifconfig eth0 down
 \end{verbatim}
 \end{frame}
@@ -56,49 +58,56 @@ iface eth0 inet dhcp
 \end{frame}
 
 \begin{frame}[fragile]
-\frametitle{SysFS attributes}
+\frametitle{SysFS Attributes}
 \begin{verbatim}
-# Check the link status
-$ cat /sys/class/net/eth0/carrier 
+# check the link status
+cat /sys/class/net/eth0/carrier 
 1
-# Check the MAC address
-$ cat /sys/class/net/eth0/address
+
+# check the MAC address
+cat /sys/class/net/eth0/address
 00:0c:29:43:4b:69
 \end{verbatim}
 \end{frame}
 
 \begin{frame}[fragile]
-\frametitle{The ip tool}
+\frametitle{The 'ip' Tool}
 \begin{verbatim}
-# Show links
-$ ip link list
-# Show routes
-$ ip route show
-# Show the current ARP cache
-$ ip neigh show
-# Change the IP address
-$ sudo ip addr change 192.168.0.3 dev eth0
-# Change the MAC address
-$ ip link set eth0 address 00:0c:29:43:4b:ff
+# show links
+ip link list
+
+# show routes
+ip route show
+
+# show the current ARP cache
+ip neigh show
+
+# change the IP address
+ip addr change 192.168.0.3 dev eth0
+
+# change the MAC address
+ip link set eth0 address 00:0c:29:43:4b:ff
 \end{verbatim}
 \end{frame}
 
 \begin{frame}[fragile]
-\frametitle{netcat: The TCP / IP swiss army knife}
+\frametitle{netcat: The TCP / IP Swiss Army Knife}
 \begin{verbatim}
-# On the server
+# on the server...
 nc -l -p 5555
-# On the client
+
+# on the client...
 nc localhost 5555
 \end{verbatim}
 \end{frame}
 
 \begin{frame}[fragile]
-\frametitle{netcat: Testing connections}
+\frametitle{netcat: Testing Connections}
 \begin{verbatim}
 $ nc some_web_server 80
 GET / HTTP/1.0
 [...]
+
 $ nc -nv 192.168.0.1 22
 Connection to 192.168.0.1 22 port [tcp/*]
 SSH-2.0-dropbear_0.48
@@ -106,7 +115,7 @@ SSH-2.0-dropbear_0.48
 \end{frame}
 
 \begin{frame}
-\frametitle{Network sniffer}
+\frametitle{Network Sniffers}
 \begin{itemize}
 \item tcpdump
 \item wireshark
-- 
cgit v1.2.3

