[FZH] 重发:无法更改USB无线网卡MAC

CyrusYzGTt cyrushmh at fedoraproject.org
Fri Oct 4 08:41:53 UTC 2013


于 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

#ifconfig wlan0 up

> Easior Lars老大说:
> 从我的经验来说,物理地址只能动态修改,因而你需要先if up而不是if down。
>
>
>
>
>  
> --
> Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese



More information about the Chinese mailing list