public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: daid kahl <daidxor@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Slow Login, Sudo, etc.
Date: Fri, 15 Oct 2010 16:24:41 +0900	[thread overview]
Message-ID: <AANLkTi=avy+DnveU4J0fKA-Sd5zx-KEOPAWUogfr-b3k@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikNmb_mrhXXCvan7T2X0app8=24m65FdOy5G-MX@mail.gmail.com>

>
>> > The main correlation I've seen so far is with dhcpcd.  Sometimes at my
>> > work I get a 192. IP (which doesn't work), and other times I get a
>> > 133. IP (which is correct).  In fact, sometimes dhcp is giving me an
>> > IP address and resolv.conf related to a university I was visiting like
>> > a month ago.
>>
>> It sounds like someone at your work might be (accidentally) running a
>> rogue DHCP server...
>>
>
> For the 192 address - yeah, someone has probably plugged a WLAN or ADSL
> router into the local network, and other people will be have the same
> problem. If they were purposely running a rogue DHCP server to perform a Man
> In the Middle attack you wouldn't notice any connectivity problems (assuming
> they set it up correctly).
>

Yes.  I was getting the wireless IP.  Turns out my officemate had
turned off the dhcp server.  >_<

>
> Getting the university address is very odd. AFAIK dhcpcd has no function to
> fall back to the address from an expired lease.
>
> Grep your logs for dhcpcd and post the result.
>

I found the outdated static configuration file.  Woops!

Well, so that was a very silly problem!  Non-commented dated
configuration file and broken dhcp server.  But the behavior was so
random.  And I never new that the DNS lookup would delay logins.  So
that was very educational.

Regards,
daid



      reply	other threads:[~2010-10-15  8:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-12  6:38 [gentoo-user] Slow Login, Sudo, etc daid kahl
2010-10-12  7:12 ` [gentoo-user] " daid kahl
2010-10-12  7:13   ` daid kahl
2010-10-12 14:42 ` [gentoo-user] " Paul Hartman
2010-10-12 22:12 ` [gentoo-user] " walt
2010-10-13 13:38   ` daid kahl
2010-10-14  0:28     ` James Ausmus
2010-10-14  0:57       ` Adam Carter
2010-10-15  7:24         ` daid kahl [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=avy+DnveU4J0fKA-Sd5zx-KEOPAWUogfr-b3k@mail.gmail.com' \
    --to=daidxor@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox