jetson nano/ Linux/ Ubuntu18.0.4 配置固定IP静态IP

1、 创建eth0文件

cd /etc/network/interfaces.d
sudo gedit eth0

填写以下内容:

设置自己的Ip、子网掩码、网关

auto eth0
iface eth0 inet static
address 192.168.1.203
netmask 255.255.255.0
gateway 192.168.1.1

2、修改interfaces文件

cd ..
sudo gedit interfaces

在最后一行增加:

source interfaces.d/eth0

3、重启

sudo reboot -h new

4、查看ip

ifconfig -a

5、查看网口数据传输速率

gnome-system-monitor