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

Wanted:MAC adress changer

asked 2014-02-03 01:59:34 +0300

Mr.Jeebus gravatar image

updated 2014-02-04 02:03:46 +0300

foss4ever gravatar image

Would like to see something similar : http://thehackernews.com/2014/02/chainfire-released-pry-fi-android-app.html on Sailfish. Would it be possible ? And is there a sip client for Jolla?

Thanks

edit retag flag offensive close delete

Comments

5

Yes would love this, together with the option to stop broadcasting known ssid's.

StanceVonKofsky ( 2014-02-03 22:34:11 +0300 )edit
1

N900 had an app that would set the mac address to a random value at startup, something similar would be great to also have on sailfish

Marc1 ( 2014-02-03 22:36:25 +0300 )edit

In the light of the Canadas CSEC spying I would love to have an app that would change the MAC address of the WLAN at random every time I connect to AP or public AP automatically ;)

m2 ( 2014-02-15 20:43:11 +0300 )edit

There are many situations where MAC is used to identify devices on internal networks, and when you switch device to a new one it is often easier to change the MAC of your own device than it is to get the stored MAC changed to a new one.

00prometheus ( 2014-02-16 19:44:41 +0300 )edit

Has anyone evaluated the randomization of the WLAN MAC address in SFOS? see: https://fedoramagazine.org/randomize-mac-address-nm/

Jorg ( 2020-05-21 14:17:26 +0300 )edit

3 Answers

Sort by » oldest newest most voted
13

answered 2014-02-03 12:07:02 +0300

clau gravatar image

updated 2014-02-16 17:51:08 +0300

You can manually change it from terminal:

ifconfig wlan0 hw ether 00:11:22:33:44:55

It will be reset to factory default on reboot. Also, you need to devel-su first.

EDIT: although it allows me to change it, I cannot connect to the AP after I do.

edit flag offensive delete publish link more

Comments

Thank you very much

Mr.Jeebus ( 2014-02-03 17:16:48 +0300 )edit

Is there someway to automate it so that it happens at every reboot? Would it be possible to make into an app?

Marc1 ( 2014-06-11 21:09:04 +0300 )edit
1

I have the same problem...I cannot connect to any AP with my changed mac. If I use in "ifconfig wlan0 down" first, it is not possible to use "ifconfig wlan0 up" after changing of the mac....Maybe this is the problem. The phone only writes after a "ifconfig wlan0 up" "Operation not possible due to RF-kill".

If I want to look up the problem with "rfkill list all", the bash says "rfkill: command not found."

Is anybody able to connect to his/her AP with a changed mac?

Daniel ( 2015-02-25 20:31:30 +0300 )edit
6

answered 2014-02-03 10:35:54 +0300

rainisto gravatar image

updated 2015-06-26 13:39:26 +0300

MAC address is burned in readonly memory during factory flashing, so most likely you wont see MAC changer coming anytime soon. (Someone would of course use sw side hacks and oss drivers for mac changer, but that solution is not for masses). That is on Jolla Phone.

In Jolla Tablet changing mac address works as expected (Although as its used as store credentials seed you need to re-loging after each change).

For SIP see https://together.jolla.com/question/415/sip-voip-native-integration/

edit flag offensive delete publish link more

Comments

Thank you.

Mr.Jeebus ( 2014-02-03 17:16:55 +0300 )edit

The MAC address seems to be randomly changing on its own anyway. At least, based on the fact that everytime I connect the phone to my laptop in developer mode, it gets assigned a new network in Windows (they are based on the MAC address). I am currently going at Network 37.

typo ( 2014-02-16 18:51:06 +0300 )edit
2

I am not very happy with this ticket as IMHO it is mixing several different things. Unfortunately there are some other closed tickets redirecting to this one, so the OP becomes some kind of major thread in spite of its sparse content.

The OP is asking for an app to change the MAC, from there comments go to the questions of using a different MAC on a Jolla Phone. @rainisto: maybe you could clarify. Frankly I do not understand your answer.

Of course the (original) MAC is burned somewhere in ROM as it is the case with virtually any network adaptor. But normally in Linux it is possible to change the (initial) MAC address used by the system, meaning not to change the (burnt-in) address for good but just making the network adaptor use a different MAC for network transfer. (No hacking involved, see Daniels comment.) Apparently this doesn't work on the Jolla, which I would consider a bug.

femtopeta ( 2015-04-14 14:01:00 +0300 )edit

@rainisto, could you please give us any links? To OSS drivers or to some other even geeky solutions. What is "sw side", by the way?

petRUShka ( 2015-06-10 23:43:21 +0300 )edit
3

OSS version of the wlan driver would be something like: https://www.codeaurora.org/cgit/quic/la/platform/vendor/qcom-opensource/wlan/prima/tag/?h=caf-wlan/master&id=M8930AAAAANLYA2540313

But it of course requires you to build the kernel and modules yourself etc and that wlan module could still work differently than the closed source binary blob. So for most people answer remains that MAC address is immutable.

rainisto ( 2015-06-12 11:39:37 +0300 )edit
2

answered 2015-06-26 17:29:00 +0300

Nieldk gravatar image

This is a duplicate of https://together.jolla.com/question/96021/are-there-some-instructions-how-to-compile-and-install-oss-wifi-drivers/ - sort of.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
10 followers

Stats

Asked: 2014-02-03 01:59:34 +0300

Seen: 1,794 times

Last updated: Jun 26 '15