Community discussions

MikroTik App
 
Robervaldd
newbie
Topic Author
Posts: 40
Joined: Tue Nov 15, 2016 2:11 am

Login or password error after upgrade 6.45.2

Sat Jul 27, 2019 1:53 pm

I upgraded a ccr1009 that was in version 6.40 to version 6.45.2, after that I can not access login error or password, before upgrading it was factory default, already tried to winbox, telnet, mac-telnet unsuccessfully, something can do to regain access?
 
User avatar
victorsoares
Member Candidate
Member Candidate
Posts: 106
Joined: Thu Feb 15, 2018 6:29 pm
Location: Ubatuba, São Paulo - Brazil
Contact:

Re: Login or password error after upgrade 6.45.2

Mon Jul 29, 2019 3:50 pm

What version of Winbox are you using? Try the latest one (3.19). If that doesn't work, there is always NetInstall.
 
klhsu
just joined
Posts: 2
Joined: Wed Nov 30, 2016 5:25 pm

Re: Login or password error after upgrade 6.45.2

Fri Oct 18, 2019 8:48 pm

Hi all.
My routerOS is 6.45.6 .
After upgrade tik4net to 3.40
I change the code as following :

Code: Select all

using (var conn = ConnectionFactory.OpenConnection(TikConnectionType.ApiSsl_v2, hostip, port, admin, adminpass))
{
var cmd = conn.CreateCommand("/system/identity/print");
var result = cmd.ExecuteSingleRow();
Console.WriteLine(result.Words["name"]);
// }
// using (ITikConnection connection = ConnectionFactory.CreateConnection(TikConnectionType.ApiSsl))
// {
// connection.Open(hostip, port, admin, adminpass);
ITikCommand pppSecretCmd = conn.CreateCommand("/ppp/secret/print");
// print where name = ???
var exxx = pppSecretCmd.ExecuteList();
conn.Dispose();
pppList = ConvertToModel(exxx);
if (userName != null && userName.Length > 0)
{
pppList = pppList.Where(x => x.name == userName).ToList();
}
else
{
}
logger.Debug("get PPP User count [" + pppList.Count + "]");

}
I 've test and work fine,the keypoint is connect by SSL api .

Who is online

Users browsing this forum: cyrq, sistelec, tdw and 47 guests