|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
How does the Driver Station fiddle the network settings?
We wrote a script last year that uses netsh to fix up our network configuration when it gets hosed (our development PCs have two NICs, one to the school network, one dedicated for robots). We have the fun wrinkle that our school is using 10.x.x.x, so when the Driver's Station changes the network mask for the robot NIC to 255.0.0.0, we lose Internet.
We are getting school PCs moved over to Windows 7, and we can no longer use the "netsh" command to fix up addresses and network masks (unless run as administrator). The Driver Station is able to fiddle with the network settings on W7: how does it do that? We need to emulate it.... |
|
#2
|
|||
|
|||
|
Re: How does the Driver Station fiddle the network settings?
It is allowed to do so because it is signed and has a manifest that gives it admin privileges. My search results indicate that runas may allow you to do the equivalent things as sudo to your script.
Good luck. Greg McKaskle |
|
#3
|
|||
|
|||
|
Re: How does the Driver Station fiddle the network settings?
fovea1959, can you provide a link to the script? This would be so helpful for our team.
Thank you. |
|
#4
|
|||
|
|||
|
Re: How does the Driver Station fiddle the network settings?
Quote:
|
|
#5
|
||||||
|
||||||
|
Re: How does the Driver Station fiddle the network settings?
|
|
#6
|
||||
|
||||
|
Re: How does the Driver Station fiddle the network settings?
Joe, once again, thanks.
All: Joe's information is what we've worked off of. |
|
#7
|
||||
|
||||
|
Re: How does the Driver Station fiddle the network settings?
...and Greg, thanks for the answer!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|