public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] OT - Why is Gentoo so slow when internet is out?
@ 2005-11-28 20:54 Michael Sullivan
  2005-11-28 21:04 ` Ciaran McCreesh
                   ` (3 more replies)
  0 siblings, 4 replies; 35+ messages in thread
From: Michael Sullivan @ 2005-11-28 20:54 UTC (permalink / raw
  To: gentoo-user

Our cable internet service goes out frequently (and probably even more
frequently now that winter has come to OKlahoma.)  When it goes out,
pretty much everything on my Gentoo system slows down.  It's gotten to
where just to get an application (like gnumeric) to open I have to su -
to root and shut down /etc/init.d/net.eth0 until the Internet comes back
on.  This morning the internet was out and I'd shut down net.eth0 and
then tried to run monodevelop and it refused to start giving me some
message about my PC's hostname not being set correctly in /etc/hosts.  I
checked it and /etc/hosts was correct.  Must just be a glitch with
monodevelop.  My question is what is it about Gentoo that relies so
heavily on connecting to the internet?  My network was running just fine
- just the connection between the cable modem and the internet was down,
but everything inside my router should have been fine...

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?
  2005-11-28 20:54 [gentoo-user] OT - Why is Gentoo so slow when internet is out? Michael Sullivan
@ 2005-11-28 21:04 ` Ciaran McCreesh
  2005-11-28 21:06 ` Danyelle Gragsone
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 35+ messages in thread
From: Ciaran McCreesh @ 2005-11-28 21:04 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1432 bytes --]

On Mon, 28 Nov 2005 14:54:29 -0600 Michael Sullivan
<michael@espersunited.com> wrote:
| Our cable internet service goes out frequently (and probably even more
| frequently now that winter has come to OKlahoma.)  When it goes out,
| pretty much everything on my Gentoo system slows down.  It's gotten to
| where just to get an application (like gnumeric) to open I have to su
| - to root and shut down /etc/init.d/net.eth0 until the Internet comes
| back on.  This morning the internet was out and I'd shut down
| net.eth0 and then tried to run monodevelop and it refused to start
| giving me some message about my PC's hostname not being set correctly
| in /etc/hosts.  I checked it and /etc/hosts was correct.  Must just
| be a glitch with monodevelop.  My question is what is it about Gentoo
| that relies so heavily on connecting to the internet?  My network was
| running just fine
| - just the connection between the cable modem and the internet was
| down, but everything inside my router should have been fine...

Hrm. It's nothing in the base system. I sometimes run my laptop without
network, and I don't have issues. Chances are some app you're running
is trying to do lots of DNS queries... Does 'top' tell you anything
useful?

-- 
Ciaran McCreesh : Gentoo Developer (The one that looks before leaping)
Mail            : ciaranm at gentoo.org
Web             : http://dev.gentoo.org/~ciaranm


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?
  2005-11-28 20:54 [gentoo-user] OT - Why is Gentoo so slow when internet is out? Michael Sullivan
  2005-11-28 21:04 ` Ciaran McCreesh
@ 2005-11-28 21:06 ` Danyelle Gragsone
  2005-11-28 21:22   ` andy
  2005-11-28 22:02   ` Dale
  2005-11-28 21:21 ` [gentoo-user] OT - Why is Gentoo so slow when internet is out? Alexander Kirillov
  2005-11-28 21:37 ` Rob
  3 siblings, 2 replies; 35+ messages in thread
From: Danyelle Gragsone @ 2005-11-28 21:06 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1356 bytes --]

to me.. linux in general has always ran slow if the net connection goes
out.  It might be constantly trying to access the internet.  Kinda like the
a cell phones battery dies alot faster when it cant connect to a tower.  It
just keeps trying til it gets something or the phone dies.

On 11/28/05, Michael Sullivan <michael@espersunited.com> wrote:
>
> Our cable internet service goes out frequently (and probably even more
> frequently now that winter has come to OKlahoma.)  When it goes out,
> pretty much everything on my Gentoo system slows down.  It's gotten to
> where just to get an application (like gnumeric) to open I have to su -
> to root and shut down /etc/init.d/net.eth0 until the Internet comes back
> on.  This morning the internet was out and I'd shut down net.eth0 and
> then tried to run monodevelop and it refused to start giving me some
> message about my PC's hostname not being set correctly in /etc/hosts.  I
> checked it and /etc/hosts was correct.  Must just be a glitch with
> monodevelop.  My question is what is it about Gentoo that relies so
> heavily on connecting to the internet?  My network was running just fine
> - just the connection between the cable modem and the internet was down,
> but everything inside my router should have been fine...
>
> --
> gentoo-user@gentoo.org mailing list
>
>

