LinuxGem
此处为老的 LinuxGem,新版 LinuxGem 请移步 www.linuxgem.org

Linux 下修改网卡 MAC

galeki posted @ 2007年10月04日 06:22 in 网络管理 with tags mac linux ifconfig , 4556 阅读

用 Linux 下的网络基本配置命令 ifconfig 就可以完成,假设你的网卡是 eth0:

 

ifconfig eth0 down
ifconfig eth0 hw ether 12:34:56:78:ab:cd
ifconfig eth0 up

把高亮部分替换成你想要改成的 MAC 地址即可,成功的话程序没有任何输出,你也可以运行 ifconfig 来查看更改的结果:

 

如果你想自动应用改变后的 MAC 地址,可以把上面的命令加到启动脚本中。

注: ifconfig 需要root 权限。

faddy 说:
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

HASNA 说:
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/

anonymous 说:
2023年9月08日 21:08

I use only high quality materials - you can see them at:  Kissimmee Termite Treatment

anonymous 说:
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

anonymous 说:
2023年9月13日 19:05

I personally use them exclusively high-quality elements : you will notice these folks during: Bed Bug Treatment Oviedo

anonymous 说:
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

anonymous 说:
2023年11月14日 22:21

I exploit solely premium quality products -- you will observe these individuals on: Buy steroids UK

anonymous 说:
2023年11月15日 20:25

I invite you to the page where     see how much we have in common. Visit our site

anonymous 说:
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

anonymous 说:
2023年11月19日 17:44

I use basically superior fabrics : you will discover these products by: franchise investment

anonymous 说:
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

anonymous 说:
2023年12月02日 14:28

Interestingly you write, I will address        you'll find exciting and interesting things on similar topics. 5f-mdmb-2201

anonymous 说:
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

anonymous 说:
2024年1月20日 12:39

This is exciting, nevertheless it is vital for you to visit this specific url: cleanbeauty


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter