LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-14-2009, 06:03 PM   #1
eantoranz
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


Hi!

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 zeroconf.py 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.

<host-name>host.domain.local.</host-name>

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.
 
  


Reply

Tags
avahi, python, zeroconf



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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