Networking Forums

Networking Forums > Computer Networking > Linux Networking > Setup avahi

Reply
 
 
Florian Erfurth
Guest
Posts: n/a

 
      09-30-2008, 09:23 AM
Hi,
I'm working on a project. My goal is, if someone plug the network-cable into
his client, it should find his server automatically.

This means I have to write a X.service file into /etc/avahi/services/ on
server.
Questions:
- As far as I understand, avahi is not used for setting up IP-Adress, am I
right? Or could I modify avahi-setting so it gives clients IP-Adress
automatically?
- Can I write any type into X.service? Or do I have to select a type of
DNS-SD service? If yes, where is a list of services (so I can look which
services fit best to my project)?
- Do I need port? I think it's necessary for finding a server.
- What should I do on clients in order to find the server automatically?
Optional question:
- Am I allowed to have 2 servers (with same port/service) so the clients
find 2 servers.

Thank you very much!
cu Floh
 
Reply With Quote
 
 
 
 
Florian Erfurth
Guest
Posts: n/a

 
      09-30-2008, 10:46 AM
Hi everybode, I think I answered my question myself:

> Questions:
> - As far as I understand, avahi is not used for setting up IP-Adress, am I
> right? Or could I modify avahi-setting so it gives clients IP-Adress
> automatically?

avahi can set IP automatically with ARP (169.254.0.0/16).

> - Can I write any type into X.service? Or do I have to select a type of
> DNS-SD service? If yes, where is a list of services (so I can look which
> services fit best to my project)?

I was able to write any type of service. On the client-side the server with
given type is found.

> - Do I need port? I think it's necessary for finding a server.

Answer is: no.

> - What should I do on clients in order to find the server automatically?
> Optional question:
> - Am I allowed to have 2 servers (with same port/service) so the clients
> find 2 servers.

I didn't test but I tried with avahi-discover and it seems it's possible.

Thank you very much!
cu Floh

 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Avahi - Defaultdomain "local" How can i replace with my own? Mario Loderer Linux Networking 0 02-04-2011 10:38 AM
What is avahi daemon? MohsinHijazee Linux Networking 6 01-25-2008 06:34 AM
setup help royc Wireless Internet 4 05-16-2006 07:24 PM
how to setup Roy Gray Wireless Internet 1 09-18-2004 08:13 PM
setup nick gossett Broadband Hardware 4 01-15-2004 05:24 AM



1 2 3 4 5 6 7 8 9 10 11