Pourquoi je donne cette solution ? Parce que ça m'est déjà arrivé de ne pas avoir internet ALORS QUE TOUT ÉTAIT BON !!
Wonderfall, si au premier essaie de la commande, tu n'as pas Internet, refais une seconde fois la manip et si ça marche pas... c'est hors de ma portée
Moi, mon script que j'avais fait faisait ça :
/etc/init.d/networking stop && ifconfig eth0 up && /etc/init.d/networking start && sleep 2 && /etc/init.d/networking stop && ifconfig eth0 up && /etc/init.d/networking start
ET ÇA MARCHAIT VRAIMENT !!