1 (edited by mattie47 2012-10-18 11:32:34)

Topic: Has anyone actually got CUPs working with their router/printer?

Feel like I'm going out of my mind with how long I've tried to get this working.

I've spent quite a while googling this but sadly still can't get anything to print.

Devices:
-TPLink 1043ND
-Powered 10 port USB hub with 2gb flash drive (mounted as /usb, and some of it also as SWAP)
-Canon MX310
-Brother HL5240

I've followed the tutorial on here: http://wiki.openwrt.org/doc/howto/cups.server

and I believe I've got all the required packages installed, and yes I have read the troubleshooting section (don't have kmod-usb-printer installed).

root@OpenWrt:~# opkg list-installed
base-files - 43.32-r29592
block-hotplug - 0.1.0-2.2
block-mount - 0.1.0-2.2
busybox - 1.15.3-3.4
crda - 1.1.1-1
cups - 1.4.4-1
cups-bjnp - 0.5.4-1
dnsmasq - 2.55-6.1
dropbear - 0.53.1-5
firewall - 2-34.8
hotplug2 - 1.0-beta-3
iptables - 1.4.6-3.1
iptables-mod-conntrack - 1.4.6-3.1
iptables-mod-nat - 1.4.6-3.1
iw - 0.9.22-2
kernel - 2.6.32.27-1
kmod-ath - 2.6.32.27+2011-11-15-1
kmod-ath9k - 2.6.32.27+2011-11-15-1
kmod-ath9k-common - 2.6.32.27+2011-11-15-1
kmod-button-hotplug - 2.6.32.27-1
kmod-cfg80211 - 2.6.32.27+2011-11-15-1
kmod-crc-ccitt - 2.6.32.27-1
kmod-crypto-aes - 2.6.32.27-1
kmod-crypto-arc4 - 2.6.32.27-1
kmod-crypto-core - 2.6.32.27-1
kmod-fs-ext3 - 2.6.32.27-1
kmod-fs-mbcache - 2.6.32.27-1
kmod-input-core - 2.6.32.27-1
kmod-input-gpio-buttons - 2.6.32.27-1
kmod-input-polldev - 2.6.32.27-1
kmod-ipt-conntrack - 2.6.32.27-1
kmod-ipt-core - 2.6.32.27-1
kmod-ipt-imq - 2.6.32.27-1
kmod-ipt-nat - 2.6.32.27-1
kmod-ipt-nathelper - 2.6.32.27-1
kmod-leds-gpio - 2.6.32.27-1
kmod-mac80211 - 2.6.32.27+2011-11-15-1
kmod-nls-base - 2.6.32.27-1
kmod-ppp - 2.6.32.27-1
kmod-pppoe - 2.6.32.27-1
kmod-sched - 2.6.32.27-1
kmod-scsi-core - 2.6.32.27-1
kmod-usb-core - 2.6.32.27-1
kmod-usb-ohci - 2.6.32.27-1
kmod-usb-storage - 2.6.32.27-1
kmod-usb2 - 2.6.32.27-1
libc - 0.9.30.1-43.32
libgcc - 4.3.3+cs-43.32
libip4tc - 1.4.6-3.1
libiwinfo - 18
libiwinfo-lua - 18
libjpeg - 6b-1
liblua - 5.1.4-7
libncurses - 5.7-2
libnl-tiny - 0.1-1
libopenssl - 0.9.8r-1
libpng - 1.2.46-1
libpthread - 0.9.30.1-43.32
librt - 0.9.30.1-43.32
libstdcpp - 4.3.3+cs-43.32
libuci - 12012009.7-4
libuci-lua - 12012009.7-4
libusb - 0.1.12-2
libxtables - 1.4.6-3.1
lua - 5.1.4-7
luci - 0.10.0-1
luci-app-firewall - 0.10.0-1
luci-i18n-english - 0.10.0-1
luci-lib-core - 0.10.0-1
luci-lib-ipkg - 0.10.0-1
luci-lib-lmo - 0.10.0-1
luci-lib-nixio - 0.10.0-1
luci-lib-sys - 0.10.0-1
luci-lib-web - 0.10.0-1
luci-mod-admin-core - 0.10.0-1
luci-mod-admin-full - 0.10.0-1
luci-proto-core - 0.10.0-1
luci-proto-ppp - 0.10.0-1
luci-sgi-cgi - 0.10.0-1
luci-theme-base - 0.10.0-1
luci-theme-openwrt - 0.10.0-1
mtd - 13
nano - 2.2.6-1
opkg - 576-2
p910nd - 0.95-1 <---yes I know I should uninstall this if CUPs is installed, but it isn't running. I was going to try to get this to install and run rather than cups, but thought I'd try asking for help on the forum here instead.
ppp - 2.4.4-16.1
ppp-mod-pppoe - 2.4.4-16.1
swconfig - 9
uci - 12012009.7-4
udevtrigger - 106-1
uhttpd - 28
wireless-tools - 29-4
wpad-mini - 20111103-2
zlib - 1.2.3-5
root@OpenWrt:~#


Startup debug (yes there's some repairing stuff, probably because I tried plugging the brother directly into the router on previous run to see if I could get it to just print a blank page...no luck):
Oct 14 22:18:09 OpenWrt user.info kernel: usb 1-1.1: new high speed USB device using ar71xx-ehci and address 3
Oct 14 22:18:09 OpenWrt user.info kernel: usb 1-1.1: configuration #1 chosen from 1 choice
Oct 14 22:18:09 OpenWrt user.info kernel: hub 1-1.1:1.0: USB hub found
Oct 14 22:18:09 OpenWrt user.info kernel: hub 1-1.1:1.0: 4 ports detected
Oct 14 22:18:09 OpenWrt user.info kernel: usb 1-1.2: new high speed USB device using ar71xx-ehci and address 4
Oct 14 22:18:09 OpenWrt user.info kernel: usb 1-1.2: configuration #1 chosen from 1 choice
Oct 14 22:18:09 OpenWrt user.info kernel: IMQ driver loaded successfully.
Oct 14 22:18:09 OpenWrt user.info kernel:     Hooking IMQ before NAT on PREROUTING.
Oct 14 22:18:09 OpenWrt user.info kernel:     Hooking IMQ after NAT on POSTROUTING.
Oct 14 22:18:09 OpenWrt user.info kernel: usb 1-1.5: new high speed USB device using ar71xx-ehci and address 5
Oct 14 22:18:09 OpenWrt user.info kernel: ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Oct 14 22:18:10 OpenWrt user.info kernel: usb 1-1.5: configuration #1 chosen from 1 choice
Oct 14 22:18:10 OpenWrt user.info kernel: Initializing USB Mass Storage driver...
Oct 14 22:18:10 OpenWrt user.info kernel: usb 1-1.7: new high speed USB device using ar71xx-ehci and address 6
Oct 14 22:18:10 OpenWrt user.info kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Oct 14 22:18:10 OpenWrt user.info kernel: usbcore: registered new interface driver usb-storage
Oct 14 22:18:10 OpenWrt user.info kernel: USB Mass Storage support registered.
Oct 14 22:18:10 OpenWrt user.debug kernel: usb-storage: device found at 5
Oct 14 22:18:10 OpenWrt user.debug kernel: usb-storage: waiting for device to settle before scanning
Oct 14 22:18:10 OpenWrt user.info kernel: usb 1-1.7: configuration #1 chosen from 1 choice
Oct 14 22:18:12 OpenWrt user.info kernel: cfg80211: Calling CRDA for country: NZ
Oct 14 22:18:13 OpenWrt user.info kernel: cfg80211: Regulatory domain changed to country: NZ
Oct 14 22:18:13 OpenWrt user.info kernel: cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Oct 14 22:18:13 OpenWrt user.info kernel: cfg80211:     (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 3000 mBm)
Oct 14 22:18:13 OpenWrt user.info kernel: cfg80211:     (5170000 KHz - 5250000 KHz @ 20000 KHz), (300 mBi, 2300 mBm)
Oct 14 22:18:13 OpenWrt user.info kernel: cfg80211:     (5250000 KHz - 5330000 KHz @ 20000 KHz), (300 mBi, 2300 mBm)
Oct 14 22:18:13 OpenWrt user.info kernel: cfg80211:     (5735000 KHz - 5835000 KHz @ 20000 KHz), (300 mBi, 3000 mBm)
Oct 14 22:18:14 OpenWrt user.info kernel: device wlan0 entered promiscuous mode
Oct 14 22:18:14 OpenWrt user.info kernel: br-lan: port 2(wlan0) entering forwarding state
Oct 14 22:18:15 OpenWrt user.notice kernel: scsi 0:0:0:0: Direct-Access                               PMAP PQ: 0 ANSI: 0 CCS
Oct 14 22:18:15 OpenWrt user.notice kernel: sd 0:0:0:0: [sda] 4029440 512-byte logical blocks: (2.06 GB/1.92 GiB)
Oct 14 22:18:15 OpenWrt user.debug kernel: usb-storage: device scan complete
Oct 14 22:18:15 OpenWrt user.notice kernel: sd 0:0:0:0: [sda] Write Protect is off
Oct 14 22:18:15 OpenWrt user.debug kernel: sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
Oct 14 22:18:15 OpenWrt user.err kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
Oct 14 22:18:15 OpenWrt user.err kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
Oct 14 22:18:15 OpenWrt user.info kernel:  sda: sda1 sda2
Oct 14 22:18:15 OpenWrt user.err kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
Oct 14 22:18:15 OpenWrt user.notice kernel: sd 0:0:0:0: [sda] Attached SCSI removable disk
Oct 14 22:18:16 OpenWrt user.info kernel: kjournald starting.  Commit interval 5 seconds
Oct 14 22:18:16 OpenWrt user.info kernel: EXT3 FS on sda1, internal journal
Oct 14 22:18:16 OpenWrt user.info kernel: EXT3-fs: recovery complete.
Oct 14 22:18:16 OpenWrt user.info kernel: EXT3-fs: mounted filesystem with writeback data mode.
Oct 14 22:18:16 OpenWrt user.info kernel: Adding 126968k swap on /dev/sda2.  Priority:-1 extents:1 across:126968k
Oct 14 22:18:17 OpenWrt user.info kernel: device wlan0 left promiscuous mode
Oct 14 22:18:17 OpenWrt user.info kernel: br-lan: port 2(wlan0) entering disabled state
Oct 14 22:18:17 OpenWrt user.info kernel: device wlan0 entered promiscuous mode
Oct 14 22:18:17 OpenWrt user.info kernel: br-lan: port 2(wlan0) entering forwarding state
Oct 14 22:18:18 OpenWrt daemon.info hostapd: wlan0: STA 04:46:65:fc:34:cc IEEE 802.11: authenticated
Oct 14 22:18:18 OpenWrt daemon.info hostapd: wlan0: STA 04:46:65:fc:34:cc IEEE 802.11: associated (aid 1)
Oct 14 22:18:18 OpenWrt user.info sysinit: Loading defaults
Oct 14 22:18:19 OpenWrt user.info sysinit: Loading synflood protection
Oct 14 22:18:19 OpenWrt user.info sysinit: Adding custom chains
Oct 14 22:18:19 OpenWrt user.info sysinit: Loading zones
Oct 14 22:18:20 OpenWrt user.info sysinit: Loading forwardings
Oct 14 22:18:20 OpenWrt user.info sysinit: Loading redirects
Oct 14 22:18:20 OpenWrt user.info sysinit: Loading rules
Oct 14 22:18:20 OpenWrt user.info sysinit: Loading includes
Oct 14 22:18:20 OpenWrt user.info sysinit: Optimizing conntrack
Oct 14 22:18:20 OpenWrt user.info sysinit: Loading interfaces
Oct 14 22:18:20 OpenWrt user.info firewall: adding lan (br-lan) to zone lan
Oct 14 22:18:22 OpenWrt daemon.info hostapd: wlan0: STA 04:46:65:fc:34:cc IEEE 802.11: authenticated
Oct 14 22:18:22 OpenWrt daemon.info hostapd: wlan0: STA 04:46:65:fc:34:cc IEEE 802.11: associated (aid 1)
Oct 14 22:18:22 OpenWrt daemon.info hostapd: wlan0: STA 04:46:65:fc:34:cc WPA: pairwise key handshake completed (RSN)
Oct 14 22:18:22 OpenWrt user.err syslog: Will not use User root (UID=0) as specified on line 26 for security reasons.  You must use a non-privileged account instead.
Oct 14 22:18:22 OpenWrt user.err syslog: File or directory for "TempDir /usb/cups/temp/" on line 29 does not exist!
Oct 14 22:18:22 OpenWrt user.info syslog: Listening to :::631 (IPv6)
Oct 14 22:18:22 OpenWrt user.info syslog: Listening to 0.0.0.0:631 (IPv4)
Oct 14 22:18:22 OpenWrt user.warn syslog: "AuthClass System" is deprecated; consider using "Require user @SYSTEM" on line 44.
Oct 14 22:18:22 OpenWrt user.info syslog: Remote access is enabled.
Oct 14 22:18:22 OpenWrt user.debug syslog: Added auto ServerAlias OpenWrt
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: Loaded configuration file "/etc/cups/cupsd.conf"
Oct 14 22:18:22 OpenWrt lpr.notice cupsd[1416]: Group and SystemGroup cannot use the same groups!
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: Resetting Group to "nobody"...
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: Repairing access permissions of "/usb/cups/"
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: Repairing ownership of "/var/cache/cups"
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: Repairing access permissions of "/var/cache/cups"
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: Creating missing directory "/var/cache/cups/rss"
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: Repairing ownership of "/var/cache/cups/rss"
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: Repairing access permissions of "/var/cache/cups/rss"
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: Creating missing directory "/var/run/cups"
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: Repairing ownership of "/var/run/cups"
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: Repairing access permissions of "/var/run/cups"
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: Creating missing directory "/var/run/cups/certs"
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: Repairing ownership of "/var/run/cups/certs"
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: Repairing access permissions of "/var/run/cups/certs"
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: Using default TempDir of /usb/cups//tmp...
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: Creating missing directory "/usb/cups//tmp"
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: Repairing ownership of "/usb/cups//tmp"
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: Repairing access permissions of "/usb/cups//tmp"
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: Configured for up to 100 clients.
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: Allowing up to 100 client connections per host.
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: Creating CUPS default administrative policy:
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: <Policy default>
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: <Limit Send-Document Send-URI Cancel-Job Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Susp
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: Order Deny,Allow
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: Require user @OWNER @SYSTEM
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: </Limit>
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: <Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Pri
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: Order Deny,Allow
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: AuthType Default
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: Require user @SYSTEM
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: </Limit>
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: <Limit All>
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: Order Deny,Allow
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: </Limit>
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: </Policy>
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: Full reload is required.
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: Loaded MIME database from "/usr/share/cups/mime" and "/etc/cups": 35 types, 39 filters...
Oct 14 22:18:22 OpenWrt lpr.err cupsd[1416]: cupsdLoadBanners: Unable to open banner directory "/usr/share/cups/banners": No such file or directory
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: Loading printer canon...
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: cupsdMarkDirty(P-----)
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: cupsdSetBusyState: Dirty files
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: load_ppd: Loading /etc/cups/ppd/canon.ppd...
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: cupsdRegisterPrinter(p=0x555c7740(canon))
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: Loading printer Laser...
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: cupsdMarkDirty(P-----)
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: load_ppd: Loading /etc/cups/ppd/Laser.ppd...
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: load_ppd: Saving /var/cache/cups/Laser.ipp2...
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: cupsdRegisterPrinter(p=0x555d3d40(Laser))
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: Loading printer LP...
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: cupsdMarkDirty(P-----)
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: load_ppd: Loading /etc/cups/ppd/LP.ppd...
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: cupsdRegisterPrinter(p=0x555d7e38(LP))
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: Loading printer USB...
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: cupsdMarkDirty(P-----)
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: load_ppd: Loading /etc/cups/ppd/USB.ppd...
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: cupsdRegisterPrinter(p=0x555e3590(USB))
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: Scanning /usb/cups/ for jobs...
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: [Job 7] Loading attributes...
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: [Job 7] Auto-typing document file "/usb/cups//d00007-001"...
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: [Job 8] Loading attributes...
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: [Job 8] Auto-typing document file "/usb/cups//d00008-001"...
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: Full reload complete.
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: cupsd_clean_files(path="/usb/cups//tmp", pattern="(null)")
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: Cleaning out old files in "/usb/cups//tmp"...
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: cupsd_clean_files(path="/var/cache/cups", pattern="*.ipp")
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: Cleaning out old files in "/var/cache/cups"...
Oct 14 22:18:22 OpenWrt lpr.err cupsd[1416]: Unable to open listen socket for address :::631 - Address family not supported by protocol.
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: Listening to 0.0.0.0:631 on fd 4...
Oct 14 22:18:22 OpenWrt lpr.info cupsd[1416]: Resuming new connection processing...
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: cupsdRegisterPrinter(p=0x555c7740(canon))
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: cupsdRegisterPrinter(p=0x555d3d40(Laser))
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: cupsdRegisterPrinter(p=0x555d7e38(LP))
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: cupsdRegisterPrinter(p=0x555e3590(USB))
Oct 14 22:18:22 OpenWrt lpr.debug cupsd[1416]: Discarding unused server-started event...
Oct 14 22:18:23 OpenWrt authpriv.info dropbear[1432]: Running in background
Oct 14 22:18:23 OpenWrt user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Oct 14 22:18:23 OpenWrt user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Oct 14 22:18:23 OpenWrt lpr.debug cupsd[1416]: Report: clients=0
Oct 14 22:18:23 OpenWrt lpr.debug cupsd[1416]: Report: jobs=2
Oct 14 22:18:23 OpenWrt lpr.debug cupsd[1416]: Report: jobs-active=2
Oct 14 22:18:23 OpenWrt lpr.debug cupsd[1416]: Report: printers=4
Oct 14 22:18:23 OpenWrt lpr.debug cupsd[1416]: Report: printers-implicit=0
Oct 14 22:18:23 OpenWrt lpr.debug cupsd[1416]: Report: stringpool-string-count=1566
Oct 14 22:18:23 OpenWrt lpr.debug cupsd[1416]: Report: stringpool-alloc-bytes=9136
Oct 14 22:18:23 OpenWrt lpr.debug cupsd[1416]: Report: stringpool-total-bytes=31280
Oct 14 22:18:23 OpenWrt daemon.info dnsmasq[1459]: started, version 2.55 cachesize 150
Oct 14 22:18:23 OpenWrt daemon.info dnsmasq[1459]: compile time options: IPv6 GNU-getopt no-DBus no-I18N DHCP TFTP
Oct 14 22:18:23 OpenWrt daemon.info dnsmasq[1459]: using local addresses only for domain lan
Oct 14 22:18:23 OpenWrt daemon.info dnsmasq[1459]: reading /tmp/resolv.conf.auto
Oct 14 22:18:23 OpenWrt daemon.info dnsmasq[1459]: using nameserver 192.168.0.100#53
Oct 14 22:18:23 OpenWrt daemon.info dnsmasq[1459]: using local addresses only for domain lan
Oct 14 22:18:23 OpenWrt daemon.info dnsmasq[1459]: read /etc/hosts - 1 addresses
Oct 14 22:18:24 OpenWrt user.info sysinit: setting up led WLAN
Oct 14 22:18:24 OpenWrt user.debug kernel: ar71xx-wdt: enabling watchdog timer
Oct 18 23:07:33 OpenWrt daemon.info hostapd: wlan0: STA 04:46:65:fc:34:cc WPA: group key handshake completed (RSN)
Oct 18 23:07:39 OpenWrt authpriv.info dropbear[1480]: Child connection from 192.168.0.25:55518
Oct 18 23:07:45 OpenWrt authpriv.notice dropbear[1480]: Password auth succeeded for 'root' from 192.168.0.25:55518
Oct 18 23:07:51 OpenWrt lpr.err cupsd[1416]: Unable to backup printers.conf - No space left on device
Oct 18 23:07:51 OpenWrt lpr.info cupsd[1416]: Saving printers.conf...
Oct 18 23:07:51 OpenWrt lpr.debug cupsd[1416]: cupsdSetBusyState: Not busy
Oct 18 23:07:51 OpenWrt lpr.debug cupsd[1416]: [Job 7] Unloading...
Oct 18 23:07:51 OpenWrt lpr.debug cupsd[1416]: [Job 8] Unloading...
Oct 18 23:07:51 OpenWrt lpr.debug cupsd[1416]: Report: clients=0
Oct 18 23:07:51 OpenWrt lpr.debug cupsd[1416]: Report: jobs=2
Oct 18 23:07:51 OpenWrt lpr.debug cupsd[1416]: Report: jobs-active=2
Oct 18 23:07:51 OpenWrt lpr.debug cupsd[1416]: Report: printers=4
Oct 18 23:07:51 OpenWrt lpr.debug cupsd[1416]: Report: printers-implicit=0
Oct 18 23:07:51 OpenWrt lpr.debug cupsd[1416]: Report: stringpool-string-count=1496


I can access cups fine on 192.168.0.1:631 and I believe I created the printers there correctly.

Also:

root@OpenWrt:~# /usr/lib/cups/backend/usb
DEBUG: list_devices
DEBUG: usb_find_busses=1
DEBUG: usb_find_devices=6
direct usb://Brother/HL-5240%20series?serial=H8J720309 "Brother HL-5240 series" "Brother HL-5240 series" "MFG:Brother;CMD:PJL,PCL,PCLXL,POSTSCRIPT;MDL:HL-5240 series;CLS:PRINTER;" ""
direct usb://Canon/MX310%20series?serial=406F4E&interface=1 "Canon MX310 series" "Canon MX310 series" "MFG:Canon;CMD:BJL,BJRaster3,BSCCe,PLI;SOJ:TXT01;MDL:MX310 series;CLS:PRINTER;DES:Canon MX310 series;VER:1.030;STA:10;HRI:EU;MSI:E3;" ""
direct usb://Canon/MX310%20series%20FAX?serial=406F4E&interface=2 "Canon MX310 series FAX" "Canon MX310 series FAX" "MFG:Canon;CMD:MultiPASS 2.1;MDL:MX310 series FAX;CLS:PRINTER;DES:Canon MX310 series FAX;" ""
root@OpenWrt:~#

Cups printer config:
root@OpenWrt:~# cat /etc/cups/printers.conf
# Printer configuration file for CUPS v1.4.4
# Written by cupsd on 2012-10-17 22:45
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer canon>
Info canon
DeviceURI usb://Canon/MX310%20series?serial=406F4E&interface=1
State Idle
StateTime 1350210838
Type 4
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer Laser>
Info Brother HL-5240
MakeModel Brother HL-5240 BR-Script3
DeviceURI usb://Brother/HL-5240%20series?serial=H8J720309
State Idle
StateTime 1350463757
Type 8433732
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-command 0 commandtops
Filter application/vnd.cups-postscript 0 -
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer LP>
Info Parallel Port Printer
DeviceURI parallel:/dev/printers/0
State Stopped
StateMessage Unable to open print file "/usb/cups/d00002-001": No such file or directory
StateTime 1350205817
Reason paused
Type 4
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<DefaultPrinter USB>
Info USB Printer
DeviceURI usb:/dev/usb/lp0
State Idle
StateTime 1350211157
Type 4
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
root@OpenWrt:~#

root@OpenWrt:/etc/cups# cat cupsd.conf
....
AccessLog syslog
ErrorLog syslog
LogLevel debug
PageLog syslog
PreserveJobHistory No
PreserveJobFiles No
AutoPurgeJobs Yes
MaxJobs 25
MaxPrinterHistory 10
#Printcap /etc/printcap
#PrintcapFormat BSD
RequestRoot /usb/cups/
#RemoteRoot remroot
User root
Group root
RIPCache 512k
TempDir /usb/cups/temp/
Port 631
HostNameLookups Off
KeepAlive On
Browsing On
BrowseProtocols cups

<Location />
Order Deny,Allow
Allow From 127.0.0.1
Allow From 192.168.0.0/24
</Location>

<Location /admin>
AuthType Basic
AuthClass System
Order Allow,Deny
Allow From All
</Location>



So when I try and print (tried from win 7 and linux mint) the job gets to CUPs, but goes "STOPPED" straight away.

This is the debug at the time:
Oct 18 23:15:56 OpenWrt lpr.debug cupsd[1416]: cupsdReadClient: 10 1.1 Restart-Job 1
Oct 18 23:15:56 OpenWrt lpr.debug cupsd[1416]: Restart-Job ipp://localhost/jobs/7
Oct 18 23:15:56 OpenWrt lpr.debug cupsd[1416]: cupsdIsAuthorized: requesting-user-name="guest"
Oct 18 23:15:56 OpenWrt lpr.debug cupsd[1416]: Returning HTTP Unauthorized for Restart-Job (ipp://localhost/jobs/7) from localhost
Oct 18 23:15:56 OpenWrt lpr.info cupsd[1416]: REQUEST localhost - - "POST /jobs HTTP/1.1" 401 139 Restart-Job successful-ok
Oct 18 23:15:56 OpenWrt lpr.debug cupsd[1416]: cupsdSendHeader: 10 WWW-Authenticate: Basic realm="CUPS", trc="y"
Oct 18 23:15:56 OpenWrt lpr.debug cupsd[1416]: PID 1552 (/usr/lib/cups/cgi-bin/jobs.cgi) exited with no errors.
Oct 18 23:15:56 OpenWrt lpr.debug cupsd[1416]: [CGI] cgi_passwd(prompt="Password for nobody on localhost? ") called!
Oct 18 23:15:56 OpenWrt lpr.debug cupsd[1416]: cupsdReadClient: 10 WAITING Closing on EOF
Oct 18 23:15:56 OpenWrt lpr.debug cupsd[1416]: cupsdCloseClient: 10
Oct 18 23:15:56 OpenWrt lpr.debug cupsd[1416]: Script header: Status: 401
Oct 18 23:15:56 OpenWrt lpr.debug cupsd[1416]: cupsdSendHeader: 5 WWW-Authenticate: Basic realm="CUPS"
Oct 18 23:15:56 OpenWrt lpr.debug cupsd[1416]: Script header:
Oct 18 23:15:56 OpenWrt lpr.debug cupsd[1416]: cupsdWriteClient: 5 Closing because Keep-Alive disabled
Oct 18 23:15:56 OpenWrt lpr.debug cupsd[1416]: cupsdCloseClient: 5
Oct 18 23:15:56 OpenWrt lpr.debug cupsd[1416]: cupsdSetBusyState: Not busy
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: cupsdAcceptClient: 5 from 192.168.0.25:631 (IPv4)
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: cupsdReadClient: 5 POST /jobs/ HTTP/1.1
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: cupsdSetBusyState: Active clients
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: cupsdAuthorize: Authorized as root using Basic
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] argv[0] = "/usr/lib/cups/cgi-bin/jobs.cgi"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[0] = "CUPS_CACHEDIR=/var/cache/cups"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[1] = "CUPS_DATADIR=/usr/share/cups"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[2] = "CUPS_DOCROOT=/usr/share/doc/cups"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[3] = "CUPS_FONTPATH=/usr/share/cups/fonts"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[4] = "CUPS_REQUESTROOT=/usb/cups/"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[5] = "CUPS_SERVERBIN=/usr/lib/cups"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[6] = "CUPS_SERVERROOT=/etc/cups"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[7] = "CUPS_STATEDIR=/var/run/cups"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[8] = "HOME=/usb/cups//tmp"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[9] = "PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[10] = "SERVER_ADMIN=root@OpenWrt"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[11] = "SOFTWARE=CUPS/1.4.4"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[12] = "TMPDIR=/usb/cups//tmp"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[13] = "USER=root"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[14] = "CUPS_SERVER=localhost"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[15] = "CUPS_ENCRYPTION=IfRequested"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[16] = "IPP_PORT=631"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[17] = "CUPSD_AUTH_TYPE=Basic"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[18] = "LANG=en_US.UTF8"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[19] = "REDIRECT_STATUS=1"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[20] = "GATEWAY_INTERFACE=CGI/1.1"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[21] = "SERVER_NAME=192.168.0.1"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[22] = "SERVER_PORT=631"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[23] = "REMOTE_ADDR=192.168.0.25"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[24] = "REMOTE_HOST=192.168.0.25"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[25] = "SCRIPT_NAME=/jobs/"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[26] = "SCRIPT_FILENAME=/usr/share/doc/cups/jobs/"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[27] = "REMOTE_USER=root"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[28] = "SERVER_PROTOCOL=HTTP/1.1"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[29] = "HTTP_COOKIE=org.cups.sid=d818510f7d8fd911cd63338202014d96"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[30] = "HTTP_USER_AGENT=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0.1"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[31] = "HTTP_REFERER=http://192.168.0.1:631/printers/Laser"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[32] = "REQUEST_METHOD=POST"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[33] = "CONTENT_LENGTH=135"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[34] = "CONTENT_TYPE=application/x-www-form-urlencoded"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] Started /usr/lib/cups/cgi-bin/jobs.cgi (PID 1555)
Oct 18 23:16:01 OpenWrt lpr.info cupsd[1416]: Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=1555)
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: cupsdSendCommand: 5 file=11
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [CGI] org.cups.sid cookie is "d818510f7d8fd911cd63338202014d96"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: cupsdAcceptClient: 10 from localhost:631 (IPv4)
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: cupsdReadClient: 10 POST /jobs HTTP/1.1
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: cupsdAuthorize: No authentication data provided.
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: cupsdReadClient: 10 1.1 Restart-Job 1
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: Restart-Job ipp://localhost/jobs/7
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: cupsdIsAuthorized: requesting-user-name="root"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: Discarding unused job-state-changed event...
Oct 18 23:16:01 OpenWrt lpr.info cupsd[1416]: [Job 7] Job restarted by user.
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: cupsdMarkDirty(----J-)
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: cupsdSetBusyState: Active clients and dirty files
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: cupsdMarkDirty(----J-)
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: cupsdSetBusyState: Active clients, printing jobs, and dirty files
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: Discarding unused printer-state-changed event...
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [Job 7] job-sheets=none,none
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [Job 7] argv[0]="Laser"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [Job 7] argv[1]="7"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [Job 7] argv[2]="Matt"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [Job 7] argv[3]="Test Page"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [Job 7] argv[4]="1"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [Job 7] argv[5]="job-uuid=urn:uuid:de0fef2e-d0c0-3119-49dd-e164a1a470c0 job-originating-host-name=192.168.0.25"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [Job 7] argv[6]="/usb/cups//d00007-001"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [Job 7] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [Job 7] envp[1]="CUPS_DATADIR=/usr/share/cups"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [Job 7] envp[2]="CUPS_DOCROOT=/usr/share/doc/cups"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [Job 7] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [Job 7] envp[4]="CUPS_REQUESTROOT=/usb/cups/"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [Job 7] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [Job 7] envp[6]="CUPS_SERVERROOT=/etc/cups"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [Job 7] envp[7]="CUPS_STATEDIR=/var/run/cups"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: [Job 7] envp[8]="HOME=/usb/cups//tmp"
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: cupsdAcceptClient: 12 from 192.168.0.25:631 (IPv4)
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: cupsdReadClient: 10 WAITING Closing on EOF
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: cupsdCloseClient: 10
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: PID 1555 (/usr/lib/cups/cgi-bin/jobs.cgi) exited with no errors.
Oct 18 23:16:01 OpenWrt lpr.debug cupsd[1416]: cupsdSetBusyState: Dirty files
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: cupsdReadClient: 5 GET /printers/ HTTP/1.1
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: cupsdSetBusyState: Active clients and dirty files
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: cupsdAuthorize: No authentication data provided.
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: [CGI] argv[0] = "/usr/lib/cups/cgi-bin/printers.cgi"
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[0] = "CUPS_CACHEDIR=/var/cache/cups"
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[1] = "CUPS_DATADIR=/usr/share/cups"
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[2] = "CUPS_DOCROOT=/usr/share/doc/cups"
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[3] = "CUPS_FONTPATH=/usr/share/cups/fonts"
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[4] = "CUPS_REQUESTROOT=/usb/cups/"
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[5] = "CUPS_SERVERBIN=/usr/lib/cups"
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: [CGI] envp[6] = "CUPS_SERVERROOT=/etc/cups"
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: [CGI] org.cups.sid cookie is "d818510f7d8fd911cd63338202014d96"
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: cupsdReadClient: 12 WAITING Closing on EOF
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: cupsdCloseClient: 12
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: cupsdAcceptClient: 12 from localhost:631 (IPv4)
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: cupsdReadClient: 12 POST / HTTP/1.1
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: cupsdAuthorize: No authentication data provided.
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: cupsdReadClient: 12 1.1 CUPS-Get-Default 1
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: CUPS-Get-Default
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: Returning IPP successful-ok for CUPS-Get-Default (no URI) from localhost
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: [CGI] show_all_printers(http=0x55564ef8, user="(null)")
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: Script header: Content-Type: text/html;charset=utf-8
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: Script header:
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: cupsdReadClient: 12 POST / HTTP/1.1
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: cupsdAuthorize: No authentication data provided.
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: cupsdReadClient: 12 1.1 CUPS-Get-Printers 1
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: CUPS-Get-Printers
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: Returning IPP successful-ok for CUPS-Get-Printers (no URI) from localhost
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: cupsdAcceptClient: 13 from 192.168.0.25:631 (IPv4)
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: PID 1558 (/usr/lib/cups/cgi-bin/printers.cgi) exited with no errors.
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: cupsdReadClient: 12 WAITING Closing on EOF
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: cupsdCloseClient: 12
Oct 18 23:16:06 OpenWrt lpr.debug cupsd[1416]: cupsdSetBusyState: Dirty files
Oct 18 23:16:11 OpenWrt lpr.debug cupsd[1416]: cupsdReadClient: 13 WAITING Closing on EOF
Oct 18 23:16:11 OpenWrt lpr.debug cupsd[1416]: cupsdCloseClient: 13
Oct 18 23:16:11 OpenWrt lpr.debug cupsd[1416]: [Job 7] Unloading...
Oct 18 23:16:11 OpenWrt lpr.debug cupsd[1416]: [Job 8] Unloading...

So yeah, feel like I'm going crazy, as I can see the router is detecting the printers (as above), but cups seems to be having issues talking to the printers?


Sorry a lot of output, but hopefully someone is able to help me with this! I've mainly stuck at it in hope I'd get it working and could write up a better tutorial!

Otherwise will admit defeat and try out p910nd hmm

extra:
I did manually add a driver for one of the printers (brother from memory, by wget the ppd file into the right cups directory).

- Also yes I should remove the default lp0 and usb printer configs from the cups printer config file, but no harm leaving them there for now...

Also probably not needed, but for extra:

root@OpenWrt:~# cd /dev
root@OpenWrt:/dev# ls -a -l
drwxr-xr-x    4 root     root          980 Oct 14 22:18 .
drwxr-xr-x    9 root     root            0 Jan  1  1970 ..
crw-r--r--    1 root     root     189,   1 Oct 14 22:18 1-1
crw-r--r--    1 root     root     189,   2 Oct 14 22:18 1-1.1
crw-r--r--    1 root     root     189,   3 Oct 14 22:18 1-1.2
crw-r--r--    1 root     root     189,   4 Oct 14 22:18 1-1.5
crw-r--r--    1 root     root     189,   5 Oct 14 22:18 1-1.7
crw-r--r--    1 root     root       5,   1 Jan  1  1970 console
crw-r--r--    1 root     root      10,  63 Jan  1  1970 cpu_dma_latency
crw-rw-rw-    1 root     root       1,   7 Jan  1  1970 full
crw-r--r--    1 root     root       1,  11 Jan  1  1970 kmsg
srw-rw-rw-    1 root     root            0 Oct 14 22:18 log
crw-r--r--    1 root     root       1,   1 Jan  1  1970 mem
crw-r--r--    1 root     root      90,   0 Jan  1  1970 mtd0
crw-r--r--    1 root     root      90,   1 Jan  1  1970 mtd0ro
crw-r--r--    1 root     root      90,   2 Jan  1  1970 mtd1
crw-r--r--    1 root     root      90,   3 Jan  1  1970 mtd1ro
crw-r--r--    1 root     root      90,   4 Jan  1  1970 mtd2
crw-r--r--    1 root     root      90,   5 Jan  1  1970 mtd2ro
crw-r--r--    1 root     root      90,   6 Jan  1  1970 mtd3
crw-r--r--    1 root     root      90,   7 Jan  1  1970 mtd3ro
crw-r--r--    1 root     root      90,   8 Jan  1  1970 mtd4
crw-r--r--    1 root     root      90,   9 Jan  1  1970 mtd4ro
crw-r--r--    1 root     root      90,  10 Jan  1  1970 mtd5
crw-r--r--    1 root     root      90,  11 Jan  1  1970 mtd5ro
brw-r--r--    1 root     root      31,   0 Jan  1  1970 mtdblock0
brw-r--r--    1 root     root      31,   1 Jan  1  1970 mtdblock1
brw-r--r--    1 root     root      31,   2 Jan  1  1970 mtdblock2
brw-r--r--    1 root     root      31,   3 Jan  1  1970 mtdblock3
brw-r--r--    1 root     root      31,   4 Jan  1  1970 mtdblock4
brw-r--r--    1 root     root      31,   5 Jan  1  1970 mtdblock5
crw-r--r--    1 root     root      10,  62 Jan  1  1970 network_latency
crw-r--r--    1 root     root      10,  61 Jan  1  1970 network_throughput
crw-rw-rw-    1 root     root       1,   3 Jan  1  1970 null
crw-r--r--    1 root     root       1,   4 Jan  1  1970 port
crw-------    1 root     root     108,   0 Oct 14 22:18 ppp
crw-rw-rw-    1 root     root       5,   2 Oct 18 23:22 ptmx
drwxr-xr-x    2 root     root            0 Jan  1  1970 pts
crw-r--r--    1 root     root       1,   8 Jan  1  1970 random
brw-r--r--    1 root     root       8,   0 Oct 14 22:18 sda
brw-r--r--    1 root     root       8,   1 Oct 14 22:18 sda1
brw-r--r--    1 root     root       8,   2 Oct 14 22:18 sda2
drwxr-xr-x    2 root     root           40 Jan  1  1970 shm
crw-rw-rw-    1 root     root       5,   0 Jan  1  1970 tty
crw-rw-rw-    1 root     root       4,  64 Jan  1  1970 ttyS0
crw-r--r--    1 root     root       1,   9 Jan  1  1970 urandom
crw-r--r--    1 root     root     189,   0 Oct 14 22:18 usb1
crw-r--r--    1 root     root      10, 130 Jan  1  1970 watchdog
crw-rw-rw-    1 root     root       1,   5 Jan  1  1970 zero


Thanks!

Matt

-------------------------
http://mattie47.com
-------------------------

Re: Has anyone actually got CUPs working with their router/printer?

Wohooo!! I fixed it and got it working!  I bit the bullet and did a fresh install using an unstable build. I've written a complete guide how how to get cups working with OpenWrt and have posted it here: http://mattie47.com/getting-cups-working-on-openwrt/ Hopefully this will be useful to someone who was in my position smile

Re: Has anyone actually got CUPs working with their router/printer?

Thanks mattie47 for documenting the steps.