whiskey7.net  ~ radio tsunami ~~~ on the river    
Contribute  :  Advanced Search  :  Directory  
 Welcome to whiskey7.net ~ radio tsunami ~~~
 Friday, September 10 2010 @ 07:30 AM CDT

Network/Wireless Printing Turned Up

   
ComputingI've been happily using an Unslung (to disk) NSLU2 for almost a year now. The NAS has a 120GB plugged into the Disk2 port. Having fully integrated my new MacBook Pro into my life, I wanted to leverage portability w/ wireless printing. Plugging my hp970Cse into Disk1 port and installing the cups ipkg worked perfectly, with only minimal pain.

First I determined that there was no need to upgrade my Unslung from 6.8 so, I was looking for a joy ride.

Almost: the daemon started up out of the box but was not not reachable by my MBP. Setting "Listen" to my Unslug address wound up breaking everything with an error report of something like, 'no local access port'.
This was fixed by explicitly specifying (in cupsd.conf):

Listen 127.0.0.1:631
Listen <Unslug.wired.LAN.addr>:631

(removed other Listen and Port parameters)

I was then able to POST a print request from my MBP but it failed. Turning up the logging level showed that No Authentication was supplied. Looking further down cupsd.conf, I spotted the problem:

Changing "Order" from Deny/Allow to Allow/Deny and making sure that the Allow addresses of the <Location /> and <Location /printers> tag payloads were:

Allow 127.0.0.1
Allow <my.wired.LAN.base>/24

Bingo!

In my installation, cups web admin is not available cuz it also fails on auth but not a big deal. I just setup my printer in a vi session of the file /opt/etc/cups/printers.conf via ssh.

My head end router is a WRT54GL running OpenWrt White Russian - With X-Wrt Extensions 0.9.

Enjoy!

 

What's Related

Story Options

Network/Wireless Printing Turned Up | 0 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.
 Copyright © 2010 whiskey7.net ~ radio tsunami ~~~
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.20 seconds