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 plus 1 ethernet problem

netduino plus 1 ethernet problem no light no ethernet light

  • Please log in to reply
5 replies to this topic

#1 victorSantana09

victorSantana09

    Member

  • Members
  • PipPip
  • 10 posts

Posted 06 July 2014 - 03:33 PM

Hello Guys !! i'm a happy owner of a Netduino plus 1 device and i'm trying to do my first simple netduino web server.But, when i connect the ethernet cable to the netduino device no ethernet lights are turned on. I've already tried :

 

1. Reinstall microframework and netduino sdk

2. Verify if its a ethernet cable or usb cable problem (it isn't , both are working as expected)

3. Changed the default gateway in the MFDeploy to 192.168.0.1

4. In the router (tp link tl-wr740n),i disabled DHCP and nothing (same with DHCP enabled)

5. In the router , i reserved an adress to netduino (using its mac adress)

6. In the router , i observed the DHCP client list to see if i got any entry  (and i got nothing)

7. Reseted my router

8. tried to ping the netduino  and i got no responses

 

 

When netduino is connected to the router the default IP is showed.But when i connect it to the internet cable, another IP is showed (192.168.1.2) and the ethernet lights do turn on

 

 

Everything leads me to believe that i'm missing some configuration in my router.

 

 

 

 

Here is the device capabilities :

 

 

 

HalSystemInfo.halVersion:               4.1.2821.0
HalSystemInfo.halVendorInfo:            Netduino Plus by Secret Labs LLC
HalSystemInfo.oemCode:                  34
HalSystemInfo.modelCode:                177
HalSystemInfo.skuCode:                  4097
HalSystemInfo.moduleSerialNumber:       00000000000000000000000000000000
HalSystemInfo.systemSerialNumber:       0000000000000000
ClrInfo.clrVersion:                     4.1.2821.0
ClrInfo.clrVendorInfo:                  Netduino Plus by Secret Labs LLC
ClrInfo.targetFrameworkVersion:         4.1.2821.0
SolutionReleaseInfo.solutionVersion:    4.1.0.6
SolutionReleaseInfo.solutionVendorInfo: Netduino Plus 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

 

 

 

 

Thanks in advance :)



#2 victorSantana09

victorSantana09

    Member

  • Members
  • PipPip
  • 10 posts

Posted 06 July 2014 - 04:44 PM

[UPDATE] I noticed that when i disable DHCP in the router all the devices connected by cable lost the connection (internet and network)



#3 victorSantana09

victorSantana09

    Member

  • Members
  • PipPip
  • 10 posts

Posted 06 July 2014 - 07:56 PM

[UPDATE] I've just flashed the firmware and updated it to the v4.2 and still nothing



#4 victorSantana09

victorSantana09

    Member

  • Members
  • PipPip
  • 10 posts

Posted 06 July 2014 - 10:55 PM

[UPDATE] Changing the router settings the ethernet lights now are turning on . But , when i'm  compiling the code, a  'System.Exception' in Microsoft.SPOT.Net.dll is showed when i call this method : 

 

Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()[0].EnableDhcp();



#5 jrlyman3

jrlyman3

    Advanced Member

  • Members
  • PipPipPip
  • 67 posts
  • LocationNorth St Paul. MN

Posted 07 July 2014 - 01:18 AM

So if you print out the [0] result of GetAllNeworkInterfaces() you would see NULL.

 

I find this interesting because I just bought a tplink tl-wr702n and see exactly the same problems with my NP1.  Of course it works just fine with my laptop :-).

 

I found one forum post that said the tplink wotks with the NP2 but not the NP1.  I'm going to do some more research, I'll let you know if I figure out anything.

 

What did you change in the router to get the lights on?

 

John



#6 victorSantana09

victorSantana09

    Member

  • Members
  • PipPip
  • 10 posts

Posted 07 July 2014 - 01:57 AM

So if you print out the [0] result of GetAllNeworkInterfaces() you would see NULL.

 

I find this interesting because I just bought a tplink tl-wr702n and see exactly the same problems with my NP1.  Of course it works just fine with my laptop :-).

 

I found one forum post that said the tplink wotks with the NP2 but not the NP1.  I'm going to do some more research, I'll let you know if I figure out anything.

 

What did you change in the router to get the lights on?

 

John

Hello John! interesting !! I didnt know about it ...i'll be searching and looking for an answer too!

 

Well , about the settings in the router ... nothing special

 

1. Enabled DHCP

2. Reserved one IP between the DHCPs IPs range ( mine was 192.168.0.198)

3. In the MFDeploy , i changed the gateway's IP ( i took it via cmd ) (usually its 192.168.0.1)

4. In the MFDeploy , i changed the netduino's IP to the IP i reserved in the router (192.168.0.198)

5. In the MFDeploy, i  checked the DHCP as enabled

 

When i ran the code the IP showed was 0.0.0.0

 

I got no entry in the DHCP client list ... thats pretty weird , because apparently i still got no connection but the lights are on now

 

Please keep me updated  John

 

Many thanks and if i can help you just let me know! :)







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.