<div dir="ltr">Hi Forum<div><br></div><div>Any advice ? It seems to me that LG script is not able to login to router as i do not see any login attempts from server IP on my router. However rancid can login (i tested following instrustions on <a href="http://joe-ma-how-to.blogspot.sg/search/label/Rancid">http://joe-ma-how-to.blogspot.sg/search/label/Rancid</a></div><div><br></div><div>Thanks for your kindl advice.</div><div><br></div><div>BR</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 7, 2017 at 11:36 AM, Tarranum Kamal <span dir="ltr"><<a href="mailto:tarranum.kamal@gmail.com" target="_blank">tarranum.kamal@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Aaron<div><br></div><div>Yes you are right, the original equipment is from Alcatel running SROS. Its a Unix like machine and I am trying to test ping for now. I am attached my type.conf , nkrancid and nklogin files. I gor nkrancid from <a href="https://github.com/buraglio/alurancid" target="_blank">https://github.com/<wbr>buraglio/alurancid</a> (after fixing one line it worked fine for me) however alulogin file on the same repositiory is meant to work for old version of rancid so i just copied jlogin that comes wih rancid3.0 and renamed it , is it right thing to do ? </div><div><br></div><div>files on my systems are attached.</div><div><br></div><div>Thanks for your help.</div><div><br></div><div>BR</div><span class="HOEnZb"><font color="#888888"><div>Tarranum</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 6, 2017 at 7:56 PM, Aaron Dudek <span dir="ltr"><<a href="mailto:adudek16@gmail.com" target="_blank">adudek16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I would look to see what there is for Alcatel Lucent or SROS instead of Nokia<br>
<div class="m_7037822840590766269HOEnZb"><div class="m_7037822840590766269h5"><br>
On Fri, Jun 2, 2017 at 2:36 AM, Tarranum Kamal <<a href="mailto:tarranum.kamal@gmail.com" target="_blank">tarranum.kamal@gmail.com</a>> wrote:<br>
> Anyone who can answer my query. I have fixed my previous issues and now when<br>
> try to execute ping from my LG webpage, it gives me error "Unknown device<br>
> type nokia: . I am trying to configure it for Nokia routers (formerly<br>
> Alcatel Lucent).<br>
><br>
> Here is how my rancid.types.conf looks like<br>
><br>
> nokia;script;nkrancid<br>
> nokia;login;nklogin<br>
> nokia;module;timos<br>
> nokia;command;timos::ping<br>
> nokia;inloop;timos::inloop<br>
><br>
> and nklogin /nkrancid are located in /usr/local/libexc/rancid and are<br>
> writeable by rancid user only.<br>
><br>
> Thanks for your reply.<br>
><br>
> BR<br>
><br>
> On Fri, May 26, 2017 at 1:12 PM, Tarranum Kamal <<a href="mailto:tarranum.kamal@gmail.com" target="_blank">tarranum.kamal@gmail.com</a>><br>
> wrote:<br>
>><br>
>> I use your method. The location of perl i think I am sure (see below)<br>
>><br>
>> /usr/local/htdocs/lg % cd /usr/local/bin/perl<br>
>> perl*       perl5*      perl5.24.1* perlbug*    perldoc*    perlivp*<br>
>> perlthanks*<br>
>><br>
>><br>
>> Perl version in use:<br>
>><br>
>>  perl -v<br>
>><br>
>> This is perl 5, version 24, subversion 1 (v5.24.1) built for<br>
>> amd64-freebsd-thread-multi<br>
>> (with 1 registered patch, see perl -V for more detail)<br>
>><br>
>> Copyright 1987-2016, Larry Wall<br>
>><br>
>> Perl may be copied only under the terms of either the Artistic License or<br>
>> the<br>
>> GNU General Public License, which may be found in the Perl 5 source kit.<br>
>><br>
>> Complete documentation for Perl, including FAQ lists, should be found on<br>
>> this system using "man perl" or "perldoc perl".  If you have access to the<br>
>> Internet, point your browser at <a href="http://www.perl.org/" rel="noreferrer" target="_blank">http://www.perl.org/</a>, the Perl Home Page.<br>
>><br>
>> Thanks for replying<br>
>><br>
>> BR<br>
>><br>
>> On Fri, May 26, 2017 at 12:52 AM, Aaron Dudek <<a href="mailto:adudek16@gmail.com" target="_blank">adudek16@gmail.com</a>> wrote:<br>
>>><br>
>>> Did you install the modules using the method I gave?<br>
>>> Are you sure about the location of the perl modules?<br>
>>><br>
>>> I've never played with the LG and I don't do http.<br>
>>><br>
>>> On Thu, May 25, 2017 at 11:57 AM, Tarranum Kamal<br>
>>> <<a href="mailto:tarranum.kamal@gmail.com" target="_blank">tarranum.kamal@gmail.com</a>> wrote:<br>
>>> > Hi Aaron<br>
>>> ><br>
>>> > Thanks for your swift reply. Is this going to install CGI and Lockfile<br>
>>> > module for me ?<br>
>>> ><br>
>>> > FYI, httpd.conf file<br>
>>> ><br>
>>> > <IfModule !mpm_prefork_module><br>
>>> > LoadModule cgid_module libexec/apache24/mod_cgid.so<br>
>>> > </IfModule><br>
>>> > <IfModule mpm_prefork_module><br>
>>> > LoadModule cgi_module libexec/apache24/mod_cgi.so<br>
>>> > LoadModule perl_module libexec/apache24/mod_perl.so<br>
>>> ><br>
>>> > ScriptAlias /lg /usr/local/htdocs/lg<br>
>>> ><br>
>>> > <Directory "/usr/local/htdocs/lg/.htacces<wbr>s"><br>
>>> >     AllowOverride None<br>
>>> >     AddHandler cgi-script .cgi .pl<br>
>>> >     Options ExecCGI<br>
>>> >     DirectoryIndex lgform.cgi<br>
>>> >     Require all granted<br>
>>> > </Directory><br>
>>> ><br>
>>> > When I see httpd-error.log, I see below:<br>
>>> ><br>
>>> > [Thu May 25 16:01:48.035497 2017] [cgi:error] [pid 17135] [client <IP<br>
>>> > address:port>] AH01215: (8)Exec format error: exec of<br>
>>> > '/usr/local/htdocs/lg/<a href="http://index.ht">index.ht</a><wbr>ml' failed:<br>
>>> > /usr/local/htdocs/lg/index.htm<wbr>l<br>
>>> > [Thu May 25 16:01:48.035557 2017] [cgi:error] [pid 17135] [client <IP<br>
>>> > address:port>] End of script output before headers: index.html<br>
>>> ><br>
>>> > Best Regards<br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> > On Thu, May 25, 2017 at 10:22 PM, Aaron Dudek <<a href="mailto:adudek16@gmail.com" target="_blank">adudek16@gmail.com</a>><br>
>>> > wrote:<br>
>>> >><br>
>>> >> As far as the Perl stuff<br>
>>> >> try<br>
>>> >> A) Start CPAN Shell:<br>
>>> >> # perl -MCPAN -e shell<br>
>>> >><br>
>>> >> B) Install a perl module:<br>
>>> >> At cpan> shell prompt install module using install module::Name<br>
>>> >> command. For example install module called MIME::Lite:<br>
>>> >> # cpan> install MIME::Lite<br>
>>> >><br>
>>> >> Alternatively, try out the following command:<br>
>>> >> # cpan -i MIME::Lite<br>
>>> >><br>
>>> >> On Thu, May 25, 2017 at 10:17 AM, heasley <<a href="mailto:heas@shrubbery.net" target="_blank">heas@shrubbery.net</a>> wrote:<br>
>>> >> > Thu, May 25, 2017 at 01:17:56PM +0800, Tarranum Kamal:<br>
>>> >> >> 0down votefavorite<br>
>>> >> >> <<a href="https://serverfault.com/questions/852134/rancid-looking-glass#" rel="noreferrer" target="_blank">https://serverfault.com/quest<wbr>ions/852134/rancid-looking-<wbr>glass#</a>><br>
>>> >> >><br>
>>> >> >> I am beginner to server world and in general scripting and OS. I<br>
>>> >> >> have<br>
>>> >> >> managed to run Rancid on my server running Freebsd. Now i am trying<br>
>>> >> >> to<br>
>>> >> >> confiugre RANCID Looking glass, i have followed REAMDE.lg that<br>
>>> >> >> comes<br>
>>> >> >> with<br>
>>> >> >> rancid package but to be honest this is too difficult to understand<br>
>>> >> >> with<br>
>>> >> >> lots of hidden assumptions . ANyways i followed the instricution in<br>
>>> >> >> it<br>
>>> >> >> )<br>
>>> >> >> (whatever I could understand) , when I try to access it thru<br>
>>> >> >> browser it<br>
>>> >> >> displays text instead webpage, now I am clueless. The readme says<br>
>>> >> >> it<br>
>>> >> >> required CGI and Lockfile perl modules, how can I check if these<br>
>>> >> >> modules<br>
>>> >> >> are present on my servers<br>
>>> >> >><br>
>>> >> >> I would appreciate if anyone has installed rancid looking glass who<br>
>>> >> >> can<br>
>>> >> >> help me out or if anyone can provide me a better installation guide<br>
>>> >> >> for<br>
>>> >> >> freebsd.<br>
>>> >> ><br>
>>> >> > its been a while since i've setup the lg freshly and the i have yet<br>
>>> >> > to<br>
>>> >> > review the suggestion last week from another user on the cisco-nsp<br>
>>> >> > list.<br>
>>> >> > i'll try to do that next week, otherwise the README.lg file is the<br>
>>> >> > only<br>
>>> >> > instruction I have for you ATM.<br>
>>> >> ><br>
>>> >> > ______________________________<wbr>_________________<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/mailm<wbr>an/listinfo/rancid-discuss</a><br>
>>> ><br>
>>> ><br>
>><br>
>><br>
><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>