Jump to content

Recommended Posts

Posted

Looking for any means of finding a unique and permanent MAC address for opilites. 

 

Is there some kind of serial number or other unique number of any kind in an H3 SOC or in something on an OPI Lite board that could be used to derive a MAC ?

 

As things currently are I either have to manually setup the mac for each board I build - in a conf file in /etc/modprobe.d or live with the fact that the board comes up with a new mac/ip with every boot.  

Posted

I must have missed that. 

 

I am running Armbian 5.27/Linux 4.10 

If that sets the MAC randomly ONCE that will do what I need. 

 

Thank you. 

Posted

That patch is only for legacy kernel. I don't think anyone bothered to make similar patch for mainline kernel. Don't get me wrong, it is not trivial, some kernel knowledge is required.

Posted

Ok, mainline kernel. IIRC Martin Ayotte mentioned that setting MAC address from DT should work? If not,  please feel free to send a PR with a patch against https://github.com/igorpecovnik/lib and please report back in any case how you solved it (adding the /etc/modprobe.d/8189fs.conf tweak back to firstrun script when mainline kernel is detected is IMO a valid option)

Posted
11 hours ago, jernej said:

I don't think anyone bothered to make similar patch for mainline kernel. Don't get me wrong, it is not trivial, some kernel knowledge is required.

I don't think anybody is interested in mainlining 8189es and 8189fs drivers at all. If these drivers were converted into platform drivers and DTs were patched accordingly with aliases then u-boot could set unique SID based MAC address automatically.

Posted

IIRC Jeff Moine had some patches for wifi as well. Unfortunately, I didn't save his patches before he deleted them. Does anybody have his patches?

Posted

Are you actually capable of downloading patches? I'm not. Were his patches at one point used by Armbian?

Posted

Ok, that was not what I expected. I thought that at some point there was patch for mainline RTL wifi driver which added SDIO IDs and maybe few other things. I wonder if that would work or not, but it would take some time before I can test this theory. After all, it would be unproductive for Realtek to always completely redesign the chips.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines