[bootlin/training-materials updates] master: labs/kernel-board-setup: clarify network configuration explanations (4b225665)

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri May 7 09:23:56 CEST 2021


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/4b2256652e4e9486b00624e3d702c292e3e86eef

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

commit 4b2256652e4e9486b00624e3d702c292e3e86eef
Author: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Date:   Fri May 7 09:23:56 2021 +0200

    labs/kernel-board-setup: clarify network configuration explanations
    
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>


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

4b2256652e4e9486b00624e3d702c292e3e86eef
 labs/kernel-board-setup/kernel-board-setup.tex | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/labs/kernel-board-setup/kernel-board-setup.tex b/labs/kernel-board-setup/kernel-board-setup.tex
index bd65ee01..aacebdad 100644
--- a/labs/kernel-board-setup/kernel-board-setup.tex
+++ b/labs/kernel-board-setup/kernel-board-setup.tex
@@ -194,12 +194,18 @@ saveenv
 To configure your network interface on the workstation side, we need
 to know the name of the network interface connected to your board.
 
-However,  you won't be able to see the network interface corresponding
-to the Ethernet over USB device connection yet, because it's only active when
-the board turns it on, from U-Boot or from Linux. When this
-happens, the network interface name will be \code{enx<macaddr>}.
-Given the value we gave to \code{usbnet_hostaddr}, it will
-therefore be \code{enxf8dc7a000001}.
+Note that when the board is sitting at the U-Boot prompt, no network
+interface will show up on the workstation side. It is only when U-Boot
+is actively executing a network-related command (such as \code{ping}
+or \code{tftp}) that it brings up the USB network connection.
+
+From the board, run \code{ping 192.168.0.1}, and while the \code{ping}
+command is running, you should see on your workstation a new network
+interface named \code{enx<macaddr>}. Given the value we gave to
+\code{usbnet_hostaddr}, it will therefore be
+\code{enxf8dc7a000001}. Note that pinging the board from your PC will
+not work: when U-Boot is sitting at its prompt, it is not able to
+reply to ping requests.
 
 Then, instead of configuring the host IP address from NetWork Manager's
 graphical interface, let's do it through its command line interface,




More information about the training-materials-updates mailing list