Comment 92 for bug 32906

Revision history for this message
Brian Fallik (bfallik) wrote : Re: [Bug 32906] Re: sudo fails if it cannot resolve the local hostname and no MTA is installed

Charles,

Your computer is using DHCP to acquire an IP address from the router.
As part of this transaction, the DHCP server typically also provides
DNS server addresses so that your computer knows where to ask for
translations from host name to ip addresses. Since you're connected
to a Telstra network, it's not surprising that your router is
configured to use their DNS servers. In fact, your router may be
using the DHCP to acquire its IP address and DNS information from
Telstra.

The 2-3 second pauses sound like an application (or set of them) is
blocking while waiting to perform a DNS lookups. Even on a single
host, the desktop uses many networking protocols for interprocess
communication. If the lookup for 'localhost' fails, these messages
can get stuck.

Thanks,
brian

On Wed, Sep 17, 2008 at 9:17 AM, Charles Hackman
<email address hidden> wrote:
> I'm an ignorant newbie who just installed Ubuntu 8.04.1 Kernel 2.6.24-19
> generic on an Advent 4211B (? = MSI Wind). One of my (fruitless)
> attempts to get the wifi card working was with Ndiswrapper. I had
> previously been using a wired connection to my Linksys WRT54G router,
> which connected to the internet via a cable modem and Telstra Bigpond as
> a service provider.
>
> The above problem came up accompanied by 2-3 minute pauses before any application would run. I fixed it using the suggestion from Serenity:
> "go to the System Control Panel in the GUI:
> "->Admin -->Network ---> UNLOCK ----General: Remove Domain Name
> "Go to Hosts (Under Network) - delete 127.0.1.1
> "Add 127.0.1.1"
>
> However - and this is reason for this post - I was fascinated to find
> that "Hosts" had contained references to Telstra which must have been
> acquired somehow by the network/wifi driver from some interrogation of
> the router. Since the problems only started after running ndiswrapper,
> I presume that this is responsible, but just how I cannot imagine.
>
> --
> sudo fails if it cannot resolve the local hostname and no MTA is installed
> https://bugs.launchpad.net/bugs/32906
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>