Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页
    1. Home
    2. qql_6699
    Q
    • Profile
    • Following 0
    • Followers 0
    • my integral 326
    • Topics 2
    • Posts 4
    • Best 2
    • Groups 0

    qql_6699LV 3

    @qql_6699

    326
    integral
    2
    Reputation
    1
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    qql_6699 Unfollow Follow

    Best posts made by qql_6699

    • interfaces 文件添加 dns

      我正在T113平台做网络开发,想在/etc/network/interfaces文件添加dns,修改interfaces文件后重启,发现/etc/resolv.conf文件中并没有我新添加的dns,以下是我的配置,请教一下,可能的原因是什么?

      auto eth0
      iface eth0 inet static
      address 192.168.0.101
      netmask 255.255.255.0
      gateway 192.168.0.1
      dns-nameservers 8.8.8.8 8.8.4.4

      posted in T Series
      Q
      qql_6699
    • Reply: interfaces 文件添加 dns

      @jasonzhang 非常感谢您的回复。我在测试时,发现设置静态IP,ping不能ping通,在/etc/resolv.conf添加DNS 8.8.8.8后,就能正常ping了,所以以为是/etc/resolv.conf的问题。那根据您的回复,这个问题,应该是我在/etc/network/interfaces中设置的DNS没有生效造成的?那可能的原因又是什么呢?

      posted in T Series
      Q
      qql_6699

    Latest posts made by qql_6699

    • Reply: interfaces 文件添加 dns

      @jasonzhang 我是用的是buildroot,您的意思是,busybox不支持,所以在interfaces文件中添加dns,dns并不能被调用?那这个问题,有什么通用解决方案吗?

      posted in T Series
      Q
      qql_6699
    • Reply: interfaces 文件添加 dns

      @jasonzhang 非常感谢您的回复。我在测试时,发现设置静态IP,ping不能ping通,在/etc/resolv.conf添加DNS 8.8.8.8后,就能正常ping了,所以以为是/etc/resolv.conf的问题。那根据您的回复,这个问题,应该是我在/etc/network/interfaces中设置的DNS没有生效造成的?那可能的原因又是什么呢?

      posted in T Series
      Q
      qql_6699
    • interfaces 文件添加 dns

      我正在T113平台做网络开发,想在/etc/network/interfaces文件添加dns,修改interfaces文件后重启,发现/etc/resolv.conf文件中并没有我新添加的dns,以下是我的配置,请教一下,可能的原因是什么?

      auto eth0
      iface eth0 inet static
      address 192.168.0.101
      netmask 255.255.255.0
      gateway 192.168.0.1
      dns-nameservers 8.8.8.8 8.8.4.4

      posted in T Series
      Q
      qql_6699