Mike Spencer
2023-02-20 23:29:57 UTC
Almost everything is working on my 15.0 32 bit setup except printing.
I gave up on postfix and reverted with complete success to sendmail.
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?
I have to go make ginger chicken.
TIA for any help.
I gave up on postfix and reverted with complete success to sendmail.
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?
I have to go make ginger chicken.
TIA for any help.
--
Mike Spencer Nova Scotia, Canada
Mike Spencer Nova Scotia, Canada