Spectralcat's Blog

May 23, 2010

Firestarter Blocking Discovery of Network Printer

Filed under: Uncategorized — spectralcat @ 12:50 pm

I recently bought a new HP Officejet 6500 printer, and although the printer is well supported under Linux by hplip, I’ve run into problems setting it up on my network.  The difficulty is that Firestarter prevents the printer from being found by my computer.  If I turn Firestarter off, the hplip setup program is easily able to locate the printer, but re-enabling firestarter again blocks the printer.  This isn’t simply a matter of enabling the printer’s ports in Firestarter (though one also needs to do that).  Rather, the underlying problem is explained in more detail here and here.

In any case, here is how to fix the problem:

1) Edit (or if necessary create) the file at /etc/firestarter/user-pre
sudo gedit /etc/firestarter/user-pre

2) Insert into this file the following two lines:
$IPT -A INPUT -p udp –dport 5353 -d 224.0.0.251 -j ACCEPT
$IPT -A OUTPUT -p udp –dport 5353 -d 224.0.0.251 -j ACCEPT

3) Save the file, exit the program and restart Firestarter.  In Firestarter, enable the required printer ports if you haven’t yet.  You should now be able to access your printer with Firestarter running.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: