2016发布的rasbian采用的网络机制是dhcpcd;

不能使用以前的修改配置文件/etc/network/interfaces;

 新的配置方式保持/etc/network/interfaces不变, 只需在/etc/dhcpcd.conf末尾添加

 
# Static IP configuration
eth0

192.168.1.1
=255.255.255.0
 
wlan0

192.168.1.1
=255.255.255.0
 

 

重新启动即可(reboot)

192.168.1.200是固定ip

相关文章:

  • 2021-07-01
  • 2021-11-20
  • 2021-06-26
  • 2021-09-02
  • 2021-05-21
  • 2021-12-02
  • 2021-08-15
猜你喜欢
  • 2021-12-20
  • 2021-11-20
  • 2021-11-20
  • 2021-05-29
  • 2021-11-20
  • 2021-11-20
  • 2021-09-30
相关资源
相似解决方案