Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-14-2009, 06:03 PM   #1
Senior Member
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
Question avahi: can't get a client to see a service


I'm trying to program a client on python (using pyzeroconf) that will detect a service that is been "advertised" with avahi.

Now.... I have already gotten the client to see the service, however I don't get the client to see the details of the service (or something like that).

First, I tried setting the <host-name> of the avahi service to be a domain that is mapped to a lan address. I used the fqdn of the host in the <host-name>, but that failed. I took a look at the code and it was because it didn't end up (the fqdn) in ".local.". So now I have a domain name that is the old fqdn + .local.


Still the client doesn't get to see the details of the service. When I get to getServiceInfo() all I get is a "None" (or NoneType, can't remember)=. When I see what's going on "on the wire", I see that the client is making some requests, like it wants to resolve the hostname (fqdn + .local.") through zeroconf, but then I don't have a mapping between that domain name and the ip address on avahi. Am I missing that step to solve the whole problem? What should I try then?

Thanks in advance.


avahi, python, zeroconf

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
bind9 problem : windows client can't use DNS service and12345 Linux - Server 2 12-08-2008 05:49 PM
windows client can't use ubuntu bind9 DNS service and12345 Linux - Networking 1 12-07-2008 12:39 PM
starting a service for dyndns update client momotaro Linux - Networking 4 05-07-2008 07:37 PM
Terminal Service client full screen exit JVWay Linux - Software 1 03-22-2005 07:51 AM
Commandline client for Micrsoft Messenger Service? Yocal Linux - Software 2 08-20-2004 10:20 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:47 PM.

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