Go to Post An inability to communicate your ideas effectively is a handicap you would be well served to strive to overcome. - Ether [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 12-03-2009, 21:07
Eric Finn's Avatar
Eric Finn Eric Finn is offline
Registered User
FRC #0166 (Chop Shop)
Team Role: College Student
 
Join Date: May 2006
Rookie Year: 2005
Location: Merrimack, NH
Posts: 101
Eric Finn has a spectacular aura aboutEric Finn has a spectacular aura about
Send a message via AIM to Eric Finn
Lightbulb Simple Team Number to IP Address Utility

Ever wanted to set your computer's IP so that you would be able to communicate with your robot, but didn't want to hassle with all the dialogues required to do so in Windows? (Control Panel > Network Connections > Your Network Connection > Properties > Internet Protocol (TCP/IP) > Properties ...what a bore!)
Well, I have a solution! teamtoip takes your team # and your network interface name, and automatically sets your IP address and subnet mask!

Command line usage:
Code:
teamtoip [team] "Interface Name"
Where [team] is your team number and "Interface Name" is the name of the interface you want to change the IP of. Generally it is "Local Area Connection" or "Wireless Network Connection" for wired Ethernet or wireless, respectively.

This utility was created mainly for inspectors at competitions, who have to change their IP address for each individual robot they inspect, which is quite inconvenient.

I am posting it here for 2 reasons:
  1. More eyes looking can catch more issues. If you find anything wrong with my code, or even anything that can be improved upon, don't hesitate to email me.
  2. This will probably be useful to more than just inspectors. Team members who don't like screwing around with network interface configuration (and don't need the IP address to be set back to what it was before ;) as well as people who don't remember the IP address convention can use this.
So, without further ado, here is the program:

Source: http://goatsgomoo.arksaw.com/project...p/teamtoip.cpp
Binary [Windows]: http://goatsgomoo.arksaw.com/project...p/teamtoip.exe
__________________
It always takes longer than you expect, even when you take into account Hofstadter's Law.
--Hofstadter's Law

Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Team 229's Address Lord Xaphan General Forum 4 18-03-2007 02:08
.mov or .swf to .DV utility? Ian Curtis Chit-Chat 2 27-05-2006 16:54
Looking for a good file utility RIgnazio IT / Communications 1 20-10-2005 19:06
Mailing Address for Team 271 BobC General Forum 5 21-03-2005 20:35


All times are GMT -5. The time now is 15:32.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi