Go to Post "well.. I think I underestimated the swine..." -Andy Baker - Joel J [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 30-12-2012, 21:30
Azrathud's Avatar
Azrathud Azrathud is offline
Computer Nerd
AKA: Bryce Guinta
FRC #2945 (BANG)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Colorado
Posts: 24
Azrathud is on a distinguished road
Tool to Manage Static Computer IP

I made a script to toggle between a set static IP and using DHCP in Windows. I hope it's useful to someone.

You can always find the latest version at manitourobotics/tools/windows/

To setup:
  • Download and extract attached zip to this post
  • Install python2 if you don't have it
  • Copy config.example.txt to config.txt and configure static_ip and interface_type
  • Create a shortcut to net-connect.bat by right-clicking on the file and clicking "Create Shortcut"
  • After creating the shortcut, right click on it and click properties. In the shortcut tab, click advanced... and check run as administrator(this program always needs to be run as admin). Click ok * 2
  • Drag shortcut to your start menu for fast switching

Changelog:
1.2:
  • Rename config.txt.example to config.example.txt for easier renaming
  • Add Windows line endings to config.example.txt, so notepad doens't display the file in one line
1.1:
  • Add config file
  • Less arcane output
  • Better error handling
Attached Files
File Type: zip toggle-interface-1.2.zip (2.6 KB, 16 views)

Last edited by Azrathud : 31-12-2012 at 17:08.
 


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


All times are GMT -5. The time now is 10:11.

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