Try putting the addresses of the clients in the hosts file
>
> client1 192.168.0.10 etc whatever range you have allocated.
>
Then take a look at dnsmasq
you may not have any other servers you need to reference so take those
lines out.
Peter
/etc/dnsmasq.conf file add the following options at the required lines.
no-resolv
server=10.0.0.2 #default ADSL address
server=192.168.8.1 # radio server
notify=/tux.com/ # fixes serious problems with host and
domain lookups.
On Thu, Dec 15, 2011 at 3:46 AM, David Hopkins <[email protected]>wrote:
> I checked and resolv.conf had entries for IPv6 and also had a weird entry
> of
>
> 127.0.1.1 ncslts3
>
> on the ncslts3 server. I commented out all the IPv6 entries and also
> the above line. Logins still take about 25 seconds to authenticate,
> but that is less than the 30 second timeout limit so they are working.
> However, this is still much longer than the 3-5 seconds that it was
> requiring before all this started.
>
> It still takes 30+ seconds to ssh to either ncslts3 from a thin client
> shell using either the IP address or the hostname. nslookup resolves
> either immediately (no lag) in the shell.
>
> It is baffling and I'll come back to address the time issue in the morning.
>
> Thanks for the suggestions, they are truly appreciated.
>
> Sincerely,
> Dave Hopkins
>
> On Wed, Dec 14, 2011 at 8:08 PM, Rob Owens <[email protected]> wrote:
> > I'm not sure what else to suggest except that you take a look at
> > /etc/resolv.conf and test lookups using the nslookup command.
> >
> > -Rob
> >
> > On Wed, Dec 14, 2011 at 07:38:44PM -0500, David Hopkins wrote:
> >> Yep .. that is exactly what mine looks like and it gets overwritten at
> >> each client though I do not know how.
> >>
> >> On the server that works, the login finishes in about 26 seconds ...
> >> timed with a stopwatch. However, on the other systems, the 'no
> >> response from server' message appears at 30 seconds .. so it appears
> >> that the one server is working only because it completes something
> >> just before the timeout.
> >>
> >> Sincerely,
> >> Dave
> >>
> >> On Wed, Dec 14, 2011 at 7:31 PM, Rob Owens <[email protected]> wrote:
> >> > On Wed, Dec 14, 2011 at 07:05:05PM -0500, David Hopkins wrote:
> >> >> All,
> >> >>
> >> >> I am beginning to suspect this issue is because ssh isn't resolving
> >> >> names correctly? Timing
> >> >>
> >> >> ssh myserver
> >> >>
> >> >> from a shell (ALT-CTL-F2) takes about 30 seconds to resolve myserver.
> >> >> However, ssh any_other_server returns immediately. So, why wouldn't
> >> >> myserver resolve quickly? This is true from any of the servers ..
> >> >> they do not resolve their names quickly. On all of them, the local
> >> >> (thin client) /etc/hosts has the form
> >> >>
> >> >> 127.0.0.1 localhost
> >> >> 127.0.0.2 ltsp50
> >> >> 192.168.0.254 server
> >> >>
> >> >> where the thin client is lstp50 ... but ... server is not defined in
> >> >> DNS, only in the thin clients /etc/hosts. Logging in at the console
> >> >> for any account also works.
> >> >>
> >> > I've never configured an /etc/hosts file on the thin clients. Is your
> >> > hosts file on the server configured properly?
> >> >
> >> > On my Debian system, /etc/hosts in the chroot looks like this:
> >> >
> >> > #This is a ltsp chroot and this file will be rewritten in boot process
> >> > #of terminal.
> >> > 127.0.0.1 localhost
> >> >
> >> > Not sure if any of this helps you...
> >> >
> >> > -Rob
> >> >
> >> >
> ------------------------------------------------------------------------------
> >> > 10 Tips for Better Server Consolidation
> >> > Server virtualization is being driven by many needs.
> >> > But none more important than the need to reduce IT complexity
> >> > while improving strategic productivity. Learn More!
> >> > http://www.accelacomm.com/jaw/sdnl/114/51507609/
> >> > _____________________________________________________________________
> >> > Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
> >> > https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> >> > For additional LTSP help, try #ltsp channel on irc.freenode.net
> >>
> >>
> ------------------------------------------------------------------------------
> >> 10 Tips for Better Server Consolidation
> >> Server virtualization is being driven by many needs.
> >> But none more important than the need to reduce IT complexity
> >> while improving strategic productivity. Learn More!
> >> http://www.accelacomm.com/jaw/sdnl/114/51507609/
> >> _____________________________________________________________________
> >> Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
> >> https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> >> For additional LTSP help, try #ltsp channel on irc.freenode.net
> >
> >
> ------------------------------------------------------------------------------
> > 10 Tips for Better Server Consolidation
> > Server virtualization is being driven by many needs.
> > But none more important than the need to reduce IT complexity
> > while improving strategic productivity. Learn More!
> > http://www.accelacomm.com/jaw/sdnl/114/51507609/
> > _____________________________________________________________________
> > Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
> > https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> > For additional LTSP help, try #ltsp channel on irc.freenode.net
>
>
> ------------------------------------------------------------------------------
> 10 Tips for Better Server Consolidation
> Server virtualization is being driven by many needs.
> But none more important than the need to reduce IT complexity
> while improving strategic productivity. Learn More!
> http://www.accelacomm.com/jaw/sdnl/114/51507609/
> _____________________________________________________________________
> Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
> https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help, try #ltsp channel on irc.freenode.net
>
--
Peter D Knight
22 Westfort Rd
Houtbay
7806
+27(21)7903579
------------------------------------------------------------------------------
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.
But none more important than the need to reduce IT complexity
while improving strategic productivity. Learn More!
http://www.accelacomm.com/jaw/sdnl/114/51507609/
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net