roboRIO Kullanıcı Hesapları ve SSH
Not
Bu belge, tipik FRC ® programlama için gerekli olmayan gelişmiş konuları içerir.
RoboRIO görüntüsü bir dizi hesap içerir, bu makale FRC için kullanılan ikisini vurgulayacak ve bunların amaçları hakkında bazı ayrıntılar sağlayacaktır. Ayrıca roboRIO’ya SSH üzerinden nasıl bağlanılacağı da açıklanacaktır.
roboRIO Kullanıcı Hesapları
RoboRIO görüntüsü bir dizi kullanıcı hesabı içerir, ancak FRC için birincil ilgi alanı iki tanedir.
admin
“Admin-Yönetici” hesabının sisteme kök erişimi vardır ve işletim sistemi dosyalarını veya ayarlarını değiştirmek için kullanılabilir. RoboRIO’nun işletim sistemini bozabilecek ayarların ve dosyaların değiştirilmesine izin verdiği için ekipler bu hesabı kullanırken dikkatli olmalıdır. Bu hesabın kimlik bilgileri:
Kullanıcı adı: admin
Şifre:
Not
Parola kasıtlı olarak boştur.
lvuser
“Lvuser” hesabı, her üç dil için de kullanıcı kodunu çalıştırmak için kullanılan hesaptır. Bu hesabın kimlik bilgileri değiştirilmemelidir. Takımlar, roboRIO ile çalışırken, kodlarının altında çalışacağı aynı hesapta herhangi bir dosya veya ayar değişikliğinin yapılmasını sağlamak için bu hesabı (ssh veya sftp aracılığıyla) kullanmak isteyebilir.
Tehlike
Changing the default ssh passwords for either “lvuser” or “admin” will prevent C++, Java, and Python teams from uploading code.
SSH
SSH (Secure SHell) is a protocol used for secure data communication. When broadly referred to regarding a Linux system (such as the one running on the roboRIO) it generally refers to accessing the command line console using the SSH protocol. This can be used to execute commands on the remote system. OpenSSH is included by default on Windows, macOS, and Linux.
Connect via SSH
To connect to the roboRIO, open a terminal or command prompt and run:
ssh admin@roboRIO-TEAM-frc.local
Replace TEAM with your team number (e.g., ssh admin@roboRIO-40-frc.local for team 40).
If you are connected over USB you can use 172.22.11.2 as the hostname:
ssh admin@172.22.11.2
If your roboRIO is set to a static IP you can use that IP as the hostname if connected over Ethernet/wireless.
Log In-Oturum aç
When you see the password prompt, press enter (the password for both accounts is blank). You can also connect as the lvuser account by replacing admin with lvuser in the commands above.
If you see a prompt about host authenticity when connecting for the first time, type yes and press enter to continue.