ozdave
October 7, 2018, 2:15pm
1
Hi
We have successfully installed the new VS Code environment (lovely work, hats off to all involved).
Trying to do a USB deployment to robot, and getting:
admin @ 172.22.11.2: Resolved but not connected.
Reason: JSchException
Auth fail
We are able to connect the the RoboRio using IE to 172.22.11.2
I found this ticket on the GradleRio issue log, but not sure that it is relevant:
Any suggestions welcome.
Regards
David
ozdave
October 7, 2018, 2:28pm
2
hi All
Figured it out - there was a password on the admin account on the RoboRio. Removing that worked.
Which raises a second question - if there is a password, how do we configure the deployment?
Regards
David
My suggestion would be to remove the Admin password, and for those occasions when you need a passworded account (i.e. to read/write the filesystem) create a user account with admin privileges.
Jaci
October 8, 2018, 3:26am
4
You should not use admin passwords on your RoboRIO, but if you choose to you can add the following to your RoboRIO target block in the build.gradle:
locations.all {
password = "mY_s3cret_p4ssw0rd"
}
Note that your password will be in plaintext in your build.gradle.
ozdave
October 8, 2018, 9:14am
5
Thanks Jaci
Not sure why there was a password on the Robo - we do not normally do it.
Regards
David