CUPS not working between Slackware and Mint
I have used Slackware since 1997 but never set up network printing before. So, I went to the KDE system settings in KDE Mint, and enabled a CUPS printer on my family members' PC. Then I went to my TDE system settings on my Slackware PC, searched for a CUPS printer, and it says it is not found. What do I do?
|
Check your firewall (CUPS uses port 631), and check your logs ( /var/log/cups/ )
Are you trying to sharing the printer from Mint? Another way to check some settings is: in your web browser, go to http://localhost:631 That's your web-based CUPS admin interface. There's an option "Share printers connected to this system" |
Quote:
Quote:
Quote:
|
If you can't access CUPS on Mint through the browser, I'd first check at the command line to make sure it's running (if you haven't already done so):
pgrep -l cupsd and second, make sure it's listening: debian64:~$ netstat -utnl | grep :631 should produce output similar to: tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN tcp6 0 0 ::1:631 :::* LISTEN udp 0 0 0.0.0.0:631 0.0.0.0:* |
Quote:
Quote:
|
Okay.
I forgot to check your firewall. You can use nmap from your Slackware box to scan the open ports on Mint. debian64:~# nmap -p 631 localhost Starting Nmap 6.00 ( http://nmap.org ) at 2013-04-28 03:06 CDT Nmap scan report for localhost (127.0.0.1) Host is up (0.00013s latency). PORT STATE SERVICE 631/tcp open ipp Or as root, run 'iptables -nL' on Mint. Or use some GUI firewall app; I don't know what Mint has to offer. Anything in /var/log/cups/error_log or access_log that might give a clue? |
I found out what the problem was. I actually saw the printer listed in TDE, but it was listed at one higher LAN IP address number than I expected. It seems, when I was reconfiguring my LAN before replacing a router, I disconnected my PC, then the Mint one got too high of an IP address instead of the one in /etc/hosts, so I have to restart the Mint on. That will probably do it (well, I could even connect the printer right now, but I want the LAN numbers to not have gaps from the first to last.)
|
All times are GMT -5. The time now is 04:51 AM. |