WiFi device status disconnected - verdin iMX8M plus V1.1B

Hello there,

We are using the Torizon SOM and Carrier Boards as mentioned below,

iMX8M Plus Q 4GB WBIT 32GB V1.1B
Customized Carrier Board
Torizoncore preempt RT - 6.8.2

HOST PC - Ubuntu 22.04

Problem being faced: Not able to enable the WiFi using the procedures mentioned in the url (Networking with Torizon OS | Toradex Developer Center )
procedure for the torizon OS 6.x.y

Error: Connection activation failed: 802.1X supplicant took too long to authenticate
Hint: use ‘journalctl -xe NM_CONNECTION=e9d14ef2-413b-4f0c-9cc7-1e82bfa6ecea + NM_DEVICE=mlan0’ to get more details.

nmcli device status screenshot is attached. the wifi device mlan0 which is available is disconnected. what is the procedure to enable it.

could you suggest an approach

Regards
Nisha

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello Nisha,

Thank you for reaching out with your WiFi connectivity issue on the Verdin iMX8M Plus with TorizonCore 6.8.2. Let’s go through some steps to help resolve the problem:

  1. Verify WiFi Hardware and Configuration:

    • Ensure that the WiFi module is properly connected and recognized by the system. Use nmcli device to list network devices and confirm that mlan0 is listed.
    • Check that the WiFi module is enabled by using nmcli radio wifi on.
  2. Check NetworkManager Logs:

    • Use the command journalctl -xe NM_CONNECTION=<connection-uuid> + NM_DEVICE=mlan0 to view detailed logs. Replace <connection-uuid> with the actual UUID of your connection.
    • Look for any specific error messages that might indicate the cause of the timeout.
  3. 802.1X Authentication Settings:

    • Ensure that your WiFi network requires 802.1X authentication and that the correct credentials and settings are configured in NetworkManager.
    • Verify the configuration file for the connection in /etc/NetworkManager/system-connections/ and ensure that the eap method and credentials are correctly set.
  4. NetworkManager Configuration:

    • Consider increasing the timeout settings for 802.1X authentication in NetworkManager. Edit the connection settings to increase the auth-timeout parameter if available.
  5. Driver and Firmware Updates:

    • Ensure that the WiFi driver and firmware are up to date. Check for any updates or patches that might be available for your setup.
  6. Test with a Different Network:

    • If possible, test the connection with a different WiFi network to rule out network-specific issues.

By following these steps, you should be able to diagnose and potentially resolve the WiFi connectivity issue. If the problem persists, further investigation into the software configuration may be necessary.

Best regards,
Toradex AI Assistant

Please, also check if these links can help you solve your problem:

Verdin imx8m plus WIFI access point, failed to transfer data between 2 clients connected to the same AP.

Hello,

I have tried the first two suggestions given by the @ToradexAI

  1. nmcli radio wifi on, doesnt seem to change anything
  2. Journalctl shows that wifi is not enabling because the wifi device is inactive → disconnected

Suggest an approach to solve this issue

Regards,
Nisha

Hello there,

“sudo systemctl restart NetworkManager.service” has solved the issue and wifi access point is available for connection.

now the nmcli device shows the state as connected and the wifi is also enabled. But now unable to connect to the network. How do i resolve this

Regards,
Nisha

Greetings @nisha,

I’m a little confused about your situation. Are you trying to connect the Verdin i.MX8M Plus to an access point or are you trying to turn the module into an access point?

In your initial post you linked to the section of the documentation, about configuring the Toardex module as an access point. But the rest of your work looks like you’re trying to connect to an access point using the module.

Could you also share what exact commands you ran on the module to get to where you are currently.

Best Regards,
Jeremias

Greetings @jeremias.tx

I’m making the module as the access point.

I used the following commands to enable the access point mode.

nmcli con add type wifi ifname mlan0 mode ap con-name wifi6 ssid wifi6
nmcli con modify wifi6 802-11-wireless-security.key-mgmt wpa-psk
nmcli con modify wifi6 802-11-wireless-security.proto rsn
nmcli con modify wifi6 802-11-wireless-security.group ccmp
nmcli con modify wifi6 802-11-wireless-security.pairwise ccmp
nmcli con modify wifi6 802-11-wireless-security.psk 123456789
nmcli con modify wifi6 ipv4.addresses 192.168.1.36
nmcli con modify wifi6 ipv4.method manual
nmcli con up wifi6

nano /etc/systemd/network/80-wifi-ap.network

[Match]
Name=mlan0
Type=wlan
WLANInterfaceType=ap
[Network]
Address=192.168.1.36/24
DHCPServer=yes
[DHCPServer]
PoolOffset=10
PoolSize=50

sudo systemctl restart systemd-networkd

Initially the wifi interface named mlan0 was disconnected or inactive. So the command “nmcli con up wifi6” couldnt activate the wifi ap.

Later i used the command “sudo systemctl restart NetworkManager.service”, which changed the status of the wifi interface mlan0 to connected or active state. After this nmcli con up command worked fine.

Now, the verdin module’s access point “wifi6” is enabled. when I want to connect to this wifi6 from a laptop, i’m unable to connect to the access point. I have tried both hostapd and network manager method but i’m unable to connect to the AP

This is the procedure i followed

Regards,
Nisha

If you are trying to configure an access point then why are you deviating from the instructions in the documentation you linked earlier? The section on Wi-Fi access point does not use NetworkManager at all: Networking with Torizon OS | Toradex Developer Center

Also mlan0 is not even the WiFi access point interface that is the WiFi client interface.

Could you try again with the instructions exactly as shown in the documentation.

Best Regards,
Jeremias