davee_x

导航

raspbian 静态IP

edit file:  /etc/network/interfaces

change line: iface eth0 inet dhcp
  1. iface eth0 inet static
    address 192.168.1.99
    netmask 255.255.255.0
    gateway 192.168.1.1

 

/etc/init.d/networking restart

 

posted on 2015-03-17 09:26  Wigde.Xiao  阅读(401)  评论(0编辑  收藏  举报