Jolla & Sailfish OS Forum

Hardware Talk => Jolla Tablet => Topic started by: zagor on May 15, 2017, 11:27:53 PM

Title: Sailfish please do *not* change MAC address
Post by: zagor on May 15, 2017, 11:27:53 PM
Hi, I have an Aigo tablet with SailfishOS: I like it very much but I don't like the mac address of the wifi adapter changing at every new connection. Actually, when the device boots it shows the address which is wired in the firmware (I suppose) while when I try to connect to an AP it randomizes each time a new different mac address.

It looks like this behaviour is appreciated by many people; in my case I do not appreciate it because I connect to networks that use also mac verification in order to authorize the connection.

I tried  this command:

Code: [Select]
ifconfig wlan0 hw ether=(my preferred hardware address)
because I thought I could put it in a script but it does not work, it doesn't change the mac address (interface up or down does not matter).

With
Code: [Select]
lsmod I saw the adapter module is a bcm4330 and found a sort of configuration file (/system/etc/firmware/bcmdhd_aob.cal) with a mac address in it: I tried to modify that but neither this worked.

I also thoroughly read the threads about "MAC address changer wanted" (the opposite problem) but I did not find anything useful for me.

Finally, here I am: does anybody have any clue?

Thank you very much in advance