You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+55-2Lines changed: 55 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,56 @@
1
1
# FRC-Driver-Station-Connectivity-Script
2
2
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
+
3
51
A batch file that performs the most common fixes for driver station comm's issues
4
52
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".
6
54
7
55
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.
8
56
@@ -28,4 +76,9 @@ The Windows update service is also disabled to prevent Windows updating mid matc
28
76
Revert_firewall_changes.bat Removes the created rules, enables the firewall, and starts the windows update service again.
29
77
30
78
31
-
Thank You to [Ed Jordan](https://github.com/ejordan376) and [Eric Fletcher](https://github.com/fletch3555).
0 commit comments