skip to main content

Implementing Wireless Networking on Linux on the ThinkEdge SE360 V2

Planning / Implementation

Home
Top
Published
15 Feb 2024
Form Number
LP1891
PDF size
15 pages, 1.0 MB

Abstract

This article provides instructions for setting up wireless networks on the Linux Operating Systems supported by SE360 V2. This will save your time by eliminating the need to search for separate articles on supported Linux Operating Systems.

Introduction

The ThinkEdge SE360 V2 edge server optionally supports wireless LAN (WLAN) to enable connectivity to Wi-Fi as clients. Red Hat, SUSE, and Ubuntu Enterprise OSes are supported on the ThinkEdge SE360 V2 server. However, the wireless setting guide is in the different Linux OS distribution document. This article consolidates all different Linux OS distribution setting methods and provides the customer with the practice of setting wireless function in all supported Linux OS distributions.

ThinkEdge SE360 V2
Figure 1. Lenovo ThinkEdge SE360 V2 with wireless LAN functionality

This article contains three sections. The first one introduces the wireless network devices provided by the SE360 V2 system. The second one lists wireless network connection methods used by different Linux OSes. The last one includes all the wireless setting examples of different Linux OSes to enable users to quickly configure wireless network settings.

Prerequisites

Before setting up a wireless network, make sure that the system includes the wireless network module. See the SE360 V2 product guide for detailed information about the server for reference:
https://lenovopress.lenovo.com/lp1677-thinkedge-se360-v2-server

The SE360 V2 WLAN solution is equipped with Intel AX210 module. For Intel AX210 wireless solution, user can refer to Intel website for more information:
https://www.intel.com/content/www/us/en/support/articles/000005511/wireless.html

Before you set up the system, you can refer to the Lenovo OS interoperability guide to get the latest support information:
https://lenovopress.lenovo.com/osig

Firmware settings

Make sure the wireless chip is listed on the system via XCC browser interface, as shown in the following figure.

Check wireless device via XCC interface
Figure 2. Check wireless device via XCC interface

Refer to the XCC manual for all other XCC configuration details:
https://pubs.lenovo.com/xcc2/iot_servers

OS driver checking

Before you proceed with the wireless connection settings, ensure that the AX210 device is visible in your operating system and that the driver iwlwifi is being used for it.

  1. Check the device is existed in OS.
    # root@se360v2:/home/conie# lspci |grep -i ax210
    0000:05:00.0 Network controller: Intel Corporation Wi-Fi 6 AX210/AX211/AX411 160MHz (rev 1a)
    
  2. Check the driver in use:
    root@se360v2:/home/conie# lspci -s 0000:05:00.0 -vvv|grep -i kernel
    Kernel driver in use: iwlwifi
    Kernel modules: iwlwifi
    
  3. Check the device via command “ip a” as shown in the following figure.
    root@se360v2:/home/conie# ip a
    

    Check wireless device
    Figure 3. Check wireless device

NetworkManager wireless software

NetworkManager is a software tool that can manage both wired and wireless network interfaces, including Wi-Fi and ethernet. It also provides users with multiple options for manually configuring their network connections, based on their specific requirements. These options include using the graphical interface or the command-line interface.

To use NetworkManager, you need to start it. Currently, most Linux operating systems employ the systemd service to launch NetworkManager. Once NetworkManager is enabled and started, it will also initiate other required services, such as WPA and 802.1x.

Details about NetworkManager in key Linux distributions:

Wireless configuration steps for RHEL

To configure wireless on Red Hat, use the following steps. We used RHEL 8.6 and nmcli in our lab.

  1. Check the wireless device by running the 'lspci' command and make sure the wireless device is displayed in OS.

    Check network device
    Figure 4. Check network device

  2. Enable Wi-Fi function and list Wi-Fi access point.
    [root@localhost ~]# nmcli r wifi on
    [root@localhost ~]# nmcli d wifi list
    

    Check network device, turn on the wireless radio, and list all access point
    Figure 5. Check network device, turn on the wireless radio, and list all access point

  3. Connect to AP and check the connectivity.
    [root@localhost ~]# nmcli d wifi connect lenovo-internet password [password]
    [root@localhost ~]# ip a
    

    Connect to lenovo-internet AP
    Figure 6. Connect to lenovo-internet AP

    Check the wireless, such as wlan0,by command “ip a”
    Figure 7. Check the wireless, such as wlan0,by command “ip a”

  4. Disable all wired network and only leave wireless network, and then check again the connection by ping command.

    Check the wireless by command “ip a”
    Figure 8. Check the wireless by command “ip a”

  5. If there is not any requirement to use Wi-Fi function, we can disable the wireless connection.
    #nmcli r wifi off
    

Wireless configuration steps for SLES

In the SLES OS document, it suggests using NetworkManager applet to configure the wireless connection. To set up the wireless connection, follow the steps below:

https://documentation.suse.com/sles/15-SP5/html/SLES-all/cha-network.html#sec-network-yast-netcard-global

  1. Install the NetworkManager

    When installing the SLES OS, such as SLES15 SP5, ensure that NetworkManager is included in the OS's installation list before proceeding with the installation. Make sure to check if the SUSE Enterprise Workstation Extension is listed in the software. If it's not listed, add it to the installation list.

    SUSE Enterprise Workstation Extension listed in Software
    Figure 9. SUSE Enterprise Workstation Extension listed in Software

    Make sure the NetworkManager software is in the Software Selection and System Tasks list.

    NetworkManager in the Software Selection and System Tasks list
    Figure 10. NetworkManager in the Software Selection and System Tasks list

    If SLES OS is installed, but NetworkManager software is not installed yet:

    1. Install NetworkManager and make sure the NetworkManager installed in OS using SUSE yast2 tool.

       

      #yast2 sw_single
      
    2. Locate the SLES-workstation repository as shown in the figure below. Follow the instructions in the SLES network document to install NetworkManager. Refer to preceding figure for an example.

      Find the repository SLES-workstation
      Figure 11. Find the repository SLES-workstation

  2. After completing NetworkManager installation, configure wireless setting of NetworkManager
    1. Open the network setting via yast2 tool and make sure NetworkManager is being used.
      #yast2 lan
      

      Check the NetworkManager is being used via yast2 lan
      Figure 12. Check the NetworkManager is being used via yast2 lan

    2. The warning message appears. And then press “ok” to close the dialog.

      The warning message
      Figure 13. Warning message

    3. Open one terminal and make sure the NetworkManager is working by systemctl command.

      Make sure the NetworkManager is working
      Figure 14. Make sure the NetworkManager is working

    4. Use the yast2 tool to select network configuration and ensure that the Wi-Fi device is listed in the Overview section. Then, follow the yast2 tool's suggestion to use NetworkManager for wireless configuration and close the yast2 tool.

      Confirm the Wi-Fi device is listed in Overview listed
      Figure 15. Confirm the Wi-Fi device is listed in Overview listed

    5. As shown in the figure below, click on the “Network Connection” button in the upper right corner, and select the “Select Network” option from the 'Wi-Fi Not Connected' menu.

      “Select Network” of “Wi-Fi Not Connected”
      Figure 16. “Select Network” of “Wi-Fi Not Connected”

    6. Go to the “Wi-Fi Settings” and choose the appropriate AP/Security method to connect and then enter the password.

      Choose the appropriate AP/Security method
      Figure 17. Choose the appropriate AP/Security method

  3. After completing the wireless configuration, open one terminal to double check if the connection works by command ping.
    #ip a |grep wlan
    #ping www.google.com
    

    Check if the connection works by command ping
    Figure 18. Check if the connection works by command ping

Wireless configuration steps for other Linux

For other Linux distributions, we use Ubuntu 22.04 LTS as our example.

root@hakuba:~# uname -mrs
root@hakuba:~# cat /etc/os-release

OS information checking
Figure 19. OS information checking

To configure wireless, perform these steps:

  1. Check and install NetworkManager tool, such as network-manager.
    root@se360v2:~# apt-cache search network-manager
    root@se360v2:~# apt install -y network-manager
    
  2. First, determine the name of the Wi-Fi interface:
    root@se360v2:~# nmcli d
    
  3. Make sure the Wi-Fi radio is on (which is its default state):
    root@se360v2:~# nmcli r wifi on
    

    Wi-Fi radio checking
    Figure 20. Wi-Fi radio checking

  4. Then, list the available Wi-Fi networks:
    root@se360v2:~# nmcli d wifi list
    

    List the available Wi-Fi networks
    Figure 21. List the available Wi-Fi networks

  5. Connect the access point “lenovo-internet” (you might access the available access point in your wireless network) with the following command:
    root@se360v2:~# nmcli d wifi connect [SSID] password [password]
    

    Connect to the access point
    Figure 22. Connect to the access point

  6. Close all wired network, and then use the command “ping” to double confirm the wireless client network connection.
    root@se360v2:~# ping www.google.com
    

    Confirm the wireless client network connection
    Figure 23. Confirm the wireless client network connection

Author

Conie Chang is a Linux Engineer in the Lenovo Infrastructure Solutions Group, based in Taipei, Taiwan. She has experience in Red Hat and SUSE Linux OS.

Thanks to the following people for their assistance:

  • Adrian Huang, Senior Linux Kernel Engineer
  • David Watts, Lenovo Press

Related product families

Product families related to this document are the following:

Trademarks

Lenovo and the Lenovo logo are trademarks or registered trademarks of Lenovo in the United States, other countries, or both. A current list of Lenovo trademarks is available on the Web at https://www.lenovo.com/us/en/legal/copytrade/.

The following terms are trademarks of Lenovo in the United States, other countries, or both:
Lenovo®
ThinkEdge®

The following terms are trademarks of other companies:

Intel® is a trademark of Intel Corporation or its subsidiaries.

Linux® is the trademark of Linus Torvalds in the U.S. and other countries.

Other company, product, or service names may be trademarks or service marks of others.