This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] Linux:/etc/network/interfaces

Guru**** 2057900 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/625899/linux-etc-network-interfaces

工具/软件:Linux

我使用 SDK 4.0。 在 Sirara 5728上

我们通常 在/etc/network/interfaces.中添加基本以太网配置(如静态、持久 IP 地址)

我取出了现有文件、添加了绿线并注释掉了红色的行。 该文件通常在引导期间由 Linux 读取(因此适用于我们的 debian 发行版)。

但在 TI SDK Linux 发行版中似乎没有任何影响:未分配 IPv4地址。

有什么提示我做了什么错? 是否有其他方法可以永久配置静态 IPv4地址?

此致、Chris

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    我们在这里详细讨论了这一点:
    e2e.ti.com/.../2035119

    您需要使用 systemd 服务来配置静态 IP。

    此致、
    Yordan