Maybe you can use System.cmd (and ifconfig in linux)? http://elixir-lang.org/docs/stable/elixir/System.html