SoC开发板设置网口IP为固定IP

 vi /etc/network/interfaces 编辑这个文件

 

     #iface eth0 inet dhcp  找到修改这个,前面加#

     iface eth0 inet static  改为静态分配ip

        address 192.168.35.225

        netmask 255.255.255.0

        gateway 192.168.35.254

     保持,然后reboot

猜你喜欢

转载自www.cnblogs.com/xiaomeige/p/9256559.html