#设置 IP

sudo ifconfig eth0 *.*.*.*

netmask *.*.*.*


#设置网关

sudo route add default gw *.*.*.*


#重启网络服务

sudo /etc /init.d /networking restart


#更改mac地址

inconfig eth0(wlan0) down

ifconfig eth0(wlan0) hw

ether *.*.*.*.*.*

ifconfig eth0 up