ifconfig eth0 down
ifconfig eth0 hw ether 12:34:56:78:ab:cd
ifconfig eth0 up
用 Linux 下的网络基本配置命令 ifconfig 就可以完成,假设你的网卡是 eth0:
把高亮部分替换成你想要改成的 MAC 地址即可,成功的话程序没有任何输出,你也可以运行 ifconfig 来查看更改的结果:
如果你想自动应用改变后的 MAC 地址,可以把上面的命令加到启动脚本中。
注: ifconfig 需要root 权限。
is-Programmer 是一个面向 Linux 爱好者与程序员的 Blog 系统,具有简洁的风格,方便的代码高亮和数学公式插入功能,适合撰写学习笔记和技术文档。
Host by is-Programmer.com | Power by Chito 1.3.3 beta
2022年6月21日 20:13
Some truly wonderful work on behalf of the owner of this internet site , perfectly great articles . Buy Whisky online free delivery
2022年9月03日 21:44
the decorative accessories that i was able to find on ebay are of bargain price. https://www.simplybuzzes.com/angel-number-7744-meaning/
2023年9月08日 21:08
I use only high quality materials - you can see them at: Kissimmee Termite Treatment
2023年9月13日 19:02
There is so much in this article that I would never have thought of on my own. Your content gives readers things to think about in an interesting way. Bed Bug Treatment Orlando
2023年9月13日 19:05
I personally use them exclusively high-quality elements : you will notice these folks during: Bed Bug Treatment Oviedo
2023年10月25日 14:41
I read this article. I think You put a lot of effort to create this article. I appreciate your work. online cpa services
2023年11月14日 22:21
I exploit solely premium quality products -- you will observe these individuals on: Buy steroids UK
2023年11月15日 20:25
I invite you to the page where see how much we have in common. Visit our site
2023年11月16日 18:40
You possess lifted an essential offspring..Blesss for using..I would want to study better latest transactions from this blog..preserve posting.. printed tiles
2023年11月19日 17:44
I use basically superior fabrics : you will discover these products by: franchise investment
2023年11月24日 13:32
Hmm… I interpret blogs on a analogous issue, however i never visited your blog. I added it to populars also i’ll be your faithful primer. Get the latest updates
2023年12月02日 14:28
Interestingly you write, I will address you'll find exciting and interesting things on similar topics. 5f-mdmb-2201
2023年12月27日 19:22
Can nicely write on similar topics! Welcome to here you'll find out how it should look. https://www.paripesa.ng/live/basketball
2024年1月20日 12:39
This is exciting, nevertheless it is vital for you to visit this specific url: cleanbeauty