after updating to Ubuntu 10.10, the hostname settings are no longer correct. The content of the /etc/hosts is modified at each startup to something like:
127.0.0.1 mariusbotis localhost.localdomain localhost ::1 mariusbotis localhost6.localdomain6 localhost6 10.8.3.105 mariusbotis mariusbotis.office
Do you have any idea how to get rid of the first two lines? Just editing them will not help: after the next restart, the lines are back there. The problem is that the network now resolve my hostname to 127.0.0.1, instead of the 10.8.3.105:
~:$ ping mariusbotis PING mariusbotis (127.0.0.1) 56(84) bytes of data. 64 bytes from mariusbotis (127.0.0.1): icmp_req=1 ttl=64 time=0.022 ms 64 bytes from mariusbotis (127.0.0.1): icmp_req=2 ttl=64 time=0.023 ms 64 bytes from mariusbotis (127.0.0.1): icmp_req=3 ttl=64 time=0.021 ms 64 bytes from mariusbotis (127.0.0.1): icmp_req=4 ttl=64 time=0.022 ms