Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux.slackware > #34055

Re: Networking problem trying to set up CUPS

From John Forkosh <forkosh@panix.com>
Newsgroups alt.os.linux.slackware
Subject Re: Networking problem trying to set up CUPS
Date 2023-02-21 07:56 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <tt1tfl$njv$1@reader2.panix.com> (permalink)
References <878rgr530q.fsf@bogus.nodomain.nowhere>

Show all headers | View raw


Mike Spencer <mds@bogus.nodomain.nowhere> wrote:
> Now venturing to migrate from lprng to CUPS.
> Before I've even read how to start, there seems to be something I
> don't understand about inetd and  LAN networking.
> 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.
>    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
> 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
> 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?
> TIA for any help.

Can't offer any explicit advice, but what kind of printer do you have???
I have several Brother printer models, and the brother homepage has
linux install scripts for all of them that work flawlessly with cups.
Just make sure /etc/rc.d/rc.cups has start'ed, turn on your printer
and make sure it's connected (presumably by wifi nowadays), and then
run the script. The necessary /etc/cups/, /usr/share/cups/, etc gets
automatically edited as needed, and the printers "just work" afterwards.
Not sure what similar linux install scripts other printer manufacturers
provide. But I'd suggest googling around for that first.
-- 
John Forkosh  ( mailto:  j@f.com  where j=john and f=forkosh )

Back to alt.os.linux.slackware | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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