Terrible performance on D820 laptop if the network cable is unplugged

damian misc at daminator.com
Thu Apr 17 13:42:09 UTC 2008


NoOp wrote:
> On 04/16/2008 02:20 PM, damian wrote:
>   
>> But it works fine when the home network is plugged in.
>>
>> I'm glad I went to dual boot rather then completely over to Ubuntu as 
>> the machine is almost unusable when I'm out and about if using Ubuntu. 
>> Then it's suddenly completely fine once plugged into the home network. 
>> Can anyone help me to find out what's going on here?
>>
>> The machine takes a LONG time to boot and then is very sluggish when 
>> it's not networked.
>>
>>     
>
>
> My guess would be a problem /etc/hosts file. Can you please post the
> output from (use a terminal: Applications|Accesories|Terminal):
>
> cat /etc/hosts
>
> Here is a sample of one of mine:
>
>   
>> ubuntu at ubuntu:~$ cat /etc/hosts
>> 127.0.0.1 localhost ubuntu.mshome
>> 127.0.1.1 ubuntu
>>
>>
>> # 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
>>     
>
> the ".mshome" is only because I also run samba, so ignore that part and
> it can be:
>
> 127.0.0.1 localhost <name>
>
> Using the above with Hardy Beta I get a boot of only a few seconds
> difference with, and without a network connection on my very old
> 800Mhz/128MB Thinkpad A21M: 3 min 15 sec without, 3 min 25 sec with. ]
>   My other machines are considerably faster on boot, but it's easier to
> accurately time the laptop :-)
>   

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:~$

Does that help in any way to figure out what's going on?

Damian




More information about the ubuntu-users mailing list