Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cups, avahi and Brother
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
i92guboj
Moderator
Moderator


Joined: 30 Nov 2004
Posts: 9842
Location: Córdoba (Spain)

PostPosted: Thu Jul 10, 2014 2:43 pm    Post subject: cups, avahi and Brother Reply with quote

Hello.

I am in a situation where I could put to good use avahi's network autodiscovery features to be able to connect to network printers at job and at home. However I am not having much luck with it.

I have never used avahi for anything, so the problem could very well be my incompetence.

I have re-emerged cups with zeroconf enabled. That pushed avahi and a few other things into my system.

Then I restarted cupsd, which, in turn, automatically started the avahi-daemon service.

Now, when I go to add a new printer, just to check, I see two entries for my Brother mfc j430w. One of them existed before, the other one is new, and when I select it it automatically sets the path to that printer to dnssd://Brother%20MFC-J430W._ipp._tcp.local/.

But I can't even print a test page, in the job status it says it couldn't find a printer called BRNE006E6ADB80F.local

However, avahi-browse -a reports this (amongst many other things):

Quote:
+ wlp5s0 IPv4 Brother MFC-J430W PDL Printer local
+ wlp5s0 IPv4 Brother MFC-J430W UNIX Printer local
+ wlp5s0 IPv4 Brother MFC-J430W Internet Printer local
+ wlp5s0 IPv4 Brother MFC-J430W Web Site local


So, avahi is seeing it. This must surely be a cups configuration issue, or maybe an issue with the brother printer drivers. Any idea?

Thanks.
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
szatox
Guru
Guru


Joined: 27 Aug 2013
Posts: 367

PostPosted: Thu Jul 10, 2014 7:21 pm    Post subject: Reply with quote

or perhaps you need nss-mdns and a slight change in /etc/nsswich.conf

s/hosts: files dns/hosts: files mdns dns/

It's just a wild guess, but it's possible your pc simply can't translate name to IP
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum