[plug] WA Govenment iPads for year 1 and 2 students

Brad Campbell brad at fnarfbargle.com
Fri Feb 24 09:07:15 WST 2012


On 24/02/12 00:00, Alexander Hartner wrote:
> You got instruction on how to connect the iPad to that printer. It is definitely not finding my printer on my network. Do you have the Bonjour configuration for debian on how to publish it ?
>

After re-checking the server I note I don't have bonjour installed 
actually. So I have cups configured to "Share printers connected to this 
system", and that's what it does. I certainly did not have to manually 
configure anything over and above what I needed to get Linux PC's to see 
the printers.

I've confirmed that stopping cups on the server makes the printers 
disappear from the list on the iPad in real time. Likewise starting cups 
on the server almost instantly populates the list again.

Here's my cups version and config file :

root at srv:~# apt-cache showpkg cups
Package: cups
Versions:
1.5.0-13 
(/var/lib/apt/lists/mirror.waia.asn.au_debian_dists_testing_main_binary-amd64_Packages) 
(/var/lib/dpkg/status)

root at srv:~# cat /etc/cups/cupsd.conf
LogLevel notice
SystemGroup lpadmin
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
# Enable printer sharing and shared printers.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseAddress @LOCAL
BrowseAddress 192.168.2.255
BrowseAddress 192.168.253.255
BrowsePoll 10.8.0.6:631

DefaultAuthType Basic
<Location />
   Allow 192.168.2.0/24
   Allow 192.168.253.0/24
   Allow 10.8.0.0/24
   # Allow shared printing and remote administration...
   Order allow,deny
   Allow @LOCAL
</Location>
<Location /admin>
   Allow from 192.168.2.0/24
   Allow 10.8.0.0/24
   # Allow remote administration...
   Order allow,deny
   Allow @LOCAL
</Location>
<Location /admin/conf>
   AuthType Default
   Require user @SYSTEM
   Allow from all
   # Allow remote access to the configuration files...
   Order allow,deny
   Allow @LOCAL
</Location>
<Policy default>
   <Limit Send-Document Send-URI 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 
Suspend-Current-Job Resume-Job CUPS-Move-Job>
     Require user @OWNER @SYSTEM
     Order deny,allow
     Allow from all
   </Limit>
   <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer 
CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
     AuthType Default
     Require user @SYSTEM
     Order deny,allow
   </Limit>
   <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer 
Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs 
Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer 
Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs 
CUPS-Reject-Jobs>
     AuthType Default
     Require user @SYSTEM
     Order deny,allow
     Allow from all
   </Limit>
   <Limit CUPS-Authenticate-Job>
     Require user @OWNER @SYSTEM
     Order deny,allow
     Allow from all
   </Limit>
   <Limit All>
     Order deny,allow
     Allow from all
   </Limit>
</Policy>



More information about the plug mailing list