Skip to content

Commit a7c9725

Browse files
authored
Update README.md
1 parent 4870199 commit a7c9725

File tree

1 file changed

+55
-2
lines changed

1 file changed

+55
-2
lines changed

README.md

Lines changed: 55 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,56 @@
11
# FRC-Driver-Station-Connectivity-Script
22

3+
## PowerShell Version
4+
A PowerShell script that performs the most common fixes for Driver Station comm's issues to the FRC Field Network
5+
6+
Because of the default PowerShell restrictions in Windows. The FFS_Connect.ps1 is run by Launch_FFS_ConnectPS.bat
7+
The PowerShell script and the Batch file must be in the same directory
8+
9+
Launch_FFS_ConnectPS.bat must be run as admin in order for all commands to execute. It is recommended you create a shortcut and add the option "Run as Administrator".
10+
11+
The script has pauses in it so the FTA/FTAA can read the output and check for errors, this is also so the script can be closed if the last function fixes the connection problems to the field
12+
13+
### Disable Windows Firewall
14+
Disables all three Windows Firewall's (Public, Private, Domain).
15+
16+
### Enable Firewall rules to allow comms to the field network
17+
Firewall rules are created for the NI mDNS Responder and all the ports listed in the FMS White paper, Season Manual, and FTAA/CSA Troubleshooting. This is done in case the computer has other firewall software.
18+
19+
### Stop Windows updates
20+
The Windows Update Service is stopped
21+
22+
### Disable All Network Adapters and Reset Physical 802.3 (Ethernet) Adapters
23+
All Network Adapters (Including Bluetooth and Cellular) are Disable. Physical 802.3 (Ethernet) Adapters are then reenabled.
24+
IPv6 is also disabled on all Physical 802.3 (Ethernet) Adapters
25+
26+
### Set Physical 802.3 (Ethernet) Adapters to use DHCP
27+
Physical 802.3 (Ethernet) Adapters are set to use DHCP for IP Addresses and DNS
28+
The DNS Cache is then flushed and all IP addresses releases
29+
30+
### Network Adapter Control Panel opens
31+
ncpa.cpl is opened to allow ease to set a static IP for the connected Ethernet Adapter
32+
33+
### Renew DHCP for Physical 802.3 (Ethernet) Adapters
34+
The renew command is issued for Physical 802.3 (Ethernet) Adapters.
35+
36+
end
37+
38+
39+
40+
41+
42+
43+
44+
Launch_Revert_FFS_Connect_ChangesPS.bat launches Revert_FFS_Connect_Changes.ps1 (Must be in the same directory, and the batch file must be run as admin)
45+
This Script disables the created rules, enables the Firewall, and starts the Windows update service again.
46+
47+
## Batch Version
48+
Please Note
49+
The Batch version of this script is no longer maintained
50+
351
A batch file that performs the most common fixes for driver station comm's issues
452

5-
FFS_Connect.bat must be run as admin in order for all commands to execute. It is recomended you create a shortcut and add the option "Run as Administrator".
53+
FFS_Connect.bat must be run as admin in order for all commands to execute. It is recommended you create a shortcut and add the option "Run as Administrator".
654

755
The script has pauses in it so the FTA/FTAA can read the output and check for errors, this is also so the batch can be closed if the last step that was run fixed the connection problems.
856

@@ -28,4 +76,9 @@ The Windows update service is also disabled to prevent Windows updating mid matc
2876
Revert_firewall_changes.bat Removes the created rules, enables the firewall, and starts the windows update service again.
2977

3078

31-
Thank You to [Ed Jordan](https://github.com/ejordan376) and [Eric Fletcher](https://github.com/fletch3555).
79+
## Acknowledgements
80+
[Ed Jordan](https://github.com/ejordan376)
81+
82+
[Eric Fletcher](https://github.com/fletch3555)
83+
84+
Doug Frisk

0 commit comments

Comments
 (0)