原信息 主题: Re: [FZH] 重发:无法更改USB无线网卡MAC 发件人: CyrusYzGTt cyrushmh@fedoraproject.org 日期: 2013/10/04 16:42
于 2013年10月04日 16:23, xlzyjfy 写道:
杜宏羽老大说看不到了,所以重发。 FC19系统,RT2870USB wireless card,开始是无法修改MAC,后来传递“net.ifnames=0” 给内核,只能更改MAC的最后一个字段。否则提示:SIOCSIFHWADDR: 无效的参数
我的方法是临时的 #yum install macchanger #ifconfig wlan0 down #macchanger -A wlan0 帮助参数 macchanger --help GNU MAC Changer Usage: macchanger [options] device
-h, --help Print this help -V, --version Print version and exit -s, --show Print the MAC address and exit -e, --ending Don't change the vendor bytes -a, --another Set random vendor MAC of the same kind -A Set random vendor MAC of any kind -p, --permanent Reset to original, permanent hardware MAC -r, --random Set fully random MAC -l, --list[=keyword] Print known vendors -m, --mac=XX:XX:XX:XX:XX:XX Set the MAC XX:XX:XX:XX:XX:XX
试过macchange了,还使用过ralink的驱动。同ifconfig。只能修改末尾的字段,甚至最后一个字,比如ca只能改为c9到cf。
#ifconfig wlan0 up
Easior Lars老大说: 从我的经验来说,物理地址只能动态修改,因而你需要先if up而不是if down。
-- Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese
-- Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese
chinese@lists.fedoraproject.org