Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-07-2005, 03:10 PM
|
#1
|
Member
Registered: May 2004
Location: Plymouth, Devon, Great Britain
Distribution: Fedora Core 3, Windows XP
Posts: 52
Rep:
|
KDDE Apps don't recognise internet
KDE 3.5
Ubuntu 5.10 "Breezy"
At the moment, all applications except KDE-related applications such as Konqueror or AmaroK can connect to the internet. While amazon.com displays fine in Opera and Firefox, the following message is displayed in Konqueror:
An error occurred while loading http://www.amazon.com:
Could not connect to host http://www.amazon.com/.
It's even the same for connecting to the localhost apache server. While http://rei/ works fine in Opera and Firefox, yet also returns a Cannot Connect error in Konqueror.
I have no idea what's going on, as the settings in KControl seem to be pretty sound. Any ideas what's happening?
|
|
|
12-07-2005, 04:31 PM
|
#2
|
Senior Member
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794
Rep:
|
1. Make sure you have nsswitch and lwresd installed
2. Configure your /etc/nsswitch file to read as follows for these two settings:
hosts: lwres files dns
networks: lwres files dns
3. Make sure you have lwresd starting with runlevels 5 and 3
|
|
|
12-07-2005, 05:07 PM
|
#3
|
Member
Registered: May 2004
Location: Plymouth, Devon, Great Britain
Distribution: Fedora Core 3, Windows XP
Posts: 52
Original Poster
Rep:
|
Didn't work. Though come to think of it, it's only happened since I installed KDE 3.5. I refused to allow it to overwrite any previous scripts, so I'll get it to reinstall KDE3.5 and see if that helps.
Also, here's the contents of my /etc/nsswitch.conf file:
Code:
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: lwres files dns
networks: lwres files dns
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
|
|
|
12-07-2005, 05:33 PM
|
#4
|
Senior Member
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794
Rep:
|
Do nslookup, whois, ping, and host work as expected? If you try say, telnet and ssh do they resolve correctly?
|
|
|
12-07-2005, 05:41 PM
|
#5
|
Member
Registered: May 2004
Location: Plymouth, Devon, Great Britain
Distribution: Fedora Core 3, Windows XP
Posts: 52
Original Poster
Rep:
|
nslookup works perfectly
Code:
michael@rei:~$ nslookup
> www.google.com
Server: 194.72.0.98
Address: 194.72.0.98#53
Non-authoritative answer:
www.google.com canonical name = www.l.google.com.
Name: www.l.google.com
Address: 66.249.93.99
Name: www.l.google.com
Address: 66.249.93.104
I just find it strange that only the KDE apps can't access the internet, as opposed to every application.
--
Stranger still, FTP works perfectly. It just seems like there's a problem with the HTTP aspect of Konqueror, and KDE in general.
Last edited by DoddyUK; 12-07-2005 at 05:44 PM.
|
|
|
All times are GMT -5. The time now is 11:44 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|