You are not logged in.

#1 2016-10-01 21:37:26

bobadigo
Member
Registered: 2016-09-17
Posts: 34

[SOLVED] Problems with MAC spoofing

Good morning.
My motherboard have two Ethernet port, and I wanted to spoof the MAC of both NIC. So, I looked at "Automatically - Method 1: systemd-networkd" at https://wiki.archlinux.org/index.php/MA … s_spoofing (i chose "method 1" because, I think, that should be the first activated, compared to the others, because, it is based on systemd).
Completely copying what is write on the wiki, I got the first the interface with random MAC, but the other should be configured. So I tryed using the same file, but entering the MAC address of the second NIC on the second line. Rebooting, it didn't worked (no one interfaces). So I ran a command to check the ".link" systems files (found at https://wiki.archlinux.org/index.php/Sy … ink_files), but I returned a bad error, and deleted the config file. What can I do, to spoof both interfaces? Thanks

Last edited by bobadigo (2016-10-10 13:57:54)

Offline

#2 2016-10-01 23:25:08

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] Problems with MAC spoofing

Have you tried one link file for each network card?


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2016-10-02 11:30:46

bobadigo
Member
Registered: 2016-09-17
Posts: 34

Re: [SOLVED] Problems with MAC spoofing

I tried now to use 2 different files, 00-default.link and 01-default.link. It work with unplugged ethernet, but when i put in back, it return to the old MAC. What can I do?

Last edited by bobadigo (2016-10-10 13:58:18)

Offline

#4 2016-10-03 14:50:54

bobadigo
Member
Registered: 2016-09-17
Posts: 34

Re: [SOLVED] Problems with MAC spoofing

Up

Offline

#5 2016-10-07 14:54:18

bobadigo
Member
Registered: 2016-09-17
Posts: 34

Re: [SOLVED] Problems with MAC spoofing

I also tried with "macchanger".. It works if i start the service, but if I enable it and reboot PC, it doesn't works anymore (I mean that with plugged cable it use the default MAC, but unplugging, it back to the a random MAC). What can I do?

Last edited by bobadigo (2016-10-07 14:56:52)

Offline

#6 2016-10-07 17:01:20

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] Problems with MAC spoofing

Don't post printscreens when you can copy/paste the text from the console.

You will have to provide more information about your hardware and your software setup, for example what you are using to manage your network connections.

Just out of curiosity, why do you need to spoof the mac of both cards?


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#7 2016-10-09 10:20:53

bobadigo
Member
Registered: 2016-09-17
Posts: 34

Re: [SOLVED] Problems with MAC spoofing

Sorry, I won't post screenshots anymore.
I don't need for both, was just to try. With only one, it doesn't work anyway.
I'm using "NetworkManager". What other informations can I provide?

Offline

#8 2016-10-09 11:47:32

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] Problems with MAC spoofing

Have you tried if it works without having NetworkManager active? Have you tried spoofing the mac with NetworkManager?


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#9 2016-10-10 10:22:06

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: [SOLVED] Problems with MAC spoofing

Use a udev rule.


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

#10 2016-10-10 13:55:58

bobadigo
Member
Registered: 2016-09-17
Posts: 34

Re: [SOLVED] Problems with MAC spoofing

R00KIE wrote:

Have you tried if it works without having NetworkManager active? Have you tried spoofing the mac with NetworkManager?

I didn't try without NetworkManager, but I have tried now spoofing using NetworkManager. It is finally working. Thanks a lot! smile

Last edited by bobadigo (2016-10-10 14:04:44)

Offline

Board footer

Powered by FluxBB