Your router will most prolly haf a WAN port. Connect the RJ45 there. Then open up the Router Web config page and Enable the login info. Put in the username and password there and the router should now be able to connect to the internet.
To enable sharing , follow the rest of the tutorial.
thx for ur reply.
the d-link 2640t have 1 power+1 rj11(adsl)+4 rj45 ports. now i can connect to the internet, but the router page not showing when i try to connect 192.168.1.1 (default LAN ip or router). my conf as follows .........
router wan ip: 172.x.x.19 (self given)
subnetmask: 255.255.255.0 (provided by isp)
gateway: 172.x.x.1 (provided by isp)
dns: 172.x.x.1 (provided by isp)
router lan ip: 192.168.1.1 (default)
subnetmask: 255.255.255.0 (default)
my laptop ip: 172.x.x.5 (
provided by iap)
subnetmask: 255.255.255.0 (provided by isp)
gateway: 172.x.x.1 (provided by isp)
dns: 172.x.x.1 (provided by isp)
the problem is that whenever i try to connect to router conf page it says "
(110) Connection timed out". i also disable the router's dhcp option. now i can connect to the internet but i cant access my d-link router's conf webpage.