Hello,
Thank you for your responses
after adding the following line under etho config :
post-up echo “nameserver 8.8.8.8″ > /etc/resolv.conf
I have aloways the some issue !! when I exec wget command as follow :
root@mtcdt:~# wget google.com
--2017-11-10 21:28:43-- http://google.com/
Resolving google.com... failed: Name or service not known.
wget: unable to resolve host address 'google.com'
What can I do now please ? I have right configured my /etc/network/interface as follow
# Wired interface
auto eth0
iface eth0 inet static
## Home configuration
address 192.168.0.16
netmask 255.255.255.0
gateway 192.168.0.254
post-up echo “nameserver 8.8.8.8″> /etc/resolv.conf
Thanks a lot for your help
Amine LTAIEF