Script of modifying ether card MAC address under linux

#!/bin/bash
# Update MAC Address for Ether Card eth0 to work in SJTU LAN

ifconfig eth0 down
ifconfig eth0 hw ether
00:00:00:00:00:00
ifconfig eth0 up
原文地址:https://www.cnblogs.com/alexxyjiang/p/1897252.html