Terrible performance on D820 laptop if the network cable is unplugged

damian misc at daminator.com
Thu Apr 17 13:43:20 UTC 2008


Peter Garrett wrote:
> On Wed, 16 Apr 2008 22:20:43 +0100
> damian <misc at daminator.com> wrote:
>
>   
>> But it works fine when the home network is plugged in.
>>     
>
> What is the contents of /etc/hosts  ?
>
> cat /etc/hosts 
>
> in a terminal to see. You might not have the loopback interface
> configured, for some reason. You should have something like this:
>
> $ cat /etc/hosts
> 127.0.0.1	localhost
> 127.0.1.1	yourhostname
>
> ### other stuff here
>
> If your loopback ( 127.0.*.* ) is not right, the machine has an
> identity crisis ;) This can slow it down...
>
>   
Thanks for the reply. Here's what I get:

damian at D820:~$ cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 D820.MAGIC

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
damian at D820:~$

I may have messed something up in trying to get samba working properly 
(it still doesn't .. not had time to look into that yet). Any ideas what 
I need to do now?

Damian




More information about the ubuntu-users mailing list