[FE training-materials-updates] kernel and sysdev labs: update networking instructions

Michael Opdenacker michael.opdenacker at free-electrons.com
Tue Jun 7 07:00:31 CEST 2016


Repository : git://git.free-electrons.com/training-materials.git
On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=357a5336cf5096913ea97ce4d9496ab2829a087c

>---------------------------------------------------------------

commit 357a5336cf5096913ea97ce4d9496ab2829a087c
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Tue Jun 7 07:00:31 2016 +0200

    kernel and sysdev labs: update networking instructions
    
    - Using screenshots from 16.04
    - Fixing their width (were too wide)
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>


>---------------------------------------------------------------

357a5336cf5096913ea97ce4d9496ab2829a087c
 labs/kernel-board-setup/kernel-board-setup.tex |  27 ++++++++++++-------------
 labs/kernel-board-setup/network-config-1.png   | Bin 40480 -> 37494 bytes
 labs/kernel-board-setup/network-config-2.png   | Bin 24584 -> 20437 bytes
 labs/kernel-board-setup/network-config-3.png   | Bin 50383 -> 43472 bytes
 labs/sysdev-u-boot/network-config-1.png        | Bin 70298 -> 37494 bytes
 labs/sysdev-u-boot/sysdev-u-boot.tex           |   6 +++---
 6 files changed, 16 insertions(+), 17 deletions(-)

diff --git a/labs/kernel-board-setup/kernel-board-setup.tex b/labs/kernel-board-setup/kernel-board-setup.tex
index 26f2d66..d8bec10 100644
--- a/labs/kernel-board-setup/kernel-board-setup.tex
+++ b/labs/kernel-board-setup/kernel-board-setup.tex
@@ -153,32 +153,31 @@ the \code{Network Manager} tasklet on your desktop, and select
 \code{Edit Connections}.
 
 \begin{center}
-\includegraphics[width=8cm]{labs/kernel-board-setup/network-config-1.png}
+\includegraphics[width=5cm]{labs/kernel-board-setup/network-config-1.png}
 \end{center}
 
 Select the new wired network connection:
 
 \begin{center}
-\includegraphics[width=8cm]{labs/kernel-board-setup/network-config-2.png}
+\includegraphics[width=5cm]{labs/kernel-board-setup/network-config-2.png}
 \end{center}
 
-In the \code{IPv4 Settings} tab, press the \code{Add} button and
-make the interface use a static IP
-address, like \code{192.168.0.1} (of course, make sure that this address
-belongs to a separate network segment from the one of the main company
-network). You will also need to specify the local network mask
-(\emph{netmask}, often \code{255.255.255.0}). You can keep the
-\code{Gateway} field empty (don't click put the cursor inside the
-corresponding text box, otherwise it will ask for a legal value)
-or set it to \code{0.0.0.0}:
+In the \code{IPv4 Settings} tab, choose the \code{Manual} method
+to make the interface use a static IP address, like \code{192.168.0.1}
+(of course, make sure that this address belongs to a separate network
+segment from the one of the main company network).
 
 \begin{center}
-\includegraphics[width=8cm]{labs/kernel-board-setup/network-config-3.png}
+\includegraphics[width=5cm]{labs/kernel-board-setup/network-config-3.png}
 \end{center}
 
-Now, it's time to configure networking on U-Boot's side.
+You can use \code{24} as \code{Netmask}, and leave the
+\code{Gateway} field untouched (if you click on the \code{Gateway} box, you
+will have to type a valid IP address, otherwise you won't be allowed to
+click on the \code{Save} button).
 
-Back to the U-Boot command line, set the below environment variables:
+Now, configure the network on the board in U-Boot by setting the \code{ipaddr}
+and \code{serverip} environment variables:
 
 \begin{verbatim}
 setenv ipaddr 192.168.0.100
diff --git a/labs/kernel-board-setup/network-config-1.png b/labs/kernel-board-setup/network-config-1.png
index 5264e3e..d87416b 100644
Binary files a/labs/kernel-board-setup/network-config-1.png and b/labs/kernel-board-setup/network-config-1.png differ
diff --git a/labs/kernel-board-setup/network-config-2.png b/labs/kernel-board-setup/network-config-2.png
index ebeb621..6942628 100644
Binary files a/labs/kernel-board-setup/network-config-2.png and b/labs/kernel-board-setup/network-config-2.png differ
diff --git a/labs/kernel-board-setup/network-config-3.png b/labs/kernel-board-setup/network-config-3.png
index 0e007a3..6b29059 100644
Binary files a/labs/kernel-board-setup/network-config-3.png and b/labs/kernel-board-setup/network-config-3.png differ
diff --git a/labs/sysdev-u-boot/network-config-1.png b/labs/sysdev-u-boot/network-config-1.png
index 8940833..d87416b 100644
Binary files a/labs/sysdev-u-boot/network-config-1.png and b/labs/sysdev-u-boot/network-config-1.png differ
diff --git a/labs/sysdev-u-boot/sysdev-u-boot.tex b/labs/sysdev-u-boot/sysdev-u-boot.tex
index ca9647f..d16de26 100644
--- a/labs/sysdev-u-boot/sysdev-u-boot.tex
+++ b/labs/sysdev-u-boot/sysdev-u-boot.tex
@@ -267,13 +267,13 @@ the {\em Network Manager} tasklet on your desktop, and select {\em
   Edit Connections}.
 
 \begin{center}
-\includegraphics[width=8cm]{labs/sysdev-u-boot/network-config-1.png}
+\includegraphics[width=5cm]{labs/sysdev-u-boot/network-config-1.png}
 \end{center}
 
 Select {\em Wired connection 1} and press the {\em Edit} button.
 
 \begin{center}
-\includegraphics[width=8cm]{labs/sysdev-u-boot/network-config-2.png}
+\includegraphics[width=5cm]{labs/sysdev-u-boot/network-config-2.png}
 \end{center}
 
 In the \code{IPv4 Settings} tab, choose the \code{Manual} method
@@ -282,7 +282,7 @@ to make the interface use a static IP address, like \code{192.168.0.1}
 segment from the one of the main company network).
 
 \begin{center}
-\includegraphics[width=8cm]{labs/sysdev-u-boot/network-config-3.png}
+\includegraphics[width=5cm]{labs/sysdev-u-boot/network-config-3.png}
 \end{center}
 
 You can use \code{24} as \code{Netmask}, and leave the




More information about the training-materials-updates mailing list