Please support VectorLinux!

Author Topic: VL71 Avahi anyone ?  (Read 2588 times)

askfor

  • Member
  • *
  • Posts: 33
  • user
VL71 Avahi anyone ?
« on: October 30, 2015, 10:20:34 am »
Has anyone managed to get that strange beast to work ? By that I mean to resolve LAN machine names into IP's. Has anyone tried ?
My guess is that libnss-mdns is missing. Not sure, but I don't have that lib on my disk. I might try download it from Slackware. Or is it provided by some other package ?

bigpaws

  • Administrator
  • Vectorian
  • *****
  • Posts: 1897
Re: VL71 Avahi anyone ?
« Reply #1 on: October 30, 2015, 08:44:37 pm »
You have two options set up a dns server
or you can add the hosts on your lan to
/etc/hosts file.

Bigpaws

askfor

  • Member
  • *
  • Posts: 33
  • user
Re: VL71 Avahi anyone ?
« Reply #2 on: October 31, 2015, 01:17:14 am »
I don't have a machine which runs 24/7, so server is not an option. Besides, I am getting IP addresses from DHCP running on home router provided by my ISP. I've read a bit about Avahi. That thing is supposed to do several things:

1. Helps discover services on LAN, link finding shared printers

2. When a network connection is being initiated, it sends multicast query, like "who is host named 'Lexx'". When answer arrives all host on LAN which run Avahi can store it in their caches

3.  Provides additional nsswitch.conf interface for "old school" C runtime library functions, like 'gethostbyname()', allowing 'normal' programs, like ping to benefit from it.

I was able to resolve names by avahi-resolve program. My guess is it means that multicast part works. However, I can't ping anyone. Also, libnsssmdns is missing, so I figured out that nsswitch interface is not working.

askfor

  • Member
  • *
  • Posts: 33
  • user
Re: VL71 Avahi anyone ?
« Reply #3 on: October 31, 2015, 02:37:40 am »
Avahi, mdns and libnss-mdns seem to be developed by Lennart Poettering. I didn't know that before. That explains it all. As far as I am concerned, this discussion is over.
 

wigums

  • Guest
Re: VL71 Avahi anyone ?
« Reply #4 on: November 03, 2015, 11:14:14 am »
lol cheer cheer
golf clap

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3497
Re: VL71 Avahi anyone ?
« Reply #5 on: November 03, 2015, 01:41:42 pm »
* M0E-lnx nods