Jump to content
  • 0

MAC of wlan0 change every boot , opiz .


Netanel
 Share

Question

Armbianmonitor:

Hi everyone,
Since i update to kernel 5.15.25-sunxi ,
every reboot the mac of wlan0 changed the mac address and router giv him another ip. 
i will be very happy to solve this issue , 
Thanks!

 

Note:
I tried to re-download the ARMBIAN from the official website, and burned a new SD. This experience did not help.

Quote

Armbian 22.02 Bullseye
Kernel 5.15.y, Size: 327Mb, Updated: Feb 27, 2022

 

First boot:
image.png.d12b7af27c5cb615fd0561ed0b86ed17.png

 

Second boot:

image.thumb.png.dc5f88c55a682455e2df4cd0f2d22af8.png

 

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0

Confirmed on multiple devices.

Upgrading Kernel from 5.10.60 to 5.15.x will cause the issue described by OP.

 

Any recommendations found on this forum to switch to a static MAC will not help.

Link to comment
Share on other sites

Donate and support the project!

  • 0

Confirmed on multiple devices here too.

I can confirm that reverting to kernel 5.10.60 temporarily solves the issue; kernels above 5.15.25 have the same issue too.

 

Changing or force the MAC address of the interface (i.e. with macchanger) doesn't solve the issue and breaks wifi functionality completely.

There should be some bug in the kernel driver, but the statement above suggests that it may be more serious than the bare read of MAC address (from device firmware?).

 

For applications where a static MAC address is preferred to assign a specific IP address by DHCP, I opted for statically assign that IP on the board network config.

 

 

Link to comment
Share on other sites

  • 0

Well, I digged a little around this issue.

It looks like a patch to the kernel driver of the xradio module is somewhat incomplete.


So I patched the kernel and now the Wi-Fi works like a charm... well, not really (because of the XR819 module) but at least it gets the stored MAC address, as before.

For anyone interested, here is attached the required patch; unfortunately a rebuild of the kernel is needed.

22-05.0-orangepizero-xradio_skupsy_20220520.patch

Link to comment
Share on other sites

  • 0
4 hours ago, Skupsy said:

Well, I digged a little around this issue.

It looks like a patch to the kernel driver of the xradio module is somewhat incomplete.


So I patched the kernel and now the Wi-Fi works like a charm... well, not really (because of the XR819 module) but at least it gets the stored MAC address, as before.

For anyone interested, here is attached the required patch; unfortunately a rebuild of the kernel is needed.

22-05.0-orangepizero-xradio_skupsy_20220520.patch 1.47 kB · 1 download

 

Thanks for providing the patch, Skupsy!

I wonder, what's the best way to report a bug for this patch to become available for everyone. I cannot push the patch or a recompiled kernel to 50 people.

Link to comment
Share on other sites

  • 0

All right. Here's my experience.

 

Followed the https://docs.armbian.com/Process_Contribute/ link suggested

then https://github.com/armbian/build

then https://github.com/armbian/build/issues

made sure no similar issue is open

then https://github.com/armbian/build/issues/new/choose

then https://www.armbian.com/bugs/

reached the "Run armbianmonitor -u and copy the generated URL" part

output from console was :

$ armbianmonitor -u
System diagnosis information will now be uploaded to curl: (52) Empty reply from server
Please post the URL in the forum where you've been asked for.

then noticed something on the form (you're welcome)

eventually reached the point on the form which sent me here https://forum.armbian.com/forum/1-bug-tracker-supported-boards-only/

"Old bug tracker - read only"

 

Any other ideas?

 

Link to comment
Share on other sites

  • 0

Need to do some adjustments to the bug reporting form.

If armbianmonitor -u does not work try -U instead (note the uppercase) and c&p the output.

Link to comment
Share on other sites

  • 0

First of all thank you very much for answering,
An update to Kernel was released today but unfortunately the issue has not yet been resolved.
I'm still not at the level of changing the code in Kernel.

So I wanted to ask, when approximately will the problem be solved if at all?

Link to comment
Share on other sites

  • 0
35 minutes ago, Netanel said:

So I wanted to ask, when approximately will the problem be solved if at all?

No ETA since we do not have resources to dedicate to this particular problem.

You can fund problem solving however: https://docs.armbian.com/User-Guide_FAQ/#why-is-armbian-constantly-asking-for-money-free-software-should-be-free

Link to comment
Share on other sites

  • 0
5 hours ago, Netanel said:

Got it, we'll consider our steps further Thanks!


All you need to do is to test if patch provided by @Skupsy is working and integrate it: https://docs.armbian.com/Process_Contribute/ If this is a solution say thanks to him and to us for keeping build framework system in good health and for the guidance. And check your support contract.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...