Skip to main content

Upload files to Leo Rover

Prerequisites

📄Connect via SSH
Learn how to establish an SSH connection with your Leo Rover and access its terminal using Putty or OpenSSH.

Download and install WinSCP.

Connect to Leo Rover's WiFi.

Just after you open the software, it will ask you for the rover login details, as always:

  • IP: 10.0.0.1
  • Login: pi
  • Password: raspberry

and click login.

Now in the right window you'll see all the files located in your Leo Rover.

You can upload files by dragging them from your local computer and dropping them inside Leo Rover's filesystem.

File Permissions

By default, when logging as pi user, you have write permission only on files inside /home/pi directory. This should be sufficient in most cases but if you really need to upload files outside of the home directory you have a couple of options.

Recommended: take ownership of the directory

First

📄Connect via SSH
Learn how to establish an SSH connection with your Leo Rover and access its terminal using Putty or OpenSSH.

Create a directory if it doesn't exist

mkdir -p [upload_directory]

Now, assign the ownership of that directory

sudo chown -R pi:pi [upload_directory]

This will change ownership of [upload_directory] and all files inside it to pi user

Root logging is disabled by default. If you want to turn this on, you can follow these instructions.

You can then get access to all files by logging to root instead of pi

danger

Modifying the root filesystem can be a destructive operation so if you don't fully understand what you're doing, make sure to backup your files first.