Sections
You are here: Home Documentation How-tos Change Network Settings

Change Network Settings


This How-to is intended for: Any audience.

How to change the IP address, and other network settings on the Make Controller Kit via OSC.

Problem

You want to change the IP address, gateway, or network mask for your Make Controller Kit via OSC.

 

Solution

Send the appropriate sequence of OSC messages to the board:
  • /network/address xxx.xxx.xxx.xxx
  • /network/gateway xxx.xxx.xxx.xxx
  • /network/mask xxx.xxx.xxx.xxx

Each xxx.xxx.xxx.xxx represents an IP address in that form - 192.168.0.210, for example.

Discussion

The first thing to take into account is whether your Controller has DHCP turned on.  If you have DHCP on and are plugged into your local/home network, the Make Controller will automatically get an address, and trying to set it in this case won't do much good.  Otherwise, continue reading.

The most surefire way to get these messages to the board is with mchelper over USB.  If you already have a network connection to the board, it will work just fine to send these messages via Ethernet, but one of the most common situations in which you'd need to change the address is when you don't know the current network settings, and can no longer communicate with the board!

The first three messages are reasonably self-explanatory - they set the address, gateway, and mask respectively.  You can set any of these separately...it doesn't have to be all at once. 

The board stores these values in EEPROM so it can remember them when it gets restarted, and there's a little double-check in place to make sure that the board is using a correct address.

If you want to use DHCP, send the message:

/network/dhcp 1

and the board will try to retrieve an IP address automatically from your router.  If your network doesn't have a router, it's best to turn DHCP off and set the addresses manually as described above.

Document Actions
Log in


Forgot your password?
New user?