Overview
This article contains instructions for self-troubleshooting network connectivity issues on MacOS devices when using UCSD's supported networks (ie UCSD-PROTECTED, UCSD-GUEST, RESNET-PROTECTED, RESNET-GUEST-DEVICE). Following the steps will reset wireless configurations and settings, and typically will fix most connectivity issues on Mac devices.
Critical Concepts
- Important comment:
- If you have a ticket open with us, or plan to create one through our website or sending us an email, keep a list of what steps you were able to complete when going through this article. This list will help our technicians understand how far you were able to get in resolving the problem and provide them with important information to diagnose the issue. When creating your ticket or replying to one of our techs, please include the list to your description or reply. Additionally, we recommend that you add your MAC (physical) address, IP address, and network speeds in your description. This information is crucial in identifying your device and understanding the network environment, allowing our technicians to pinpoint the source of the problem. By following these recommendations and providing our technicians with detailed information, you can help expedite the troubleshooting process and ensure that your wireless issues are resolved as quickly as possible.
Steps to Take
Basic Troubleshooting Steps to Do Beforehand:
- Note your network speeds (download and upload) prior to troubleshooting by either searching on Google "speed test" or using a site such as speedtest.net or fast.com. Download speeds below 20mbps are not ideal. Run another test after troubleshooting to see if a significant change has been made.
- Note your current operating system version by clicking the Apple icon on the top left and selecting "System Preferences". It will say the device's macOS release version (macOS Ventura, Monterey, Big Sur, Catalina, etc.) and the version number (Version 12.3.1, etc.). If possible, please update to the latest version by clicking System Preferences > Software Update.
- Get your public IP address by going on a site such as whatismyipaddress.com, and confirm you are not border blocked using our site amiblocked.ucsd.edu. If you are blocked, contact us using the methods above and make sure to provide your IP address when communicating with the tech.
1. Verify Network Configuration
- On the top right, click the Wi-Fi icon and select "Network Preferences..." (macOS <13) or "Wi-Fi Settings..." (macOS 13).
macOS (macOS <13)
|
macOS Ventura (macOS 13)
|
---|
|
|
- On macOS 13, you will need to click the "Network" item in the left sidebar. Otherwise, stay on this page.
- On macOS 13, check under "Other Services" or click on "VPN & Filters" to find the interfaces. On macOS <13, look at the left sidebar and see what interfaces are shown. Any VPNs or anything that is not recognized should be removed with the minus sign located on the bottom left, and by uninstalling the corresponding application by going to the Applications folder and dragging it into the Trash.
macOS (macOS <13)
|
macOS Ventura (macOS 13)
|
---|
|
|
- Click on "Advanced..." on the bottom right.
- On MacOS Ventura, select "Wi-Fi" first and then "Details..."
- Click on the "TCP/IP" option.
- Ensure "Configure IPv4" is set to "Using DHCP", "Configure IPv6" is set to "Automatically"
- Click on the button "Renew DHCP"
macOS (macOS <13) | macOS Ventura (macOS 13) |
---|
|
|
- Click on the "Proxies" option and ensure all protocols are unchecked.
macOS (macOS <13) | macOS Ventura (macOS 13) |
---|
|
|
- Click "OK", click "Apply" on the bottom right, and then close it.
2. Forget Networks
- On the top right, click the Wi-Fi icon and select "Network Preferences..." (macOS <13) or "Wi-Fi Settings..." (macOS 13).
- Look in "Preferred Networks" and delete any UCSD networks (e.g. UCSD-PROTECTED, UCSD-GUEST, RESNET-PROTECTED, RESNET-GUEST-DEVICE) by clicking on them, then clicking the minus (-) icon, and then restarting the device (important to ensure that they are fully deleted). RESNET-GUEST-DEVICE and UCSD-GUEST can cause issues in particular when they are remembered at the same time as RESNET-PROTECTED and UCSD-PROTECTED, so it is strongly suggested to only connect to the PROTECTED networks.
- Having too many WiFi network profiles can cause issues connecting to campus Wi-Fi (and the VPN). Forget networks you aren't using - ideally getting down to 3-5 networks.
- Click "OK" or "Done"
macOS (macOS <13)
|
macOS Ventura (macOS 13)
|
---|
|
|
- Check if you are able to connect to any of our networks now
3. Flush DNS
- Flushing your DNS cache will remove your local DNS records and stored IP addresses. Clearing your DNS cache is perfectly safe and can solve your connection issue.
- Open the Terminal
- Enter the command:
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
4. Delete Certificates
- Open the Keychain Access application by searching for "Keychain Access" on either the top right search icon or with command (⌘) + space bar
- Ensure the side bar is set to "login" and the tabs at the top is set to "Certificates"
- If there is more than 1 certificate named "auth.ucsd.edu," or any other certificates with a name involving UCSD such as "UC San Diego Certificate Service", delete all of them by holding down control (^) while clicking on them, and selecting "Delete"
- There should be only ONE auth.ucsd.edu certificate; if this isn't correct, delete all certificates, so the device can request a new SSL certificate
- Note the times they expire as well
- Restart the device
- Click on the Wi-Fi symbol on the top right and connect to a UCSD network
- It should prompt you to authenticate with a certificate. Select "Show Certificate"
- Click on "Trust" and ensure all the settings are set to "Always Trust"
- Click "Continue" and see if you are experiencing any issues connecting
5. Disable IPv6
- Disable IPv6 by typing the following command into Terminal:
networksetup -setv6off “Wi-Fi”
6. Delete PLists
- As a warning, deleting the following PList files will clear all saved network preferences and configurations
- Open the "Finder" application
- Click on "Go" on the top menu bar, select "Go to Folder," and type "/Library/Preferences/SystemConfiguration"
- Delete the following files by dragging them to the Trash:
- CaptiveNetworkSupport, com.apple.network.eapolclient.configuration, com.apple.airport.preferences.plist, preferences.plist, NetworkInterfaces.plist
- Restart your Mac device
7. Make MacOS roam to strongest Wi-Fi signal
- Open the Terminal application by searching for "Terminal" with either the top right search icon or with command (⌘) + space bar
- Type in the following command:
sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport prefs joinMode=Strongest
- Press enter. You will need to enter your system password and press enter again for the change to take effect. It might not look like you are typing anything because your password is hidden.
- Restart your computer.
8. Uninstall and Reinstall Cisco's AnyConnect VPN Client (for M1/M2 MacBooks only)
- If you already have the Cisco AnyConnect VPN client installed and are using an M1 or M2 MacBook (click Apple icon , Chip will be Apple M1 or M2), uninstall it to see if the WiFi issue is resolved:
- Open Finder application, open "Applications" folder, open "Cisco" folder, and run "Uninstall AnyConnect" application
- Check if you are able to successfully connect to our networks and maintain a stable connection
- Reinstall the "Cisco Secure Client" from the App Store using this link: Cisco Secure Client
- Note, this installation only works for M1/M2 MacBooks
9. Turn off AWDL Interface (for M1/M2 MacBooks only)
- If you are experiencing connectivity issues on your M1 or M2 MacBook specifically (Click Apple icon , Chip will be Apple M1 or M2), this may be caused by the AWDL interface (a Wi-Fi mesh peer-to-peer network used in AirDrop and AirPlay). For more information, see the following articles by Meter and UCLA respectively: Recent Apple updates leading to WiFi issues & an interim solution, Intermittent Connectivity for Wireless Networks. To resolve this, there are a few steps you may take:
- Update the MacBook to macOS Ventura 13.1. Wi-Fi issues are supposedly resolved in this version.
- Open "System Settings" or "System Preferences" > General > Software Update
- If there are any updates available, please update the device.
- If you are unable to update their device, there are some interim steps you may take that might resolve the issue.
- Open Finder. Click Go > AirDrop from the drop down menu. At the bottom of the window, click where it says, "Allow me to be discovered by:" and select "No One" from the drop-down menu.
-
-
- You may disable the AWDL interface from running manually.
- First, on your terminal run the command:
sudo ifconfig awdl0 down
. This temporarily disables the interface, and if Wi-Fi connectivity improves, you may continue with next steps. - Run a script to disable AWDL automatically using a Launch Daemon. Code is available here.
- Open the Terminal app
- Run:
curl -sL https://www.meter.com/awdl-daemon.sh | bas