View Single Post
  #5   Spotlight this post!  
Unread 03-12-2014, 01:52
NotInControl NotInControl is offline
Controls Engineer
AKA: Kevin
FRC #2168 (Aluminum Falcons)
Team Role: Engineer
 
Join Date: Oct 2011
Rookie Year: 2004
Location: Groton, CT
Posts: 261
NotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond repute
Re: 2168 - Aluminum Falcons Alpha/Beta test site

Quote:
Originally Posted by jhersh View Post
A few corrections...[*]For SFTP access and SSH / Console login access, you should probably recommend using the lvuser account instead of the admin account so that the home dir and permissions will match the running user program.
As of the latest plugins Java still uses admin as the user to deploy code, so the FRC_JavaApp has permissions inline with the admin owner. This is why we still recommend admin. I susspect the same is true for C++ as well, but we have only been testing Java most recently. Moving the application to the /home/lvuser was a recent change, I am not sure if Brad plans to change the user, but all languages should probably use the same user.

Quote:
Originally Posted by jhersh View Post
[*] (You might want to think twice about recommending static IPs. What do you want to continue to use them?)
The only downside to using mDNS is that every device wishing to use the mDNS address must have a mDNS resolver installed or else the address won't be recognized. I think setting a static IP gives us the best of both worlds, we can set the static IP address and each device will have a known IP address, but still use mDNS names if we wish.

I am aware that on windows machine the NI software installs a mDNS resolver, but in previous years we typically don't have all of the NI software installed on every development machine, only the programming interface (i.e eclipse, JDK, and WPILIB). Knowing the static IP means that I can grab any laptop with a browser and silverlight to navigate to the roborio website, or even use my android phone to gain terminal access without having to install additional software, but for any computer that has an mDNS installed like my mac or the DS we can use the mDNS address.

I believe the latest WPI plugins use mDNS by default and so assume all development computers will have a mDNS resolver installed, not sure how I feel about that just yet (I know we can always modfy the build script on our own to point to the statc IP address) so I am not too worried.

I use ubuntu 12.04 mostly for embeded development, and at least with mDNS on ubuntu there has always been performance issues, which is why I tend to shy away from it on some of the other embedded devices we use. https://bugs.launchpad.net/ubuntu/+s...dns/+bug/94940

I must admit, I never really tested any workaround or updates to resolve the issue in ubuntu, so it may be resolved.

But since FRC is now using it, maybe we will adopt it sooner than later.

Thanks again for the other corrections, if you find any more please let me know.
Regards,
Kevin
__________________
Controls Engineer, Team 2168 - The Aluminum Falcons
[2016 Season] - World Championship Controls Award, District Controls Award, 3rd BlueBanner
-World Championship- #45 seed in Quals, World Championship Innovation in Controls Award - Curie
-NE Championship- #26 seed in Quals, winner(195,125,2168)
[2015 Season] - NE Championship Controls Award, 2nd Blue Banner
-NE Championship- #26 seed in Quals, NE Championship Innovation in Controls Award
-MA District Event- #17 seed in Quals, Winner(2168,3718,3146)
[2014 Season] - NE Championship Controls Award & Semi-finalists, District Controls Award, Creativity Award, & Finalists
-NE Championship- #36 seed in Quals, SemiFinalist(228,2168,3525), NE Championship Innovation in Controls Award
-RI District Event- #7 seed in Quals, Finalist(1519,2168,5163), Innovation in Controls Award
-Groton District Event- #9 seed in Quals, QuarterFinalist(2168, 125, 5112), Creativity Award
[2013 Season] - WPI Regional Winner - 1st Blue Banner

Last edited by NotInControl : 03-12-2014 at 01:57.
Reply With Quote