Computer owners Apple often face the need to change the security settings of a home network, but do not know where to start if there is no Windows PC or smartphone. Change password directly through the operating system macOS It's impossible, since the computer is a network client, not a control device. However, this doesn't mean you need to look for a third-party device—you can use your own Mac as a powerful tool for entering router settings.
The process of changing the access key requires an understanding of how a local network works and how your laptop communicates with the router. Web interface Device Configuration is a special page hidden inside the router itself, accessible through any browser. In this article, we'll walk you through every step, from finding the gateway address to entering new characters in the security field, eliminating any guesswork.
It's important to note that after changing your password, all your devices will immediately lose their internet connection. Reconnection You'll need to re-run the process on each device that uses the new protection. Below are detailed instructions to help you secure your network without unnecessary headaches or technical difficulties.
Why can't I just change my password in macOS settings?
Many users mistakenly believe that Mac connected to Wi-Fi, then you can manage this connection through the system settings. However, the architecture macOS and network protocols are structured differently. Your computer acts as a client, simply requesting access from the server (router). Encryption keys are stored not in the system, but in the router's memory.
Trying to change the password directly in the Network section Mac This won't do anything, as it only displays the current connection parameters. You can "forget" a network, but you can't rewrite its operating rules. To make changes to the security configuration, you need to access the administrative panel of the network itself. router.
⚠️ Attention: Changing router settings through the web interface is the only reliable method. Attempts to use third-party programs to hack or change the password without access to the admin panel can lead to network card blocking or system infection.
The interfaces of modern routers may differ depending on the manufacturer (TP-Link, ASUS, Keenetic, MikroTik). Some providers also provide their devices with unique firmware. The address for entering the settings is usually indicated on a sticker on the bottom of the router case, next to the factory password. If the sticker is worn off, standard addresses will usually work in most cases.
Finding the gateway IP address to access the router
The first and most critical step is to determine the exact address where the control panel is located. On the Internet, this is called gateway IP addressOn . Mac There is a built-in and very convenient way to find this address without using the command line, although we will also touch on the terminal for completeness.
The easiest method is to use System Preferences. Open the Apple menu (the apple in the upper left corner) and go to System Preferences (or System Preferences (in older versions of macOS). Next, select the section NetMake sure the active connection is selected on the left. Wi-FiClick the "More details..." or "Advanced" button, then go to the tab TCP/IP.
In the window that opens, you will see the line "Router". The numbers listed there (for example, 192.168.0.1 or 192.168.1.1), this is the address you need. Copy it or remember it. For terminal users, there is a command netstat -nr | grep default, which will instantly give the same result in the column Gateway.
There are also standard addresses that are used by default if you haven't changed them previously. Try entering them in your browser's address bar if the previous methods don't work:
- 🌐
192.168.0.1— the most common address for D-Link, TP-Link. - 🌐
192.168.1.1— often used by ASUS, Zyxel, Xiaomi. - 🌐
192.168.8.1— a standard for many Huawei 4G/5G modems and routers. - 🌐
10.0.0.1— found in devices from some providers.
⚠️ Attention: Interfaces and addresses may vary depending on your router's firmware version. If the default addresses don't open, check the exact device model in the official user manual or on the manufacturer's website.
Authorization in the router web interface
Once you have obtained the IP address, open any browser on your Mac: Safari, Chrome, Firefox or OperaIn the address bar (the one where you type the website URL, not the search field), enter the copied IP address and click EnterThe authorization page should open in front of you.
Here the system will ask for login and password. This not the Wi-Fi password, and the device administrator credentials. If you've never changed them, they're factory defaults. The most common pair is login admin and password admin (or the password field remains blank). The exact details are also indicated on a sticker under the router body.
The table below shows the most common combinations for popular brands:
| Router brand | Default login | Default password |
|---|---|---|
| TP-Link | admin | admin |
| ASUS | admin | admin |
| D-Link | admin | (empty) |
| Xiaomi / Redmi | admin | (set during first setup) |
| Zyxel | admin | 1234 |
If the default data doesn't work, it's possible the password was previously changed by another user. In this case, only factory reset (Reset button on the case), which will delete all current configurations, including provider settings.
What should I do if I forgot my admin password?
If you changed the administrator password and forgot it, there's no way to recover it. The only solution is to find the hole marked "Reset" on the router's body. Press it with a paperclip for 10-15 seconds until all the router lights flash. The device will reset to factory settings, and you'll be able to log in using the credentials on the sticker. However, after this, you'll have to reconfigure your ISP connection type (PPPoE, L2TP, etc.).
Find the wireless network section and change the password
Successful authorization grants access to the "brains" of your router. Each interface is different, but the logic remains the same. You need to find the section responsible for the wireless connection. Look for menu items with the words Wireless, Wi-Fi, Wireless network or WLAN.
Within this section there is usually a subsection called "Security" (Wireless Security) or "Basic Settings". That's where the field is located. Password, Passphrase or Wireless network keyEnter a new, complex password. It's recommended to use a combination of upper- and lower-case letters, numbers, and special characters, at least 10 characters long.
Also pay attention to the field SSID — This is the name of your network, which is visible when searching for Wi-Fi on phones. You can change it to, for example, indicate your apartment number or your name, but this is not required. Make sure the encryption type is selected. WPA2-PSK or WPA3Older encryption methods (WEP) are extremely vulnerable and are not recommended.
☑️ Check before saving
After entering all the data, be sure to click the button Save (Save) or Apply (Apply). The router may reboot within 10-30 seconds. At this point, the Internet is Mac will disappear because the old keys will no longer work.
Reconnecting Your Mac to Wi-Fi
Once the router has finished rebooting and applied the new settings, your Mac will attempt to reconnect but will be denied access because the stored password is no longer valid. macOS may automatically prompt you to enter a new password by displaying a notification.
If the automatic request doesn't occur, click the Wi-Fi icon in the menu bar. Find your network in the list. If it has an exclamation mark next to it or is marked as "Unable to connect," click on it and select Forget this network (Forget this network). This will remove the old, now incorrect password from the keys.
After this, select your network from the list again. A field will appear for input. Enter the new password you just set in the router settings. Click OKIf everything is done correctly, the Wi-Fi icon will turn black and the connection will be established.
Common mistakes and how to solve them
Users often encounter problems during setup. One of the most common is that the router settings page doesn't load. Make sure your Mac connected to this router specifically, and not to a neighbor's Wi-Fi or mobile data. Also, check if VPN or proxies that may block access to local addresses.
Another problem is that the router says "Incorrect password" even though you're entering it correctly. Check your keyboard layout (Caps Lock, input language). Users often confuse the number 0 and the letter O, or a letter l (L) and the number 1Password fields are case-sensitive.
If after changing the password the Internet is back online, but the speed has dropped, you may have accidentally changed the Wi-Fi channel to an overloaded one or switched the operating mode from 802.11ac/n to the old one 802.11b/gGo back to settings and check the wireless settings, setting it to "Auto" or forcing the standard to be selected. 802.11ac (Wi-Fi 5) or ax (Wi-Fi 6).
⚠️ Attention: After changing your Wi-Fi password, smart devices (lamps, sockets, vacuum cleaners) will also be disconnected from the network. You'll have to reconfigure each one through the manufacturer's app, entering the new password.
FAQ: Frequently Asked Questions
Is it possible to change the Wi-Fi password on a Mac without connecting to the router with a cable?
Yes, you can. To configure it, you only need to be connected to the router via Wi-Fi. However, if you change the password, the connection will be lost. Therefore, it's best to have an Ethernet (LAN) cable handy to continue the configuration if the router's Wi-Fi module reboots incorrectly, or simply be prepared to quickly reconnect over the air.
What to do if the page 192.168.0.1 does not open?
Make sure you're entering the address in the browser's address bar, not in Google Search. Check if your Mac is connected to the router's network. Try opening the page in incognito mode. If that doesn't work, check the gateway IP address in your system's network preferences; it may be different from the default.
How to create the most secure Wi-Fi password?
Use at least 12 characters. Mix uppercase and lowercase letters, numbers, and special characters (!, @, #, $). Avoid obvious combinations like birthdates or the sequence 123456. A good example: K0f3_M0skva#24!.
Will my Wi-Fi password reset if I unplug my router?
No. The router settings, including the Wi-Fi password and network name, are stored in non-volatile memory. Powering off the router does not affect the configuration. A reset occurs only when you press the physical button. Reset on the device body.