ubuntu终端修改jetson TK1 static IP

1、sudo vi /etc/NetworkManager/NetworkManager.conf
     注释掉#dns=dnsmasq
     修改managed=true
2、sudo vi /etc/network/interfaces
     修改为:
     # interfaces(5) file used by ifup(8) and ifdown(8)
     # Include files from /etc/network/interfaces.d:
     # source-directory /etc/network/interfaces.d
     auto lo
     iface lo inet loopback

     iface eth0 inet static
     address 192.168.1.55
     gateway 192.168.1.1
     netmask 255.255.255.0
     dns-nameservers 192.168.1.1
3、在重启网络服务(不能用ssh操作):
     sudo service network-manager restart
     sudo service networking restart
     sudo service resolvconf restart
     最后在右上角连接

posted @ 2015-11-30 15:20  知道分子  阅读(439)  评论(0编辑  收藏  举报