jetson nano,jetpack4.6,1.静态ip的配置路径是/etc/network/interfaces 吗,配置的格式是这样的吗auto eth0
iface eth0 inet static
address 10.0.0.1
netmask 255.0.0.0
gateway 192.168.1.254,另外dns应该如何加上? 2.使用自动获取ip时, 获取到的ip信息,是在哪个路径下面文件?
Sorry for the late response.
Is this still an issue to support? Any result can be shared?
您好NV, 还是需要的,静态ip的配置路径在哪里,以及dns的配置路径在哪里?
Hi,
Jetson typically use NetworkManger
, you can use below command:
- Identify the connection name you want to modify:
nmcli connection show
# example output
NAME UUID TYPE DEVICE
"CONNECTION_NAME"
- Open the profile file for your connection:
sudo vim /etc/NetworkManager/system-connections/[CONNECTION_NAME]
# In configure file
...
[ipv4]
address1=10.0.0.1/24,192.168.1.254
dns=8.8.8.8;
method=manual
...
- Apply the changes and bring up the modified connection:
sudo systemctl restart NetworkManager
sudo nmcli connection up "CONNECTION_NAME"
For DHCP
, you can use ip a
to get the ip info.
Thanks
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.