Mathieu P
2016-09-15 05:47:40 UTC
Hello,
I am trying to backup my Ubiquiti AirOS devices with rancid on Centos 6. I edited rancid-fe and downloaded urancid from https://github.com/dotwaffle/rancid-git/tree/master/bin
ulogin and clogin are working properly.
Example:
./clogin -f ../.cloginrc -c "sort /tmp/system.cfg" 192.168.251.21
192.168.251.21
spawn ssh -x -l BW-Admin 192.168.251.21
BW-***@192.168.251.21's password:
KM ,ok0KNWW
KM :NMMMMMMMM
KM .. WMMMMMMMMM
KM KM WMMMMMMMMM
KM KM WMMMMMMMMM
KM KM .. WMMMMMMMMM
KM .. KM WMMMMMMMMM
KM KM KM WMMMMMMMMM
KMNXWM KM WMMMMMMMMK
KMMMMMKONM WMMMMMMMW
KMMMMMMMMM WMMMMMMM x
lMMMMMMMMM WMMMMMN xK
MMMMMMMMMl ,WMMMP dXM:
lMMMMMMMMx . ,,,aaadXMMd
lNMMMMMMW: XOxolcclodOKMMMMWc
lXMMMMMNc lMMMMMMMMMMMMNo.
llONMMM0c lMMMMMMNOo'
'lMN;. lMWl'
[...]
wpasupplicant.profile.1.network.1.psk=***@t4MYM@(#!^
wpasupplicant.status=disabled
XM.v5.6.8#exit
Connection to 192.168.251.21 closed.
So it connects properly to my test device and provide the output
Same result for ulogin.
However when I try to launch urancid:
[***@localhost bin]$ ./urancid -f ../.cloginrc 192.168.251.21
../.cloginrc: missed cmd(s): sort /tmp/system.cfg
../.cloginrc: End of run not found
#
I am trying to backup my Ubiquiti AirOS devices with rancid on Centos 6. I edited rancid-fe and downloaded urancid from https://github.com/dotwaffle/rancid-git/tree/master/bin
ulogin and clogin are working properly.
Example:
./clogin -f ../.cloginrc -c "sort /tmp/system.cfg" 192.168.251.21
192.168.251.21
spawn ssh -x -l BW-Admin 192.168.251.21
BW-***@192.168.251.21's password:
KM ,ok0KNWW
KM :NMMMMMMMM
KM .. WMMMMMMMMM
KM KM WMMMMMMMMM
KM KM WMMMMMMMMM
KM KM .. WMMMMMMMMM
KM .. KM WMMMMMMMMM
KM KM KM WMMMMMMMMM
KMNXWM KM WMMMMMMMMK
KMMMMMKONM WMMMMMMMW
KMMMMMMMMM WMMMMMMM x
lMMMMMMMMM WMMMMMN xK
MMMMMMMMMl ,WMMMP dXM:
lMMMMMMMMx . ,,,aaadXMMd
lNMMMMMMW: XOxolcclodOKMMMMWc
lXMMMMMNc lMMMMMMMMMMMMNo.
llONMMM0c lMMMMMMNOo'
'lMN;. lMWl'
[...]
wpasupplicant.profile.1.network.1.psk=***@t4MYM@(#!^
wpasupplicant.status=disabled
XM.v5.6.8#exit
Connection to 192.168.251.21 closed.
So it connects properly to my test device and provide the output
Same result for ulogin.
However when I try to launch urancid:
[***@localhost bin]$ ./urancid -f ../.cloginrc 192.168.251.21
../.cloginrc: missed cmd(s): sort /tmp/system.cfg
../.cloginrc: End of run not found
#