'Fun' with printserver and pfsense 1.2.2 devel.
-
Hi everyone, I just registered here.
Pfsense is my first foray into the *BSD land, I have some exposure to Linux as a user.
Been using pfsense in home environment for several months now and thought about connecting a parallel port printer to the pfsense box /sharing it across LAN. The printer is now connected to a dedicated Linux printserver and works quite well, but I'd like to remove one server from LAN and save a few $ in electricity bills.
First, I downloaded ports:fetch -o - "ftp://ftp1.us.freebsd.org/pub/FreeBSD/ports/ports/ports.tar.gz" | tar zxf - -C /usr
as described in this post (Reply #6):
http://forum.pfsense.org/index.php?topic=2904.msg18020
Then proceeded to install cups:
pkg_add -r cups
and got this message:
Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.0-release/Latest/cups.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.0-release/Latest/cups.tbz' by URLCan I safely 'redirect' pkg_add to fetch packages from an alternative location? (Installing nano editor seemed to work out OK - I did this as a test.)
setenv PACKAGESITE ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/7.0-RELEASE/packages/Latest/
I assumed 'yes' and went ahead with installing / configuring cups per this guide:
http://www.freebsd.org/doc/en/articles/cups/
but it doesn't seem to be working at all. I can't even connect to the server by typing http://pfsense_LAN_addess:631 from a LAN client connected to the pfsense. The firewall passes the Web traffic with no issues.
If I left out any clues from this post, my apologies.
As I mentioned already, I am a total greenhorn in BSD land, so go easy on me. :)What am I doing wrong? Can printserver be even installed on pfsense? ???
Thanks in advance.
Olek.P.S. My production pfsense server is powered by a 1 GHz Transmeta Crusoe CPU, has 512 MB of RAM and an 18 GB hard drive, the testing box is a Pentium 3, 450 MHz with 384 MB RAM. Once the kinks have been worked out, the printserver will be moved permanently to the Crusoe-based thin client production computer.
-
You started cupsd?
( ps ax | grep cups)
-
You started cupsd?
( ps ax | grep cups)
No, cupsd does not start for some reason, don't know why.
I followed the configuration guide, but every time the computer starts, the /etc/rc.conf file is missing.3 Configuring the CUPS Print Server
After installation, a few files must edited in order to configure the CUPS server. First, create or modify, as the case may be, the file /etc/devfs.rules and add the following information to set the proper permissions on all potential printer devices and to associate printers with the cups user group:
[system=10]
add path 'unlpt*' mode 0660 group cups
add path 'ulpt*' mode 0660 group cups
add path 'lpt*' mode 0660 group cupsNext, add two lines to /etc/rc.conf as follows:
cupsd_enable="YES"
devfs_system_ruleset="system"These two entries will start the CUPS print server on boot and invoke the local devfs rule created above, respectively.
I created /etc/devfs.rules manually and added the lines mentioned in the quide above, but there is already a file called /etc/defaults/devfs.rules present in the system. Do I need to modify the latter accordingly and drop the one created by hand?
Should cups-base be pkg_add'ed as well?
(I am walking in the dark here…)
??? ??? ???
Thanks!