Announcement

Collapse
No announcement yet.

network printer problems

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    network printer problems

    My setup is this: 3 laptops, in different rooms. A Belkin router, with two USB ports on the back. A HP printer plugged into USB of router.

    After almost two months, I have managed to get my laptop to recognize a printer on the system, it just doesn't know where printer is. I can delete all printers, and reboot, run new printer (both in system setting, and in CUPS), and it will automatiically fill in all the information about the printer including serial number (which only started recently), but when I click add printer it says 'No Printer Found". The other day, when trying to load it, I got an error message that install failed wrong address, use this address (gave IP address), it knows where the printer is, it just can't find it. When I try to print something, I get an error message that "Printer is Busy". I have plugged printer directly into laptop, and installed all drivers and can print from it. I also have an external HDD plugged into the back of the router, and I can move files back and forth from it.

    Running a lsusb scan revels 8 usb ports available, (2 on laptop, 4 on usb hub hooked to laptop, and two on router), however it does not give the name or id of any device, dmesg reveals "Duplicate IPv6 Address", and gives address of router. I believe that I finally managed to get somewhere when I discovered a firewall on the router, and disabled it. It was in a folder, for something I never use, so I just never opened it. I have tried several different programs from the repository that are supposed to help with network or usb problems, the best I got was to find the usb ports on the router, but never detected anything plugged in. I've searched the internet and ubuntu/kubuntu forums for solutions and even though I found others with same problem, some even solved, I have yet to get my printer going.

    Does anyone have any idea what might work? I've been told to give up and move the printer back in the living room beside my chair, but I know this setup will work, just have to find the right solution. If I boot into Windows, there is a special software that came with the router that lets Windows, and Mac OSX, but not linux, communicate with the devices connected to router. I know there is a way to make Linux work, I just need someone to direct me.

    Here is part of the output of the Umit NMAP gui,

    Scanning router.Workgroup (192.168.2.1) [1000 ports]
    Discovered open port 80/tcp on 192.168.2.1
    Discovered open port 445/tcp on 192.168.2.1
    Discovered open port 53/tcp on 192.168.2.1
    Discovered open port 139/tcp on 192.168.2.1
    Discovered open port 9000/tcp on 192.168.2.1
    Completed SYN Stealth Scan at 15:49, 0.25s elapsed (1000 total ports)

    Here is an error msg from the Usbview program

    Can not open the file /proc/bus/usb/devices

    Verify that you have USB compiled into your kernel, have the USB core modules loaded, and have the usbdevfs filesystem mounted.

    After a couple of searches, usbdevf is not to be found on my system. The file /proc/bus/usb/devices, does not exist either, that's a start, just don't know how to correct these problems.Do I just create a new file, or does something need to be installed?

    After further searching, the file /etc/fstab doesn't exist. I do have /etc/fstab.d

    On further searching I found a help thread on this same situation that gave this information

    "It seems that the similar content as was in /proc/bus/usb/devices is now available in /sys/kernel/debug/usb/devices. Other interesting places to check for the content from former usbfs are: /dev/bus/usb, /sys/bus/usb and /sys/kernel/debug/usb"

    I checked, I have /sys/kernel/debug, but no /usb/devices.
    Last edited by rk4262; Jan 11, 2014, 05:09 PM. Reason: More Information

    #2
    Originally posted by rk4262 View Post
    My setup is this: 3 laptops, in different rooms. A Belkin router, with two USB ports on the back. A HP printer plugged into USB of router.
    Getting printers to work attached to routers is a fun one. I say fun, but you know what I mean...

    My setup is similar (HP printer connected to router via USB...)

    Originally posted by rk4262 View Post
    When I try to print something, I get an error message that "Printer is Busy".
    My printer also did this when I was setting it up.

    What software is running on the router? The factory firmware?

    Originally posted by rk4262 View Post
    I have plugged printer directly into laptop, and installed all drivers and can print from it.
    I think your problem is that the router itself doesn't have a driver for the printer. You're talking to the router, and the router is instructing the printer. This is why you can print when connected directly (because your laptop and printer understand each other) but it doesn't work with the router as a middleman. Once the router and printer understand each other, any device connected to the LAN will be able to print through the router. The driver problem is easily fixed if you're using DD-WRT or OpenWrt on that router... not so much with factory firmware.

    I wrote a tutorial last year about connecting a printer to DD-WRT with USB. Almost all HP printers work like a dream with Linux routers because of HPLIP.

    http://www.samhobbs.co.uk/2013/08/co...d-wrt-via-usb/

    Feathers
    samhobbs.co.uk

    Comment


      #3
      Originally posted by rk4262 View Post
      I believe that I finally managed to get somewhere when I discovered a firewall on the router, and disabled it
      I hope you don't mean you disabled your router's firewall completely?
      samhobbs.co.uk

      Comment


        #4
        I have an hp multifunction printer connected via ethernet to my router. I installed hplip and it detected the printer and installed the correct drivers. You do need to make sure the printer is on (not in sleep mode) before configuring, but other than that, it was pretty automatic. I don't know, however, if it will work with a usb connection to the router, however, if the router assigns an ip address to the usb printer, I would think it would.

        Comment


          #5
          I had a similar setup and it hplip will find it or you can manually give it the IP address. Disabling the hardware firewall is strongly not recommended. It sounds like a port is closed blocking the communication to the printer.
          Linux because it works. No social or political motives in my decision to use it.
          Always consider Occam's Razor
          Rich

          Comment


            #6
            I know I've answered this before now, I remember the router firewall issue. Which I turned it off just long enough to try some connection options then turned it back on. I've been busy with other things and haven't had a chance to do any thing with it. But it still eludes me.

            Sent from my MB860 using Tapatalk 2

            Comment


              #7
              I just did an upgrade to 13.10 from 13.04 and now my networked printer doesn't work from my desktop.

              I have an HP OfficeJet 8600 Pro Plus. The server is Ubuntu 12.04.4/Cups 1.5.3/hpcups 3.12.2. Local computer is Kubunut 13.10/Cups 1.7rc1/hpcups 3.13.9

              I am able to print from the server using lpr and the cups server can print a test page, but my desktop can no longer print anything.

              Here's the server log from a failure:
              Code:
              E [25/Jan/2014:11:54:45 -0800] [Job 433] Job stopped due to filter errors; please consult the error_log file for details.D [25/Jan/2014:11:54:45 -0800] [Job 433] The following messages were recorded from 11:54:44 to 11:54:45
              D [25/Jan/2014:11:54:45 -0800] [Job 433] Adding start banner page "none".
              D [25/Jan/2014:11:54:45 -0800] [Job 433] Queued on "Officejet" by "stuart".
              D [25/Jan/2014:11:54:45 -0800] [Job 433] File of type application/vnd.cups-raster queued by "stuart".
              D [25/Jan/2014:11:54:45 -0800] [Job 433] Adding end banner page "none".
              D [25/Jan/2014:11:54:45 -0800] [Job 433] job-sheets=none,none
              D [25/Jan/2014:11:54:45 -0800] [Job 433] argv[0]="Officejet"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] argv[1]="433"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] argv[2]="stuart"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] argv[3]="(Untitled1)"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] argv[4]="1"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] argv[5]="job-uuid=urn:uuid:ff7345c9-7fa9-35c6-742c-c32918f39bf9 job-originating-host-name=192.168.1.199 time-at-creation=1390679684 time-at-processing=1390679685"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] argv[6]="/var/spool/cups/d00433-001"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[1]="CUPS_DATADIR=/usr/share/cups"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[6]="CUPS_SERVERROOT=/etc/cups"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[7]="CUPS_STATEDIR=/var/run/cups"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[8]="HOME=/var/spool/cups/tmp"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[10]="SERVER_ADMIN=root@server"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[11]="SOFTWARE=CUPS/1.5.3"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[12]="TMPDIR=/var/spool/cups/tmp"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[13]="USER=root"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[15]="CUPS_ENCRYPTION=IfRequested"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[16]="IPP_PORT=631"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[17]="CHARSET=utf-8"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[18]="LANG=en_US.UTF-8"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[19]="PPD=/etc/cups/ppd/Officejet.ppd"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[20]="RIP_MAX_CACHE=128m"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[21]="CONTENT_TYPE=application/vnd.cups-raster"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[22]="DEVICE_URI=usb://HP/Officejet%20Pro%208600?serial=CN2AQB4G7Z05KD&interface=1"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[23]="PRINTER_INFO=HP Officejet Pro 8600 Plus"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[24]="PRINTER_LOCATION=Office"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[25]="PRINTER=Officejet"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[26]="PRINTER_STATE_REASONS=none"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[27]="CUPS_FILETYPE=document"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[28]="FINAL_CONTENT_TYPE=printer/Officejet"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] envp[29]="AUTH_I****"
              D [25/Jan/2014:11:54:45 -0800] [Job 433] Started filter /usr/lib/cups/filter/gziptoany (PID 30659)
              D [25/Jan/2014:11:54:45 -0800] [Job 433] Started filter /usr/lib/cups/filter/hpcups (PID 30660)
              D [25/Jan/2014:11:54:45 -0800] [Job 433] Started backend /usr/lib/cups/backend/usb (PID 30661)
              D [25/Jan/2014:11:54:45 -0800] [Job 433] prnt/hpcups/HPCupsFilter.cpp 528: cupsRasterOpen failed, fd = 0
              D [25/Jan/2014:11:54:45 -0800] [Job 433] Printing on printer with URI: usb://HP/Officejet%20Pro%208600?serial=CN2AQB4G7Z05KD&interface=1
              D [25/Jan/2014:11:54:45 -0800] [Job 433] libusb_get_device_list=7
              D [25/Jan/2014:11:54:45 -0800] [Job 433] STATE: +connecting-to-device
              D [25/Jan/2014:11:54:45 -0800] [Job 433] STATE: -connecting-to-device
              D [25/Jan/2014:11:54:45 -0800] [Job 433] Printer found with device ID: MFG:HP;MDL:Officejet Pro 8600;CMD:PCL3GUI,PCL3,PJL,JPEG,URF,DW-PCL,802.11,802.3,DESKJET,DYN;CLS:PRINTER;DES:CM750A;CID:HPIJVIPAV2;LEDMDIS:USB#FF#CC#00,USB#07#01#02;SN:CN2AQB4G7Z05KD;S:038080C484201021005a008000045180028441800284618001e4118001e;Z:0102,05000009000008000008000008000008,0600,0700000000000000000000,0b0000000000000000000098e90000000098e90000000098e90000000098e9,0c0,0e00000000000000000000,0f00000000000000000000,10000002000008000008000008000008,110,12000,150,17000000000000000000000000000000,181; Device URI: usb://HP/Officejet%20Pro%208600?serial=CN2AQB4G7Z05KD&interface=1
              D [25/Jan/2014:11:54:45 -0800] [Job 433] Device protocol: 2
              D [25/Jan/2014:11:54:45 -0800] [Job 433] Sending data to printer.
              D [25/Jan/2014:11:54:45 -0800] [Job 433] Sent 0 bytes...
              D [25/Jan/2014:11:54:45 -0800] [Job 433] Waiting for read thread to exit...
              D [25/Jan/2014:11:54:45 -0800] [Job 433] End of messages
              D [25/Jan/2014:11:54:45 -0800] [Job 433] printer-state=3(idle)
              D [25/Jan/2014:11:54:45 -0800] [Job 433] printer-state-message="Sending data to printer."
              D [25/Jan/2014:11:54:45 -0800] [Job 433] printer-state-reasons=none
              Nothing is logged in the local error log and the local cups just says "Sending data to printer"

              Another oddity, when I deleted both printers to re-install them (one device - printer and printer-fax installed as individual printers) and re-scanned, it found both printers. But once I install the printer (not the fax), it does not find the second device at all. I presume this is because they share an address, but this always worked fine in the past.

              I swear, some dev's must have an "upgrade it until it breaks" philosophy.

              BTW: No firewall here. The server is connected through a switch, not a router.
              Last edited by oshunluvr; Jan 25, 2014, 02:03 PM.

              Please Read Me

              Comment


                #8
                Running Kubuntu 14.10 on a 64-bit Dell Latitude E6400. Printer is wireless - Brother HL2170W. Love 14.10 but had endless problems with my wireless printer setup. The printer worked fine before the upgrade. Tried everything I found on the threads. This is what (finally) worked for me: 1. First of all, set up your printer with a static ip address. This just makes your life easier in the long run. This topic is covered in plenty of places, so no need to deal with it here. 2. Navigate to Printers in System Settings. If the printer is already there but not working, delete it, leave System Settings and navigate back. The printer will be gone. 3. Choose Add a Printer. If your printer is connected to the network, you should see it there on the list of Discovered Printers. 4. THIS STEP IS THE ONE THAT MADE THE DIFFERENCE FOR ME: I kept thinking I needed to use the driver that was indicated to be the RECOMMENDED driver. Stubborn fool that I am, I kept trying to use the recommended driver even though it didn't work. I finally tried the driver just above the one RECOMMENDED for my printer. That one worked perfectly!!! If the first alternative doesn't work, just try other drivers. Hopefully one will work for you. Honestly, I had tried everything from the simple setup using System Settings (as above, but using the recommended driver) to downloading the install file from Brother and using various command line strategies to install. None of them worked until I tried the not-recommended driver through system settings! And it was so easy once I took the chance on the non-recommended driver. Whoda thought?

                Comment

                Working...
                X