For the old Dlinks, you will have to:
1) Disable the wifi
2) Disable the DHCP server
At that point, it should work fine as a hub/switch.
Link to the manual in case you need to learn how to reset the router and configure it:
http://www.dlink.com/-/media/Consume...l_v1_EN_UK.pdf