|
楼主 |
发表于 2007-11-26 18:45:12
|
显示全部楼层
Post by fallening;1787916
如下解决如何?
修改/etc/rc.conf
DAEMONS=(syslog-ng !hotplug mac_eth0 network sshd netfs crond xinetd httpd)
在/etc/rc.d/下加一文件mac_eth0
#!/bin/bash
#This file changes the MAC address of eth0
start()
{
echo "Changing MAC..."
/usr/local/bin/macchanger --mac=00:20:ed:6e:b4:34 eth0
}
stop()
{
echo "Macchanger stops"
}
case "$1" in
start)
start
;;
stop)
stop
;;
*)
echo "Use $0 [start] to change the MAC!"
;;
esac
exit 0
不成,没有这个macchanger 默认安装
我转换成ifconfig eth0 hw ether ***也不行 |
|