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.

Graham.fry

Member Since 30 Dec 2012
Offline Last Active Aug 19 2014 02:34 PM
-----

#53239 Not able to change network settings

Posted by Graham.fry on 17 October 2013 - 12:54 PM

I know it is not the exact answer you are looking for but if I need to use a fixed IP I get my netduino to run this line at the when it boots up.

 

Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()[0].EnableStaticIP("192.168.1.122", "255.255.255.0", "192.168.1.62");

 

 

by using this I don't need to configure each device before using I just change the IP I want to change.




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.