For Login Using Php API, you need change in: routeros_api.classv1.6.php $this->write('=response=00' . md5(chr(0) . $password . pack('H*', $MATCHES[0][1]))); for $this->write('=password=' . $password); Thanks man you really help me !!!! I waste a cup of days trying this f... error, thank you very mu...