Skip to content

Simple function to set a random MAC address for WiFi connection in fish shell

Notifications You must be signed in to change notification settings

Lorenzoantonelli/randomize_mac_address_fish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

randomize_mac_address_fish

The randomize_mac_address function is a simple fish shell script that allows you to set a random MAC address for your Wi-Fi connection on macOS.

Warning

The MAC address change lasts only until the device is rebooted.

Installation

  • Clone the repo:
git clone https://github.com/Lorenzoantonelli/randomize_mac_address_fish.git
  • Copy randomize_mac_address.fish in fish's functions folder:
cd randomize_mac_address_fish
cp randomize_mac_address.fish ~/.config/fish/functions/

Usage

From fish shell simply run the command:

randomize_mac_address

You can also specify a MAC address to use instead of a random one:

randomize_mac_address [macaddress]

How to restore the original MAC address

If you want to restore your original MAC address after using the randomize_mac_address function, you can simply reboot your device.

About

Simple function to set a random MAC address for WiFi connection in fish shell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages