It sometimes happens when you try to connect to the internet using you Nokia 5800, you see error message NO GATEWAY REPLY on you screen. The common perception among people is that this error message caused by a WiFi problem or bugs on your 5800. But you should know that error message is not caused by those reasons. Let me show you that the main reason of that problem can be the disable DHCP on your router so the phone can not dynamically reach an IP. Then you can set your router easily. You just need to give manually your 5800 the DNS server and IP address. You will not need the DHCP for doing that. So the detail steps are:
1. Press the menu button.
2. Settings>connectivity>destinations.
3. Select your access point then add the new access point.
4. Select yes while it asks for AUTOMATICALLY CHECK FOR AVAILABLE ACCESS POINTS
5. Select the suitable WLAN network (choose one with known wep key).
6. Select no if it asks to CONFIGURE NOW.
7. Enter you WEP key.
8. Go to the internet (in destinations) then select you WLAN network.
9. Highlight the WLAN (data bearer) option then go to the advance settings.
10.Select ipv4 then enter these following values:
(a)Phone ip: 192.168.1.2 to 192.168.1.254 (range)
(b)Subnet mask
(c)Default gateway : this one is you router’s address (commonly 192.168.1.1)
(d)Dns address 208.67.222.222 and 208.67.220.220(they are opendns servers but you can choose dns address that provided by you ISP)
11.Now finally you can access easily you WLAN network ( via menu>settings>connectivity>wlan)