Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

cups

0 views
Skip to first unread message

Gale Gorman

unread,
Mar 13, 2003, 12:05:17 PM3/13/03
to
In the "Official Red Hat Linux Administrator's Guide" I am told to point
my browser to http://localhost:631 and when I do I am asked for a
username and password but there is no place to register.

Cups might be useful since I have having a lot of difficulty getting my
printer to work.

Gale Gorman
Houston

Timothy Murphy

unread,
Mar 13, 2003, 2:52:15 PM3/13/03
to
Gale Gorman wrote:

> In the "Official Red Hat Linux Administrator's Guide" I am told to point
> my browser to http://localhost:631 and when I do I am asked for a
> username and password but there is no place to register.

Do you have cupsd running?
I can start it with "service cups restart" on my RH-8.0 system.

--
Timothy Murphy
e-mail: t...@birdsnest.maths.tcd.ie
tel: +353-86-233 6090
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

Jerry Gardner

unread,
Mar 13, 2003, 3:41:23 PM3/13/03
to
Gale Gorman wrote:

> In the "Official Red Hat Linux Administrator's Guide" I am told to point
> my browser to http://localhost:631 and when I do I am asked for a
> username and password but there is no place to register.

Give it your normal username and password. If you need to certain things
that require more privilege, then give it root and root's password.

--
Jerry Gardner
j...@gardnerclan.net

Gale Gorman

unread,
Mar 13, 2003, 8:08:46 PM3/13/03
to
Timothy Murphy wrote:
> Gale Gorman wrote:
>
>
>>In the "Official Red Hat Linux Administrator's Guide" I am told to point
>>my browser to http://localhost:631 and when I do I am asked for a
>>username and password but there is no place to register.
>
>
> Do you have cupsd running?
> I can start it with "service cups restart" on my RH-8.0 system.
>

I can start cups but then I didn't know what to do with it<g>.

Gale Gorman

unread,
Mar 13, 2003, 8:09:44 PM3/13/03
to

Thanks. I was really confused because I thought I was logging on to a
site on the net.

Gale

Duane Clark

unread,
Mar 13, 2003, 11:06:53 PM3/13/03
to
Gale Gorman wrote:
>
> Thanks. I was really confused because I thought I was logging on to a
> site on the net.

"localhost" is geek talk for your computer :-) "631" is a "port" number,
in this case the port being used by cups. So yes, you are logging onto a
site on the net. But it is your site on the net, which you probably did
not know you had.

In any case, it should by default not be accessible to the outside
world. This is determined by the file /etc/cups/cupsd.conf.


--
My real email is akamail.com@dclark (or something like that).

Gale Gorman

unread,
Mar 14, 2003, 10:53:56 AM3/14/03
to

That got me into cups just fine, I configured my printer and cups
reported that was successful. However, it still will not print.

Gale

Duane Clark

unread,
Mar 14, 2003, 12:03:04 PM3/14/03
to

Redhat uses a set of symbolic links in /etc/alternatives to determine
what printing system to use. For example, you will probably find the file:
print-lp -> /usr/bin/lp.LPRng

That means it is configured to use LPRng. All that is required to use
CUPS is to change all those links to point to the CUPS version of the
programs. So that for example:
print-lp -> /usr/bin/lp.cups

In theory, Redhat supplies a program to do that, but it is not installed
by default. It is just as easy to do it by hand. Just take a look at the
files in /etc/alternatives and /usr/bin, and it should be fairly obvious
what needs to be changed.

Jerry Gardner

unread,
Mar 14, 2003, 1:36:00 PM3/14/03
to
Gale Gorman wrote:

> That got me into cups just fine, I configured my printer and cups
> reported that was successful. However, it still will not print.

What kind of printer, and how is it attached (parallel, USB, network)?

--
Jerry Gardner
j...@gardnerclan.net

Gale Gorman

unread,
Mar 14, 2003, 3:35:42 PM3/14/03
to
Jerry Gardner wrote:
> Gale Gorman wrote:
>
>
>>That got me into cups just fine, I configured my printer and cups
>>reported that was successful. However, it still will not print.
>
>
> What kind of printer, and how is it attached (parallel, USB, network)?
>

HP LaserJet 5000 on lp0, parallel.

Gale

Gale Gorman

unread,
Mar 14, 2003, 3:45:38 PM3/14/03
to

Redhat does indeed supply a program,"redhat-switch-printer." I thought
I since I had stopped lpd and started cups, that should be enough. When
I did the switch and restarted cups, the printer is working.

Thanks,

Gale

Timothy Murphy

unread,
Mar 14, 2003, 7:47:56 PM3/14/03
to
Gale Gorman wrote:

I made the changes below to /etc/cups/cupsd.conf .
I'm not sure if they were necessary --
I was setting CUPS up to print from other computers
on my home (wireless) LAN.

Also, is cupsd running? (Apologies if I asked that before.)

=================================================
50d49
< ServerName alfred
58d56
< ServerAdmin t...@birdsnest.maths.tcd.ie
246d243
< RemoteRoot ******** [omitted]
361d357
< HostNameLookups On
408d403
< Browsing On
457,458d451
< BrowseAddress @LOCAL
<
490d482
<
499,500d490
< BrowseAllow @LOCAL
<
657d646
<
688d676
< Allow From 192.168.3.*
757d744
< Allow From 192.168.3.*
=================================================

0 new messages