T113 网络问题FAQ

Buildroot

Posted by LXG on June 24, 2025

4G 网络无法上网问题

问题原因: /etc/network/interfaces 文件丢失, 丢失原因不详

/etc/network/interfaces 文件内容


# interface file auto-generated by buildroot

auto lo
iface lo inet loopback

/etc/network/interfaces 是 传统 Debian 系 Linux 系统中用于配置网络接口 的核心配置文件。它控制系统启动时哪些网络接口会自动启用,以及接口的 IP 配置方式(静态 IP、DHCP、PPP 等)。

配置项 说明
auto lo 表示开机自动启用 lo 接口(loopback,回环接口)
iface lo inet loopback 定义 lo 接口使用 loopback 类型,并绑定 IPv4 协议(inet)

问题发生时间/etc/resolv.conf文件内容如下:


# Generated by dhcpcd
# /etc/resolv.conf.head can replace this line
# /etc/resolv.conf.tail can replace this line