Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mikrotik free version ssh login fix #3450

Conversation

MeganerdDev
Copy link

Closes #3421

Changes

Adds additional (special) case for Miktrotik devices that are unlicensed.

Similar to the "Do you want to see the software license" case-scenario, there is an additional message for unlicensed Mikrotrik devices that requires the return key input.

I have tested this to be working.
I tried follow the existing code pattern in Netmiko, let me know!
The remaining TODO item is if we want to raise an exception, otherwise I can strip from PR before merge.

The prompt we are now also catching

  MMM      MMM       KKK                          TTTTTTTTTTT      KKK
  MMMM    MMMM       KKK                          TTTTTTTTTTT      KKK
  MMM MMMM MMM  III  KKK  KKK  RRRRRR     OOOOOO      TTT     III  KKK  KKK
  MMM  MM  MMM  III  KKKKK     RRR  RRR  OOO  OOO     TTT     III  KKKKK
  MMM      MMM  III  KKK KKK   RRRRRR    OOO  OOO     TTT     III  KKK KKK
  MMM      MMM  III  KKK  KKK  RRR  RRR   OOOOOO      TTT     III  KKK  KKK

  MikroTik RouterOS 7.15rc3 (c) 1999-2024       https://www.mikrotik.com/


ROUTER HAS NO SOFTWARE KEY
----------------------------
You have 21h2m to configure the router to be remotely accessible,
and to enter the key by pasting it in a Telnet window or in Winbox.
Turn off the device to stop the timer.
See www.mikrotik.com/key for more details.

Current installation "software ID": 0000-0000
Please press "Enter" to continue!

@MeganerdDev
Copy link
Author

MeganerdDev commented Jul 3, 2024

The remaining TODO item is if we want to raise an exception. I am leaning on no here myself, but I left it commented out.

Edit: Removed

meganerd and others added 3 commits July 4, 2024 20:17
@ktbyers
Copy link
Owner

ktbyers commented Jul 8, 2024

Superseded by:

#3458

@ktbyers ktbyers closed this Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mikrotik free version adds extra message into the SSH login process
2 participants