How to change mac address in Apple system

王林
Release: 2021-01-15 11:18:13
forward
5475 people have browsed it

How to change mac address in Apple system

Requirements:

In certain circumstances, we need to access the Internet with a designated network card.

(Learning video sharing: Programming video)

Specific method:

networksetup -listallhardwareports 查看当前所有端口Mac地址
$ networksetup -listallhardwareportsHardware Port: Wi-FiDevice: en0Ethernet Address: 38:f9:d3:b3:1a:50
Copy after login

Find the WIFI network port: default en0, e4:ce:8f :32:51:82 is the target Mac address

$sudo ifconfig en0 ether e4:ce:8f:32:51:82 //修改
$ifconfig en1 | grep ether //查看是否修改成功,这里修改的是虚拟Mac,看硬件是看不出来的
Copy after login

Restart the computer and restore the mac address

Related recommendations:macos system

The above is the detailed content of How to change mac address in Apple 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!