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

Netduino+ can't be seen by router


  • Please log in to reply
5 replies to this topic

#1 netduinolover

netduinolover

    New Member

  • Members
  • Pip
  • 4 posts

Posted 16 October 2011 - 03:13 PM

Hi guys. Hoping someone can give me any hint on how to solve this. My Netduino+ is not seen by my NetGear RP114 router. I have tested with a simple sample LED program, and N+ works fine there. However, it doesn't even connect to my router. I have changed the MAC address according to procedure, enabled DHCP, updated, all using the MF tool. When I reboot N+... nothing. Lights on the router don't blink... when I issue an ipconfig command in the command line, I see only my laptop's IP address, but not the N+. And I bought this little thing precisely for the networking feature. :( Here's the data when I request "Device Capabilities": HalSystemInfo.halVersion: 4.1.2821.0 HalSystemInfo.halVendorInfo: Netduino by Secret Labs LLC HalSystemInfo.oemCode: 34 HalSystemInfo.modelCode: 177 HalSystemInfo.skuCode: 4096 HalSystemInfo.moduleSerialNumber: 00000000000000000000000000000000 HalSystemInfo.systemSerialNumber: 0000000000000000 ClrInfo.clrVersion: 4.1.2821.0 ClrInfo.clrVendorInfo: Netduino by Secret Labs LLC ClrInfo.targetFrameworkVersion: 4.1.2821.0 SolutionReleaseInfo.solutionVersion: 4.1.0.6 SolutionReleaseInfo.solutionVendorInfo: Netduino by Secret Labs LLC SoftwareVersion.BuildDate: Feb 14 2011 SoftwareVersion.CompilerVersion: 400902 FloatingPoint: True SourceLevelDebugging: True ThreadCreateEx: True LCD.Width: 0 LCD.Height: 0 LCD.BitsPerPixel: 0 AppDomains: True ExceptionFilters: True IncrementalDeployment: True SoftReboot: True Profiling: False ProfilingAllocations: False ProfilingCalls: False IsUnknown: False What can I try next? Thanks for any help.

#2 Dan T

Dan T

    Advanced Member

  • Members
  • PipPipPip
  • 91 posts
  • LocationBoston (Greater)

Posted 16 October 2011 - 05:47 PM

However, it doesn't even connect to my router...when I issue an ipconfig command in the command line, I see only my laptop's IP address, but not the N+.


Hello, Welcome to the forum.

I'm a HUGE fan of the networking side of the N+ -- I love the possibilities it opens. BUT... I've spend about 80% of my time on the diagnostic side. If you want flawless out of the box experience in networking...wait a year or so. :(

If you choose to dive in, you'll get an education as you work through the issues. And what you learn is likely to be necessary for a while.

What can I try next?


First off, DO NOT USE DHCP. (<-Say the period out loud.)

Uncheck the DHCP box and save, then reboot and make sure it remains NOT checked. DHCP is a convenience that becomes a huge liability if it is broken. DHCP is broken. Use a static IP address. Plan to use a static IP address until at least 3 people tell you that DHCP "works fine", and then only after checking with me.

Second, start taking notes. When something starts working, then stops working later, it can be frustrating. Your notes will be your foundation.

when I issue an ipconfig command in the command line, I see only my laptop's IP address, but not the N+.


ipconfig only shows the PC's network view. There's no reason another box on your network (other than the router to which your PC's network card has a special relationship) would show up, right? I have about 20 different boxes in my house on my home network. Ipconfig doesn't care about them, and doesn't SEE them, either. Your PC's network card doesn't know that Netduino is there - just like it doesn't know Google.com is there. That's the beauty of the internet. (Visual Studio KNOWS about your Netduino. The USB driver/connection and the SDK to do Netduino programming/debug is a separate thing. Let's focus on the TCP/IP port here - the fabulous internet connection.)

If you want to "See" your Netduino show up on your home network, you have to go to your router's diagnostics and click on something like "Device List" to see what's on your network. Look for the hardcoded static IP address that you gave your NetduinoPlus because you are NOT using DHCP. (Oh... One more DO NOT DO piece of advice. Do not bother messing with your router. Just leave it alone. Static IP addresses just work on your network. You don't have to DO anything.

#3 netduinolover

netduinolover

    New Member

  • Members
  • Pip
  • 4 posts

Posted 16 October 2011 - 06:50 PM

ipconfig only shows the PC's network view. There's no reason another box on your network (other than the router to which your PC's network card has a special relationship) would show up, right?


I'm banging head on the wall here. You're absolutely right. I'm so desperately that my ability to reason is escaping me. :)

Very good advice. I'll try the static ip address and update again and see how far I can go.

Thanks Dan T.

#4 netduinolover

netduinolover

    New Member

  • Members
  • Pip
  • 4 posts

Posted 22 October 2011 - 01:59 PM

Hi Dan and friends, I actually tried again with another router but still can't see the N+ in the network. My router doesn't list the N+. Just a stupid newbie question: I am powering the N+ through my USB port; is that enough? Just some more background info: this laptop is connected, of course, to the same router as the N+. My router is the popular wireless NetGear router WGR614, which also has 4 wired ports. Also, I as mentioned above, my firmware version is the 4.1.2821.0, not the "unstable" 4.2. Should I try the unstable version? Thanks anyone for any light on this.

#5 netduinolover

netduinolover

    New Member

  • Members
  • Pip
  • 4 posts

Posted 22 October 2011 - 02:01 PM

Hi Dan and friends, I actually tried again with another router but still can't see the N+ in the network. My router doesn't list the N+. Just a stupid newbie question: I am powering the N+ through my USB port; is that enough? Just some more background info: this laptop is connected, of course, to the same router as the N+. My router is the popular wireless NetGear router WGR614, which also has 4 wired ports. Also, I as mentioned above, my firmware version is the 4.1.2821.0, not the "unstable" 4.2. Should I try the unstable version? Thanks anyone for any light on this.

#6 Dan T

Dan T

    Advanced Member

  • Members
  • PipPipPip
  • 91 posts
  • LocationBoston (Greater)

Posted 22 October 2011 - 08:42 PM

Powering via USB is fine. That's why Secret Labs doesn't include a power supply.

Wait... I think I see your problem. <_<

One line in your "Device Capabilities" looks wrong (emphasis added by me): :blink:

...
HalSystemInfo.halVendorInfo: Netduino by Secret Labs LLC
...


It looks as if you have loaded Netduino firmware instead of Netduino Plus firmware. :(
The former is compatible with your bigger/better plus board, but it doesn't know about the network port. That's why non-network stuff seems to work fine. Load the proper firmware and you should be good to go. :)

----------
P.S. The RC3 version of firmware came out yesterday. Get it here if you want, but it is still pre-release.




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.