Hi,
I'm trying to make a Slackware 14.1 box working as a wireless print server with airprint support for iPads.
I tried to follow the Tutorial
https://www.linuxquestions.org/questions/blog/rod3775-407266/building-a-cups-server-for-a-network-with-slackware-37415, but my server box has only wlan0 connected to the local network and I'm not sure how to set up hostapd or if I need it at all. Do I really need to set up a new network?
I installed
hostapd,
libdaemon,
avahi and
nss-mdns from SBo, rebuilt and installed the
cups package with avahi and mdns enabled, edited /etc/cups/cupsd.conf, replaced the
gstoraster bin with the perl script (in /usr/lib/cups/filter/), created the
mime files, and ran
airprint-generate script, all according to the tutorial. Also I read the Linux magazine article linked in the tutorial.
Now the iPad finds the remote printer and if it prints, a processing dialog window appears and disappears after one or two seconds, so I think it's sending the data to the server, but cups doesn't recognize anything. There's no print out and no log file entry.
Here is what my /etc/hosts entry looks like:
Code:
127.0.0.1 localhost
192.168.x.y <hostname>.local <hostname>.<domain> <hostname>
(I replaced the real host name, domain and IP)
For the network connection I use wicd.
In /etc/cups/cupsd.conf I tested using "ServerAlias *" as well as "ServerAlias <hostname>.local <hostname>.<domain>" but that doesn't seem to change anything.
Also I tested rebuilding and installing cups 2.1.4 and 2.2.8, but that also made no difference.
Remote printing from other Slackware systems using ipp works fine.
Can anybody give me a hint what I'm doing wrong please? How can I make it work?