MT300A: USB printer converted into a network printer?

Hi

I have an MT300A that I want to connect my USB printer, Xerox Workcentre 6015, in order to turn it into a network printer.

 

The MT300A is stock except from the official updates:

Firmware 2.20

Openwrt release 15.05 Chaos Calmer

Linux kernel 3.18.27-1-04314c31bed8f992ea845699355da566

 

I found the following guide which seems to indicate that you can install p910nd and kmod-usb-printer which would allow you to access the printer from the MT300A over an USB connection:

http://blog.nguyenvq.com/blog/2015/03/15/make-a-printer-wireless-using-a-router-with-usb-running-openwrt/

 

The MT300A allows me to install the following:

p910nd 0.97-4

kmod-usb-printer 3.18.27-1

 

However I get the following errors when trying to install the kmod-usb-printer:

root@GL-MT300A:~# opkg update

 

and…

 

root@GL-MT300A:~# opkg install p910nd kmod-usb-printer

Package p910nd (0.97-4) installed in root is up to date.

Package kmod-usb-printer (3.18.27-1) installed in root is up to date.

Configuring kmod-usb-printer.

usblp is already loaded

Configuring p910nd.

Collected errors:

  • pkg_run_script: package “kmod-usb-printer” postinst script returned status 255.

  • opkg_configure: kmod-usb-printer.postinst returned 255.

root@GL-MT300A:~#

 

Have any of you had any luck connecting a USB printer to an MT300A or similar device?

 

Cheers!

If you search this forum on the message (returned 255, status 255) I suspect you will find a few references. The message appears after installing via the GUI, but does not always mean that the install failed. Try to use it as intended and see if it works.

Alternatively try connecting via SSH and doing:

opkg update

opkg install [packages]

Please let us know how this works and take a few minutes to write up the config. Also include any special notes on the client config if appropriate. Printer discovery may not be straight forward. This is an excellent use of the USB function and not one that is often discussed.

Dears,
I would like to use the GL-AR150 as a print server, but I have encountered the same problem with the last firmware Version: 2.263

uname -a

Linux GL-AR150 3.18.27 #1 Fri Oct 27 12:04:32 HKT 2017 mips n

#opkg update
#opkg install kmod-usb-printer
Installing kmod-usb-printer (3.18.27-1) to root…
Downloading http://www.gl-inet.com/openwrt/ar71xx/2.263/packages/base/kmod-usb-printer_3.18.27-1_ar71xx.ipk.
Collected errors:

  • satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-printer:
  •  kernel (= 3.18.27-1-614a690edd3b9a652fa55d68faabbaf9) *
    
  • opkg_install_cmd: Cannot install package kmod-usb-printer.

Could you please provide the right kernel module?

Regards

Pls try firmware 3.100

https://dl.gl-inet.com/firmware/ar150/testing/