-
Notifications
You must be signed in to change notification settings - Fork 936
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
Unable to Telnet to FastIron switches #1784
Comments
The model appears to assume a user + password style login, while your device appears to present only the password prompt - most likely because no users are configured, and only a super-user password is present; you might have better luck if you configure your device along the lines of:
Then configure |
Thank you. I've done as you said, and created an 'oxidized' user and updated my router.db accordingly. But it still fails. When I try to telnet, I'm still not prompted for a username either. That's less of an Oxidized problem and more of a FastIron issue though I think. Is there any way I can make Oxidized work with the "password only" situation? EDIT: Nevermind, I'm now prompted for a Telnet username --
How do I make the regex work with this? |
Based on the current model, the prompt you are now seeing should be a match:
Are you testing this with an unmodified ironware model (you mention attempting to edit the regexp) from Oxidized 0.26.3? If so, this could be the result of your device inserting some control characters into the session. A debug log of the Telnet session might shed more light on the issue. |
I am using an unmodified Oxidized 0.26.3, yes. Here's my debug log:
|
Also see #1808 - as there's now a dedicated fastiron model separate from ironware (one for each type of Brocade OS). |
Random Q, why is your model 'junos' for a fastiron/brocade router? |
Hi,
I can't connect to any of my FastIron switches due to a regex error. I am using the default ironware.db.
This is the Telnet prompt:
This is the error that Oxidized displays:
W, [2019-04-24T12:57:28.119269 #197137] WARN -- : 1.2.3.4 raised Oxidized::PromptUndetect with msg "unable to detect prompt: (?i-mx:^.*(telnet|ssh)@.+[>#]\s?$)"
This is my config:
This is my router.db:
1.2.3.4:ironware:telnetpassword:enablepassword
I've tried modifying the regex, and verified my result in the various regex generators online, but I still can't get past this error message.
Does anyone know what else I can try?
The text was updated successfully, but these errors were encountered: