Software - JOD Smart Van
Connect to remote SmartVanBox
Each SmartVanBox provides privileged access for maintenance. Through this access, you can read files (e.g., log files) and execute commands (updates, configuration changes, etc.). There are two ways to obtain this privileged access: via SSH or a serial cable.
In the first case, the connection is made through an IP network (e.g., WiFi), which is the most common method. In the second case, a Serial-to-TTL cable is used, which is very useful when the SmartVanBox has connectivity or network issues.
SSH Connection
Depending on the settings configured on the SD card, your Raspberry Pi should be connected to your chosen WiFi network. Ensure that your workstation is also connected to the same network.
You can use an SSH client to access the Raspberry Pi's shell (command line) from your workstation. This shell will allow you to install and configure the JOD SmartVan Distribution.
- From Windows: Use PuTTY as the SSH client.
- From Linux and macOS: Use the built-in
ssh
utility in the terminal.
During the SSH connection, you'll be prompted for a username and password. Use
the credentials set during the SD card configuration (suggested: svbox
/smartvan
).
Once connected, you will be in the /home/svbox
directory, ready to begin the
JOD SmartVan Distribution installation.
From Ubuntu
To SSH into a Raspberry Pi from a Linux device:
- Press
Ctrl + Alt + T
to open a terminal window. - Enter:
ssh [username]@[hostname].local
orssh [username]@[IP address]
, replacing[username]
and[hostname]
or[IP address]
with your Raspberry Pi's details.
From Mac
To SSH into your Raspberry Pi from macOS:
- Navigate to
Applications > Utilities
. - Open the terminal, and enter either
ssh [username]@[hostname].local
orssh [username]@[IP address]
. Replace[username]
and[hostname]
or[IP address]
with your Raspberry Pi's details.
From Windows: PuTTY
To SSH into your Raspberry Pi from PuTTY:
- Open PuTTY.
- Under
Host Name (or IP address)
, enter your Raspberry Pi’s IP address or hostname. - Ensure that
Port
is set to 22. - Under
Connection type
, selectSSH
. - Select
Open
, then enter your username and password.
From Windows: PowerShell
To SSH into your Raspberry Pi using PowerShell:
- Open PowerShell (press
Ctrl + Shift + P
, or search for PowerShell). - Enter the command:
ssh [username]@[hostname].local
orssh [username]@[IP address]
, replacing[username]
and[hostname]
or[IP address]
with your Raspberry Pi's details.
Serial Connection
The Serial-to-TTL cable is a very useful tool for debugging and maintenance purposes. It allows you to access the Raspberry Pi's shell (command line) directly from your workstation, even when the Raspberry Pi is not connected to a network.
To establish a serial connection, you need a Serial-to-TTL cable and a terminal emulator. The most common terminal emulators are PuTTY (Windows) and Minicom (Linux).
PuTTY (Windows)
- Open PuTTY.
- Under
Connection type
, selectSerial
. - Set the
Serial line
to the COM port where the cable is connected. - Set the
Speed
to115200
. - Select
Open
.
Minicom (Linux)
- Install Minicom:
$ sudo apt-get install minicom
- Configure Minicom:
$ sudo minicom -s
- Select
Serial port setup
. - Set the
Serial Device
to the port where the cable is connected (e.g.,/dev/ttyUSB0
). - Set the
Bps/Par/Bits
to115200 8N1
. - Save the configuration and exit.
- Start Minicom:
$ sudo minicom
- Press
Enter
to access the Raspberry Pi's shell.