PINE64
MAC Spoofing failing in manjaro - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: General Discussion on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=112)
+--- Thread: MAC Spoofing failing in manjaro (/showthread.php?tid=10301)



MAC Spoofing failing in manjaro - slow_motion - 06-17-2020

Hi everyone,
I'm trying to spoof my PBP's wifi card mac address with different ways, and all are failing for the moment...
Trying with GUI network manager results in PBP to hang.
Trying with "ip link set dev wlan0 address xx:xx:xx:xx:xx:xx" i get the following error "RTNETLINK Answers: Invalid exchange".
Trying with macchanger, i get the error "[ERROR] Could not change MAC: interface up or insufficient permissions: Invalid exchange".
Trying with "ifconfig wlan0 hw ether xx:xx:xx:xx:xx:xx" i get the error "SIOCSIFHWADDR: Invalid exchange".

I did put the wlan0 in a down state before trying to change its mac address.
I can't figure out why this isn't working. Could it be a hardware limitation problem (wireless card not able to spoof mac addresses)?
I'm running on stock manjaro.
Thanks


RE: MAC Spoofing failing in manjaro - thumbsup - 06-19-2020

macchanger works fine for me (manjaro as well). No need to put wlan0 in down state. Sudo is needed.


RE: MAC Spoofing failing in manjaro - slow_motion - 06-24-2020

(06-19-2020, 04:23 PM)thumbsup Wrote: macchanger works fine for me (manjaro as well). No need to put wlan0 in down state. Sudo is needed.
Thank you for your message.
Mine refuses to work... i even executed it as root but still not working


RE: MAC Spoofing failing in manjaro - Janoz - 07-01-2020

(06-24-2020, 08:13 AM)slow_motion Wrote:
(06-19-2020, 04:23 PM)thumbsup Wrote: macchanger works fine for me (manjaro as well). No need to put wlan0 in down state. Sudo is needed.
Thank you for your message.
Mine refuses to work... i even executed it as root but still not working

I'm having the same issues. Some time ago I used the image from pine64 wiki and macspoofing was working fine (running it as a systemd unit file). Yesterday I tried the manjaro-arm-installer and wrote it to my eMMC. Everyhing works perfect (even LUKS encryption). But when creating a new systemd unit file systemctl status gives me: [ERROR] Could not change MAC: interface up or insufficient permissions: Invalid exchange.

Following archwiki I did fiddle with the config files in /etc/NetworkManager/conf.d/ but still unable to spoof my mac. I think this is firmware trouble but please correct me if I'm wrong. Any ideas?


RE: MAC Spoofing failing in manjaro - viel - 04-17-2021

(07-01-2020, 07:01 AM)Janoz Wrote:
(06-24-2020, 08:13 AM)slow_motion Wrote:
(06-19-2020, 04:23 PM)thumbsup Wrote: macchanger works fine for me (manjaro as well). No need to put wlan0 in down state. Sudo is needed.
Thank you for your message.
Mine refuses to work... i even executed it as root but still not working

I'm having the same issues. Some time ago I used the image from pine64 wiki and macspoofing was working fine (running it as a systemd unit file). Yesterday I tried the manjaro-arm-installer and wrote it to my eMMC. Everyhing works perfect (even LUKS encryption). But when creating a new systemd unit file systemctl status gives me: [ERROR] Could not change MAC: interface up or insufficient permissions: Invalid exchange.

Following archwiki I did fiddle with the config files in /etc/NetworkManager/conf.d/ but still unable to spoof my mac. I think this is firmware trouble but please correct me if I'm wrong. Any ideas?

I have the same issue after installing arch from Nadia and now i am looking for more info about that. If i am right i think i changed the mac addres with old distros, but not sure. 
Maybe the broadcom BCM43456 is FullMAC and MAC  is managed in hardware.  

Have u solved the issue?
I will try with old images for now:
- can't change wlan0 mac with kali-linux-2020.2-pinebook-pro.img.xz


RE: MAC Spoofing failing in manjaro - saturday31 - 06-15-2021

I haven't tried kali linux, but on Arch Linux ARM with a variety of sources (pbp-packages and manjaro PKGBUILDS), I found that downgrading ap6256-firmware (from 2020.02-4 to => 2020.01-1) allowed macchanger to work once again and allowed NetworkManager to manage the PHY mac.

I was inspired by this post which references this post, which contains links to the package that you want, if you are on a distro which uses pacman. Since the past PKGBUILDS are out there, it should be possible to bisect to find the regression.

Edit: I haven't evaluated any changes in wifi/bluetooth performance by downgrading the firmware, but I can at least connect to my 2GHz/5GHz networks.

Hope this helps.


RE: MAC Spoofing failing in manjaro - user526 - 07-02-2021

i just had issues with bootup mach changing or trying to give a modprobe brcmfmac macaddr= nothing was working then i went ahead and changed the .txt for it in the /lib/firmware and now its MY mac address