473,387 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

pyzeroconf on linux...

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

Nov 2 '05 #1
2 1748
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 ...] ).

Nov 2 '05 #2
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!

Nov 2 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jhuola Hoptire | last post by:
Just installed J2RE 1.4.2 on a Linux server. I am very knew to the POSIX world. I couldn't dig-up much in the docs or via google about the following: 1 - Is there a standard way to make sure...
1
by: djw | last post by:
AMK, thanks for your work on PyZeroConf! Using PyZeroConf 0.12. I'm seeing an issue with the Browser.py code. I am scanning for printers using: type = "_pdl-datastream._tcp.local." The...
0
by: Eric Raymond | last post by:
When installing the rpms (or the tar file) onto Red Hat Enteprise Linux AS Beta 1 (Taroon), we get the follwing error: Installing all prepared tables /usr/bin/mysql_install_db: line 1: 7690...
6
by: gnu | last post by:
Rationale to use Linux ======================= - I can't afford paying for $199 for the license of an OS that's arguably better thank Linux for each of 10 computers I have. - I want to be...
0
by: matt | last post by:
Since I'm on the topic of pyzeroconf today, I might as well keep posting ;) So on to another platform... windows. Has anyone used pyzeroconf on Windows recently? It doesn't appear to work (and...
5
by: cranium.2003 | last post by:
hi, Here is my code #include <iostream.h> int main() { cout <<"HI"; return 0; } and using following command to compile a C++ program g++ ex1.cpp -o ex1
0
by: Ralph Butler | last post by:
Hi: I have been using pyzeroconf to register and discover services on a local network using the default multicast support. Now, I would like to register a service on a remote node and discover...
2
by: Simo Hosio | last post by:
Hi all, I am trying to get pyzeroconf (http://sourceforge.net/projects/pyzeroconf) running on my machine but having trouble... Running the Zeroconf.py file seems to register the service, but is...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.