How to modify the network card mac address in mac system

王林
Release: 2020-11-19 15:47:39
forward
5394 people have browsed it

How to modify the network card mac address in mac system

具体步骤如下:

1、首先打开“终端“,运行这个命令生成一个新的MAC网卡地址:

openssl rand -hex 6 | sed 's/..../\1:/g; s/.$//'
Copy after login

2、然后执行命令,断开Airport 无线网卡连接

sudo /System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -z
Copy after login

3、输入修改mac地址的命令:

sudo ifconfig en0 ether xx:xx:xx:xx:xx:xx
Copy after login

将你要修改的MAC地址代替xx:xx:xx:xx:xx:xx,将你要修改的网卡代替en0

4、然后输入命令重连网卡即可

networksetup -detectnewhardware
Copy after login

相关推荐:macos

The above is the detailed content of How to modify the network card mac address in mac system. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template