Trouble with alogin

David Williamson davidw at certaintysolutions.com
Wed Feb 13 23:16:31 UTC 2002


Hey!

I'm finally trying to get our Alteon's incorporated into rancid.
When I run alogin against one of them, I get this output:

------------------------------------------------------------
[Main Menu]
      info    - Information Menu
      stats   - Statistics Menu
      cfg     - Configuration Menu
      oper    - Operations Command Menu
      boot    - Boot Options Menu
      maint   - Maintenance Menu
      diff    - Show pending config changes  [global command]
      apply   - Apply pending config changes [global command]
      save    - Save updated config to FLASH [global command]
      revert  - Revert pending or applied changes [global command]
      exit    - Exit  [global command, always available]

>> Main# expected boolean value but got ""
    while executing
"if {[login $router $ruser $userpswd $passwd $prompt $cmethod $cyphertype]} {
        continue
    }"
    ("foreach" body line 59)
    invoked from within
"foreach router [lrange $argv $i end] {
    set router [string tolower $router]
    send_user "$router\n"

    # Figure out prompt.
    set prompt ">>  ..."
    (file "/home/rancid/bin/alogin" line 421)

It successfully logs in, but then it seems to croak.  Any ideas?  I don't
speak expect, so use small words. :)

Thanks!

-David



--
David Williamson                |       "Wine is light, held
Certainty Solutions, Inc.       |        together by water."
davidw at certaintysolutions.com   |                   -Galileo



More information about the Rancid-discuss mailing list