Go to Post Just because you can doesn't mean you should. - pfreivald [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 20-03-2015, 19:09
Hsifeulbhsifder Hsifeulbhsifder is offline
Programmer
AKA: Zaeem Mohamed
FRC #5428 (Breaking Bots)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Markham, ON, Canada
Posts: 41
Hsifeulbhsifder is on a distinguished road
Trouble deploying code from new laptop

Our team had originally began deploying code via the classmate, but since have updated to another laptop, running Windows 7 with an i7 4700 processor. The laptop had worked wonderfully during actual competition and driving, but it did not allow me to deploy code, stating that there were 'Too many authentication failures". This also occurred with another laptop, which was a Mac-book. However, only with the classmate, did the code successfully deploy, so I'm wondering if it even is possible to use another laptop for building. It may have to do with the fact that I had changed the admin password on the roboRIO, but then again, it only affected the new laptops, and not the classmate. Any help would be appreciated. Thanks.
  #2   Spotlight this post!  
Unread 20-03-2015, 19:14
Jared's Avatar
Jared Jared is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Connecticut
Posts: 602
Jared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond repute
Re: Trouble deploying code from new laptop

Quote:
Originally Posted by Hsifeulbhsifder View Post
Our team had originally began deploying code via the classmate, but since have updated to another laptop, running Windows 7 with an i7 4700 processor. The laptop had worked wonderfully during actual competition and driving, but it did not allow me to deploy code, stating that there were 'Too many authentication failures". This also occurred with another laptop, which was a Mac-book. However, only with the classmate, did the code successfully deploy, so I'm wondering if it even is possible to use another laptop for building. It may have to do with the fact that I had changed the admin password on the roboRIO, but then again, it only affected the new laptops, and not the classmate. Any help would be appreciated. Thanks.
It is likely because you changed the password on the roboRIO. Messing with these settings has caused problems for other teams, and I would really recommend changing it back. It'll only make it easier for others to help you when you get to competition - plus, if you forget the password, there's no easy way to change it without contacting NI.

I think you (or your team) changed settings on the classmate that use your new password but didn't make these changes on your new laptop or your macbook.
  #3   Spotlight this post!  
Unread 21-03-2015, 20:20
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Trouble deploying code from new laptop

You should definitely remove the admin password. Having it there complicates things. Unfortunately, I don't think you will be able to do that without completely reimaging the roboRIO.
  #4   Spotlight this post!  
Unread 23-03-2015, 19:35
Hsifeulbhsifder Hsifeulbhsifder is offline
Programmer
AKA: Zaeem Mohamed
FRC #5428 (Breaking Bots)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Markham, ON, Canada
Posts: 41
Hsifeulbhsifder is on a distinguished road
Re: Trouble deploying code from new laptop

Thanks for the help, but is there anyway to input the password into eclipse, or possibly the build files, so that it can deploy using the password, or is there an easier way of removing the password without having to re-flash the rio. Thanks.
  #5   Spotlight this post!  
Unread 23-03-2015, 23:14
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Trouble deploying code from new laptop

You can put the password in the build preferences. You probably have already done that on the Classmate.

According to a couple of the Beta Test teams, you cannot remove the password without reloading the roboRIO image. The option to do so is not part of the BusyBox Linux shell.
  #6   Spotlight this post!  
Unread 24-03-2015, 01:02
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,114
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: Trouble deploying code from new laptop

Quote:
Originally Posted by Alan Anderson View Post
You can put the password in the build preferences. You probably have already done that on the Classmate.

According to a couple of the Beta Test teams, you cannot remove the password without reloading the roboRIO image. The option to do so is not part of the BusyBox Linux shell.
I don't have access to a RIO to test with, but it seems possible to change a password with a config file and chpasswd. Although chpasswd isn't available in the busybox version on my phone (v1.23.1), so go figure...
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
  #7   Spotlight this post!  
Unread 24-03-2015, 09:06
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Trouble deploying code from new laptop

Quote:
Originally Posted by plnyyanks View Post
...it seems possible to change a password with a config file and chpasswd.
Changing a password is simple. Doing so is what caused the deployment failures described in the original post. Removing a password is not supported.
  #8   Spotlight this post!  
Unread 25-03-2015, 11:54
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 531
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: Trouble deploying code from new laptop

Is there a reason to change the Rio's password? It makes csa-ing more difficult and breaks code deployment. There is no upside, even if you hack the scripts to make it work
  #9   Spotlight this post!  
Unread 25-03-2015, 14:15
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,086
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: Trouble deploying code from new laptop

Quote:
Originally Posted by ozrien View Post
Is there a reason to change the Rio's password? It makes csa-ing more difficult and breaks code deployment. There is no upside, even if you hack the scripts to make it work
I suspect that people are (correctly) conditioned to change passwords when there's an option to do so, particularly if the password is empty. It's "more secure", after all.

Of course, since you can anonymous FTP on the roborio with impunity, seems like it's a silly thing to do.
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 21:20.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi