The ARM UART is usually employed during development and monitoring because
the kernel and daemons messages are thrown to this console.
the kernel and daemons messages are sent to this console.
Login via SSH
...
...
@@ -254,7 +295,7 @@ protocol. If you don't have any DHCP router/server in your network please
refer to the [non-DHCP](#non-dhcp-user) section.
To obtain the IP of the [WRS] you can connect to your DHCP server interface
and retrieve the IP, or [connect via USB](#login-via-usb) to retrieve the
and retrieve the IP, or [connect to ttyACM0](#login-via-usb) to retrieve the
IP (`ipconfig eth0`).
If the [WRS] IP is for example `192.168.1.50` you might connect using:
...
...
@@ -276,10 +317,8 @@ similar:
2. Then you need to list and find out which serial port in Windows corresponds
to which interface. A simple way to perform this is to plug only one USB
cable at a time, and go to
`Device Manager > Ports (COM & LPT)` to check
the name of the `COM<X>` port.
cable at a time, and go to `Device Manager > Ports (COM & LPT)`
to check the name of the `COM<X>` port.
3. Finally to connect through the USB you just need to open the Putty
tool and configure it as indicated in the figure below. Do not forget to replace the
...
...
@@ -298,21 +337,21 @@ by the one in your subnetwork.
After login:
-------------------
Once you are login you can use various tools to monitorize the [WRS].
Once you are logged in you can use various tools to monitor the [WRS].
All these tools are found in `/wr/bin/` which is included in the `$PATH`.
The following list resumed the most interesting one:
The following list resumes the most interesting commands:
*`shw_ver`: Print informations about the SW & HW version of the [WRS].
*`rtu_stat`: Routing Table Unit Statistic, returns the routing table information where we can find which MAC need to be forward to which port. It also allows to add and delete entries.
*`wr_mon`: WR Switch Sync Monitor, outputs informations about the state of WR syncrhonisation such as Phase Tracking, Master-Slave delay, link asymmetry, etc...
*`shw_ver`: Print information about the SW & HW version of the [WRS].
*`rtu_stat`: Routing Table Unit Statistic, returns the routing table information where we can find which MAC needs to be forwarded to which port. It also allows to add and delete entries.
*`wr_mon`: WR Switch Sync Monitor, outputs information about the state of WR syncrhonisation such as Phase Tracking, Master-Slave delay, link asymmetry, etc...
*`spll_dbg_proxy`: SoftPLL debug proxy, reads out the debug FIFO datastream from the SoftPLL and proxies it via TCP connection to the application running on an outside host, where it can be plotted, analyzed, etc.
> Notes: More information about each tools can be obtain using the embedded help argument: `--help`, `-h` or `help`.
> Note: More information about each tool can be obtain using the embedded help argument: `--help`, `-h` or `help`.
#### Warning:
The SFP ports are labeled from 1 to 18 on the front panel but their corresponding
network interface are named from `wr0` to `wr17`, remind it.
network interface are named from `wr0` to `wr17`.
Configurations
...
...
@@ -336,7 +375,7 @@ Welcome on WRSv3 Boot Sequence
5: reboot
~~~~~~~~~~~~~~~~~~~
> Notes: If you want to change how
> Note: If you want to change how
the [WRS] is booted you can place a `wrboot` script in your TFTP root
folder and select the second option or you can edit the configuration
(third option). Please find more explanations in the
...
...
@@ -367,7 +406,7 @@ iface eth0 inet static
~~~~~~~~~~~~~~
> Notes: If you are willing to use TFTP script in a non-DHCP network, you
> Note: If you are willing to use TFTP script in a non-DHCP network, you
must also statically set the IP in the bootloader configuration.
...
...
@@ -376,12 +415,12 @@ GrandMaster mode

In a White Rabbit network, almost all the switches are configured as "SimpleMaster"
In a White Rabbit network, almost all the switches are configured as master (a.k.a SimpleMaster)
(default configuration). They transmit the clock signal that cames from other switches.
However the "top" switch connected to the GPS signal is called the **GrandMaster**
However the "top" switch connected to the GPS signal is called the **GrandMaster**
and is configured in a specific way.
To configure a switch in GrandMaster mode you must edit[^viedit] the `wrsw_hal.conf` file
To configure a switch as GrandMaster you must edit[^viedit] the `wrsw_hal.conf` file
~~~~{.C}
vi /wr/etc/wrsw_hal.conf
...
...
@@ -397,7 +436,7 @@ timing = {
~~~~~~
For a more detailed explanation on how to configure and connect the switch in grand master mode, please consult the
For a more detailed explanation on how to configure and connect the switch as GrandMaster, please consult the
[wr_external_reference.pdf] document.
...
...
@@ -412,25 +451,20 @@ This section proposes a simple way to update the firmware of the [WRS]
by flashing the memory using the *Management Mini-USB*[^flashlinux].
1. Download the [flashing package] and extract it.
#. Download the [latest stable release] of the [WRS]
binaries in a tar.gz package.
#. Download the [latest stable release] of the [WRS] firmware in a tar.gz package.
#. Connect the *Management Mini-USB* port to the PC[^checkusb].