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
最后在右上角连接