[-- Attachment #2: Type: text/html, Size: 1770 bytes --]

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?
  2005-11-28 20:54 [gentoo-user] OT - Why is Gentoo so slow when internet is out? Michael Sullivan
  2005-11-28 21:04 ` Ciaran McCreesh
  2005-11-28 21:06 ` Danyelle Gragsone
@ 2005-11-28 21:21 ` Alexander Kirillov
  2005-11-28 21:32   ` Michael Sullivan
  2005-11-28 21:37 ` Rob
  3 siblings, 1 reply; 35+ messages in thread
From: Alexander Kirillov @ 2005-11-28 21:21 UTC (permalink / raw
  To: gentoo-user

> Our cable internet service goes out frequently (and probably even more
> frequently now that winter has come to OKlahoma.)  When it goes out,
> pretty much everything on my Gentoo system slows down.  It's gotten to
> where just to get an application (like gnumeric) to open I have to su -
> to root and shut down /etc/init.d/net.eth0 until the Internet comes back
> on.  This morning the internet was out and I'd shut down net.eth0 and
> then tried to run monodevelop and it refused to start giving me some
> message about my PC's hostname not being set correctly in /etc/hosts.  I
> checked it and /etc/hosts was correct.  Must just be a glitch with
> monodevelop.  My question is what is it about Gentoo that relies so
> heavily on connecting to the internet?  My network was running just fine
> - just the connection between the cable modem and the internet was down,
> but everything inside my router should have been fine...

Do you have nscd running? Try to stop or restart it. It can be a real 
nuisance when internet connection goes down.
It's also a good idea to run dns server locally
if only to troubleshoot name resolution problems.
HTH,
Sasha

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?
  2005-11-28 21:06 ` Danyelle Gragsone
@ 2005-11-28 21:22   ` andy
  2005-11-28 22:02   ` Dale
  1 sibling, 0 replies; 35+ messages in thread
From: andy @ 2005-11-28 21:22 UTC (permalink / raw
  To: gentoo-user

On Mon, 28 Nov 2005 16:06:44 -0500
Danyelle Gragsone <ladynikon@gmail.com> wrote:

i think there are running files that you dont need without a net-device, try to find these processes/services with 
"ps -aux" and "rc-update -s" and stop/kill them

greets

> to me.. linux in general has always ran slow if the net connection goes
> out.  It might be constantly trying to access the internet.  Kinda like the
> a cell phones battery dies alot faster when it cant connect to a tower.  It
> just keeps trying til it gets something or the phone dies.
> 
> On 11/28/05, Michael Sullivan <michael@espersunited.com> wrote:
> >
> > Our cable internet service goes out frequently (and probably even more
> > frequently now that winter has come to OKlahoma.)  When it goes out,
> > pretty much everything on my Gentoo system slows down.  It's gotten to
> > where just to get an application (like gnumeric) to open I have to su -
> > to root and shut down /etc/init.d/net.eth0 until the Internet comes back
> > on.  This morning the internet was out and I'd shut down net.eth0 and
> > then tried to run monodevelop and it refused to start giving me some
> > message about my PC's hostname not being set correctly in /etc/hosts.  I
> > checked it and /etc/hosts was correct.  Must just be a glitch with
> > monodevelop.  My question is what is it about Gentoo that relies so
> > heavily on connecting to the internet?  My network was running just fine
> > - just the connection between the cable modem and the internet was down,
> > but everything inside my router should have been fine...
> >
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?
  2005-11-28 21:21 ` [gentoo-user] OT - Why is Gentoo so slow when internet is out? Alexander Kirillov
@ 2005-11-28 21:32   ` Michael Sullivan
  2005-11-28 21:40     ` Arturo 'Buanzo' Busleiman
                       ` (3 more replies)
  0 siblings, 4 replies; 35+ messages in thread
From: Michael Sullivan @ 2005-11-28 21:32 UTC (permalink / raw
  To: gentoo-user

On Tue, 2005-11-29 at 00:21 +0300, Alexander Kirillov wrote:
> > Our cable internet service goes out frequently (and probably even more
> > frequently now that winter has come to OKlahoma.)  When it goes out,
> > pretty much everything on my Gentoo system slows down.  It's gotten to
> > where just to get an application (like gnumeric) to open I have to su -
> > to root and shut down /etc/init.d/net.eth0 until the Internet comes back
> > on.  This morning the internet was out and I'd shut down net.eth0 and
> > then tried to run monodevelop and it refused to start giving me some
> > message about my PC's hostname not being set correctly in /etc/hosts.  I
> > checked it and /etc/hosts was correct.  Must just be a glitch with
> > monodevelop.  My question is what is it about Gentoo that relies so
> > heavily on connecting to the internet?  My network was running just fine
> > - just the connection between the cable modem and the internet was down,
> > but everything inside my router should have been fine...
> 
> Do you have nscd running? Try to stop or restart it. It can be a real 
> nuisance when internet connection goes down.
> It's also a good idea to run dns server locally
> if only to troubleshoot name resolution problems.
> HTH,
> Sasha
> 

I don't have a full DNS server for my domain.  Each computer on my
network has a copy of the same /etc/hosts file.  Is there some way I can
make it use that for DNS lookups locally?

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?
  2005-11-28 20:54 [gentoo-user] OT - Why is Gentoo so slow when internet is out? Michael Sullivan
                   ` (2 preceding siblings ...)
  2005-11-28 21:21 ` [gentoo-user] OT - Why is Gentoo so slow when internet is out? Alexander Kirillov
@ 2005-11-28 21:37 ` Rob
  2005-11-29 14:27   ` Devon Miller
  3 siblings, 1 reply; 35+ messages in thread
From: Rob @ 2005-11-28 21:37 UTC (permalink / raw
  To: gentoo-user

Michael Sullivan wrote:
> Our cable internet service goes out frequently (and probably even more
> frequently now that winter has come to OKlahoma.)  When it goes out,
> pretty much everything on my Gentoo system slows down.  It's gotten to
> where just to get an application (like gnumeric) to open I have to su -
> to root and shut down /etc/init.d/net.eth0 until the Internet comes back
> on.  This morning the internet was out and I'd shut down net.eth0 and
> then tried to run monodevelop and it refused to start giving me some
> message about my PC's hostname not being set correctly in /etc/hosts.  I
> checked it and /etc/hosts was correct.  Must just be a glitch with
> monodevelop.  My question is what is it about Gentoo that relies so
> heavily on connecting to the internet?  My network was running just fine
> - just the connection between the cable modem and the internet was down,
> but everything inside my router should have been fine...
> 
I saw somewhere in portage a daemon that manages
connection/disconnection from the network.  I think it was for laptops.
 But now I don't know what it is called or where it is in portage.

I wonder if it would work?

Rob.

-- 
----------------------------------
Rob Lytle Home Page
A Seti search for intelligent life in Central Pa.
http://home.comcast.net/~europa100
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?
  2005-11-28 21:32   ` Michael Sullivan
@ 2005-11-28 21:40     ` Arturo 'Buanzo' Busleiman
  2005-11-28 23:15       ` Michael Sullivan
  2005-11-28 21:52     ` Alexander Kirillov
                       ` (2 subsequent siblings)
  3 siblings, 1 reply; 35+ messages in thread
From: Arturo 'Buanzo' Busleiman @ 2005-11-28 21:40 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Sullivan wrote:
> I don't have a full DNS server for my domain.  Each computer on my
> network has a copy of the same /etc/hosts file.  Is there some way I can
> make it use that for DNS lookups locally?

Edit /etc/host.conf - it's well commented.

dnsmasq reads and provides dns resolution based on /etc/hosts, too. additionlly, check  your
/etc/resolv.conf. a "nameserver 127.0.0.1" line should be present, if you want to avoid contacting
the internet for dns lookups, if so your system configured.

- --
Arturo "Buanzo" Busleiman - www.buanzo.com.ar
Consultor en Seguridad Informatica / Dominio Digital TV - Da FOSS man!
KTP Consultores - info AT ktpconsultores.com.ar

Romper un sistema de seguridad los acerca tanto a ser hackers como el
encender autos puenteando los convierte en ingenieros automotrices.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDi3lGAlpOsGhXcE0RAlYoAJ9wn39wS3X93f1mjauNYgSQH6R0VACeJrA3
cUSVn7nMs5xa+Fuodaf/+ek=
=ASRh
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?
  2005-11-28 21:32   ` Michael Sullivan
  2005-11-28 21:40     ` Arturo 'Buanzo' Busleiman
@ 2005-11-28 21:52     ` Alexander Kirillov
  2005-11-28 22:19       ` Richard Fish
  2005-11-28 22:17     ` Alexander Kirillov
  2005-11-29 20:07     ` Timur Aydin
  3 siblings, 1 reply; 35+ messages in thread
From: Alexander Kirillov @ 2005-11-28 21:52 UTC (permalink / raw
  To: gentoo-user

>>>Our cable internet service goes out frequently (and probably even more
>>>frequently now that winter has come to OKlahoma.)  When it goes out,
>>>pretty much everything on my Gentoo system slows down.  It's gotten to
>>>where just to get an application (like gnumeric) to open I have to su -
>>>to root and shut down /etc/init.d/net.eth0 until the Internet comes back
>>>on.  This morning the internet was out and I'd shut down net.eth0 and
>>>then tried to run monodevelop and it refused to start giving me some
>>>message about my PC's hostname not being set correctly in /etc/hosts.  I
>>>checked it and /etc/hosts was correct.  Must just be a glitch with
>>>monodevelop.  My question is what is it about Gentoo that relies so
>>>heavily on connecting to the internet?  My network was running just fine
>>>- just the connection between the cable modem and the internet was down,
>>>but everything inside my router should have been fine...
>>
>>Do you have nscd running? Try to stop or restart it. It can be a real 
>>nuisance when internet connection goes down.
>>It's also a good idea to run dns server locally
>>if only to troubleshoot name resolution problems.
>
> I don't have a full DNS server for my domain.  Each computer on my
> network has a copy of the same /etc/hosts file.  Is there some way I can
> make it use that for DNS lookups locally?

The local resolver lib will use either /etc/hosts file or dns queries in 
the order defined in your /etc/host.conf
Anyway I think it makes sense to go through the chores of setting up
local dns server ones to save some time later down the road.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?
  2005-11-28 21:06 ` Danyelle Gragsone
  2005-11-28 21:22   ` andy
@ 2005-11-28 22:02   ` Dale
  2005-11-28 22:43     ` [gentoo-user] OT - Why is Gentoo so slow when internet is out? + question Ognjen Bezanov
  1 sibling, 1 reply; 35+ messages in thread
From: Dale @ 2005-11-28 22:02 UTC (permalink / raw
  To: gentoo-user

Danyelle Gragsone wrote:

> to me.. linux in general has always ran slow if the net connection
> goes out.  It might be constantly trying to access the internet. 
> Kinda like the a cell phones battery dies alot faster when it cant
> connect to a tower.  It just keeps trying til it gets something or the
> phone dies.

That's funny.  I'm on dial-up and I see no difference at all.  I even
run ntp which sets my clock and keeps it on track for me and there is no
difference when I am connected and when I am not.

Yes, I have three network cards installed and running all the time.  I
do have a local LAN here with three other rigs connected.

This is not making sense.  If what you guys are saying is correct,
people on dial-up can't use Linux.  That's not right.

Dale
:-)

-- 
To err is human, I'm most certainly human.

 

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?
  2005-11-28 21:32   ` Michael Sullivan
  2005-11-28 21:40     ` Arturo 'Buanzo' Busleiman
  2005-11-28 21:52     ` Alexander Kirillov
@ 2005-11-28 22:17     ` Alexander Kirillov
  2005-11-29 20:07     ` Timur Aydin
  3 siblings, 0 replies; 35+ messages in thread
From: Alexander Kirillov @ 2005-11-28 22:17 UTC (permalink / raw
  To: gentoo-user

>>>Our cable internet service goes out frequently (and probably even more
>>>frequently now that winter has come to OKlahoma.)  When it goes out,
>>>pretty much everything on my Gentoo system slows down.  It's gotten to
>>>where just to get an application (like gnumeric) to open I have to su -
>>>to root and shut down /etc/init.d/net.eth0 until the Internet comes back
>>>on.  This morning the internet was out and I'd shut down net.eth0 and
>>>then tried to run monodevelop and it refused to start giving me some
>>>message about my PC's hostname not being set correctly in /etc/hosts.  I
>>>checked it and /etc/hosts was correct.  Must just be a glitch with
>>>monodevelop.  My question is what is it about Gentoo that relies so
>>>heavily on connecting to the internet?  My network was running just fine
>>>- just the connection between the cable modem and the internet was down,
>>>but everything inside my router should have been fine...
>>
>>Do you have nscd running? Try to stop or restart it. It can be a real 
>>nuisance when internet connection goes down.
>>It's also a good idea to run dns server locally
>>if only to troubleshoot name resolution problems.
>>HTH,
>>Sasha
> 
> 
> I don't have a full DNS server for my domain.  Each computer on my
> network has a copy of the same /etc/hosts file.  Is there some way I can
> make it use that for DNS lookups locally?
> 

http://gentoo-wiki.com/HOWTO_setup_a_home-server
may be of use though I've never tried dnsmasq myself.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?
  2005-11-28 21:52     ` Alexander Kirillov
@ 2005-11-28 22:19       ` Richard Fish
  2005-11-28 23:13         ` Alexander Kirillov
  0 siblings, 1 reply; 35+ messages in thread
From: Richard Fish @ 2005-11-28 22:19 UTC (permalink / raw
  To: gentoo-user

On 11/28/05, Alexander Kirillov <nevis2us@infoline.su> wrote:
> The local resolver lib will use either /etc/hosts file or dns queries in
> the order defined in your /etc/host.conf

You mean /etc/nsswitch.conf?

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out? + question
  2005-11-28 22:02   ` Dale
@ 2005-11-28 22:43     ` Ognjen Bezanov
  2005-11-28 23:24       ` Nick Rout
                         ` (2 more replies)
  0 siblings, 3 replies; 35+ messages in thread
From: Ognjen Bezanov @ 2005-11-28 22:43 UTC (permalink / raw
  To: gentoo-user

Dale wrote:

>Danyelle Gragsone wrote:
>
>  
>
>>to me.. linux in general has always ran slow if the net connection
>>goes out.  It might be constantly trying to access the internet. 
>>Kinda like the a cell phones battery dies alot faster when it cant
>>connect to a tower.  It just keeps trying til it gets something or the
>>phone dies.
>>    
>>
>
>That's funny.  I'm on dial-up and I see no difference at all.  I even
>run ntp which sets my clock and keeps it on track for me and there is no
>difference when I am connected and when I am not.
>
>Yes, I have three network cards installed and running all the time.  I
>do have a local LAN here with three other rigs connected.
>
>This is not making sense.  If what you guys are saying is correct,
>people on dial-up can't use Linux.  That's not right.
>
>Dale
>:-)
>
>  
>
I have a gentoo system (Actually I have four of them) and they dont 
experience a slowdown when my internet connection goes down (which it 
invariably does because my ISP reboots its servers every 28 days as a 
policy, thereby disconnecting me ). Chances are its a particular program 
thats trying to connect to the net and failing, thereby using cycles in 
new attempts.

While we are at it, does there exist a program that can monitor my 
internet connection and run a script if the net is down (like a restart 
script)? I dont want to have to come home and ssh in to restart 
everytime my ISP reboots its M$ Servers.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?
  2005-11-28 22:19       ` Richard Fish
@ 2005-11-28 23:13         ` Alexander Kirillov
  2005-11-29  0:21           ` Richard Fish
  0 siblings, 1 reply; 35+ messages in thread
From: Alexander Kirillov @ 2005-11-28 23:13 UTC (permalink / raw
  To: gentoo-user

>>The local resolver lib will use either /etc/hosts file or dns queries in
>>the order defined in your /etc/host.conf
> 
> You mean /etc/nsswitch.conf?

I probably do. Is /etc/host.conf still of any use?

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?
  2005-11-28 21:40     ` Arturo 'Buanzo' Busleiman
@ 2005-11-28 23:15       ` Michael Sullivan
  0 siblings, 0 replies; 35+ messages in thread
From: Michael Sullivan @ 2005-11-28 23:15 UTC (permalink / raw
  To: gentoo-user

On Mon, 2005-11-28 at 18:40 -0300, Arturo 'Buanzo' Busleiman wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Michael Sullivan wrote:
> > I don't have a full DNS server for my domain.  Each computer on my
> > network has a copy of the same /etc/hosts file.  Is there some way I can
> > make it use that for DNS lookups locally?
> 
> Edit /etc/host.conf - it's well commented.
> 
> dnsmasq reads and provides dns resolution based on /etc/hosts, too. additionlly, check  your
> /etc/resolv.conf. a "nameserver 127.0.0.1" line should be present, if you want to avoid contacting
> the internet for dns lookups, if so your system configured.
> 
> - --
> Arturo "Buanzo" Busleiman - www.buanzo.com.ar
> Consultor en Seguridad Informatica / Dominio Digital TV - Da FOSS man!
> KTP Consultores - info AT ktpconsultores.com.ar
> 
> Romper un sistema de seguridad los acerca tanto a ser hackers como el
> encender autos puenteando los convierte en ingenieros automotrices.

The loopback address wasn't in my /etc/resolv.conf, so I added it and
restarted net.eth0....

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out? + question
  2005-11-28 22:43     ` [gentoo-user] OT - Why is Gentoo so slow when internet is out? + question Ognjen Bezanov
@ 2005-11-28 23:24       ` Nick Rout
  2005-11-28 23:58         ` Michael Sullivan
  2005-11-29  0:21         ` Shawn Singh
  2005-11-29  0:11       ` Dale
  2005-11-29 12:35       ` Ben Edwards
  2 siblings, 2 replies; 35+ messages in thread
From: Nick Rout @ 2005-11-28 23:24 UTC (permalink / raw
  To: gentoo-user


On Mon, 28 Nov 2005 22:43:01 +0000
Ognjen Bezanov wrote:

> 
> I have a gentoo system (Actually I have four of them) and they dont 
> experience a slowdown when my internet connection goes down (which it 
> invariably does because my ISP reboots its servers every 28 days as a 
> policy, thereby disconnecting me ). Chances are its a particular program 
> thats trying to connect to the net and failing, thereby using cycles in 
> new attempts.
> 
> While we are at it, does there exist a program that can monitor my 
> internet connection and run a script if the net is down (like a restart 
> script)? I dont want to have to come home and ssh in to restart 
> everytime my ISP reboots its M$ Servers.

many programs do a dns lookup on connection, to see who is trying to
connect. It should be managed on your lan with /etc/hosts if you have it
sorted properly.

can you ping via name to other machines on your lan?

> 
> -- 
> gentoo-user@gentoo.org mailing list

-- 
Nick Rout <nick@rout.co.nz>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out? + question
  2005-11-28 23:24       ` Nick Rout
@ 2005-11-28 23:58         ` Michael Sullivan
  2005-11-29  0:56           ` John Jolet
  2005-11-29 18:58           ` Billy Holmes
  2005-11-29  0:21         ` Shawn Singh
  1 sibling, 2 replies; 35+ messages in thread
From: Michael Sullivan @ 2005-11-28 23:58 UTC (permalink / raw
  To: gentoo-user

On Tue, 2005-11-29 at 12:24 +1300, Nick Rout wrote:
> On Mon, 28 Nov 2005 22:43:01 +0000
> Ognjen Bezanov wrote:
> 
> > 
> > I have a gentoo system (Actually I have four of them) and they dont 
> > experience a slowdown when my internet connection goes down (which it 
> > invariably does because my ISP reboots its servers every 28 days as a 
> > policy, thereby disconnecting me ). Chances are its a particular program 
> > thats trying to connect to the net and failing, thereby using cycles in 
> > new attempts.
> > 
> > While we are at it, does there exist a program that can monitor my 
> > internet connection and run a script if the net is down (like a restart 
> > script)? I dont want to have to come home and ssh in to restart 
> > everytime my ISP reboots its M$ Servers.
> 
> many programs do a dns lookup on connection, to see who is trying to
> connect. It should be managed on your lan with /etc/hosts if you have it
> sorted properly.
> 
> can you ping via name to other machines on your lan?

Yes I can.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out? + question
  2005-11-28 22:43     ` [gentoo-user] OT - Why is Gentoo so slow when internet is out? + question Ognjen Bezanov
  2005-11-28 23:24       ` Nick Rout
@ 2005-11-29  0:11       ` Dale
  2005-11-29  0:23         ` Michael Sullivan
  2005-11-29 12:35       ` Ben Edwards
  2 siblings, 1 reply; 35+ messages in thread
From: Dale @ 2005-11-29  0:11 UTC (permalink / raw
  To: gentoo-user

Ognjen Bezanov wrote:

>  I dont want to have to come home and ssh in to restart everytime my
> ISP reboots its M$ Servers.

It's funny that you say that.  One of the first things I asked my ISP
when I was looking for one, what OS do you use?  If they didn't use
*nix, I was going to keep looking.  It is very rare that I have any
trouble either.

Another thing I like about mine is the service.  When I call them, I get
a live human being that answers the phone.  They don't have a automated
thingy, just people.  I have talked to the owner once and have actually
had the guys that run the network to call me for help.  I am the only
one that runs Linux with the logs turned on and it gives them a lot of
info if they are having any connection problems.  I guess windoze
doesn't.  They call me and get me to connect and see what happens.  If I
can't connect, I call them back and read them the log files and the boo
boo message.  They had the login/password file get borked once.  They
said it was there but it was messed up.  They took the one from their
back-ups and up it went.  We were surfing again.  :)

Ever consider switching ISPs or are you stuck with the one you have? 
I'll switch for DSL but that is about it.  Dial-up sucks, 26K is all I
get here.

Dale
:) :)

-- 
To err is human, I'm most certainly human.

 

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?
  2005-11-28 23:13         ` Alexander Kirillov
@ 2005-11-29  0:21           ` Richard Fish
  2005-11-29  5:54             ` Richard Fish
  0 siblings, 1 reply; 35+ messages in thread
From: Richard Fish @ 2005-11-29  0:21 UTC (permalink / raw
  To: gentoo-user

On 11/28/05, Alexander Kirillov <nevis2us@infoline.su> wrote:
> >>The local resolver lib will use either /etc/hosts file or dns queries in
> >>the order defined in your /etc/host.conf
> >
> > You mean /etc/nsswitch.conf?
>
> I probably do. Is /etc/host.conf still of any use?

Actually, I'm not sure.  I've always edited nsswitch.conf to get it to
do what I want, with good results.

I see with strace that when I ping <somehost>, both nsswitch.conf and
host.conf are opened.  The man pages don't reveal anything about their
relationship, so I guess I'll have to take a look at the glibc sources
tonight.

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out? + question
  2005-11-28 23:24       ` Nick Rout
  2005-11-28 23:58         ` Michael Sullivan
@ 2005-11-29  0:21         ` Shawn Singh
  1 sibling, 0 replies; 35+ messages in thread
From: Shawn Singh @ 2005-11-29  0:21 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1639 bytes --]

I've experienced a few outages (mainly due to inclement weather), but not
seen my Gentoo system slow down at all; however, I have seen my Fedora Core
4 and Mandrake 9.2 boxes slow down when their connection to the Internet is
lost, but that is normally due to some service / app that relies on Internet
connectivity.

I'd check to see what services  and applications are running and determine
which of them may be causing the problem.

On 11/28/05, Nick Rout <nick@rout.co.nz> wrote:
>
>
> On Mon, 28 Nov 2005 22:43:01 +0000
> Ognjen Bezanov wrote:
>
> >
> > I have a gentoo system (Actually I have four of them) and they dont
> > experience a slowdown when my internet connection goes down (which it
> > invariably does because my ISP reboots its servers every 28 days as a
> > policy, thereby disconnecting me ). Chances are its a particular program
> > thats trying to connect to the net and failing, thereby using cycles in
> > new attempts.
> >
> > While we are at it, does there exist a program that can monitor my
> > internet connection and run a script if the net is down (like a restart
> > script)? I dont want to have to come home and ssh in to restart
> > everytime my ISP reboots its M$ Servers.
>
> many programs do a dns lookup on connection, to see who is trying to
> connect. It should be managed on your lan with /etc/hosts if you have it
> sorted properly.
>
> can you ping via name to other machines on your lan?
>
> >
> > --
> > gentoo-user@gentoo.org mailing list
>
> --
> Nick Rout <nick@rout.co.nz>
>
> --
> gentoo-user@gentoo.org mailing list
>
>


--
Shawn Singh

[-- Attachment #2: Type: text/html, Size: 2133 bytes --]

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out? + question
  2005-11-29  0:11       ` Dale
@ 2005-11-29  0:23         ` Michael Sullivan
  2005-11-29  1:14           ` Dale
  0 siblings, 1 reply; 35+ messages in thread
From: Michael Sullivan @ 2005-11-29  0:23 UTC (permalink / raw
  To: gentoo-user

On Mon, 2005-11-28 at 18:11 -0600, Dale wrote:
> Ognjen Bezanov wrote:
> 
> >  I dont want to have to come home and ssh in to restart everytime my
> > ISP reboots its M$ Servers.
> 
> It's funny that you say that.  One of the first things I asked my ISP
> when I was looking for one, what OS do you use?  If they didn't use
> *nix, I was going to keep looking.  It is very rare that I have any
> trouble either.
> 
> Another thing I like about mine is the service.  When I call them, I get
> a live human being that answers the phone.  They don't have a automated
> thingy, just people.  I have talked to the owner once and have actually
> had the guys that run the network to call me for help.  I am the only
> one that runs Linux with the logs turned on and it gives them a lot of
> info if they are having any connection problems.  I guess windoze
> doesn't.  They call me and get me to connect and see what happens.  If I
> can't connect, I call them back and read them the log files and the boo
> boo message.  They had the login/password file get borked once.  They
> said it was there but it was messed up.  They took the one from their
> back-ups and up it went.  We were surfing again.  :)
> 
> Ever consider switching ISPs or are you stuck with the one you have? 
> I'll switch for DSL but that is about it.  Dial-up sucks, 26K is all I
> get here.
> 
> Dale
> :) :)
> 
> -- 
> To err is human, I'm most certainly human.

My wife says that we can try SBC DSL after the new year starts (when we
can afford it.)  I just hope that I can get everything converted over to
PPP....

 


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out? + question
  2005-11-28 23:58         ` Michael Sullivan
@ 2005-11-29  0:56           ` John Jolet
  2005-11-29 18:58           ` Billy Holmes
  1 sibling, 0 replies; 35+ messages in thread
From: John Jolet @ 2005-11-29  0:56 UTC (permalink / raw
  To: gentoo-user

On Monday 28 November 2005 17:58, Michael Sullivan wrote:
> On Tue, 2005-11-29 at 12:24 +1300, Nick Rout wrote:
> > On Mon, 28 Nov 2005 22:43:01 +0000
> >
> > Ognjen Bezanov wrote:
> > > I have a gentoo system (Actually I have four of them) and they dont
> > > experience a slowdown when my internet connection goes down (which it
> > > invariably does because my ISP reboots its servers every 28 days as a
> > > policy, thereby disconnecting me ). Chances are its a particular
> > > program thats trying to connect to the net and failing, thereby using
> > > cycles in new attempts.
> > >
> > > While we are at it, does there exist a program that can monitor my
> > > internet connection and run a script if the net is down (like a restart
> > > script)? I dont want to have to come home and ssh in to restart
> > > everytime my ISP reboots its M$ Servers.
>
ifplugd works, at least at the ethernet level.
 >
> > many programs do a dns lookup on connection, to see who is trying to
> > connect. It should be managed on your lan with /etc/hosts if you have it
> > sorted properly.
> >
> > can you ping via name to other machines on your lan?
>
> Yes I can.

-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
john@jolet.net
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out? + question
  2005-11-29  0:23         ` Michael Sullivan
@ 2005-11-29  1:14           ` Dale
  0 siblings, 0 replies; 35+ messages in thread
From: Dale @ 2005-11-29  1:14 UTC (permalink / raw
  To: gentoo-user

Michael Sullivan wrote:

>On Mon, 2005-11-28 at 18:11 -0600, Dale wrote:
>  
>
>
>My wife says that we can try SBC DSL after the new year starts (when we
>can afford it.)  I just hope that I can get everything converted over to
>PPP....
>  
>
I !think! they use windoze too.  Aren't they the same as Bell South?  I know Bell South uses windoze because it is a nightmare paying my bill online.  Since I am on a slow dial-up their servers keep timing out on me.  I notice windoze does this a lot more *nix servers do.

Later

Dale
:-)

-- 
To err is human, I'm most certainly human.

 

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?
  2005-11-29  0:21           ` Richard Fish
@ 2005-11-29  5:54             ` Richard Fish
  2005-11-29 11:22               ` Alexander Kirillov
  0 siblings, 1 reply; 35+ messages in thread
From: Richard Fish @ 2005-11-29  5:54 UTC (permalink / raw
  To: gentoo-user

On 11/28/05, Richard Fish <bigfish@asmallpond.org> wrote:
> On 11/28/05, Alexander Kirillov <nevis2us@infoline.su> wrote:
> > >>The local resolver lib will use either /etc/hosts file or dns queries in
> > >>the order defined in your /etc/host.conf
> > >
> > > You mean /etc/nsswitch.conf?
> >
> > I probably do. Is /etc/host.conf still of any use?
>
> Actually, I'm not sure.  I've always edited nsswitch.conf to get it to
> do what I want, with good results.
>
> I see with strace that when I ping <somehost>, both nsswitch.conf and
> host.conf are opened.  The man pages don't reveal anything about their
> relationship, so I guess I'll have to take a look at the glibc sources
> tonight.

As close as I can tell from reading the code (which is to say, I am
making an only slightly educated guess), the 'order' keyword in
host.conf is pretty much ignored by current glibc versions.  Host.conf
is only consulted by the libnss_files.so module, and then only for the
'multi' option.  The order in nsswitch.conf is authoritative.

This seems to be confirmed by a few "strace ping" attempts with
various configurations.

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?
  2005-11-29  5:54             ` Richard Fish
@ 2005-11-29 11:22               ` Alexander Kirillov
  0 siblings, 0 replies; 35+ messages in thread
From: Alexander Kirillov @ 2005-11-29 11:22 UTC (permalink / raw
  To: gentoo-user

>>>>>The local resolver lib will use either /etc/hosts file or dns queries in
>>>>>the order defined in your /etc/host.conf
>>>>
>>>>You mean /etc/nsswitch.conf?
>>>
>>>I probably do. Is /etc/host.conf still of any use?
>>
>>Actually, I'm not sure.  I've always edited nsswitch.conf to get it to
>>do what I want, with good results.
>>
>>I see with strace that when I ping <somehost>, both nsswitch.conf and
>>host.conf are opened.  The man pages don't reveal anything about their
>>relationship, so I guess I'll have to take a look at the glibc sources
>>tonight.
> 
> As close as I can tell from reading the code (which is to say, I am
> making an only slightly educated guess), the 'order' keyword in
> host.conf is pretty much ignored by current glibc versions.  Host.conf
> is only consulted by the libnss_files.so module, and then only for the
> 'multi' option.  The order in nsswitch.conf is authoritative.
> 
> This seems to be confirmed by a few "strace ping" attempts with
> various configurations.

Thanks Rich,
I also was curious and spent some time googling
and reading man pages (without success) but didn't go that far:)
Sasha

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out? + question
  2005-11-28 22:43     ` [gentoo-user] OT - Why is Gentoo so slow when internet is out? + question Ognjen Bezanov
  2005-11-28 23:24       ` Nick Rout
  2005-11-29  0:11       ` Dale
@ 2005-11-29 12:35       ` Ben Edwards
  2 siblings, 0 replies; 35+ messages in thread
From: Ben Edwards @ 2005-11-29 12:35 UTC (permalink / raw
  To: gentoo-user

On 28/11/05, Ognjen Bezanov <ognjen@mailshack.com> wrote:
....
> >>to me.. linux in general has always ran slow if the net connection
> >>goes out.  It might be constantly trying to access the internet.
> >>Kinda like the a cell phones battery dies alot faster when it cant
> >>connect to a tower.  It just keeps trying til it gets something or the
> >>phone dies.
> >>

I had a problem of slowness a while ago and it was because my loopback
interface was missing.  Something to check.

Ben
--
Ben Edwards - Exeter & Bristol, UK, England
WARNING:This email contained partisan views - don't ever accuse me of
using the veneer of objectivity
If you have a problem emailing me use
http://www.gurtlush.org.uk/profiles.php?uid=4
(email address this email is sent from may be defunct)

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?
  2005-11-29 20:17       ` Michael Sullivan
@ 2005-11-29 13:25         ` Josh Helmer
  2005-11-29 20:32           ` Michael Sullivan
  0 siblings, 1 reply; 35+ messages in thread
From: Josh Helmer @ 2005-11-29 13:25 UTC (permalink / raw
  To: gentoo-user

On Tuesday 29 November 2005 08:17 pm, Michael Sullivan wrote:
> Yeah.  Each one has an entry that says
>
> 127.0.0.1	localhost.localdomain	localhost
>
> and then it has an entry consisting of
>
> 192.168.1.?	name.espersunited.com	name


Looks correct to me.

Someone may have already suggested this (if so, sorry), but how about 
your /etc/nsswitch.conf file?  Are you  checking the hosts file before you 
try a dns lookup?

Josh
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?
  2005-11-28 21:37 ` Rob
@ 2005-11-29 14:27   ` Devon Miller
  2005-11-29 15:13     ` Neil Bothwick
  0 siblings, 1 reply; 35+ messages in thread
From: Devon Miller @ 2005-11-29 14:27 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1068 bytes --]

On 11/28/05, Rob <europa100@comcast.net> wrote:
>
>
> I saw somewhere in portage a daemon that manages
> connection/disconnection from the network.  I think it was for laptops.
> But now I don't know what it is called or where it is in portage.
>
> I wonder if it would work?
>
> Rob.
>

That would be ifplugd. It listens for a variety of state changes such as
insertion of a pcmcia/cardbus/usb NIC or presense/absence of carrier on the
ethernet device. When a device becomes available, it runs "/etc/init.d/net.
device start" and when the device goes away/loses carrier, it runs
"/etc/init.d/net.device stop".

That should address the first of Michael's issues. I've not used
monodevelop, but as I recall from using VS.Net, it wants to talk to the
local webserver. Check what /usr/bin/hostname returns when your connected
and when you're offline. Make sure when you go offline it isn't still
returning something like foo.cablecompany.net. I have my machine's hostname
set in /etc/conf.d/hostname and hostname is in my boot run level.

-dcm-

[-- Attachment #2: Type: text/html, Size: 1857 bytes --]

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?
  2005-11-29 14:27   ` Devon Miller
@ 2005-11-29 15:13     ` Neil Bothwick
  0 siblings, 0 replies; 35+ messages in thread
From: Neil Bothwick @ 2005-11-29 15:13 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 915 bytes --]

On Tue, 29 Nov 2005 09:27:23 -0500, Devon Miller wrote:

> > I saw somewhere in portage a daemon that manages
> > connection/disconnection from the network.  I think it was for
> > laptops. But now I don't know what it is called or where it is in
> > portage.

> That would be ifplugd. It listens for a variety of state changes such as
> insertion of a pcmcia/cardbus/usb NIC or presense/absence of carrier on
> the ethernet device. When a device becomes available, it runs
> "/etc/init.d/net. device start" and when the device goes away/loses
> carrier, it runs "/etc/init.d/net.device stop".

I don't think ifplugd will help here. it only checks the link beat on the
ethernet connection. As long as the computer is connected to the cable
modem, it will report the link as up, even if the connection from the
modem to the Internet is down.


-- 
Neil Bothwick

I doubt therefore I might be.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out? + question
  2005-11-28 23:58         ` Michael Sullivan
  2005-11-29  0:56           ` John Jolet
@ 2005-11-29 18:58           ` Billy Holmes
  2005-11-29 19:29             ` Michael Sullivan
  1 sibling, 1 reply; 35+ messages in thread
From: Billy Holmes @ 2005-11-29 18:58 UTC (permalink / raw
  To: gentoo-user

Michael Sullivan wrote:

>>can you ping via name to other machines on your lan?
> Yes I can.

maybe put some of your local machines into your /etc/hosts file, so it 
won't attempt to do dns lookups on them.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out? + question
  2005-11-29 18:58           ` Billy Holmes
@ 2005-11-29 19:29             ` Michael Sullivan
  0 siblings, 0 replies; 35+ messages in thread
From: Michael Sullivan @ 2005-11-29 19:29 UTC (permalink / raw
  To: gentoo-user

On Tue, 2005-11-29 at 13:58 -0500, Billy Holmes wrote:
> Michael Sullivan wrote:
> 
> >>can you ping via name to other machines on your lan?
> > Yes I can.
> 
> maybe put some of your local machines into your /etc/hosts file, so it 
> won't attempt to do dns lookups on them.

Every computer in my network is listed in /etc/hosts, and the /etc/hosts
file is then copied to every computer in the network.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?
  2005-11-28 21:32   ` Michael Sullivan
                       ` (2 preceding siblings ...)
  2005-11-28 22:17     ` Alexander Kirillov
@ 2005-11-29 20:07     ` Timur Aydin
  2005-11-29 20:17       ` Michael Sullivan
  2005-11-29 20:18       ` Manuel McLure
  3 siblings, 2 replies; 35+ messages in thread
From: Timur Aydin @ 2005-11-29 20:07 UTC (permalink / raw
  To: gentoo-user

Michael Sullivan <michael@espersunited.com> writes:

> I don't have a full DNS server for my domain.  Each computer on my
> network has a copy of the same /etc/hosts file.  Is there some way I can
> make it use that for DNS lookups locally?

Having the exact same copy on each system does not sound
correct. There should be a "localhost" alias in each /etc/hosts and it
should point to the IP address of the relevant machine.

-- 
Timur Aydin
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?
  2005-11-29 20:07     ` Timur Aydin
@ 2005-11-29 20:17       ` Michael Sullivan
  2005-11-29 13:25         ` Josh Helmer
  2005-11-29 20:18       ` Manuel McLure
  1 sibling, 1 reply; 35+ messages in thread
From: Michael Sullivan @ 2005-11-29 20:17 UTC (permalink / raw
  To: gentoo-user

On Tue, 2005-11-29 at 22:07 +0200, Timur Aydin wrote:
> Michael Sullivan <michael@espersunited.com> writes:
> 
> > I don't have a full DNS server for my domain.  Each computer on my
> > network has a copy of the same /etc/hosts file.  Is there some way I can
> > make it use that for DNS lookups locally?
> 
> Having the exact same copy on each system does not sound
> correct. There should be a "localhost" alias in each /etc/hosts and it
> should point to the IP address of the relevant machine.
> 
> -- 
> Timur Aydin

Yeah.  Each one has an entry that says 

127.0.0.1	localhost.localdomain	localhost

and then it has an entry consisting of 

192.168.1.?	name.espersunited.com	name

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?
  2005-11-29 20:07     ` Timur Aydin
  2005-11-29 20:17       ` Michael Sullivan
@ 2005-11-29 20:18       ` Manuel McLure
  1 sibling, 0 replies; 35+ messages in thread
From: Manuel McLure @ 2005-11-29 20:18 UTC (permalink / raw
  To: gentoo-user

Timur Aydin wrote:
> Having the exact same copy on each system does not sound
> correct. There should be a "localhost" alias in each /etc/hosts and it
> should point to the IP address of the relevant machine.

No. Nononono. "localhost" should always point to 127.0.0.1.

-- 
Manuel A. McLure KE6TAW <manuel@mclure.org> <http://www.mclure.org>
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?
  2005-11-29 13:25         ` Josh Helmer
@ 2005-11-29 20:32           ` Michael Sullivan
  0 siblings, 0 replies; 35+ messages in thread
From: Michael Sullivan @ 2005-11-29 20:32 UTC (permalink / raw
  To: gentoo-user

On Tue, 2005-11-29 at 13:25 +0000, Josh Helmer wrote:
> On Tuesday 29 November 2005 08:17 pm, Michael Sullivan wrote:
> > Yeah.  Each one has an entry that says
> >
> > 127.0.0.1	localhost.localdomain	localhost
> >
> > and then it has an entry consisting of
> >
> > 192.168.1.?	name.espersunited.com	name
> 
> 
> Looks correct to me.
> 
> Someone may have already suggested this (if so, sorry), but how about 
> your /etc/nsswitch.conf file?  Are you  checking the hosts file before you 
> try a dns lookup?
> 
> Josh

michael@camille ~ $ cat /etc/nsswitch.conf
# /etc/nsswitch.conf:
# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/nsswitch.conf,v
1.1 2005/05/17 00:52:41 vapier Exp $

passwd:      compat
shadow:      compat
group:       compat

# passwd:    db files nis
# shadow:    db files nis
# group:     db files nis

hosts:       files dns
networks:    files dns

services:    db files
protocols:   db files
rpc:         db files
ethers:      db files
netmasks:    files
netgroup:    files
bootparams:  files

automount:   files
aliases:     files


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2005-11-29 20:40 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-28 20:54 [gentoo-user] OT - Why is Gentoo so slow when internet is out? Michael Sullivan
2005-11-28 21:04 ` Ciaran McCreesh
2005-11-28 21:06 ` Danyelle Gragsone
2005-11-28 21:22   ` andy
2005-11-28 22:02   ` Dale
2005-11-28 22:43     ` [gentoo-user] OT - Why is Gentoo so slow when internet is out? + question Ognjen Bezanov
2005-11-28 23:24       ` Nick Rout
2005-11-28 23:58         ` Michael Sullivan
2005-11-29  0:56           ` John Jolet
2005-11-29 18:58           ` Billy Holmes
2005-11-29 19:29             ` Michael Sullivan
2005-11-29  0:21         ` Shawn Singh
2005-11-29  0:11       ` Dale
2005-11-29  0:23         ` Michael Sullivan
2005-11-29  1:14           ` Dale
2005-11-29 12:35       ` Ben Edwards
2005-11-28 21:21 ` [gentoo-user] OT - Why is Gentoo so slow when internet is out? Alexander Kirillov
2005-11-28 21:32   ` Michael Sullivan
2005-11-28 21:40     ` Arturo 'Buanzo' Busleiman
2005-11-28 23:15       ` Michael Sullivan
2005-11-28 21:52     ` Alexander Kirillov
2005-11-28 22:19       ` Richard Fish
2005-11-28 23:13         ` Alexander Kirillov
2005-11-29  0:21           ` Richard Fish
2005-11-29  5:54             ` Richard Fish
2005-11-29 11:22               ` Alexander Kirillov
2005-11-28 22:17     ` Alexander Kirillov
2005-11-29 20:07     ` Timur Aydin
2005-11-29 20:17       ` Michael Sullivan
2005-11-29 13:25         ` Josh Helmer
2005-11-29 20:32           ` Michael Sullivan
2005-11-29 20:18       ` Manuel McLure
2005-11-28 21:37 ` Rob
2005-11-29 14:27   ` Devon Miller
2005-11-29 15:13     ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox