'Connect to the ASUS-WRT Telnet server.'

def connect(self):

    self._telnet = telnetlib.Telnet(self._host)
    self._telnet.read_until('login:    ')
    self._telnet.write((self._username + '\n').encode('ascii'))
    self._telnet.read_until('Password:    ')
    self._telnet.write((self._password + '\n').encode('ascii'))
    self._prompt_string = self._telnet.read_until('#').split('\n')[(-1)]
    super(TelnetConnection, self).connect()
