E12 Software Specifics
The E12 uses Canonical’s Ubuntu 14.04, running a custom Linux kernel based on the Beaglebone Black kernal.
There are many resources out there for learning about Ubuntu online, and the topic possibilities far exceed the
scope of this manual. However there are a few details that warrant discussion.
Passwords and root Access
The default configuration for Ubuntu Linux is to have the root user disabled. This is a security precaution, as it means
a hacker who comes across a connection to your device does not automatically know the login name of a user with
full administrative rights to your device.
Instead, Ubuntu works with the
sudo
paradigm; when you need to perform a function that requires administrative
access, you preface your command with
sudo
and are prompted for your password (as a reminder that what you
are doing could potentially affect the device’s ability to function).
The default snap user on the E12 has
sudo
access, and can perform all device administrative tasks. You can create
user accounts on the device and grant them sudo access as well. For added security, you can create sudo-enabled
user accounts and then delete the snap user account to further reduce a potential hacker’s knowledge of how to
access the gateway.
If you would rather work with the root account anyway, you can enable it by assigning a password:
sudo passwd root
Similarly, you can change the snap password with the same command:
sudo passwd snap
NOTE:
No account can connect via SSH without a password, though connecting over a serial terminal session is
possible for accounts with no password.
E12-Specific Software Packages
The E12 comes with several support packages installed, and additional ones are available via apt and pip.
NOTE:
Before installing new packages, be sure to run
sudo apt-get update
to sync your E12 with the
package servers and obtain the newest version. This action may take a few minutes, depending on your internet
connection speed.
You can pull the latest updates for your gateway by calling:
sudo apt-get update
sudo apt-get install gateway-updates-latest
9
Содержание SNAPconnect E12
Страница 30: ...26 SNAPconnect E12 User Guide 116 081614 030 B001 E12 Dimensions ...
Страница 34: ......
Страница 35: ......