LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-19-2015, 07:11 PM   #1
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Raspbian, Ubuntu, Chrome/Crouton
Posts: 374

Rep: Reputation: 50
Getting avahi to pass through shared network connection


I use avahi to locate services on my local network. It works great.

I have one laptop with its ethernet connection set up to share its wifi connection to other computers. The other computer is a RaspberryPi connected via a cross-over cable. The Pi can access the internet via the laptop's shared connection. The Pi on a 10.42.0.* subnet and the other local machines are on 192.168.1.*. That works great too.

However, the Pi cannot access the other local avahi servers by service name, i.e. "server.local". Using the zeroconf browser, the Pi only sees its laptop host and itself. However the laptop sees the Pi and all the other servers, although the zeroconf browser shows them on different wifi and ethernet connection domains.

Interestingly, the Pi can access the other servers using their 192.168.1.* ip addresses. The avahi browser is not getting past the laptop.

Is there a avahi setting that will aloow it to see all the local services?
Attached Thumbnails
Click image for larger version

Name:	Screenshot - 190915 - 17:21:27.png
Views:	66
Size:	37.8 KB
ID:	19619  

Last edited by pwalden; 09-19-2015 at 07:23 PM.
 
Old 09-20-2015, 01:03 PM   #2
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Raspbian, Ubuntu, Chrome/Crouton
Posts: 374

Original Poster
Rep: Reputation: 50
Well I found the simple solution in plain sight.

In the /etc/avahi/avahi-daemon.conf file, on the laptop, set enable-reflector=yes and reload/restart the avahi-daemon. The laptop will "reflect" the avahi messages through both network interfaces.

The services on my Pi are now visible to the rest of the local network, and vice-verse.

Last edited by pwalden; 09-20-2015 at 01:04 PM.
 
  


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
Can't get avahi to install (trying to get Netatalk and Avahi running) MarcusWebb1966 Gentoo 4 07-28-2011 03:55 AM
avahi network browsing in gnomeslackbuild bamdad Slackware 3 08-10-2010 12:13 PM
winblows ask for pass to shared samba folder? tommytomthms5 Linux - Newbie 16 09-09-2007 05:00 AM
Network wont boot after Avahi upgrade Kubuntu 6.10 theGerbil Ubuntu 0 11-16-2006 05:36 PM
Avahi doesn't work with iTunes shared music format C: Linux - Software 0 09-21-2006 05:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:34 AM.

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