pyzeroconf on linux...

M

matt

Hey, has anyone out there tried pyzeroconf on Linux? I'm using
Andrew's code from http://www.amk.ca/python/zeroconf to publish and
discover services. The code works under Mac. But it doesn't under
linux (FC4).

I should clarify that, it appears that the publish code doesn't work
under linux. The discovery code will discover stuff (on linux) that I
publish on the Mac. I've fired up ethereal and it doesn't appear that
much is happening in the way of UDP on port 5353 (on linux).

Does anyone have any hints or suggestions?

thanks

matt
 
M

matt

Another (easier) example of it failing, is to just run "python
Zeroconf.py":
1. Testing registration of a service...
Registering service...
Registration done.
2. Testing query of service information...
Getting ZOE service: None
Query done.
3. Testing query of own service...
Getting self: None
Query done.
4. Testing unregister of service information...
Unregister done.

On the Mac section 3. actually returns something other than "None" (ie
service[My Service Name._http._tcp.local.,127.0.0.1:1234, a=test value
ver ...] ).
 
M

matt

I think I've figured it out. It appears to be a misconfiguration on my
part. In my /etc/hosts file I had the loopback address pointing to my
machine name. I made 127.0.0.1 only point to localhost and I can now
publish services!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,222
Messages
2,571,137
Members
47,754
Latest member
Armand37T7

Latest Threads

Top