How to change Wi-Fi password on my iPhone?

Lately my computer hasn't been working correctly so it is super slow and just a hassle to do things on. I've gotten a new router from D-Link and there's no password that has been set. I know to change it on my computer you have to type in the IP and the default one is 192.168.0.1
So I've been wondering if I could change the password on my iPhone 5c! If I was to type in the ip it was just display an error like they thought I was trying to type in a website but made a typo or something like that. So what can I do to change the password if it's even possible to change it with a mobile device. If that doesn't work I will have to get my friend to come over with his laptop but he lives far away so that would be a problem haha thanks for all answers!

The router's configuration page is just like any other web page so you can just open safari on your iphone and enter the ip address of the router and the go to the wireless security settings section on the router and set the password there, bearing in mind that as soon as you apply the new settings you will be disconnected and will have to re-connect using the new password

>first check the ip address and default gateway address for your network and
>then open browser and type 192.168.1.1 or 0.1 whichever is default gateway address
>then enter the UN and PWD for dlink router
>then goto wireless settings and enable security
>your network will be disconnected, then forget the network and reconnect and see if it's asking for password
>if not just powercycle router and change to flight mode and reconnect, it will ask