It sounds like you are having problems with your router changing the IP address its giving your laptop. Many routers have a feature called "Static DHCP Leases" or "Address Reservations". This allows you to enter your MAC address and assign a specific IP address to always assign that MAC.
If your router doesn't support that, you can still choose an IP address outside the range of the addresses assigned by the DHCP server and set it up statically.
Update
For your specific router (TL-WR841N) you can setup an Address Reservation using the "DHCP" menu item in your router's configuration. You can find your MAC address from the "DHCP Clients List."
For the "Reserved IP Address" field, select an IP that is on the same subnet that the DHCP server is using, but outside the range being handed out by the DHCP server. For example, if the the DHCP server is using 192.168.1.100
to 192.168.1.199
, select and address such as 192.168.1.50
.
Euhm ok so sorry but can you explain in steps how to get 1 IPV4 address? – Loko – 2013-12-20T17:07:15.263
What kind of router do you have? Most modern routers will do do static leases. – heavyd – 2013-12-20T17:22:59.087
TP-Link WR841N (TL-WR841N) – Loko – 2013-12-20T17:24:21.147
@Loko, I've updated my answer for your specific router. – heavyd – 2013-12-20T17:33:17.867
You are a genius, a god! – Loko – 2013-12-20T17:56:02.150