lawik
We should make some tooling for mDNS/local nerves devices
Half the problems of figuring out if a device is up during dev is about figuring out if a device came up and with what hostnames?
For pis you get nerves.local or whatever you set plus a nerves-1234.local. When juggling devices you sometimes get collisions, sometimes you unwittingly switch hostname.
I guess we could do a mix command to check mDNS info locally. Would need some different implementation between platforms but…
Good idea?
Most Liked
kevinschweikert
Hey @fhunleth
i’ve read your post and felt motivated to start something.
I have some MikroTik devices lying around and started a new library
https://github.com/kevinschweikert/mndp
There is still some work to do, but i can successfully parse the discovery packet of my MikroTik router.
What would be needed to make this useful in Nerves?
I would imagine:
- a gen server which sends the discovery packets in an interval so we could start it in the application tree of the nerves device
- a mix task to listen to these discovery packets and display them in the CLI
LostKobrakai
I’ve been using Discovery - DNS-SD Browser App - App Store on mac to browse mDNS data.
Wouldn’t mdns-lite be able to handle that?
kevinschweikert
Official MikoTik Tool WinBox recognizes the packets!
Code is still messy but i tried to make it work at first. Next i’m working on fixing that ![]()
Popular in Discussions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance










