LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-21-2014, 07:34 AM   #1
tombelcher7
Member
 
Registered: Feb 2008
Location: Surrey
Distribution: Debian
Posts: 214

Rep: Reputation: 5
Question PIDORA as CUPS Server and AirPrint Station


Not certain if this is absolutely the correct area to ask this but I am having difficulty with PIDORA (2014 release) based on Fedora.

I am trying to set up cups and airprint on Raspberry PI running PIDORA.

I need to add firewall rules to allow 631 but when I run the following command I get FirewallD is not running:

firewall-cmd --zone=public --add-port=631/tcp --permanent

When trying to start the FirewallD I get:

Code:
sudo systemctl enable firewalld.service
ln -s '/usr/lib/systemd/system/firewalld.service' '/etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service'
ln -s '/usr/lib/systemd/system/firewalld.service' '/etc/systemd/system/basic.target.wants/firewalld.service'

$ sudo systemctl start firewalld.service
Failed to issue method call: Unit firewalld.service is masked.
Can anyone suggest how to overcome this? Or is UFW available for FEDORA as I have used that with more success on Debian. (Due to Dell printer driver only being redhat friendly I am trying all of this on PIDORA as I have had driver issues on Raspbian).

Can anyone help?
 
Old 09-21-2014, 09:28 AM   #2
tombelcher7
Member
 
Registered: Feb 2008
Location: Surrey
Distribution: Debian
Posts: 214

Original Poster
Rep: Reputation: 5
I have found a command which is obvious but not to me due to my inexperience with Fedora / PIDORA:

sudo systemctl unmask firewalld

--in doing this it removed the service file firewalld.service which I recreated using:

sudo systemctl enable firewalld.service

Then started:

sudo systemctl start firewalld

Success!

Then added my rule:

firewall-cmd --zone=public --add-port=631/tcp --permanent

Though I still cannot open my CUPS admin page:

x.x.x.x:631 --firefox cannot connect ................... investigating this now
 
Old 09-21-2014, 09:35 AM   #3
tombelcher7
Member
 
Registered: Feb 2008
Location: Surrey
Distribution: Debian
Posts: 214

Original Poster
Rep: Reputation: 5
CUPS wasn't running as a service:

$ sudo systemctl status cups

cups.service - CUPS Printing Service
Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)
Active: inactive (dead)


$ sudo systemctl enable cups
$ sudo systemctl start cups

$ sudo systemctl status cups

cups.service - CUPS Printing Service
Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)
Active: active (running) since Sun 2014-09-21 15:30:33 BST; 1min 14s ago
Main PID: 740 (cupsd)
CGroup: /system.slice/cups.service
└─740 /usr/sbin/cupsd -f

systemd[1]: Started CUPS Printing Service.

Yet still I get a firefox cannot connect from an external host (I set the allow rules for CUPS for my LAN ................I'll keep looking
 
Old 09-21-2014, 10:00 AM   #4
tombelcher7
Member
 
Registered: Feb 2008
Location: Surrey
Distribution: Debian
Posts: 214

Original Poster
Rep: Reputation: 5
It looks like CUPS service is starting and has a PID '702' and the service status appears healthy yet the CUPS error_log is empty as if it is not actually started.

As this thread is beginning to go off in a seperate direction I will close and link this to a new thread that is specific to the new problem.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Airprint Print Server from Raspberry Pi tombelcher7 Linux - Server 1 08-04-2014 05:01 PM
New member - Raspberry Pi Model B, Samba4, AirPrint, DHCP server fun! Jonwaldo LinuxQuestions.org Member Intro 0 02-19-2014 06:36 AM
Turn your Raspberry Pi into a Print Server foWindows, Linux, Mac and iOS AirPrint - BASH Script to d elliotjreed LinuxAnswers Discussion 0 10-28-2013 03:48 PM
CUPS problem - connecting to local printer as well as CUPS server bobm2011 Linux - Newbie 4 01-11-2010 07:28 AM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration