LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-04-2016, 06:36 PM   #1
ziphem
Member
 
Registered: Feb 2004
Location: US / EU
Distribution: Fedora 31
Posts: 206

Rep: Reputation: 19
MAC ID changing in Fedora 25 - what's changed?


I'm struggling to figure out what's changed / how to deal with how Fedora 25 deals with MAC ID changing. In my old Fedora (20 I think?) I would just do some variant of sudo ifconfig wlp4s0 hw ether XX:XX:XX:ETC::, but now, this does not work entirely on Fedora 25. There's a noted difference between Current MAC and Permanent MAC, and I just can't seem to be able to change that Permanent MAC. So this begs the question - is it changeable? Or am I stuck with the actual hardware MAC? I know this is an issue that others have had, since I've seen numerous postings in doing my research (Ubuntu, too) - but I have not found any solutions to this.

I appreciate any help. Thanks!
 
Old 12-05-2016, 01:09 AM   #2
mddnix
Member
 
Registered: Mar 2013
Distribution: Redhat, Ubuntu
Posts: 540

Rep: Reputation: 153Reputation: 153
Quote:
Originally Posted by ziphem View Post
I'm struggling to figure out what's changed / how to deal with how Fedora 25 deals with MAC ID changing. In my old Fedora (20 I think?) I would just do some variant of sudo ifconfig wlp4s0 hw ether XX:XX:XX:ETC::, but now, this does not work entirely on Fedora 25. There's a noted difference between Current MAC and Permanent MAC, and I just can't seem to be able to change that Permanent MAC. So this begs the question - is it changeable? Or am I stuck with the actual hardware MAC? I know this is an issue that others have had, since I've seen numerous postings in doing my research (Ubuntu, too) - but I have not found any solutions to this.

I appreciate any help. Thanks!
You cannot change Permanent MAC address. However, you can make another MAC address active, which is used by your machine. Try using macchanger package.

You'll get Permanent address by
Code:
# ethtool -P <interface>
Permanent address: d0:50:99:9b:a2:40

# macchanger -s <interface>
Current MAC:   d0:50:99:9b:a2:40 (ASRock Incorporation)
Permanent MAC: d0:50:99:9b:a2:40 (ASRock Incorporation)
Changing MAC address to any random:
Code:
# macchanger -r <interface>
Current MAC:   d0:50:99:9b:a2:40 (ASRock Incorporation)
Permanent MAC: d0:50:99:9b:a2:40 (ASRock Incorporation)
New MAC:       ca:6e:2c:f3:7c:3b (unknown)
Manually changing MAC accress:
Code:
# macchanger -m 88:88:88:88:88:88 <interface>
Current MAC:   ca:6e:2c:f3:7c:3b (unknown)
Permanent MAC: d0:50:99:9b:a2:40 (ASRock Incorporation)
New MAC:       88:88:88:88:88:88 (unknown)
List known vendor's first three octets. You can give any last three octets as you like. This masquerades you MAC address as from some genuine vendor.
Code:
# macchanger -l <interface> | grep -i 'novell inc'
0027 - 00:00:1b - NOVELL INC.

# macchanger -m 00:00:1b:88:88:88 <interface>
Current MAC:   88:88:88:88:88:88 (unknown)
Permanent MAC: d0:50:99:9b:a2:40 (ASRock Incorporation)
New MAC:       00:00:1b:88:88:88 (NOVELL INC.)
Hope it helped.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changed MAC - address czezz Solaris / OpenSolaris 1 06-15-2008 05:10 PM
Changed MAC - address czezz Solaris / OpenSolaris 4 06-10-2008 12:30 PM
why my eth0 changed mac every time I reboot to FE:FF:FF and so on golpemortal Linux - Hardware 2 09-23-2007 05:53 PM
changed mac address, now FC3 can't detect it lumba1 Linux - General 2 03-05-2005 06:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration