OFCOURSE YOU MUST CONFIGURE THE NETWORK SETTINGS ON MB..
it will not just work automatically.. you have to go to the airport icon at the top right of ur screen and then browse for networks.. choose network name (network) SSID of your dlink and then enter the passkey.
sorry if this is not helpful.. hope it helps..