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

posted on 2010-12-05 22:44  御剑风吟  阅读(145)  评论(0编辑  收藏  举报

导航