Since NetworkManager is being used, try editing /etc/NetworkManager/NetworkManager.conf and add the keyfile plugin and a keyfile entry for hostname, i.e., the plugins line in main section should lo... [by hirakendu]
Hello again and thanks for the help It was a typo in / etc / hosts, sorry but that was not the solution, the solution was:Por defecto NetworkManager 0.7 hará una búsqueda inversa de tu IP para determinar tu hostname. Generalmente, esto dará "localhost" o "localhost.localdomain".
I am trying to get a simple script to run when I establish an Internet connection. Found a few walkthroughs recommending to put it in if-up.d and mke various changes to NetworkManager.conf and interfaces. Never got the script to run, but over the course of testing I noticed I cannot connect over ethernet.