我的盒子被我修改了IP地址,现在盒子能联网,就是ip地址进不去了!
1、ifconfig
2、sudo vi /etc/network/interfaces
3、auto eth0 #其中eth0是步骤1中确定的网卡名字
iface eth0 inet static
address 192.168.5.108 设置的静态ip地址
netmask 255.255.255.0 此处设置子网掩码
gateway 192.168.5.1 此处设置网关
dns-nameservers 127.0.0.53 此处设置dns服务器
4、按ESC键后输入:wq 进行保存
5、sudo ip addr flush eth0
然后就进不去界面了 。。。。。。。