My local http access is *very* slow when I'm not connected to the internet.
Once connected to the internet it's fine.
If I connect to music.desktop.home while not connected to the internet it
takes about 1-2 minutes to display the opening page.
If I connect to music.desktop.home while connected to the internet it takes
about 1-2 seconds to display the opening page.
Any advice warmly received.
Phil
Here is my configuration:
/etc/hosts
127.0.0.1 localhost
192.168.1.4 desktop desktop.home
192.168.1.13 music.desktop.home
my network card is set up as (from ifconfig)
wlan0 Link encap:Ethernet HWaddr 00:0D:88:9E:50:AA
inet addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20d:88ff:fe9e:50aa/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18778 errors:169163 dropped:0 overruns:0 frame:20642
TX packets:21442 errors:301 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:199
RX bytes:2470882 (2.3 Mb) TX bytes:2295181 (2.1 Mb)
Interrupt:11 Memory:f8d81000-f8d91000
wlan0:2 Link encap:Ethernet HWaddr 00:0D:88:9E:50:AA
inet addr:192.168.1.13 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:11 Memory:f8d81000-f8d91000
My http.conf is standard as shipped with suse v9.0 (apache2)
listen.conf is set as
NameVirtualHost *
In vhosts.d I have one file called music.conf and it's contents are:-
Quoting Phil Burness
My local http access is *very* slow when I'm not connected to the internet. Once connected to the internet it's fine. If I connect to music.desktop.home while not connected to the internet it takes about 1-2 minutes to display the opening page. If I connect to music.desktop.home while connected to the internet it takes about 1-2 seconds to display the opening page.
Any advice warmly received.
What does /etc/nsswitch.conf say? In particular, the host: and networks: lines. It sounds to me like your system is trying to lookup address in DNS and timing out. Are you actually running DNS on the localhost? Does it know about .home? Jeffrey
participants (2)
-
Jeffrey L. Taylor
-
Phil Burness