Timothy R. Butler
Dabbler
- Joined
- Jan 19, 2012
- Messages
- 11
Hello, everyone,
I recently embarked to install CUPS on my FreeNAS to provide AirPrint functionality for my network printer. I've posted the steps I took over on SuperUser.org. The project was a success, but I've noticed a few problems I was hoping someone here might have found a resolution to. Once I resolve these, I figured I would polish up my documented steps and post a how-to online to help anyone else that might be interested in doing this.
First, I ended up needing to add the Bonjour/ZeroConf information to the main system Avahi installation, rather than running a separate copy in the jail. Perhaps this is for the best, but it did leave me curious: Avahi within the jail would only work for a few minutes before mysteriously ceasing to advertise services. Any idea why?
Second, unlike a normal, generic CUPS installation (such as the one I did just the day before on Arch Linux), the copy I installed on FreeNAS seems incapable of auto detecting CUPS-compatible printers on the network under its auto detection section. Is this somehow tied in with the Avahi issue?
Last, but not least, now that I have a jail on a separate IP address, Avahi is advertising both IP addresses for all of the network services. This presents a problem in certain instances: for example, when I try to ssh into beatrice.local, I end up connecting to my jail's SSH server rather than the systemwide one. I've had to switch to using the static IP to ensure I connect to the overall FreeNAS system. Any idea on how to fix this?
Thanks,
Tim
I recently embarked to install CUPS on my FreeNAS to provide AirPrint functionality for my network printer. I've posted the steps I took over on SuperUser.org. The project was a success, but I've noticed a few problems I was hoping someone here might have found a resolution to. Once I resolve these, I figured I would polish up my documented steps and post a how-to online to help anyone else that might be interested in doing this.
First, I ended up needing to add the Bonjour/ZeroConf information to the main system Avahi installation, rather than running a separate copy in the jail. Perhaps this is for the best, but it did leave me curious: Avahi within the jail would only work for a few minutes before mysteriously ceasing to advertise services. Any idea why?
Second, unlike a normal, generic CUPS installation (such as the one I did just the day before on Arch Linux), the copy I installed on FreeNAS seems incapable of auto detecting CUPS-compatible printers on the network under its auto detection section. Is this somehow tied in with the Avahi issue?
Last, but not least, now that I have a jail on a separate IP address, Avahi is advertising both IP addresses for all of the network services. This presents a problem in certain instances: for example, when I try to ssh into beatrice.local, I end up connecting to my jail's SSH server rather than the systemwide one. I've had to switch to using the static IP to ensure I connect to the overall FreeNAS system. Any idea on how to fix this?
Thanks,
Tim