Re: login delay without Internet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx> wrote:

> From: Troy <troya@xxxxxxxxxxxxxxxx>
> Subject: Re: login delay without Internet
> To: "General Red Hat Linux discussion list" <redhat-list@xxxxxxxxxx>
> 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@xxxxxxx wrote:
> >>> Date: Wed, 23 Jul 2008 11:46:40 -0400
> >>> From: david brett <dbrett@xxxxxxx>
> >>> 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@xxxxxxxxx wrote:
> >>>> Dns is the reason
> >>>> ------Original Message------
> >>>> From: david brett
> >>>> Sender: redhat-list-bounces@xxxxxxxxxx
> >>>> 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@xxxxxxxxxx? 
> >>> subject=unsubscribe
> >>>
> https://www.redhat.com/mailman/listinfo/redhat-list
> >
> > -- 
> > redhat-list mailing list
> > unsubscribe
> mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> 
> -- 
> redhat-list mailing list
> unsubscribe
> mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list


      

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux