<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Fri, 20 Jul 2018 at 15:16, heasley <<a href="mailto:heas@shrubbery.net">heas@shrubbery.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Fri, Jul 20, 2018 at 10:19:38AM +0100, Craig Hopkins:<br>
> Hi all,<br>
> <br>
> Does anybody know the syntax for cloginrc and router.db for edgerouters?<br>
> <br>
> I've tried various permutations and either:<br>
> - it won't log in because there isn't an enable password<br>
> - if I set autoenable to 1, it will log in but fail to back up:<br>
> <br>
> $ clogin -t edgerouter MYDEVICE<br>
<br>
ulogin<br></blockquote><div><br></div><div>That's only part of it, though. I still need the right .cloginrc commands. If I use ulogin, then:</div><div><br></div><div><div>$ ulogin MYDEVICE</div><div>MYDEVICE</div><div>spawn ssh -x -l ubnt MYDEVICE</div><div>Welcome to EdgeOS</div><div><br></div><div>By logging in, accessing, or using the Ubiquiti product, you</div><div>acknowledge that you have read and understood the Ubiquiti</div><div>License Agreement (available in the Web UI at, by default,</div><div><a href="http://192.168.1.1">http://192.168.1.1</a>) and agree to be bound by its terms.</div><div><br></div><div>Linux MYDEVICE 3.10.107-UBNT #1 SMP Fri Jun 22 14:27:52 UTC 2018 mips64</div><div>Welcome to EdgeOS</div><div>Last login: Fri Jul 20 09:09:49 2018 from MY.IP.GOES.HERE</div><div>ubnt</div><div>ubnt@MYDEVICE:~$ ubnt</div><div>-vbash: ubnt: command not found</div><div>ubnt@MYDEVICE:~$</div></div><div><br></div><div>Where is that extra "ubnt" coming from?</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<br>
> MYDEVICE<br>
> spawn ssh -x -l ubnt MYDEVICE<br>
> Welcome to EdgeOS<br>
> <br>
> By logging in, accessing, or using the Ubiquiti product, you<br>
> acknowledge that you have read and understood the Ubiquiti<br>
> License Agreement (available in the Web UI at, by default,<br>
> <a href="http://192.168.1.1" rel="noreferrer" target="_blank">http://192.168.1.1</a>) and agree to be bound by its terms.<br>
> <br>
> Linux MYDEVICE 3.10.107-UBNT #1 SMP Mon Mar 5 18:18:48 UTC 2018 mips64<br>
> Welcome to EdgeOS<br>
> Last login: Tue Apr 28 05:41:57 2015 from 2a00:my:ip:went::here<br>
> <br>
> Error: TIMEOUT reached<br>
<br>
> _______________________________________________<br>
> Rancid-discuss mailing list<br>
> <a href="mailto:Rancid-discuss@shrubbery.net" target="_blank">Rancid-discuss@shrubbery.net</a><br>
> <a href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss" rel="noreferrer" target="_blank">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a><br>
<br>
</blockquote></div></div>