We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

Fixate wifi mac address in Sailfish [Gemini PDA]?

Tracked by Jolla (In release)

asked 2019-06-13 01:41:25 +0300

Vincent gravatar image

updated 2019-06-13 11:08:41 +0300

jovirkku gravatar image

On my Gemini PDA something odd happens since i reflashed the multi-boot together with the new Android 8.1 version. At every reboot i now get a different wifi mac address. This is a bit of a problem since some servers i connect to rely on my wifi mac address. I tested rebooting into Sailfish and Android, and every time the wifi mac address changes. Therefore i think the problem is in the Gemini multi-boot firmware.

But because i do not know a solution in the Gemini firmware, i thought that maybe there is a solution in fixating the wifi mac address in Sailfish, so that at least when rebooting into Sailfish i always get the same address.

Is fixating the wifi mac address within Sailfish possible? I looked up the usual Linux locations for network settings, but there were no files. (/etc/sysconfig/network-scripts and /etc/NetworkManager). Does Sailfish have the network config files somewhere else?

edit retag flag offensive close delete

Comments

Not an answer, merely suggestion: Sailfish uses connman to manage the connections, so you might have a look in /etc/connman. Also, you can install connman tools via pkcon install connman-tools.

Fuzzillogic ( 2019-06-13 02:10:04 +0300 )edit

Thanks for that connman info. I am looking into the way that works and my options to fixate anything about mac address.

Vincent ( 2019-06-13 21:00:16 +0300 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2019-06-18 22:46:45 +0300

Vincent gravatar image

It took one step more than just the chattr. Now Sailfish keeps its mac address. Android still swaps the mac address, but that is not very important. I described the procedure here:

https://www.oesf.org/forum/index.php?s=&showtopic=35810&view=findpost&p=292144

edit flag offensive delete publish link more
0

answered 2019-06-13 13:45:46 +0300

jolladiho gravatar image

updated 2019-06-13 13:49:52 +0300

As workaround do a

devel-su chattr +i /nvdata/APCFG/APRDEB/WIFI

Read more about it at this thread on oesf.org

Have fun.

edit flag offensive delete publish link more

Comments

Did that in Sailfish and rebooted in Sailfish. No fun, different Wifi mac address.

Vincent ( 2019-06-13 20:18:50 +0300 )edit
Login/Signup to Answer

Question tools

Follow
5 followers

Stats

Asked: 2019-06-13 01:41:25 +0300

Seen: 568 times

Last updated: Jun 18 '19