Discussion:
[rancid] clogin error
Ingabire Grace
2008-07-10 09:44:18 UTC
Permalink
Hello,



I have configured rancid but I m getting an error:

clogin error: Error: extra characters after close-brace

In my.clogin file, here is the syntax of all the routers that I added:



add password router password enable password



Has any one get a problem like this?



Thanks for your prompt reply.



Regards,



Grace
Steve Ousley
2008-07-10 09:52:25 UTC
Permalink
Do you actually have the word "enable" in there? The format of the lines I
have is:



add password <router mask> <rancid password> <enable password>



Also, I am not sure wether this particularly matters, but I have some
routers that have different login details to all others, and these are
specified above the rule that states the password for all other routers.



So I have like:



add password firewall1 <rancid password> <enable password>

add password firewall2 <rancid password> <enable password>

add password * <rancid password> <enable password>



Not sure if the order does matter, but I would have thought rancid would
simply look for the first matching line.



Regards



Steve Ousley - SO620-RIPE

Nuco Technologies Ltd

<mailto:***@host-it.co.uk> ***@host-it.co.uk

<http://www.nucotechnologies.com/> www.nucotechnologies.com

Tel. 0870 165 1300



Nuco Technologies Ltd is a company registered in England and Wales
with company number 04470751



From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Ingabire Grace
Sent: 10 July 2008 10:44
To: rancid-***@shrubbery.net
Subject: [rancid] clogin error



Hello,



I have configured rancid but I m getting an error:

clogin error: Error: extra characters after close-brace

In my.clogin file, here is the syntax of all the routers that I added:



add password router password enable password



Has any one get a problem like this?



Thanks for your prompt reply.



Regards,



Grace
Ingabire Grace
2008-07-10 10:00:47 UTC
Permalink
I don't have have the word enable.

The syntax is:

Add password router IP router password router enable password

Should I change it to something similar as this?



Add password router IP rancid password enable password

As suggested?



Thanks for your quick reply.



Regards,

Grace



_____

From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Steve Ousley
Sent: Thursday, July 10, 2008 11:52 AM
To: rancid-***@shrubbery.net
Subject: [rancid] Re: clogin error



Do you actually have the word "enable" in there? The format of the lines I
have is:



add password <router mask> <rancid password> <enable password>



Also, I am not sure wether this particularly matters, but I have some
routers that have different login details to all others, and these are
specified above the rule that states the password for all other routers.



So I have like:



add password firewall1 <rancid password> <enable password>

add password firewall2 <rancid password> <enable password>

add password * <rancid password> <enable password>



Not sure if the order does matter, but I would have thought rancid would
simply look for the first matching line.



Regards



Steve Ousley - SO620-RIPE

Nuco Technologies Ltd

<mailto:***@host-it.co.uk> ***@host-it.co.uk

<http://www.nucotechnologies.com/> www.nucotechnologies.com

Tel. 0870 165 1300



Nuco Technologies Ltd is a company registered in England and Wales
with company number 04470751



From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Ingabire Grace
Sent: 10 July 2008 10:44
To: rancid-***@shrubbery.net
Subject: [rancid] clogin error



Hello,



I have configured rancid but I m getting an error:

clogin error: Error: extra characters after close-brace

In my.clogin file, here is the syntax of all the routers that I added:



add password router password enable password



Has any one get a problem like this?



Thanks for your prompt reply.



Regards,



Grace
Steve Ousley
2008-07-10 10:05:05 UTC
Permalink
The "rancid password" I forgot to mention will be the password that rancid
uses to login. This will be the user that is specified in the line like:



add user * <rancid user>



Steve Ousley - SO620-RIPE

Nuco Technologies Ltd

<mailto:***@host-it.co.uk> ***@host-it.co.uk

<http://www.nucotechnologies.com/> www.nucotechnologies.com

Tel. 0870 165 1300



Nuco Technologies Ltd is a company registered in England and Wales
with company number 04470751



From: Ingabire Grace [mailto:***@rwandatel.rw]
Sent: 10 July 2008 11:01
To: 'Steve Ousley'; rancid-***@shrubbery.net
Subject: RE: [rancid] Re: clogin error



I don't have have the word enable.

The syntax is:

Add password router IP router password router enable password

Should I change it to something similar as this?



Add password router IP rancid password enable password

As suggested?



Thanks for your quick reply.



Regards,

Grace



_____

From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Steve Ousley
Sent: Thursday, July 10, 2008 11:52 AM
To: rancid-***@shrubbery.net
Subject: [rancid] Re: clogin error



Do you actually have the word "enable" in there? The format of the lines I
have is:



add password <router mask> <rancid password> <enable password>



Also, I am not sure wether this particularly matters, but I have some
routers that have different login details to all others, and these are
specified above the rule that states the password for all other routers.



So I have like:



add password firewall1 <rancid password> <enable password>

add password firewall2 <rancid password> <enable password>

add password * <rancid password> <enable password>



Not sure if the order does matter, but I would have thought rancid would
simply look for the first matching line.



Regards



Steve Ousley - SO620-RIPE

Nuco Technologies Ltd

<mailto:***@host-it.co.uk> ***@host-it.co.uk

<http://www.nucotechnologies.com/> www.nucotechnologies.com

Tel. 0870 165 1300



Nuco Technologies Ltd is a company registered in England and Wales
with company number 04470751



From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Ingabire Grace
Sent: 10 July 2008 10:44
To: rancid-***@shrubbery.net
Subject: [rancid] clogin error



Hello,



I have configured rancid but I m getting an error:

clogin error: Error: extra characters after close-brace

In my.clogin file, here is the syntax of all the routers that I added:



add password router password enable password



Has any one get a problem like this?



Thanks for your prompt reply.



Regards,



Grace
Martin, Seth
2008-07-10 11:30:07 UTC
Permalink
If your password uses special characters you may need to enclose it in
{}



_____________________________________________________________________
Seth Martin



________________________________

From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Steve Ousley
Sent: Thursday, July 10, 2008 6:05 AM
To: rancid-***@shrubbery.net
Subject: [rancid] Re: clogin error



The "rancid password" I forgot to mention will be the password that
rancid uses to login. This will be the user that is specified in the
line like:



add user * <rancid user>



Steve Ousley - SO620-RIPE

Nuco Technologies Ltd

***@host-it.co.uk <mailto:***@host-it.co.uk>

www.nucotechnologies.com <http://www.nucotechnologies.com/>

Tel. 0870 165 1300



Nuco Technologies Ltd is a company registered in England and Wales
with company number 04470751



From: Ingabire Grace [mailto:***@rwandatel.rw]
Sent: 10 July 2008 11:01
To: 'Steve Ousley'; rancid-***@shrubbery.net
Subject: RE: [rancid] Re: clogin error



I don't have have the word enable.

The syntax is:

Add password router IP router password router enable password

Should I change it to something similar as this?



Add password router IP rancid password enable password

As suggested?



Thanks for your quick reply.



Regards,

Grace



________________________________

From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Steve Ousley
Sent: Thursday, July 10, 2008 11:52 AM
To: rancid-***@shrubbery.net
Subject: [rancid] Re: clogin error



Do you actually have the word "enable" in there? The format of the
lines I have is:



add password <router mask> <rancid password> <enable password>



Also, I am not sure wether this particularly matters, but I have some
routers that have different login details to all others, and these are
specified above the rule that states the password for all other routers.



So I have like:



add password firewall1 <rancid password> <enable password>

add password firewall2 <rancid password> <enable password>

add password * <rancid password> <enable password>



Not sure if the order does matter, but I would have thought rancid would
simply look for the first matching line.



Regards



Steve Ousley - SO620-RIPE

Nuco Technologies Ltd

***@host-it.co.uk <mailto:***@host-it.co.uk>

www.nucotechnologies.com <http://www.nucotechnologies.com/>

Tel. 0870 165 1300



Nuco Technologies Ltd is a company registered in England and Wales
with company number 04470751



From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Ingabire
Grace
Sent: 10 July 2008 10:44
To: rancid-***@shrubbery.net
Subject: [rancid] clogin error



Hello,



I have configured rancid but I m getting an error:

clogin error: Error: extra characters after close-brace

In my.clogin file, here is the syntax of all the routers that I added:



add password router password enable password



Has any one get a problem like this?



Thanks for your prompt reply.



Regards,



Grace
Ingabire Grace
2008-07-14 08:36:10 UTC
Permalink
I' m still getting the same error even after enclose them in {}.







_____

From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Martin, Seth
Sent: Thursday, July 10, 2008 1:30 PM
To: Steve Ousley; rancid-***@shrubbery.net
Subject: [rancid] Re: clogin error



If your password uses special characters you may need to enclose it in {}



_____________________________________________________________________
Seth Martin

_____

From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Steve Ousley
Sent: Thursday, July 10, 2008 6:05 AM
To: rancid-***@shrubbery.net
Subject: [rancid] Re: clogin error



The "rancid password" I forgot to mention will be the password that rancid
uses to login. This will be the user that is specified in the line like:



add user * <rancid user>



Steve Ousley - SO620-RIPE

Nuco Technologies Ltd

<mailto:***@host-it.co.uk> ***@host-it.co.uk

<http://www.nucotechnologies.com/> www.nucotechnologies.com

Tel. 0870 165 1300



Nuco Technologies Ltd is a company registered in England and Wales
with company number 04470751



From: Ingabire Grace [mailto:***@rwandatel.rw]
Sent: 10 July 2008 11:01
To: 'Steve Ousley'; rancid-***@shrubbery.net
Subject: RE: [rancid] Re: clogin error



I don't have have the word enable.

The syntax is:

Add password router IP router password router enable password

Should I change it to something similar as this?



Add password router IP rancid password enable password

As suggested?



Thanks for your quick reply.



Regards,

Grace



_____

From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Steve Ousley
Sent: Thursday, July 10, 2008 11:52 AM
To: rancid-***@shrubbery.net
Subject: [rancid] Re: clogin error



Do you actually have the word "enable" in there? The format of the lines I
have is:



add password <router mask> <rancid password> <enable password>



Also, I am not sure wether this particularly matters, but I have some
routers that have different login details to all others, and these are
specified above the rule that states the password for all other routers.



So I have like:



add password firewall1 <rancid password> <enable password>

add password firewall2 <rancid password> <enable password>

add password * <rancid password> <enable password>



Not sure if the order does matter, but I would have thought rancid would
simply look for the first matching line.



Regards



Steve Ousley - SO620-RIPE

Nuco Technologies Ltd

<mailto:***@host-it.co.uk> ***@host-it.co.uk

<http://www.nucotechnologies.com/> www.nucotechnologies.com

Tel. 0870 165 1300



Nuco Technologies Ltd is a company registered in England and Wales
with company number 04470751



From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Ingabire Grace
Sent: 10 July 2008 10:44
To: rancid-***@shrubbery.net
Subject: [rancid] clogin error



Hello,



I have configured rancid but I m getting an error:

clogin error: Error: extra characters after close-brace

In my.clogin file, here is the syntax of all the routers that I added:



add password router password enable password



Has any one get a problem like this?



Thanks for your prompt reply.



Regards,



Grace
Ingabire Grace
2008-07-14 08:43:10 UTC
Permalink
Here is the syntax of my file:



add password 196.xx.xx.xx {rancid123 ghy_#tpe}

rancid123: rancid password

ghy_#tpe: enable password



Regards,

Grace





_____

From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Ingabire Grace
Sent: Monday, July 14, 2008 10:36 AM
To: 'Martin, Seth'; 'Steve Ousley'; rancid-***@shrubbery.net
Subject: [rancid] Re: clogin error



I' m still getting the same error even after enclose them in {}.







_____

From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Martin, Seth
Sent: Thursday, July 10, 2008 1:30 PM
To: Steve Ousley; rancid-***@shrubbery.net
Subject: [rancid] Re: clogin error



If your password uses special characters you may need to enclose it in {}



_____________________________________________________________________
Seth Martin

_____

From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Steve Ousley
Sent: Thursday, July 10, 2008 6:05 AM
To: rancid-***@shrubbery.net
Subject: [rancid] Re: clogin error



The "rancid password" I forgot to mention will be the password that rancid
uses to login. This will be the user that is specified in the line like:



add user * <rancid user>



Steve Ousley - SO620-RIPE

Nuco Technologies Ltd

<mailto:***@host-it.co.uk> ***@host-it.co.uk

<http://www.nucotechnologies.com/> www.nucotechnologies.com

Tel. 0870 165 1300



Nuco Technologies Ltd is a company registered in England and Wales
with company number 04470751



From: Ingabire Grace [mailto:***@rwandatel.rw]
Sent: 10 July 2008 11:01
To: 'Steve Ousley'; rancid-***@shrubbery.net
Subject: RE: [rancid] Re: clogin error



I don't have have the word enable.

The syntax is:

Add password router IP router password router enable password

Should I change it to something similar as this?



Add password router IP rancid password enable password

As suggested?



Thanks for your quick reply.



Regards,

Grace



_____

From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Steve Ousley
Sent: Thursday, July 10, 2008 11:52 AM
To: rancid-***@shrubbery.net
Subject: [rancid] Re: clogin error



Do you actually have the word "enable" in there? The format of the lines I
have is:



add password <router mask> <rancid password> <enable password>



Also, I am not sure wether this particularly matters, but I have some
routers that have different login details to all others, and these are
specified above the rule that states the password for all other routers.



So I have like:



add password firewall1 <rancid password> <enable password>

add password firewall2 <rancid password> <enable password>

add password * <rancid password> <enable password>



Not sure if the order does matter, but I would have thought rancid would
simply look for the first matching line.



Regards



Steve Ousley - SO620-RIPE

Nuco Technologies Ltd

<mailto:***@host-it.co.uk> ***@host-it.co.uk

<http://www.nucotechnologies.com/> www.nucotechnologies.com

Tel. 0870 165 1300



Nuco Technologies Ltd is a company registered in England and Wales
with company number 04470751



From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Ingabire Grace
Sent: 10 July 2008 10:44
To: rancid-***@shrubbery.net
Subject: [rancid] clogin error



Hello,



I have configured rancid but I m getting an error:

clogin error: Error: extra characters after close-brace

In my.clogin file, here is the syntax of all the routers that I added:



add password router password enable password



Has any one get a problem like this?



Thanks for your prompt reply.



Regards,



Grace
Gareth Hopkins
2008-07-14 09:40:58 UTC
Permalink
Hi,

You need to enclose the login and the enable password seperately.

<snip>

add password host {login} {enable}

</snip>

There is alot more you can specify. More info availalbe at
http://www.shrubbery.net/rancid/man/cloginrc.5.html
Post by Ingabire Grace
add password 196.xx.xx.xx {rancid123 ghy_#tpe}
rancid123: rancid password
ghy_#tpe: enable password
Regards,
Grace
------------------------------
*Sent:* Monday, July 14, 2008 10:36 AM
*Subject:* [rancid] Re: clogin error
I' m still getting the same error even after enclose them in {}.
------------------------------
*Sent:* Thursday, July 10, 2008 1:30 PM
*Subject:* [rancid] Re: clogin error
If your password uses special characters you may need to enclose it in {}
_____________________________________________________________________
Seth Martin
------------------------------
*Sent:* Thursday, July 10, 2008 6:05 AM
*Subject:* [rancid] Re: clogin error
The "rancid password" I forgot to mention will be the password that rancid
add user * <rancid user>
Steve Ousley - SO620-RIPE
Nuco Technologies Ltd
www.nucotechnologies.com
Tel. 0870 165 1300
Nuco Technologies Ltd is a company registered in England and Wales
with company number 04470751
*Sent:* 10 July 2008 11:01
*Subject:* RE: [rancid] Re: clogin error
I don't have have the word enable.
Add password router IP router password router enable password
Should I change it to something similar as this?
Add password router IP rancid password enable password
As suggested?
Thanks for your quick reply.
Regards,
Grace
------------------------------
*Sent:* Thursday, July 10, 2008 11:52 AM
*Subject:* [rancid] Re: clogin error
Do you actually have the word "enable" in there? The format of the lines I
add password <router mask> <rancid password> <enable password>
Also, I am not sure wether this particularly matters, but I have some
routers that have different login details to all others, and these are
specified above the rule that states the password for all other routers.
add password firewall1 <rancid password> <enable password>
add password firewall2 <rancid password> <enable password>
add password * <rancid password> <enable password>
Not sure if the order does matter, but I would have thought rancid would
simply look for the first matching line.
Regards
Steve Ousley - SO620-RIPE
Nuco Technologies Ltd
www.nucotechnologies.com
Tel. 0870 165 1300
Nuco Technologies Ltd is a company registered in England and Wales
with company number 04470751
*Sent:* 10 July 2008 10:44
*Subject:* [rancid] clogin error
*Hello,*
* *
*I have configured rancid but I m getting an error:*
*clogin error: Error: extra characters after close-brace*
*In my.clogin file, here is the syntax of all the routers that I added:*
* *
*add password router password enable password*
* *
*Has any one get a problem like this?*
* *
*Thanks for your prompt reply.*
* *
*Regards,*
* *
*Grace*
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Loading...