What's the correct way to use random mac creation
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 1 of 1
  1. #1
    Join Date
    Jun 2004
    Location
    Maryland, US
    Posts
    7,421
    Linux (Fedora) Firefox 62.0

    What's the correct way to use random mac creation

    I know about putting:
    Code:
    [connection]
    wifi.cloned-mac-address=random
    in my /etc/NetworkManager/conf.d/30-randmac.conf

    But I don't want to have random macs everywhere. When my home AP MAC is seen, I want the real hardware mac on my laptop to be used so my FIOS router knows it's the same laptop but for all other AP MACs I want my laptop on a random MAC. But how is that done?

    pseudocode:

    Code:
    # these two fake MACs represent my home router APs (one is 2.5 GHz and the other is 5GHz)
    If  AP.mac == 00:50:22:33:44:55 || 00:50:22:33:44:56  then
           use real mac address
    else
           # all other macs like wifi cafe, library, etc
           use random mac
    Last edited by marko; 16th September 2018 at 08:22 PM.

Similar Threads

  1. No username creation.....?
    By curtisp87 in forum Using Fedora
    Replies: 0
    Last Post: 2nd April 2009, 03:05 PM
  2. Live CD Creation.
    By Agares in forum Fedora Focus
    Replies: 1
    Last Post: 23rd October 2008, 10:46 PM
  3. KVM Virtual CD-rom Creation
    By Deiselton in forum Using Fedora
    Replies: 0
    Last Post: 1st September 2008, 03:58 AM
  4. DVD copy and Creation
    By caf4926 in forum Using Fedora
    Replies: 4
    Last Post: 28th June 2007, 03:42 AM
  5. ISO Creation(FC5 based)
    By misbahuddin in forum Using Fedora
    Replies: 2
    Last Post: 25th September 2006, 07:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •