View Single Post
  #6   Spotlight this post!  
Unread 10-02-2013, 10:15
AutoBotAM AutoBotAM is offline
Registered User
AKA: Christian Reese
FRC #2077 (Laser Robotics (Laserbots))
Team Role: Programmer
 
Join Date: Mar 2012
Rookie Year: 2010
Location: Wisconsin
Posts: 34
AutoBotAM is an unknown quantity at this point
Re: Strange Driver Station bug?

Okay, I'll check for excess IPs next time I get on. Note that we're only using one NIC, "Wireless Network Connection", both to connect wirelessly to the school internet and to the robot's d-link. To connect to the internet, I made a little script on the desktop:

Code:
@echo off
:start
for /f %%V in ('netsh wlan connect KM-Wireless') do set TEST=%%V
if %TEST% neq Connection 2>nul (pause|echo+Could not connect to access point KM-Wireless. Press a key to try again, or close this command line window to end. . .)
if %TEST% neq Connection goto start
netsh interface ip set address "Wireless Network Connection" dhcp
Then to connect back to the robot, we simply restart driver station, which automatically sets the static IPs for the NIC and ethernet. (Please note that we haven't run this batch script, we simply do the procedure I described, and get the problem I described.)

We have access point 2077 set to connect automatically. We do not have KM-Wireless set to connect automatically.
__________________
"Mecanum drivetrains, like every other, have advantages and disadvantages, but some of the disadvantages being discussed here are overstated and/or misinformation." -buchanan