Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need explain: #7

Open
tarek360 opened this issue Jun 28, 2015 · 3 comments
Open

Need explain: #7

tarek360 opened this issue Jun 28, 2015 · 3 comments

Comments

@tarek360
Copy link

Hi,

I have three question:

  1. What is easiest way to get my ethernet port IP address?

  2. If i have a friend in another county and i want let him to control on my Arduino throw the Internet, What i have to do?

  3. In line 4 the port is 3030 how to make it a universal port for my Arduino ?

var five = require("johnny-five");
var EtherPort = require("etherport");
var board = new five.Board({
port: new EtherPort(3030)
});

Thank you.

@rwaldron
Copy link
Owner

What is easiest way to get my ethernet port IP address?

In your terminal:

$ ifconfig

If i have a friend in another county and i want let him to control on my Arduino throw the Internet, What i have to do?

I suggest using a websocket to your node.js program.

In line 4 the port is 3030 how to make it a universal port for my Arduino ?

That comes from this line:

https://github.com/firmata/arduino/blob/master/examples/StandardFirmataEthernet/StandardFirmataEthernet.ino#L110

@tarek360
Copy link
Author

Thanks for your answers,

$ ifconfig ?? you mean $ ipconfig but i think this to get my computer ip address not ethernet port IP address!

In my node.js program, how etherport connect to my remote Arduino using only port (3030) and without Arduino IP address? i think i miss something!!

@rwaldron
Copy link
Owner

@tarek360 I meant ifconfig to get your computer's IP address. The instructions for getting the ethernet port IP are in this project's readme under Setup: steps 4-8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants