LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-22-2008, 09:30 AM   #1
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 631

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
KDE can't resolv to localhost on -current


I have switched to current and so far everything works fine. All but one annoying thing.
I have set up apache with ServerName = darkstar.liwjatan.org. Entry in /etc/hosts is there and it does resolv to 127.0.0.1. Apache is up and running. When I go to darkstar.liwjatan.org in Firefox, I get the local pages. Also lynx and ping does work fine. However konqueror and kget (probably others as well) can't find darkstar.liwjatan.org, although they have no problem with localhost. When going online, darkstar.liwjatan.org does suddenly work also in KDE.

Is this a KDE bug, a problem in Slackware-current or am I just misconfiguring something?
 
Old 04-22-2008, 10:54 AM   #2
ice_nine
Member
 
Registered: Sep 2007
Posts: 41

Rep: Reputation: 15
What's your /etc/hosts file look like?

It sounds like Konqueror/Kget are trying to do a DNS lookup, but since you're not online it just fails.
 
Old 04-23-2008, 01:18 AM   #3
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 631

Original Poster
Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
Quote:
What's your /etc/hosts file look like?
Here it is:
Code:
#
# hosts		This file describes a number of hostname-to-address
#		mappings for the TCP/IP subsystem.  It is mostly
#		used at boot time, when no name servers are running.
#		On small systems, this file can be used instead of a
#		"named" name server.  Just add the names, addresses
#		and any aliases to this file...
#
# By the way, Arnt Gulbrandsen <agulbra@nvg.unit.no> says that 127.0.0.1
# should NEVER be named with the name of the machine.  It causes problems
# for some (stupid) programs, irc and reputedly talk. :^)
#

# For loopbacking.
127.0.0.1		localhost
127.0.0.1		darkstar.liwjatan.org darkstar

# End of hosts.
Actually I didn't touch that file. All content was generated by the Slackware installation scripts. It's also the same on my 12.0 machine and it does work there.
 
  


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
KDE 3.5.8 in -current Daedra Slackware 1 10-18-2007 07:10 AM
Slackware-current, KDE 3.5.1, and Mozilla bleedingturnips Slackware 2 03-05-2006 09:35 AM
kde 3.5.1 in Slackware/current BCarey Slackware 2 02-26-2006 06:57 PM
kde on slackware current masand Linux - Software 3 02-13-2005 06:26 AM
KDE Sysguard: Connection to localhost has been lost! manjusura Linux - Newbie 0 02-19-2004 01:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:16 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