OPNsense Forum

English Forums => Development and Code Review => Topic started by: fabian on September 02, 2017, 12:50:24 pm

Title: mdns-repeater
Post by: fabian on September 02, 2017, 12:50:24 pm
because this is very often requested:
a plugin may become available.

For some early adopters, a mostly working plugin is attached.

Not yet implemented: status indicator (the thing on the top right on the screen)
Title: Re: mdns-repeater
Post by: franco on September 02, 2017, 04:00:52 pm
Hi Fabian,

If you want to help testing let users know how to install it and tell them what architecture it is for. ;)

Also don't forget to mention that it requires to install "mdns-responder" too.


Cheers,
Franco
Title: Re: mdns-repeater
Post by: fabian on September 03, 2017, 10:40:12 am
sure: to install the package, type
Code: [Select]
pkg add https://forum.opnsense.org/index.php?action=dlattach;topic=5879.0;attach=2425
on the shell. After a reload it should be available. mdns-repeater should be installed automatically, as it is a dependency.
If not, it can be installed using:
Code: [Select]
pkg install mdns-repeater

When 17.7.2 is released, it will be available for testing using the os-mdns-repeater-devel package.
I added the package here to avoid the package to be delayed for those who need it.
Title: Re: mdns-repeater
Post by: mic on September 05, 2017, 02:26:45 pm
Hi Fabian,

I have tried to install this plugin but the commad
Code: [Select]
pkg add https://forum.opnsense.org/index.php?action=dlattach;topic=5879.0;attach=2425 returns error.
Could you help me, please?

Thank you
Title: Re: mdns-repeater
Post by: franco on September 05, 2017, 02:39:26 pm
You could also build from the source:

# opnsense-code plugins
# cd /usr/plugins/net/mdsn-repeater
# make package
# pkg install work/pkg/*.txz


Cheers,
Franco
Title: Re: mdns-repeater
Post by: fabian on September 05, 2017, 02:57:51 pm
@fichtner: may be a "problem" with the forum software which does not allow the download without being logged in.

@mic In this case you have to download the file and install manually.
Title: Re: mdns-repeater
Post by: franco on September 05, 2017, 03:18:07 pm
@fabian, yeah that is probably a standard setting
Title: Re: mdns-repeater
Post by: mic on September 06, 2017, 11:01:15 am
Fabian,
I tried to download the file but I had this error:

404 - Attachment Not Found
Title: Re: mdns-repeater
Post by: fabian on September 06, 2017, 12:37:15 pm
then try this
Code: [Select]
pkg add https://files.fabian-franz.eu/os-mdns-repeater-devel-1.0.txz
Title: Re: mdns-repeater
Post by: SiD67 on September 06, 2017, 10:00:56 pm
Hi,

thank you very much, I try it right now, works great so far.

I killed my manually started mdns-repeater process and just installed the pkg from fabian, logged out and in again and then enabled my 2 interfaces under services and it works!

Thank you for fast and great developing guys, you´re awesome! ;)


Title: Re: mdns-repeater
Post by: bitman on February 18, 2018, 09:45:24 pm
hmmm; have to wait for an i386 package  :-[

Quote
Fetching os-mdns-repeater-devel-1.0.txz: 100%    5 KiB   4.7kB/s    00:01   
Installing os-mdns-repeater-devel-1.0...
pkg: wrong architecture: FreeBSD:11:amd64 instead of FreeBSD:11:i386

Failed to install the following 1 package(s): https://files.fabian-franz.eu/os-mdns-repeater-devel-1.0.txz


cheers,

UPDATE; please ignore my post have now installed it  ;)
Title: Re: mdns-repeater
Post by: fabian on February 18, 2018, 10:13:34 pm
yes, it is published in the OPNsense repository since - no need to download a prerelease ;)
Title: Re: mdns-repeater
Post by: iam on July 30, 2018, 08:15:27 pm
Is this working with OpenVPN devices?
Title: Re: mdns-repeater
Post by: fabian on July 30, 2018, 08:37:45 pm
as any other plugin: currently no because the OPNsense does not give a real interface name to the plugin.
Title: Re: mdns-repeater
Post by: forca on September 04, 2019, 11:22:23 am
any news about working mdns-repeater with OpenVPN devices (tun)?

would be very nice..
Title: Re: mdns-repeater
Post by: fabian on September 04, 2019, 12:11:37 pm
no
Title: Re: mdns-repeater
Post by: Flyinace2000 on December 13, 2020, 02:27:30 am
I was using this plug in to enable my chrome casts to live on my untrusted VLAN while being able to cast from my trusted VLAN.  Recently stopped working, I can see the devices, but no music will play.  Only real changes I made were OPNSense updates.  Anyone else have issues?
Title: Re: mdns-repeater
Post by: Matriciel on December 23, 2020, 02:06:25 pm
I have installed OPNsense 2 weeks ago (previously, i was used Pfsense).
mdns has never worked where avahi on Pfsense as worked fine.

I can't detect my chromecast on other vlan and no media.

A new release of this plugin will be availlable soon ?

Thank
Title: Re: mdns-repeater
Post by: marjohn56 on December 27, 2020, 09:28:55 pm
Try os-udpbroadcastrelay
Title: Re: mdns-repeater
Post by: Matriciel on December 27, 2020, 11:42:10 pm
Thank you, i'm testing udpbroadcastrelay and it work fine with the correct rules ;D