<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
responding to <span style="color: rgb(50, 49, 48); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); display: inline !important">Ryan
Gelobter <span id="🙂" title=":slight_smile:">🙂</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(50, 49, 48); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); display: inline !important"><span title=":slight_smile:"><br>
</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(50, 49, 48); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); display: inline !important"><span title=":slight_smile:">Yes,
it seems SSH works. Guess the main source of confusion is the Observium PHP script generating them as Dell, rather than SMC. Had sure seen the comment in the source as well, but previously the switches were accessed via telnet, which seems problematic (at
least for me)</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(50, 49, 48); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); display: inline !important"><span title=":slight_smile:"><br>
</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(50, 49, 48); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); display: inline !important"><span title=":slight_smile:">D</span></span></div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Dennis Jasch <dennis.jasch@anticlockwise.com.au><br>
<b>Sent:</b> Wednesday, 24 July 2019 11:40 AM<br>
<b>To:</b> john heasley <heas@shrubbery.net><br>
<b>Subject:</b> Re: [rancid] Rancid with Dell PowerConnect M8024-k</font>
<div> </div>
</div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I have tested dllogin, hlogin, and clogin, each with telnet and SSH</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<ul>
<li>telnet</li><ul>
<li>dllogin<br>
does not authenticate</li><li>hlogin<br>
does not authenticate</li><li>clogin<br>
works as expected</li></ul>
<li>SSH</li><ul>
<li>dllogin<br>
does not authenticate</li><li>hlogin<br>
works as expected</li><li>clogin<br>
works as expected</li></ul>
</ul>
</div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I attached test output.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I was able to get it to work all the way through via SSH and smc. </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I guess the Observium PHP script to generate router.db might need an adjustment to output this device as smc and not dell.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Regards,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Dennis.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> john heasley <heas@shrubbery.net><br>
<b>Sent:</b> Wednesday, 24 July 2019 3:56 AM<br>
<b>To:</b> Dennis Jasch <dennis.jasch@anticlockwise.com.au><br>
<b>Subject:</b> Re: [rancid] Rancid with Dell PowerConnect M8024-k</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">EXTERNAL: This email originated from outside Anticlockwise.<br>
<br>
Tue, Jul 23, 2019 at 02:26:34PM +0000, Dennis Jasch:<br>
> Hi,<br>
><br>
> thanks for the response!<br>
><br>
> It seems the process is getting stuck at dllogin:<br>
><br>
> rancid@observium:/opt/rancid/bin$ ./clogin -t 300 -c "show switch;" 10.253.249.55<br>
> 10.253.249.55<br>
> spawn ssh -x -l acadmin 10.253.249.55<br>
> acadmin@10.253.249.55's password:<br>
><br>
> sy2-blade-chassis-01-sw1>enable<br>
> Password:*********<br>
><br>
> sy2-blade-chassis-01-sw1#<br>
> sy2-blade-chassis-01-sw1#terminal length 0<br>
><br>
> sy2-blade-chassis-01-sw1#terminal width 132<br>
> ^<br>
> % Invalid input detected at '^' marker.<br>
><br>
> sy2-blade-chassis-01-sw1#show switch<br>
><br>
> Management Standby Preconfig Plugged-in Switch Code<br>
> SW Status Status Model ID Model ID Status Version<br>
> --- ---------- --------- ------------- ------------- ------------- -----------<br>
> 1 Stack Mbr Oper Stby PCM8024-k PCM8024-k OK 5.1.0.1<br>
> 2 Mgmt Sw PCM8024-k PCM8024-k OK 5.1.0.1<br>
><br>
> sy2-blade-chassis-01-sw1#<br>
> sy2-blade-chassis-01-sw1#exit<br>
><br>
> sy2-blade-chassis-01-sw1>exitConnection to 10.253.249.55 closed.<br>
> rancid@observium:/opt/rancid/bin$<br>
> rancid@observium:/opt/rancid/bin$<br>
> rancid@observium:/opt/rancid/bin$ ./dllogin -t 300 -c "show switch;" 10.253.249.55<br>
> 10.253.249.55<br>
> spawn ssh -x -l acadmin 10.253.249.55<br>
> acadmin@10.253.249.55's password:<br>
><br>
> sy2-blade-chassis-01-sw1><br>
><br>
> >From here on it just times out eventually.<br>
><br>
> clogin seems to work just fine. That device is a switch card in a blade chassis, and is fairly "Cisco-esk". So, I would assume dllogin is not quite compatible.<br>
<br>
that sure sounds like smc. Can you test with hlogin, which is what smc<br>
uses?<br>
<br>
> I had been trying to create a new type in rancid.types.conf, and tell it to use regular clogin - but have not managed to do so yet - any pointers would be highly appreciated.<br>
<br>
this depends upon the module; the older monolithic modules like smc have<br>
the login program hard-coded, but the new ones that have 'command' lines<br>
in etc/rancid.types.* utilize the login definition therein.<br>
</div>
</span></font></div>
</div>
</div>
</div>
</body>
</html>