Robobot 2: Difference between revisions

From Rsewiki
Line 16: Line 16:
=== Alternative SSH connection ===
=== Alternative SSH connection ===


Most PCs have a command line option, and most systems further have a command line SSH-client version.
Most PCs have a command line and a command line SSH-client version, try


Use that in a command like:
ssh local@10.197.218.202


ssh local@10.197.218.202
See also the similar page [[access]].


==== Fail to connect ====
==== Fail to connect ====

Revision as of 15:03, 16 January 2025

Back to Robobot

Network Access

Install Putty

Putty is the recommended SSH client (see e.g. https://en.wikipedia.org/wiki/Comparison_of_SSH_clients).

Install Putty and connect to the IP address on the small robot display.

Putty setup for SSH connection and IP Login with username local - password is found in the course resources

Once connected, you have a command line control of the Raspberry Pi.

Alternative SSH connection

Most PCs have a command line and a command line SSH-client version, try

ssh local@10.197.218.202

See also the similar page access.

Fail to connect

If there is no IP on the robot, then consult Network_setup, maybe use the local link option.

Update software

Once connected to the Raspberry Pi of the robot, update the software:

Update operating system

The operating system is the recommended PI-OS 64bit system build on Debian.

Update using the commands:

sudo apt update
sudo apt dist-upgrade

The sudo is required to get administrator (super-user) privileges. the password is the users password.

Update the Robot software

The Robobot software is on an SVN (subversion) repository, update to newest version using:

cd svn/robobot
svn update

Access to files on Raspberry

All operating systems can be setup to access and modify files on Raspberry.

Windows

On a Windows computer WinScp is a satisfactory solution, but "RealFTP" may be cheaper:

Connect using the above address (and port 22), you could get something like:

RealFTP (with Danish lead test)

Linux (and Mac?)

On Linux-based platforms, you could use SSHFS to mount a remote directory on your platform.

In a terminal, create an empty directory (here jjj) and mount the remote directory:

mkdir jjj
sshfs local@10.197.218.202: jjj
password: 
cd jjj
ls
Documents  Downloads  git  mission_start.bash  Music  on_reboot.bash  rebootinfo.txt  svn  Video

In the 'sshfs' command, remember the ':' after the IP address.

Remember to unmount

umount jjj