8 Replies Latest reply on Feb 6, 2017 7:01 AM by dapenglan

    Save the file /etc/resolv.conf, ping www.google.com using 3g module

    dapenglan

      Hi all,

       

      I am following the instructions in : https://bovs.org/post/168/Building-Yocto-linux-for-Intel-Edison-with-3G-USB-modems-support

      I am using Wifi and 3G at the same time.

       

      I can ping 8.8.8.8 but cannot ping www.google.com

      Due to the DNS problem. After I run the command:

      echo "nameserver 8.8.8.8" >> /etc/resolv.conf

      Now I can ping www.google.com.

       

      However, after rebooting the Intel Edison board, the /etc/resolv.conf will lost nameserver 8.8.8.8.

       

      Can I save nameserver 8.8.8.8 in this file?

      I have already try the systemd and /ect/init.d method, it doesn't work.

       

      Thanks.

       

      /Dapeng