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 Rename N3 for classroom

Netduino 3 Netbios Name

  • Please log in to reply
6 replies to this topic

#1 Hobbit

Hobbit

    Member

  • Members
  • PipPip
  • 11 posts
  • LocationIrvine, CA

Posted 13 July 2015 - 06:15 PM

Hi all,

 

I purchased 35 Netduino 3's for my new Home Automation class I plan to teach next Spring. However, I would like to rename each unit so they can be seen on the LAN using a NetBIOS name. I also need a way to be able to find the IP of each device using something like this:

 

IPHostEntry ipEntry = Dns.GetHostEntry(hostname);

 

I assigned each board a static IP and DNS points to the router.  I can see the boards in the Arp cache and can ping them just fine. One of the members suggested using NameService but I cannot find the namespace for that in the NetMF.

 

I appreciate your ideas.

 

Hobbit

 


Assoc. Professor
Santiago Canyon College
Orange, CA

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 13 July 2015 - 06:23 PM

Hi Hobbit,

There's no NETBIOS support built into NETMF or Netduino. This is the sort of thing that could be added to Netduino.IP via a firmware update in the future.

[Anyone want to help take on mDNS or NETBIOS as a project?]

The easiest thing to do is to add a DNS entry for each board in a DNS server. You could even use an unrelated domain name and local IP addresses. It's really just easy resolution you're looking for.

BTW, one potential pointer... Valkyrie put together a driver for CC3100 that, IIRC, supports mDNS. So that might provide the kind of capability you're looking for. Check out "mIP" and his CC3100 driver.

Chris

#3 Hobbit

Hobbit

    Member

  • Members
  • PipPip
  • 11 posts
  • LocationIrvine, CA

Posted 13 July 2015 - 11:30 PM

Thanks for the fast response Chris!  I thought about adding entries into the LMHosts files on the student machines since we image them anyway it wouldn't be too hard.

 

BTW I love the N3!!!  It is so cool to have WiFi built in. I used your suggestion about how to keep the WiFi connected... works great.  Thanks again.

 

Hobbit


Assoc. Professor
Santiago Canyon College
Orange, CA

#4 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 14 July 2015 - 12:03 AM

Hey Hobbit,

BTW I love the N3!!!  It is so cool to have WiFi built in. I used your suggestion about how to keep the WiFi connected... works great.  Thanks again.

:) We're in love with the gen3 hardware too, and it is probably over-engineered: it should serve you well.

Thanks for the feedback, and let us know how things go with your class!

Chris

#5 Hobbit

Hobbit

    Member

  • Members
  • PipPip
  • 11 posts
  • LocationIrvine, CA

Posted 14 July 2015 - 04:59 PM

Chris,

 

Just to clarify, there is no way to change the name of the N3 correct?  Also, I changed the friendly USB name in MFDeploy but in visual studio it still shows up as Netduino3)Netduino.  I have to figure out a way that the students know which board is which. I will label them but it would be nice to see the friendly name in VS.

 

Hobbit


Assoc. Professor
Santiago Canyon College
Orange, CA

#6 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 14 July 2015 - 06:05 PM

Hey Hobbit,
 

Just to clarify, there is no way to change the name of the N3 correct?  Also, I changed the friendly USB name in MFDeploy but in visual studio it still shows up as Netduino3)Netduino.  I have to figure out a way that the students know which board is which. I will label them but it would be nice to see the friendly name in VS.

The USB name is fixed in the Netduino firmware (to "Netduino"). Should I put USB device name changes on the feature request list for Netduino vNext firmware?

Chris

#7 Hobbit

Hobbit

    Member

  • Members
  • PipPip
  • 11 posts
  • LocationIrvine, CA

Posted 18 July 2015 - 05:51 PM

Chris,

 

I think that would be a great idea and would be handy as we move into the IoT at full speed!!!

 

H


Assoc. Professor
Santiago Canyon College
Orange, CA




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.