LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-07-2005, 03:10 PM   #1
DoddyUK
Member
 
Registered: May 2004
Location: Plymouth, Devon, Great Britain
Distribution: Fedora Core 3, Windows XP
Posts: 52

Rep: Reputation: 15
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?
 
Old 12-07-2005, 04:31 PM   #2
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
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
 
Old 12-07-2005, 05:07 PM   #3
DoddyUK
Member
 
Registered: May 2004
Location: Plymouth, Devon, Great Britain
Distribution: Fedora Core 3, Windows XP
Posts: 52

Original Poster
Rep: Reputation: 15
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
 
Old 12-07-2005, 05:33 PM   #4
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
Do nslookup, whois, ping, and host work as expected? If you try say, telnet and ssh do they resolve correctly?
 
Old 12-07-2005, 05:41 PM   #5
DoddyUK
Member
 
Registered: May 2004
Location: Plymouth, Devon, Great Britain
Distribution: Fedora Core 3, Windows XP
Posts: 52

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot open any gui apps while in Internet! deepclutch Debian 4 08-18-2005 03:36 AM
apps stall at launch without internet connection astrowill Linux - Software 1 09-19-2004 02:13 PM
My internet apps cannot detect my internet connection esthon_wood Mandriva 5 08-30-2004 08:38 PM
Fedora 2 - Kppp connects to internet using modem but apps cant access it MacLin Fedora 6 08-04-2004 08:50 AM
apps cannot access internet Mr_C Fedora 17 06-19-2004 07:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration