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

Can't ping my Netduino Plus 2 (command prompt)

connectivity ethernet ip address

Best Answer Chris Walker, 24 November 2013 - 06:41 PM

Hi Stijn, A few diagnostics steps for you... Is your Netduino Plus 2 connected directly to your router? What happens if you Debug.Print your IP address on the Netduino Plus 2? Does it match the router?

Debug.Print("ipaddress: " + Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()[0].IPAddress.ToString());
What happens if you give it a static IP address instead of using DHCP? Finally...if you run the SocketClient sample on your Netduino Plus 2 (be sure to set its Proxy setting in code to ""), does it connect to the Internet and download a webpage? Welcome to the Netduino community, Chris Go to the full post


  • Please log in to reply
2 replies to this topic

#1 ONE75

ONE75

    New Member

  • Members
  • Pip
  • 3 posts

Posted 24 November 2013 - 10:29 AM

Hi,

 

I've received my Netduino Plus 2 last week so it's fair to say I'm a newbie :)

 

I've managed to read temperatures from several DS18B20 sensors and want to send those to a REST service I've created. However, the Netduino has problems with connectivity.

 

I can see the Netduino in the "LAN computers" list of my router (so it got an IP address from the router) but I can't ping it.

 

Attached File  ipaddress_netduino.png   4.8KB   0 downloads

 

Attached File  pingresult_netduino.png   10.42KB   0 downloads

 

Is there anything else I need to do (maybe enable ethernet on the Netduino)?

 

Thanks!

 

Stijn

 

 



#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 24 November 2013 - 06:41 PM   Best Answer

Hi Stijn, A few diagnostics steps for you... Is your Netduino Plus 2 connected directly to your router? What happens if you Debug.Print your IP address on the Netduino Plus 2? Does it match the router?
Debug.Print("ipaddress: " + Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()[0].IPAddress.ToString());
What happens if you give it a static IP address instead of using DHCP? Finally...if you run the SocketClient sample on your Netduino Plus 2 (be sure to set its Proxy setting in code to ""), does it connect to the Internet and download a webpage? Welcome to the Netduino community, Chris

#3 ONE75

ONE75

    New Member

  • Members
  • Pip
  • 3 posts

Posted 25 November 2013 - 08:34 AM

Hi Chris,

 

The Netduino had a different IP address than listed on my router (don't know why...). I can ping it now. The outbound connection was a problem with my service (the Netduino couldn't connect if I entered the hostname of my pc). After entering the IP address of my machine that worked too.

 

Thanks for your help.

 

Stijn







Also tagged with one or more of these keywords: connectivity, ethernet, ip address

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.