|
|
The PreShip provision Tool is used to communicate the location of the encrypted apk files .
|
|
|
|
|
|
* Flash tablets
|
|
|
* Run encryption if desired
|
|
|
* plug in a USB/audio adapter in the USB?Audio jack (or micro USB Adapter )
|
|
|
* connect a USB Ethernet dongle into the USB adapter.
|
|
|
|
|
|
Tablet will discover the PreShip Provision Tool and get the following :
|
|
|
1. Location of the server running an rsync daemon, user name & password if needed and path to the tablet software files:
|
|
|
eg `rsync://git@ntn-mstevens-01.ntn.com:59144/tablet/1.47/BTUpdates/`
|
|
|
and the git user password.
|
|
|
1. QR Code data from a QR Code that the PreShip provision Tool has prescanned.
|
|
|
|
|
|
|
|
|
The ntn-mstevens-01.ntn.com has rsync configured to run as a daemon (linux) for the above example, the /etc/rsyncd.conf file holds the following :
|
|
|
```
|
|
|
pid file = /var/run/rsyncd.pid
|
|
|
lock file = /var/run/rsync.lock
|
|
|
log file = /var/log/rsync.log
|
|
|
port = 59144
|
|
|
|
|
|
[tablet]
|
|
|
path = /home/mstevens/tablet
|
|
|
comment = tablet packages
|
|
|
read only = yes
|
|
|
uid = mstevens
|
|
|
gid = domain^users
|
|
|
list = yes
|
|
|
auth users = rsyncclient,tablet,git
|
|
|
secrets file = /etc/rsyncd.secrets
|
|
|
|
|
|
```
|
|
|
and the /etc/rsyncd.secrets file contains name:password pairs, one per line.
|
|
|
Note that since this password is in plain text, the file MUST be owned by only root, and readable by only root (chmod 600 /etc/rsyncd.secrets).
|
|
|
|
|
|
|