Man*_*tin 3 ubuntu nvidia-jetson-nano
我想在本地网络中为 Jetson Nano 设置静态 IP。我尝试过的:
-- 更改路由器上的 DHCP。
-- 使用以下内容编辑 /etc/network/interfaces:
auto eth0
iface eth0 inet static
address 192.168.1.80
netmask 255.255.255.0
gateway 192.168.1.1
Run Code Online (Sandbox Code Playgroud)
这两个选项似乎都不起作用。
Jetson Nano 似乎有板子网络接口的底层配置。
1)编辑/etc/default/networking
sudo vi /etc/default/networking
Run Code Online (Sandbox Code Playgroud)
并设置参数 CONFIGURE_INTERFACES=no
# Set to 'no' to skip interfaces configuration on boot
CONFIGURE_INTERFACES=no
Run Code Online (Sandbox Code Playgroud)
2)现在 /etc/network/interfaces 中的设置将起作用
sudo vi /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.1.80
netmask 255.255.255.0
gateway 192.168.1.1
Run Code Online (Sandbox Code Playgroud)
3)重启板子
| 归档时间: |
|
| 查看次数: |
17121 次 |
| 最近记录: |