Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

How to control netduino plus 2 over the Internet


  • Please log in to reply
5 replies to this topic

#1 Stevovo

Stevovo

    New Member

  • Members
  • Pip
  • 2 posts

Posted 23 July 2014 - 12:51 AM

Hi there,

I have just purchased my netduino plus 2 and I am running framework 4.2. I just played with the example in chapter 8 of "Getting started with Netduino"  - Connecting to the Internet. I connected my robot to my 3G wireless netgear router and I was able to control the on-board LED via a web page using the IP address allocated by the router and my iPhone (browser).I would like to know how I could control the same LED when I am no longer in range of the Wi-Fi home network.

 

Forgive me if I have posted in a wrong place.

 

Thanks in advance. 

Stevovo



#2 Spiked

Spiked

    Advanced Member

  • Members
  • PipPipPip
  • 129 posts

Posted 23 July 2014 - 04:07 PM

I do not think you posted in the wrong place. There is however I certain fear, at least on my part, to post instructions for doing this.

 

The fear is not from being able to do it, it actually is quite easy, the fear is that there are HUGE security implications. A person who does not understand the process to make it work, probably does not understand the security implications. Many will say "no big deal" then quickly disappear a month later when your bank account is drained.  A recent example is the pretty kick started colored lights IoT - controlled from the internet. All those who purchased said pretty lights, then followed directions, are now scrambling to recover from identity thefts.

 

IoT is a great concept, that carries a certain amount of risk. It is an area best explored by learning on your own, rather than asking for directions, in my opinion.  Start with understanding TCP/IP addressing and routing, public versus private networks and how and WHY Network address translation (aka NAT) exists. These keywords and Google should keep you busy a while, good luck.

 

http://arstechnica.c...i-fi-passwords/



#3 Nevyn

Nevyn

    Advanced Member

  • Members
  • PipPipPip
  • 1072 posts
  • LocationNorth Yorkshire, UK

Posted 23 July 2014 - 07:42 PM

Spiked - I have the same concerns.  I started to write up how to do this and then cancelled the post.

 

It's not difficult but fraught with risk.  

 

Stevovo - Don't do it until you understand a lot more about this subject.

 

Regards,

Mark


To be or not to be = 0xFF

 

Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life

Follow @nevynuk on Twitter


#4 baxter

baxter

    Advanced Member

  • Members
  • PipPipPip
  • 415 posts

Posted 23 July 2014 - 09:19 PM

What about DynDNS,
http://dyn.com/support/wizard/

http://www.tp-link.u...icle/?faqid=297
I haven't used it for a while, but I set it up for a Netduino Plus 1. It's fiddly to get going from behind your router unless you have a smartphone (or use a neighbor's network). Most consumer routers do not have NAT loopback so testing needs to be done from a network external to your local network. Or, in my case, I used a spare router running DD-WRT with NAT loopback for local testing. DynDNS is no longer free, but there are other services.

 

I don't see that this poses a greater security risk than other traffic coming in through your ISP.



#5 Nevyn

Nevyn

    Advanced Member

  • Members
  • PipPipPip
  • 1072 posts
  • LocationNorth Yorkshire, UK

Posted 24 July 2014 - 06:10 AM

I don't see that this poses a greater security risk than other traffic coming in through your ISP.

 

For me the problem is one of opening up a port into my network.  This is different from having a response from say a web site when the request originated from my network.

 

Regards,

Mark


To be or not to be = 0xFF

 

Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life

Follow @nevynuk on Twitter


#6 Stevovo

Stevovo

    New Member

  • Members
  • Pip
  • 2 posts

Posted 24 July 2014 - 06:14 PM

Yeah, networking is not my strength. Thanks to all of you for your comments and warnings :-).Much appreciated.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.