2.3 网络配置

与通常的Linux相似,IoT2040的Yocto Linux的网络配置文件为

/etc/network/interfaces

对其可进行如下配置:

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet static
address 192.168.0.11
netmask 255.255.255.0

results matching ""

    No results matching ""