The 2 primary ways of accessing the file system are to SSH to the robot itself, or to remove the SD card from the RPi and access it directly, note the later requires a MicroSD card Reader.
In order to SSH to the robot you must be within the same network as the robot, if you are unsure of the robots IP, you will need to manually connect to the robot and check its IP with a network scanner or from the host router.
If the robot is online you may simply do so through the vpn (you may need to ssh to the vpn first).
ssh hrst@{network IP}
password:
Enter the user account password.
You can also directly network to the robot via the ethernet port located on the RPi or the socket underneath the chassis. Plug in the ethernet cable and repeat the above procedure.
- Remove the front panel of the Bot as shown here.
- Remove the raspberry pi from the microController.
- Plug in an HDMI cable to the RaspberryPi as well as a keyboard and mouse.
- Power the RaspberryPi with a micro USB cable and wait for the command line to appear on the monitor.
- Log in to the RPi and run:
startx
Using a microSD Card reader, and another linux system, you can directly access the boot partition and the Raspbian filesystem partition. Plug in the SD card and mount the card as a physical drive.
- After connecting the SDcard Reader run the following command and make note of the device name (listed as FileSystem name) excluding the number suffix, it will be similar to '/dev/sdb'.
fdisk -l
- Create the mount directory for the SD card to the prefered directory
mkdir {directory}
- Mount the SD card to the chosen directory
mount {device name} {directory}
- The file system will be mounted in your chosed directory.
cd {directory}
It is important to backup the SD card before you implement any changes to the Pi as it can be irreversable or you may encounter unforseen issues. You will also need a microSD card reader.
-
Before connecting the microSD card to your SD card reader, run the following command in terminal to identify the currently connected devices.
df h
-
Plug in your SD card and re-run the above command. Your SD Card will be the new device listed, it should be something similar to '/dev/sda#'
-
In the terminal window run the following command using the 'FileSystem' name, make sure you do not include the number at the end of the name.
sudo dd if=/dev/{sdb - your drive's name} of=~/SDBackup.img
Note: The DD command does not show any progress indications so you will need to wait until the system has completed the copy, this may take several minutes.
To connect to a network automatically on bootup you will need acceess to the RPi File partition (instructions on how to d this can be found !here!). Once you have gained access follow these steps:
-
The network interface settingsa are located in the file 'etc/network/interfaces.txt'. To view these settings enter:
cat etc/network/interfaces.txt
- Network Configuration DHCP/Static change the lest part accordingly
iface eth0 inet dhcp/static
- Network Configuration DHCP/Static change the lest part accordingly
-
Before changing any settings create a backup of the current network interfaces
sudo cp /etc/network/interfaces /etc/network/interfaces.backup
- Open the text file 'etc/network/interfaces.txt' to edit
sudo nano /etc/network/interfaces
- Enter the SSID and passcode of the desired network next to 'wpa-ssid' and 'wpa-psk' respectively.
iface wlan0 inet dhcp wpa-ssid "ssid" wpa-psk "password"
- Gedit
- Xserver-xorg
- Xinit
- Raspberrypi-ui-mods
- Lxterminal
- LightDM