diff --git a/firmware/config/target.exs b/firmware/config/target.exs index 8e45d20..f558a8b 100644 --- a/firmware/config/target.exs +++ b/firmware/config/target.exs @@ -33,7 +33,7 @@ node_name = "esrom" config :nerves_init_gadget, ifname: "eth0", address_method: :dhcp, - mdns_domain: "nerves.local", + mdns_domain: "esrom.lan", node_name: node_name, node_host: :mdns_domain diff --git a/firmware/lib/firmware/application.ex b/firmware/lib/firmware/application.ex index 251d100..79e5c24 100644 --- a/firmware/lib/firmware/application.ex +++ b/firmware/lib/firmware/application.ex @@ -23,7 +23,7 @@ defmodule Firmware.Application do def children(:host) do {:ok, _} = Node.start(:"host@0.0.0.0") Node.set_cookie(:testcookie) - true = Node.connect(:"esrom@nerves.local") + true = Node.connect(:"esrom@esrom.lan") [] end diff --git a/morse/lib/morse/worker.ex b/morse/lib/morse/worker.ex index 873b365..ff9c520 100644 --- a/morse/lib/morse/worker.ex +++ b/morse/lib/morse/worker.ex @@ -63,7 +63,7 @@ defmodule Morse.Worker do case Mix.Nerves.Utils.mix_target() do :host -> def toggle_lamp(state) do - :rpc.call(:"esrom@nerves.local", Morse.Worker, :toggle_lamp, [state]) + :rpc.call(:"esrom@esrom.lan", Morse.Worker, :toggle_lamp, [state]) end _ ->