To change your D-Link router's wireless password, you need to open the router's configuration page in your web browser. After logging in to the configuration page, you can change the password in the wireless settings menu.
Steps
Part 1 of 3: Accessing the router

Step 1. Open a web browser on a connected device
You must be using a computer or device that is currently connected to the network. It is best to use a computer connected to the router via Ethernet, as wireless devices will lose connection when the router is updated with new information.

Step 2. Type
192.168.0.1 in the address bar.
This is the default address for most D-Link routers.

Step 3. Type
192.168.1.1 if the previous address didn't work.
This is another common address for routers.

Step 4. Type
dlinkrouter if neither address works.
This hostname works for many newer D-Link routers.

Step 5. Find the address of the router if nothing works
If you still can't get to the router's login screen, use another computer to find the router's address online:
- Windows -- Right-click the network icon in the system tray. Click on 'Open Network and Sharing Center'. Click the 'Connections' link at the top of the window for your active connection. Click on the button 'Details..'.. Copy the address of the 'IPv4 Default Gateway'. This is the address of the router.
- Mac -- Click the Apple menu and select System Preferences. Click on the 'Network' option. Select your active network connection. Click on the 'Advanced…' button Click on the 'TCP/IP' tab. Copy the 'Router' address.
Part 2 of 3: Login

Step 1. Type admin as username
This is the most common default username for D-Link routers.

Step 2. Leave the password field blank
Many D-Link routers are not assigned a password.

Step 3. Try admin as password
If an empty password doesn't work, try 'admin'.

Step 4. Find the default credentials for your router
If a combination of 'admin' and blank passwords doesn't work, go to www.routerpasswords.com and choose 'D-Link' from the menu. Find your router model in the list and enter the username and password shown.

Step 5. Press and hold the Reset button on the back of the router if you are unable to login
If none of the default usernames and passwords work, press and hold the Reset button on the back of the router for about thirty seconds. The router will then reboot, which may take a minute. After resetting, you can use the default information to login.
Part 3 of 3: Changing the Wi-Fi password

Step 1. Click on the Wireless tab
If you don't see this tab, click the Setup tab and then click 'Wireless Settings' in the left menu.

Step 2. Click on the Security Mode menu button

Step 3. Click on Enable WPA2 Wireless Security
Unless you're specifically trying to connect older devices that don't support WPA2, you should always use this security method. It is the safest way to protect your network.

Step 4. Click on the Passphrase field

Step 5. Type the password you want to use
Make sure that the password does not contain words from the dictionary and is not easy to guess. This is especially important in crowded places.

Step 6. Retype the password in the Confirm Passphrase field

Step 7. Click on the Save Settings button

Step 8. Enter the new password on your wireless devices
Once you have changed the password, all wireless devices will be disconnected and the new password will be required to reconnect.