login delay without Internet
Thomas Fess
dfezz1 at yahoo.com
Fri Jul 25 16:20:00 UTC 2008
Add your server to it's own host file (/etc/hosts) once it resolves itself will login much quicker. I had the same issue, while running a kickstart server on one of my servers and it took forever to login, and the issue was the dhcp server i had running for kickstart, was the first nameserver in the /etc/resolv.conf. The host file fixed it.
--- On Thu, 7/24/08, Troy <troya at u.washington.edu> wrote:
> From: Troy <troya at u.washington.edu>
> Subject: Re: login delay without Internet
> To: "General Red Hat Linux discussion list" <redhat-list at redhat.com>
> Date: Thursday, July 24, 2008, 5:06 PM
> If you're just logging in, the only thing the host
> really needs is to
> be able to authenticate you. So if you have local
> authentication, a
> local home directory, and no network drives that need to be
> mounted,
> it should work without a network connection.
>
> If it's a DNS issue, something has to be looking to
> resolve a name.
> You don't need name resolution to log in unless you
> authenticate to
> NIS or LDAP (or something similar), or are requesting some
> network
> storage. If you're checking nsswitch.conf, I would
> check the passwd,
> group, shadow and automount lines.
>
>
> On Jul 23, 2008, at 9:52 AM, david brett wrote:
>
> > Thanks, this was one was correct:
> > #hosts: db files nisplus nis dns
> > hosts: files dns
> >
> > I never thought of this so i did a grep on the
> directory (/etc) and
> > this is the result:
> > grep dns *
> > jwhois.conf: "\\.be$" =
> "whois.dns.be";
> > jwhois.conf: "\\.hr$" =
> "www.dns.hr";
> > jwhois.conf: "\\.lu$" =
> "whois.dns.lu";
> > jwhois.conf: "\\.pl$" =
> "whois.dns.pl";
> > jwhois.conf: "\\.pt$" =
> "whois.dns.pt";
> > jwhois.conf:
> "\\.com\\.uy$" =
> "dns.antel.net.uy";
> > jwhois.conf:
> "www\\.dns\\.hr" {
> > jwhois.conf:
> "dns\\.antel\\.net\\.uy"
> {
> > krb5.conf: dns_lookup_realm = false
> > krb5.conf: dns_lookup_kdc = false
> > Binary file ld.so.cache matches
> > ltrace.conf:int waddnstr(addr, string, int);
> > nsswitch.conf:# dns Use DNS
> (Domain Name Service)
> > nsswitch.conf:#hosts: db files nisplus nis dns
> > nsswitch.conf:hosts: files dns
> > Binary file prelink.cache matches
> > readahead.early.files:/lib/libnss_dns.so.2
> >
> readahead.files:/usr/lib/firefox-1.5.0.1/components/necko_dns.xpt
> >
> >
> > I left out the results from services
> >
> > m.roth2006 at rcn.com wrote:
> >>> Date: Wed, 23 Jul 2008 11:46:40 -0400
> >>> From: david brett <dbrett at tcn.net>
> >>> Ok, how do I stop it? I checked to make sure
> bind is not running
> >> Make sure that /etc/nsswitch has hosts files dns
> >> and not hosts dns files
> >> is a start.
> >> mark
> >>> chaim.rieger at gmail.com wrote:
> >>>> Dns is the reason
> >>>> ------Original Message------
> >>>> From: david brett
> >>>> Sender: redhat-list-bounces at redhat.com
> >>>> To: General Red Hat Linux discussion list
> >>>> ReplyTo: General Red Hat Linux discussion
> list
> >>>> Sent: Jul 23, 2008 07:31
> >>>> Subject: login delay without Internet
> >>>>
> >>>> I have noticed a behaviour of fedora core
> (5 or 8) not sure which
> >>>> version, which I would like to stop. If I
> login on, when the
> >>>> computer has Internet access, the process
> happens fairly
> >>>> quickly. If the computer does not have
> Internet access, the
> >>>> process takes a few minutes, considerably
> longer than if it does
> >>>> have Internet access.
> >>>> What is going on, more importantly I do I
> stop this?
> >>>>
> >>> --
> >>> redhat-list mailing list
> >>> unsubscribe
> mailto:redhat-list-request at redhat.com?
> >>> subject=unsubscribe
> >>>
> https://www.redhat.com/mailman/listinfo/redhat-list
> >
> > --
> > redhat-list mailing list
> > unsubscribe
> mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
>
> --
> redhat-list mailing list
> unsubscribe
> mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
More information about the redhat-list
mailing list