Have You tried the following ?
# echo nameserver 8.8.8.8 >> /etc/resolv.conf
or
# echo nameserver 8.8.8.8 > /etc/resolv.conf
It works under i.MX6 Ubuntu demo image.
Best regards
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------