Use of static IP address instead of .local domain name (Bug #167)


Added by Eric Hildum almost 2 years ago. Updated almost 2 years ago.


Status:New Start date:12/22/2015
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

There are many locations in the default build where it is assumed that the IP address for the Beagleboard is 192.168.7.2 based on the static configuration of IP over USB. This is a problem, as there are many cases where the Beagleboard may not be at the assumed address - for example, if the system is being accessed via WiFi, Ethernet, or Bluetooth networking. Nor is it safe to assume that this address will necessarily be available even over USB - there could be collisions, etc. Moreover, the use of static IP addresses is completely unnecessary as the system already announces itself locally with a valid hostname of beaglebone.local. This will correctly resolve to the beagle board no matter what address is selected by the system.

I suggest the following changes:
1. Change the network configuration of USB to be a dynamic IP address - self assigned is fine and is a more appropriate address space for this usage anyway - not the static address above.
2. Change the documentation and local BONE 101 web site to reference the hostname beaglebone.local instead of the static IP address.
3. Change the web file /var/lib/cloud9/examples/extras/sensortag/index.html to reference beaglebone.local instead of the static IP address.

This change will decrease the complexity of initial setup and remove potential networking conflicts.


History

Updated by Robert Nelson almost 2 years ago

Please create a pull request against:

https://github.com/beagleboard/bone101

(this is /var/lib/cloud9/ repo)

Regards,

Updated by Eric Hildum almost 2 years ago

I am not sure what you are asking me to do.

Updated by Robert Nelson almost 2 years ago

Submit a pull request to:

https://github.com/beagleboard/bone101

With those 3 changes you've listed..

Jason will either pull it or request further information..

Regards,

Updated by Eric Hildum almost 2 years ago

What branches should I use for the pull request?

Also available in: Atom PDF