修改mac地址主要有两种方法,临时
和永久
。
首先查看一下自己的网卡,ifconfig
:
临时:
先用这个小工具生成随机的Mac地址:在线MAC地址生成器(有个bug,点进去之后先在“地址前缀”框点一下,然后再点击生成)
sudo ifdown eth0
sudo ifconfig eth0 hw ether 82:66:47:28:C2:11
sudo ifup eth0
service network restart
sudo /etc/init.d/networking restart
这种临时的一般重启电脑之后就变回原来的了。
永久:
打开网络配置文件:sudo nano /etc/network/interfaces
然后加入一句:pre-up ifconfig eth0 hw ether 82:66:47:28:C2:11
即:
1 2 3 4 5 6 7 8 9 10 |
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp pre-up ifconfig eth0 hw ether 82:66:47:28:C2:E1 |
然后重启下网卡即可:
sudo /etc/init.d/networking restart
这种方法用于docker安装的alist不太友好
不错,感谢
就是回调地址是那个?,你的另一篇文章的回调地址还是用不了!
Thanks for finally writing about > Typecho中的Widget_Options用法-马春杰杰 < Loved it!
大佬,没看懂,回调地址是什么?
感谢您与我们分享此类文章。
感谢分享,文章不错
很方便诶,但下载了以后网页图片的顺序会不会乱啊