I changed the password on the box, now I can not connect to it using telnet, how to solve the problem and get access to the box?

There are two ways to solve this problem:

 

  • U can install firmware from scratch  , but this option is not always convenient.
  • You can simply remove the password. The password is stored in an encrypted form in the file: 

/etc/passwd

root:$1$EeVIi40d$2jQit4IcO.1RSJEnyD8ct.:0:0::/:/bin/sh
sshd:*:65532:65534::/:/bin/false
ftp:*:65533:65534::/:/bin/false
nobody:*:65534:65534::/:/bin/false

(password highligted in red)

Now, using the Media Manager or Dream Explorer plugins and the remote control, we edit the passwd file
Edit the first line with the password, now it should look like this:

/etc/passwd

root::0:0::/:/bin/sh
sshd:*:65532:65534::/:/bin/false
ftp:*:65533:65534::/:/bin/false
nobody:*:65534:65534::/:/bin/false

(from the first line we simply delete the password)

  • Now, without problems, you can telnet to the box without a password, only by entering only the root login.

Use the passwd command to set a new password:

passwd
Changing password for root
Enter the new password (minimum of 5, maximum of 8 characters)
Please use a combination of upper and lower case letters and numbers.
Enter new password:
Bad password: similar to hostname.
Re-enter new password:
Password changed.