Inbuilt wifi interface in imx6ull

Hi,

I’m getting the below interface for inbuilt wifi chip on imx6ull module :

mlan0 Link encap:Ethernet HWaddr D0:C5:D3:23:82:01

uap0 Link encap:Ethernet HWaddr D0:C5:D3:23:83:01

How can I change this interface to wlan0 and wlan1? is their any dtb changes?

Please suggest any idea on that.

Regards,

Hitendra Prajapati

I suggest you having a look at the following article on our developer website:

https://developer.toradex.com/getting-started/module-1-from-the-box-to-the-shell/basic-wi-fi-usage

Hi @marcel.tx

I checked that link, but i didn’t find how to change the interface name from dtb or any other way.

We just want to change name mlan0 to wlan0 And uap0 to wlan1.

please provide a way to change wifi’s interface name.

regards,

What exactly is it that you are trying to achieve or that is not working as expected and what exact hardware and software versions of things are you talking about?

Hi @marcel.tx

No issue with wifi ,We just want to change name mlan0 to wlan0 And uap0 to wlan1.

please provide a way to change wifi’s interface name.

But why? What exactly is it that you are trying to achieve?

Anyway, here you go.

Hi @marcel.tx

We did following change for that solution:

create one file with name 70-persistent-net.rules with below content:

SUBSYSTEM==“net”, ACTION==“add”, DRIVERS=="?*", \

ATTR{type}==“1”, KERNEL==“mlan*”, NAME=“wlan0”

ATTR{type}==“1”, KERNEL==“uap*”, NAME=“wlan1”

put the above file at location : /etc/udev/rules.d/

@marcel.tx Thank you for your support.

Regards,
Nikunj Patel

You are very welcome and thanks for letting us know.