Update, The previous old mdnsresponder package has been replaced with avahi for Bonjour/mDNS Service Discovery support. This will apply with the next AstLinux release (1.2.7).
All previous functionality has been replicated including ADNAME for initial setup (pbx.local), additionally a new variable AVAHI_ENABLE="yes" (undefined by default) will allow the Avahi daemon to be manually configured, in particular to "reflect" mDNS multicasts across subnets, something we could not do previously. At the same time I looked at the "p910nd" daemon, what a cool, very small piece of code. The previous corresponding P910ND_ADNAME0 variable is no longer honored but rather an Avahi "p910nd.service.disabled" file can be renamed (to "p910nd.service") and tweaked to match your printer. I tested this with an old USB printer and it worked perfectly, even with cycling the USB connection and rebooting AstLinux, the printing clients all still worked. While probably not very commonly useful (p910nd), making a USB address label printer (or such) network reachable for a small office might be useful. Lonnie On Jun 2, 2016, at 8:03 AM, Lonnie Abelbeck <li...@lonnie.abelbeck.com> wrote: > Darrick, > > The p910nd binary is very small (13K), though the P910ND_ADNAME0 advertising > option uses our very old mDNS (mDNSProxyResponderPosix). > > Primarily our mDNS allows "pbx.local" to be used in a browser (supporting > Bonjour) when first configuring AstLinux, but not after which the Network tab > is saved and rebooted... > -- > ## Service Advertisement (mDNS) > ## If you define ADNAME, I will advertise all of the available services on > ## your AstLinux machine in a way that is compatible with bonjour/rendezvous. > ## THIS IS VERY INSECURE, THIS SHOULD BE THE FIRST THING YOU DISABLE > ## ADNAME is automatically (always) disabled whenever the web interface > Network Tab is saved. > ADNAME="AstLinux PBX" > -- > except if P910ND_ADNAME0 is defined, then only a single instance of > mDNSProxyResponderPosix is called publishing "_pdl-datastream._tcp" on the > 1st internal interface. > > Next question, is supporting "pbx.local" in a browser for only the initial > setup something that is used ? The "pbx.local" was added nearly 10 years > ago, since then the external interface's IPv4 address is now displayed on the > console after boot. > > Recently, David Kerr (power user here) wanted his custom AstLinux build to > support printing on guest WiFi which he defaults to an isolated VLAN, not on > the segment when the printer is located. David built the "avahi" package and > was able to "reflect" the Bonjour multicasts from the printer subnet to his > guest WiFi subnet, added a firewall rule for the printer and he reported it > worked. > > Additionally, "avahi" does everything "mDNSProxyResponderPosix" does, and > more, and is maintained. Uncompressed, Avahi is 326 KB, > mDNSProxyResponderPosix is 147 KB, both small-ish. > > Final question for our users, should the ADNAME feature ("pbx.local") > continue as is, be removed altogether, or keep ADNAME but use the "avahi" > package to implement it. If the "avahi" package is used a new > AVAHI_ENABLE="yes" could be added to allow the text configuration of the > "avahi-daemon.conf" file when ADNAME="" . The forth option is to remove > ADNAME support but switch to the "avahi" package with AVAHI_ENABLE="yes" for > power users on the standard builds. > > Feedback is greatly appreciated. > > Lonnie > > > > On Jun 1, 2016, at 10:54 PM, Darrick Hartman <dhart...@djhsolutions.com> > wrote: > >> Lonnie, >> >> Originally this was added to serve a need for one of my customers. We're no >> longer using it in this way. If it's small, I'm not sure it's worth >> removing. If it is sizable, by all means, pull it from the main image. >> >> Darrick >> >>> -----Original Message----- >>> From: Lonnie Abelbeck [mailto:li...@lonnie.abelbeck.com] >>> Sent: Wednesday, June 1, 2016 5:05 PM >>> To: AstLinux Users Mailing List <astlinux-users@lists.sourceforge.net> >>> Subject: [Astlinux-users] p910nd - Non-spooling printer daemon >>> >>> Question for our users... >>> >>> I little known feature of AstLinux is a "p910nd - Non-spooling printer >>> daemon" >>> >>> The printer connects via usb and is configured via user.conf ... >>> -- >>> ## NetJet Emulation (P910ND) >>> #P910ND_DEVICE0="/dev/usblp0" >>> ## Enable Bonjour/mDNS Broadcasts >>> #P910ND_ADNAME0="HP Officejet 6200" >>> -- >>> >>> Does anyone use this feature ? >>> >>> Would anyone miss it if p910nd when away from standard releases ? >>> >>> Lonnie >>> >>> >>> ------------------------------------------------------------------------------ >>> What NetFlow Analyzer can do for you? Monitors network bandwidth and >>> traffic patterns at an interface-level. Reveals which users, apps, and >>> protocols are consuming the most bandwidth. Provides multi-vendor support >>> for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using >>> capacity planning reports. >>> https://ad.doubleclick.net/ddm/clk/305295220;132659582;e >>> _______________________________________________ >>> Astlinux-users mailing list >>> Astlinux-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/astlinux-users >>> >>> Donations to support AstLinux are graciously accepted via PayPal to >>> pay...@krisk.org. >> >> ------------------------------------------------------------------------------ >> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic >> patterns at an interface-level. Reveals which users, apps, and protocols are >> consuming the most bandwidth. Provides multi-vendor support for NetFlow, >> J-Flow, sFlow and other flows. Make informed decisions using capacity >> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e >> _______________________________________________ >> Astlinux-users mailing list >> Astlinux-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/astlinux-users >> >> Donations to support AstLinux are graciously accepted via PayPal to >> pay...@krisk.org. >> >> > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > Astlinux-users mailing list > Astlinux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > pay...@krisk.org. > > ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.