Connecting a network printer again (SOLVED)

Forum rules
Before you post please read this
Post Reply
User avatar
Prsman
Level 4
Level 4
Posts: 222
Joined: Tue Nov 17, 2015 3:15 pm

Connecting a network printer again (SOLVED)

Post by Prsman » Tue Oct 30, 2018 10:29 pm

Hi everyone. I am trying to connect a network printer on a Mac. The printer in connected to my Mint box via usb. I set up the printer using Menu/Administration/Printer. It is on localhost, uri as ipp://Surfer:631/ipp. The Mac is connected to the network via wifi router which connects by cable to my IP modem/router. My Mint box connects by cable direct to the IP modem/router. No matter what I enter on the Mac, it cannot connect to my Mint box. WiFi router ip ends in 1.1 and modem ip ends in 0.1. Mint and Mac can ping each other. Some info:

Code: Select all

tarsailor@Surfer ~ $ lpstat -s
system default destination: MP150
device for MP150: ipp://Surfer:631/ipp
device for MP150-2: usb://Canon/MP150?serial=C14032&interface=1

Code: Select all

starsailor@Surfer ~ $ sudo rpcclient localhost
[sudo] password for starsailor: 
Enter root's password: 
NTLMSSP packet check failed due to short signature (0 bytes)!
NTLMSSP NTLM2 packet check failed due to invalid signature!
Cannot connect to server.  Error was NT_STATUS_ACCESS_DENIED

Code: Select all

starsailor@Surfer ~ $ lpinfo -v
network http
network beh
serial serial:/dev/ttyS0?baud=115200
network ipps
network lpd
network https
network ipp14
network ipp
network socket
direct usb://Canon/MP150?serial=C14032&interface=1
network smb
direct parallel:/dev/lp0
direct hp
direct hpfax

Code: Select all

smbtree
returns nothing. Is my problem because of the wifi modem or something else? If you need more info, will provide. Thanks

Edit:

Code: Select all

starsailor@Surfer ~ $ inxi -Fz
System:    Host: Surfer Kernel: 4.4.0-138-generic x86_64 (64 bit)
           Desktop: Cinnamon 3.6.7  Distro: Linux Mint 18.3 Sylvia
Machine:   Mobo: ASUSTeK model: M2N-E v: 1.XX
           Bios: Phoenix v: ASUS M2N-E 5001 date: 03/23/2010
CPU:       Dual core AMD Athlon 64 X2 4200+ (-MCP-) cache: 1024 KB 
           clock speeds: max: 2200 MHz 1: 1000 MHz 2: 1000 MHz
Graphics:  Card: NVIDIA G96 [GeForce 9400 GT]
           Display Server: X.Org 1.18.4 driver: nvidia
           Resolution: 1280x1024@60.02hz
           GLX Renderer: GeForce 9400 GT/PCIe/SSE2
           GLX Version: 3.3.0 NVIDIA 340.107
Audio:     Card-1 NVIDIA MCP55 High Definition Audio driver: snd_hda_intel
           Card-2 Microsoft LifeCam VX-5000 driver: USB Audio
           Sound: Advanced Linux Sound Architecture v: k4.4.0-138-generic
Network:   Card: NVIDIA MCP55 Ethernet driver: forcedeth
           IF: enp0s8 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 256.1GB (11.5% used)
           ID-1: /dev/sda model: HP_SSD_S700_Pro size: 256.1GB
Partition: ID-1: / size: 46G used: 8.8G (21%) fs: ext4 dev: /dev/sda1
           ID-2: /home size: 184G used: 14G (8%) fs: ext4 dev: /dev/sda5
           ID-3: swap-1 size: 6.06GB used: 0.00GB (0%) fs: swap dev: /dev/sda6
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 36.0C mobo: 38.0C gpu: 44C
           Fan Speeds (in rpm): cpu: 2020 psu: 978 sys-1: 2051 sys-2: 0 sys-3: 0 sys-4: 0
Info:      Processes: 191 Uptime: 2:21 Memory: 1054.8/3950.6MB
           Client: Shell (bash) inxi: 2.2.35 
Last edited by Prsman on Wed Nov 07, 2018 11:26 pm, edited 1 time in total.

User avatar
Prsman
Level 4
Level 4
Posts: 222
Joined: Tue Nov 17, 2015 3:15 pm

Re: Connecting a network printer again

Post by Prsman » Tue Oct 30, 2018 11:22 pm

Ok, I bypassed the wifi router and the Mac found the printer. But when I print a test page, the print queue says a communication error has occured. The printer never prints anything. The printer status changes though. I'm close, so close.

User avatar
Prsman
Level 4
Level 4
Posts: 222
Joined: Tue Nov 17, 2015 3:15 pm

Re: Connecting a network printer again (SOLVED)

Post by Prsman » Wed Nov 07, 2018 11:25 pm

I fixed my problem so I am posting what I did for anyone else who may have a similiar problem. First, I was trying to print from a Mac to my Mint CPU with a usb connected printer. So I reconfigured the home router to bridge. This put all devices on the same subnet. On the Mint CPU, edited the smb.conf file as per the tutorial. See this also: https://help.ubuntu.com/community/Netw ... WithUbuntu I opened the ports in ufw. I might delete or change them as needed.
On the Mac I installed the printer using the windows share, not ipp or cups. They did not work for me for some reason. Tried to print a test page and got an error message. Hold for Authentication. Before printing it asks for username and password. Its guest & guest. Who new? :oops:

Post Reply

Return to “Printers & Scanners”