LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-29-2006, 04:36 AM   #1
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Do I need avahi?


I hate to ask a dumb question, but looking at google on avahi isn't helping me a lot (I know it's a multicast DNS service discovery service).

I have a pretty basic network with a server with 2 NIC's, one connected to a router (to ADSL) and the other to my LAN, all of the LAN being on one subnet (192.168.1).

Various devices are connected to 192.168.1, such as printers, a wireless AP, laptops (windows),PCs (windows too), I assign IPs by DHCPD on the server. I also run Samba for files only, no printers. Bind is my name server.

I get the feeling from what I've found that avahi is used to "show" devices on different subnets, since I can find devices on my LAN using Bind or from Samba (for shares, etc.).

Question is: do I need avahi running at all, or am I simply wasting resources?

Secondary question, can anyone direct me to a simple real-world description of what avahi does?

Thanks

Last edited by billymayday; 05-29-2006 at 04:46 AM.
 
Old 05-29-2006, 02:47 PM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
AFAIK avahi is an implementation of Apple's Bonjour and implements a protocol where services available in a network are advertised to the the machines in the same network. So if your services get advertised and somebody connectes a laptop to your subnet with a Bonjour client, say an Apple laptop, he will find his way round the network, discover all the services and connect to them, without knowing your topology in advance.

Do you NEED it? No, nobody absolutely needs this, it's a recent technology and the networks have worked before this. It can be convenient though on networks available to the public, but if you administer your network you know where services are.
 
Old 05-29-2006, 02:56 PM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Original Poster
Rep: Reputation: 122Reputation: 122
Does that mean that if I don't have any Apple clients it's not doing anyhting for me (does Windoes recognise the Bonjour protocol)?

What does AFAIK mean?

Thanks
 
Old 05-29-2006, 03:03 PM   #4
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
AFAIK = as far as I know
Bonjour is also implemented by some Linux distros, obviously, that's why avahi exists. I don't know about Windows.
But basically even without it your Apple, Windows and Linux client can still use your services, they just won't find them "automatically".
 
Old 05-29-2006, 03:10 PM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Original Poster
Rep: Reputation: 122Reputation: 122
Aside from othe computers and printers on the network, what sort of servicies would it find?
 
  


Reply


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
avahi - kernel compile nildarb Linux - Kernel 6 04-19-2006 05:58 PM
Ubuntu + avahi-daemon/tools Valhalla Linux - Software 0 12-10-2005 03:58 PM

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

All times are GMT -5. The time now is 12:54 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