On 05/15/2012 09:53 AM, Steven Stern wrote:
On 05/15/2012 11:07 AM, Rick Stevens wrote:
On 05/15/2012 07:24 AM, Steven Stern wrote:
On 05/15/2012 08:57 AM, Paul W. Frields wrote:
On Mon, May 14, 2012 at 11:25:47PM +0200, Reindl Harald wrote:
Am 14.05.2012 23:22, schrieb Steven Stern:
I have a really nice HP printer that's currently connected via USB
cable
to this system. I need to move it out of cable range. My OS/X and
iOS
devices are able to find it and print to it using the magic of
Bonjour.
Is there a way for Fedora to use it via Avahi, rather than ipp and
giving the printer a fixed IP address?
http://localhost:631/
CUPS does find network-printers via avahi
Ensure that your Fedora client system's firewall has port 5353/udp
(mDNS) and 631/udp (IPP client) open, and things should generally Just
Work(tm).
It seems to be more than 5353 and 631. With the iptables service
running, I don't see the printer in CUPS. If I stop the iptables
service, I do. What's missing here?
ACCEPT all -- anywhere anywhere state
RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT ah -- anywhere anywhere
ACCEPT esp -- anywhere anywhere
ACCEPT udp -- anywhere anywhere state NEW
udp dpt:isakmp
ACCEPT udp -- anywhere 224.0.0.251 state NEW
udp dpt:mdns
ACCEPT udp -- anywhere anywhere state NEW
udp dpt:ipp
ACCEPT tcp -- anywhere anywhere state NEW
tcp dpt:ipp
ACCEPT udp -- anywhere anywhere state NEW
udp dpt:ipp
ACCEPT udp -- anywhere anywhere state NEW
udp dpt:netbios-ns
ACCEPT udp -- anywhere anywhere state NEW
udp dpt:netbios-dgm
ACCEPT tcp -- anywhere anywhere state NEW
tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere state NEW
tcp dpt:db-lsp
ACCEPT udp -- anywhere anywhere state NEW
udp dpt:db-lsp
ACCEPT udp -- anywhere anywhere state NEW
udp dpt:rfe
ACCEPT tcp -- anywhere anywhere state NEW
tcp dpt:rfe
ACCEPT tcp -- anywhere anywhere state NEW
tcp dpt:51413
ACCEPT udp -- anywhere anywhere state NEW
udp dpt:51413
ACCEPT tcp -- anywhere anywhere state NEW
tcp dpt:mdns
REJECT all -- anywhere anywhere
reject-with icmp-host-prohibited
HP often uses "jetdirect" (TCP port 9100), so make sure that's
permitted in your firewall as well.
With the firewall disabled, avahi-discover -a shows the printer. With it
enabled, it doesn't.
When you see it, does it show up as "JetDirect" or IPP? Did you open
TCP port 9100 in your firewall?
The rule would (in /etc/sysconfig/iptables) would look like:
-A INPUT -m state --state NEW -m tcp -p tcp --dport 9100 -j ACCEPT
and "iptables -L" would look like:
ACCEPT tcp -- anywhere anywhere state NEW
tcp dpt:jetdirect
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- C program run. C program crash. C programmer quit. -
----------------------------------------------------------------------
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org