您的位置: 首页 > IT文章 > 树莓派配置静态ip 树莓派配置静态ip 分类: IT文章 • 2025-01-24 23:01:13 #vim /etc/network/interfaces 修改为如下内容: auto eth0 iface eth0 inet static address 192.168.0.2 netmask 255.255.255.0 gateway 192.168.0.1 然后重启树莓派