wrt常用命令

查看arp:

arp -a

临时绑定arp:

arp -s 192.168.31.130 D0:50:99:87:EE:53


永久绑定 arp: 
vi /etc/ethers,输入192.168.31.130 D0:50:99:87:EE:53,保存 

vi /etc/rc.d/rc.local,输入arp -f ,保存,重启生效

重启防火墙

/etc/init.d/firewall restart

查看挂载明细

df -h

唤醒

/etc/wol/bin/wol D0:50:99:87:EE:53

/etc/wol/bin/wol -i 192.168.31.130 D0:50:99:87:EE:53

/etc/wol/bin/wol -v 192.168.31.130 -p D0:50:99:87:EE:53

要确保CentOS7是否安装了 openssh-server

yum list installed | grep openssh-server

安装openssh-server

yum install openssh-server

就爱玩泥巴
就爱玩泥巴
文章: 14

留下评论

您的邮箱地址不会被公开。 必填项已用 * 标注