Skip to content

Dasharo Compatibility: NET controller after coldboot/warmboot/reboot/suspend

Test cases common documentation

Test setup

  1. Proceed with the Generic test setup: firmware.
  2. Proceed with the Generic test setup: OS installer.
  3. Proceed with the Generic test setup: OS installation.
  4. Proceed with the Generic test setup: OS boot from disk.
  5. The Thunderbolt docking station connected to the Thunderbolt port.

NET001.001 NET controller after coldboot (Ubuntu)

Test description

This test aims to verify that the network controller works and the platform is able to connect to the network after coldboot.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu

Test setup

  1. Proceed with the Test cases common documentation section.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Plug in a Ethernet cable with internet connection to the platform.
  5. Wait for internet connection to initialize.
  6. Open a terminal window and execute following command to list available network interfaces:

    ip a
    
  7. Determine the name of the ethernet controller. It typically is ethX or enpXsY, where X and Y are numbers.

  8. Then, execute following command to check if the network interface is working correctly:

    cat /sys/class/net/<interface_name>/operstate
    
  9. Perform coldboot.

  10. Boot into the system.
  11. Log into the system by using the proper login and password.
  12. Open a terminal window and execute the command mentioned in point 8.

Expected result

  1. The ip a command should return information about available NET interfaces. The list should contain the ethernet network interface, which is typically identified as ethX or enpXsY, where X and Y are numbers. Example output:

    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
    2: enp46s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether d4:93:90:16:92:f8 brd ff:ff:ff:ff:ff:ff
    inet 192.168.4.85/24 brd 192.168.4.255 scope global dynamic noprefixroute enp46s0
       valid_lft 40276sec preferred_lft 40276sec
    inet6 fe80::8317:79e3:81ec:a1f4/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
    3: wlp0s20f3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 14:18:c3:7d:77:06 brd ff:ff:ff:ff:ff:ff
    
  2. The cat /sys/class/net/<interface_name>/operstate command should return information indicating if the network interface works correctly (up) or not (down). Example output:

    up
    

NET002.001 NET controller after warmboot (Ubuntu)

Test description

This test aims to verify that the network controller works and the platform is able to connect to the network after warmboot.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu

Test setup

  1. Proceed with the Test cases common documentation section.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Plug in a Ethernet cable with internet connection to the platform.
  5. Wait for internet connection to initialize.
  6. Open a terminal window and execute following command to list available network interfaces:

    ip a
    
  7. Determine the name of the ethernet controller. It typically is ethX or enpXsY, where X and Y are numbers.

  8. Then, execute following command to check if the network interface is working correctly:

    cat /sys/class/net/<interface_name>/operstate
    
  9. Perform warmboot.

  10. Boot into the system.
  11. Log into the system by using the proper login and password.
  12. Open a terminal window and execute the command mentioned in point 8.

Expected result

  1. The ip a command should return information about available NET interfaces. The list should contain the ethernet network interface, which is typically identified as ethX or enpXsY, where X and Y are numbers. Example output:

    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
    2: enp46s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether d4:93:90:16:92:f8 brd ff:ff:ff:ff:ff:ff
    inet 192.168.4.85/24 brd 192.168.4.255 scope global dynamic noprefixroute enp46s0
       valid_lft 40276sec preferred_lft 40276sec
    inet6 fe80::8317:79e3:81ec:a1f4/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
    3: wlp0s20f3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 14:18:c3:7d:77:06 brd ff:ff:ff:ff:ff:ff
    
  2. The cat /sys/class/net/<interface_name>/operstate command should return information indicating if the network interface works correctly (up) or not (down). Example output:

    up
    

NET003.001 NET controller after reboot (Ubuntu)

Test description

This test aims to verify that the network controller works and the platform is able to connect to the network after coldboot.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu

Test setup

  1. Proceed with the Test cases common documentation section.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Plug in a Ethernet cable with internet connection to the platform.
  5. Wait for internet connection to initialize.
  6. Open a terminal window and execute following command to list available network interfaces:

    ip a
    
  7. Determine the name of the ethernet controller. It typically is ethX or enpXsY, where X and Y are numbers.

  8. Then, execute following command to check if the network interface is working correctly:

    cat /sys/class/net/<interface_name>/operstate
    
  9. Reboot the system.

  10. Boot into the system.
  11. Log into the system by using the proper login and password.
  12. Open a terminal window and execute the command mentioned in point 8.

Expected result

  1. The ip a command should return information about available NET interfaces. The list should contain the ethernet network interface, which is typically identified as ethX or enpXsY, where X and Y are numbers. Example output:

    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
    2: enp46s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether d4:93:90:16:92:f8 brd ff:ff:ff:ff:ff:ff
    inet 192.168.4.85/24 brd 192.168.4.255 scope global dynamic noprefixroute enp46s0
       valid_lft 40276sec preferred_lft 40276sec
    inet6 fe80::8317:79e3:81ec:a1f4/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
    3: wlp0s20f3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 14:18:c3:7d:77:06 brd ff:ff:ff:ff:ff:ff
    
  2. The cat /sys/class/net/<interface_name>/operstate command should return information indicating if the network interface works correctly (up) or not (down). Example output:

    up
    

NET004.001 NET controller after suspend (Ubuntu)

Test description

This test aims to verify that the network controller works and the platform is able to connect to the network after suspend.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu

Test setup

  1. Proceed with the Test cases common documentation section.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Plug in a Ethernet cable with internet connection to the platform.
  5. Wait for internet connection to initialize.
  6. Open a terminal window and execute following command to list available network interfaces:

    ip a
    
  7. Determine the name of the ethernet controller. It typically is ethX or enpXsY, where X and Y are numbers.

  8. Then, execute following command to check if the network interface is working correctly:

    cat /sys/class/net/<interface_name>/operstate
    
  9. Execute following command to suspend the system and automatically wake it up after 10 seconds:

    sudo fwts s3 --s3-sleep-delay=10
    
  10. After the system wakes up, log into the system and execute the command mentioned in point 8.

Expected result

  1. The ip a command should return information about available NET interfaces. The list should contain the ethernet network interface, which is typically identified as ethX or enpXsY, where X and Y are numbers. Example output:

    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
    2: enp46s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether d4:93:90:16:92:f8 brd ff:ff:ff:ff:ff:ff
    inet 192.168.4.85/24 brd 192.168.4.255 scope global dynamic noprefixroute enp46s0
       valid_lft 40276sec preferred_lft 40276sec
    inet6 fe80::8317:79e3:81ec:a1f4/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
    3: wlp0s20f3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 14:18:c3:7d:77:06 brd ff:ff:ff:ff:ff:ff
    
  2. The cat /sys/class/net/<interface_name>/operstate command should return information indicating if the network interface works correctly (up) or not (down). Example output:

    up