Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.os.linux.slackware > #34062
| From | Peter 'Shaggy' Haywood <phaywood@alphalink.com.au> |
|---|---|
| Newsgroups | alt.os.linux.slackware |
| Subject | Re: Networking problem trying to set up CUPS |
| Date | 2023-02-22 13:00 +1100 |
| Organization | A noiseless patient Spider |
| Message-ID | <fi9gcj-tm1.ln1@jefferson.foo> (permalink) |
| References | <878rgr530q.fsf@bogus.nodomain.nowhere> |
Groovy hepcat Mike Spencer was jivin' in alt.os.linux.slackware on Tue,
21 Feb 2023 10:29 am. It's a cool scene! Dig it.
> Cups man page says:
>
> WHERE DO I BEGIN?
>
> The easiest way to start is by using the web interface to
> configure your printer. Go to "http://localhost:631" and choose
> the Administration tab at the top of the page.
>
> Okay, but I want to access that (on enoch, the new 15 install box)
> from bogus, my current 14.2 main machine. Try http://enoch:631.
And can you ping enoch? You don't need a FQDN (enoch.private or
enoch.mynet or something like that)?
> The connection was refused when attempting to contact enoch:631
>
> I haven't started ip_tables yet so no firewall.
>
> cupsd is running:
>
> enoch% pgrep cupsd
> 1055
>
> I've tried changing /etc/cups/cupsd.conf and /etc/inetd.conf in
> various ways (and restarting inetd or cupsd after any change) with no
> improvements.
>
> cupsd.conf:
>
> # Only listen for connections from the local machine.
> Listen localhost:631
> Listen /var/run/cups/cups.sock
>
> # mds -- Also listen for conns from bogus;
> Listen 192.168.0.15:631
The only Listen line my cupsd.conf has is the cups.sock one. It also
has a Port line:
Port 631
Does yours have that?
> Using any of ip address (above), hostname (bogus) or * gives same
> non-result. Moreover, the cupsd.conf directive to listen doesn't show
> up in lsof:
>
> enoch-root$ lsof -i:631 -sTCP:LISTEN
>
> COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
> cupsd 1055 root 5u IPv6 32275 0t0 TCP localhost:ipp
> (LISTEN)
> cupsd 1055 root 6u IPv4 32276 0t0 TCP localhost:ipp
> (LISTEN)
>
> What about inetd? Adding to /etc/inetd.conf a line like:
>
> ipp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/cupsd
I don't have any reference to cups or printing at all in my
inetd.conf.
> doesn't make any difference.
>
> It seems I'm trying to do something that can't be done. Or that needs
> a magic incantation I don't know about. Can I access cupsd:631 on
> enoch from bogus over the LAN? Or not?
Sure you can. I find cups a bit persnickety, though, especially about
network hostnames. When I try to print using my server's hostname in
the client setup, it often doesn't work. But if I use the IP address,
it has a much higher chance of success.
Yes, I know, you haven't even got to that stage yet. You're still
trying to configure the server itself. But anyhow...
Still, just now, for a test, I tried accessing my cups server by
hostname with firefox, and it failed with "Bad request". So I tried
again using the IP address instead, and it worked perfectly.
> I have to go make ginger chicken.
Who's this Ginger? If I see him/her running in terror, I'll know you
were successful.
--
----- Dig the NEW and IMPROVED news sig!! -----
-------------- Shaggy was here! ---------------
Ain't I'm a dawg!!
Back to alt.os.linux.slackware | Previous | Next — Previous in thread | Find similar | Unroll thread
Networking problem trying to set up CUPS Mike Spencer <mds@bogus.nodomain.nowhere> - 2023-02-20 19:29 -0400
Re: Networking problem trying to set up CUPS Rich <rich@example.invalid> - 2023-02-21 02:55 +0000
Re: Networking problem trying to set up CUPS Peter 'Shaggy' Haywood <phaywood@alphalink.com.au> - 2023-02-22 12:32 +1100
Re: Networking problem trying to set up CUPS Rich <rich@example.invalid> - 2023-02-22 13:28 +0000
Re: Networking problem trying to set up CUPS Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2023-02-21 06:34 +0000
Ping Henrik Re: Networking problem trying to set up CUPS Mike Spencer <mds@bogus.nodomain.nowhere> - 2023-03-05 19:14 -0400
Re: Ping Henrik Re: Networking problem trying to set up CUPS Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2023-03-06 06:54 +0000
Tnx Re: Ping Henrik Re: Networking problem trying to set up CUPS Mike Spencer <mds@bogus.nodomain.nowhere> - 2023-03-08 01:25 -0400
Re: Tnx Re: Ping Henrik Re: Networking problem trying to set up CUPS Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2023-03-08 20:48 +0000
Latex Re: Tnx Re: Ping Henrik Re: Networking problem... Mike Spencer <mds@bogus.nodomain.nowhere> - 2023-03-11 03:24 -0400
Re: Latex Re: Tnx Re: Ping Henrik Re: Networking problem... Martin Schöön <martin.schoon@gmail.com> - 2023-03-11 09:25 +0000
Re: Latex Re: Tnx Re: Ping Henrik Re: Networking problem... Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2023-03-11 10:13 +0000
Re: Latex Re: Tnx Re: Ping Henrik Re: Networking problem... maus <maus@mail.com> - 2023-03-11 11:30 +0000
Re: Latex Javier <invalid@invalid.invalid> - 2023-03-12 03:52 +0000
Re: Latex maus <maus@mail.com> - 2023-03-12 08:59 +0000
Re: Latex Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2023-03-12 11:04 +0000
Re: Latex Javier <invalid@invalid.invalid> - 2023-03-12 17:10 +0000
Re: Latex Javier <invalid@invalid.invalid> - 2023-03-12 17:48 +0000
Re: Latex Martin Schöön <martin.schoon@gmail.com> - 2023-03-12 20:42 +0000
Re: Latex Javier <invalid@invalid.invalid> - 2023-03-12 21:17 +0000
Re: Latex Martin Schöön <martin.schoon@gmail.com> - 2023-03-13 20:08 +0000
Re: Latex Jim Diamond <JimDiamond@ns.sympatico.ca> - 2023-03-13 21:14 -0300
Re: Latex Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2023-03-15 06:26 +0000
Re: Latex Jim Diamond <JimDiamond@jdvb.ca> - 2023-03-20 16:05 -0300
Re: Latex Mike Spencer <mds@bogus.nodomain.nowhere> - 2023-03-13 00:54 -0300
Re: Latex Re: Tnx Re: Ping Henrik Re: Networking problem... Eric Pozharski <whynot@pozharski.name> - 2023-03-11 14:27 +0000
Re: Latex Re: Tnx Re: Ping Henrik Re: Networking problem... Jim Diamond <JimDiamond@ns.sympatico.ca> - 2023-03-13 21:21 -0300
Re: Networking problem trying to set up CUPS John Forkosh <forkosh@panix.com> - 2023-02-21 07:56 +0000
Re: Networking problem trying to set up CUPS Marco Moock <mo01@posteo.de> - 2023-02-21 14:47 +0100
Re: Networking problem trying to set up CUPS Javier <invalid@invalid.invalid> - 2023-02-21 21:29 +0000
Sendmaail (WAS: Re: Networking problem trying to set up CUPS) Mike Spencer <mds@bogus.nodomain.nowhere> - 2023-02-21 19:50 -0400
Re: Sendmaail (WAS: Re: Networking problem trying to set up CUPS) Grant Taylor <gtaylor@tnetconsulting.net> - 2023-02-21 21:27 -0700
Re: Networking problem trying to set up CUPS Javier <invalid@invalid.invalid> - 2023-02-21 21:19 +0000
Re: Networking problem trying to set up CUPS Giovanni <lsodgf0@home.net.it> - 2023-02-22 12:59 +0100
Re: Networking problem trying to set up CUPS Peter 'Shaggy' Haywood <phaywood@alphalink.com.au> - 2023-02-22 13:00 +1100
csiph-web