master mode configuration problem

What have you tried to get master mode? IIRC you need to hold a state line high while powering on the module to put it in command mode to start issuing AT commands.

Post links to the exact module your using.

Another possibility is the module is really an HC-06 and not an HC-05 and does not contain firmware to allow master mode.