The title says it all. Some background.
The Pi3 is running current. I updated the May 1st updates on the 2nd, I did not boot the system until today. Today I installed the latest kernel, modules, firmware and hacks from Sarpi. After the install I booted the Pi.
I have had it installed for about 1 year, so lots of updates over that time. Printing had worked well over that year. The Pi runs headless, and I also run a NFS share from a USB attached 120 gig hard drive on the Pi.
I can ssh into the Pi, I can see the NFS shares on the pi, however, no longer can I send a print job to the USB attached HP printer.
A scan with zenmap shows port 631 closed. Just for giggles, I used nc to confirm port 631 is closed.
From the zenmap scan:
Code:
Starting Nmap 7.80 ( https://nmap.org ) at 2020-05-12 19:23 EDT
Nmap scan report for RaspPi (192.168.1.69)
Host is up (0.0020s latency).
Not shown: 95 closed ports
PORT STATE SERVICE
22/tcp open ssh
111/tcp open rpcbind
139/tcp open netbios-ssn
445/tcp open microsoft-ds
2049/tcp open nfs
MAC Address: B8:27:EB:5F:36:05 (Raspberry Pi Foundation)
Nmap done: 1 IP address (1 host up) scanned in 0.11 seconds
Lpstat shows:
Code:
lpstat -p
printer HP_LaserJet_M203-M206 is idle. enabled since Tue 24 Dec 2019 01:29:00 PM EST
I followed this link:
Code:
https://wiki.alienbase.nl/doku.php?id=slackware%3acups
to set up /etc/cups/cupsd.conf. Here is the parts I changed, thinking this would fix the problem.
Quote:
LogLevel warn
PageLogFormat
# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing On
BrowseLocalProtocols
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Web interface setting...
WebInterface Yes
# Restrict access to the server...
<Location />
Order deny,allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.1.*
</Location>
# Restrict access to the admin pages...
<Location /admin>
Order deny,allow
Deny From All
Allow From 127.0.0.1
</Location>
|
I have not changed anything else in the file. 631 remains closed after restarting cups, or a cold boot. I do not have a firewall running. I have never had one on the home lan. I do have a firewall in my router.
I would like to send a print job to the printer locally, just to verify the print driver ( hplip ) is good, it was before any of the updating.
Thoughts on what I'm missing?
I have thought I could remove the latest kernel, and put the system back to the previous kernel. I would much rather fix what is wrong with the latest updates.
The latest kernel I installed from Sarpi:
Quote:
uname -a
Linux RaspPi.cliffshome.org 5.4.38-v7-arm #1 SMP Sat May 9 22:34:17 BST 2020 armv7l BCM2835 GNU/Linux
|