You are not logged in.

#1 2009-05-26 08:22:54

rainerd66
Member
Registered: 2009-05-26
Posts: 7

KDE: cannot access localhost to use CUPS

Hi everyone!

As you might guess I am new here, so: Hello and thank you for Arch Linux!

At the beginning I was a bit shocked and paniced, but I think this way will teach me a lot about Linux... and its bugs wink

Finally, I managed to setup the network, download and install KDE4... but now I would like to setup the printer via CUPS and I discovered that localhost is not accessible via Konqueror, though I can ping it from the console (ping -c 3 localhost).

Lynx would also not connect to localhost:631 giving "unable to connect to remote host"

Maybe I have made a stupid mistake somewhere and I dunno where...

Many thanks for any help

Rainer

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.utf8"
HARDWARECLOCK="UTC"
USEDIRECTISA="no"
TIMEZONE="Asia/Kolkata"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=()

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="wogmin"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
# 
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
#eth0="eth0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255"
eth0="dhcp"
INTERFACES=(eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.1.1"
ROUTES=(!gateway)
 
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng hal network netfs crond)
Details of the Request:
URL: http://localhost:631
Protocol: http
Date and Time: Tuesday 26 May 2009 13:48
Additional Information: localhost: Unknown error
Description:
The server localhost refused to allow this computer to make a connection.

Offline

#2 2009-05-26 09:37:50

ekmek
Member
Registered: 2009-04-30
Posts: 4

Re: KDE: cannot access localhost to use CUPS

First you must install cups by running (as root)

pacman -S cups

Then start the daemon (as root) 

/etc/rc.d/cups start

.

You can also place it in the daemon list in /etc/rc.conf to start it automatically on boot.
Your daemon list should be now like this:

DAEMONS=(syslog-ng hal network netfs crond cups)

Last edited by ekmek (2009-05-26 09:39:31)

Offline

#3 2009-05-26 09:48:52

robmaloy
Member
From: Germany
Registered: 2008-05-14
Posts: 263

Re: KDE: cannot access localhost to use CUPS

how do you expect CUPS to work when it's not installed/running big_smile


☃ Snowman ☃

Offline

#4 2009-05-26 10:03:32

rainerd66
Member
Registered: 2009-05-26
Posts: 7

Re: KDE: cannot access localhost to use CUPS

***thank you***
Stupid me! Yeah, that's what windows and ubuntu do to you... installing things and then you think it will run

I did install cups, but I forgot to start the deamon yikes! of cource it will not work then...

now, it is there...

but now I am going to install xsane... wonder what I am going to forget next.
(installing hplip and adding hpaio: to sane/dll.conf...?)

the nice thing is though, once it all works it works! (I hope)


Rainer

Last edited by rainerd66 (2009-05-26 10:15:04)

Offline

#5 2009-05-26 14:34:30

Peanut
Member
From: Norway
Registered: 2009-05-24
Posts: 99

Re: KDE: cannot access localhost to use CUPS

rainerd66 wrote:

but now I am going to install xsane... wonder what I am going to forget next.

Dont be afraid to use the wiki:
http://wiki.archlinux.org/index.php/Sca … _configure

Note that you won't be able to access your scanner through SANE before you manually add your user to the group scanner.

Offline

Board footer

Powered by FluxBB