GithubHelp home page GithubHelp logo

hello_network's Introduction

Aug 15, 2016:

  • not working on MacBook Pro OS X version 10.9.5
  • try another Mac
  • why is QEMU always a pain ?
  • it sure would be nice if Nerves left these applets in Busybox:
    • ping, ifconfig, hostname, ps, df, du and so on
    • at least during dev/test
    • they seem aware that developers are on OS X or Linux
  • network setup info:

HelloNetwork

Configures the primary network interface using DHCP and announces itself on the network using SSDP.

You can start this example and then find your device on the network using the cell command-line tool (see the cell-tool project).

Usage

Testing DNS name resolution

There is a HelloNetwork.test_dns function that you can call in the IEx console to check that your Nerves device indeed has successfully established network connectivity and that DNS name resolution works. The expected output when DNS resolution is available is something like this:

iex(1)> HelloNetwork.test_dns
{:ok,
 {:hostent, 'nerves-project.org', [], :inet, 4,
  [{192, 30, 252, 154}, {192, 30, 252, 153}]}}

Limitations

Supports only IPv4LL and DHCP addressing (no interface for static IPv4 configuration yet).

Roadmap

  • Add documentation.
  • Add support for static IPv4 configuration.
  • Add test cases.

hello_network's People

Contributors

cleesmith avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.