Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

changing mac address linux

# I tested this in kali linux which is debian-based linux 
# type <ifconfig> to know your ip address and MAC address
# you will see your MAC address like this -> ether 'MAC address'

#to change the MAC address you have to do these steps
sudo ifconfig <network interface> down 
#example -> ifconfig wlan0 down
sudo ifconfig <network interface> hw ether <MAC addr that you wanna change>
#example -> ifconfig wlan0 hw ether 00:11:22:33:44:55
sudo ifconfig <network interface> up
#ifconfig wlan0 up

#NOTE: MAC address will change after the system has rebooted  
Comment

mac address in linux

3 Ways to Find MAC Address In Linux - howtouselinux
https://www.howtouselinux.com 
Comment

change mac address linux

sudo apt install macchanger
sudo ifconfig wlan0 down
sudo macchanger -r wlan0
sudo ifconfig wlan0 up
Comment

PREVIOUS NEXT
Code Example
Shell :: remove yum package 
Shell :: helm docker generate doc 
Shell :: how to get environment variables in powershell 
Shell :: linux groups 
Shell :: ffmpeg reduce video size 
Shell :: install .net framework 3.5 from windows 
Shell :: brew check installed version 
Shell :: How do I make a Git commit in the past 
Shell :: onlne compiler c linux 
Shell :: how to run code from github 
Shell :: bash script comment 
Shell :: ssh with key 
Shell :: how do I push a repo that says allready exists 
Shell :: aos animate install 
Shell :: commit git 
Shell :: multiple ssh key 
Shell :: git remove first stash 
Shell :: how to see (and kill) what is running on your port +mac 
Shell :: remove all files in a directory linux that match pattern 
Shell :: curl check response headers 
Shell :: raspberrypi open port 
Shell :: git change repo 
Shell :: use file connect ssh 
Shell :: concatenate in bash the output of two commands 
Shell :: how to open directory in linux using command 
Shell :: git update .gitignore 
Shell :: how to shutdown windows 11 in powershell 
Shell :: docker compose stdin_open 
Shell :: git delete commit history 
Shell :: ubuntu delete folder 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =