[rancid] script itself runs - rancid-run: Couldn't login

Wiethoff, Helge Wiethoff at tfh-bochum.de
Thu Aug 6 10:26:50 UTC 2015


Hi all,

I programmed a login script and a "rancid-script" for the previously unsupported device type Microsens G6 based on xilogin+xirancid. My msg6login uses .cloginrc for automated username+password input.

"msg6rancid x-sw1k25.tfhbomgmt.de " works great and writes the correct config file to x-sw1k25.tfhbomgmt.de.new

I declared the new device typ in my rancid.types.conf:
#MicrosensG6
msg6;login;msg6login
msg6;script;msg6rancid

and added a device to my router.db:
x-sw1k25.tfhbomgmt.de;msg6;up

when running rancid-run, i can't login and get the following in the log:
x-sw1k25.tfh-bochum.de: missed cmd(s): all commands
x-sw1k25.tfh-bochum.de msg6login error: Error: Couldn't login: x-sw1k25.tfh-bochum.de
x-sw1k25.tfh-bochum.de: End of run not found

Did i miss something obvious? A env variable or something? Or is the reason in my msg6login as a i get this error inside an expect-block with EOF.


Cheers,
Helge
________________________________
  Helge Wiethoff
 Medienzentrum

Telefon: +49 (234) 968 8717
Fax: +49 (234) 968 3453
E-Mail: Wiethoff at tfh-bochum.de

Technische Fachhochschule Georg Agricola
für Rohstoff, Energie und Umwelt zu Bochum
Staatlich anerkannte Fachhochschule der
DMT-Gesellschaft für Lehre und Bildung mbH
Herner Straße 45
44787 Bochum
http://www.tfh-bochum.de
________________________________
Träger: DMT-Gesellschaft für Lehre und Bildung mbH
Sitz der Gesellschaft: Bochum
Registergericht: Amtsgericht Bochum
Handelsregister: B 4052

Geschäftsführung:
Prof. Dr. Jürgen Kretschmann (Vorsitzender)
Manfred Freitag


More information about the Rancid-discuss mailing list