BBC-500 Programming Setup
The basics
-
Boot unprogrammed machine off USB key
-
ssh into machine 202
192.168.1.108 port 22 -
Open serial port to connected machine
microcom -s 115200 /dev/ttyS1 -
OR, skipping steps 1 - 3, connect to COM1 on the BBv5 with a Null Modem serial cable in putty, using 115200 speed then log in with root / 1
-
Check that SSD is there, should return 3 things
ls /dev/sd* -
Modify RLE Config file, get rid of anything that says dev
vi /root/rle.conf -
Installs the OS. 417 is M#, part 4 is the station type. List of acceptable types is below
/install_buildroot.sh <MACHINE #> part <PART #> -
Reboot Machine
-
SSH Back into machine
-
Run this
/opt/pboxx/tools/resetSubscription.sh -
Run Manual patch from latest patch email
cd /root/ && rm -fR rootfs_patch.* && wgethttp://sync.parkingboxx.com/v1.05-102-ge65a361-21-Aug-27_133400/rootfs_patch.tgz''&& rm -fR /opt/websocket && rm -fR worldnet && gzip -d rootfs_patch.tgz && tar -xf rootfs_patch.tar -C / && /opt/pboxx/tools/after_patch.sh gate
Fix Database / Postgres Issue
-
/opt/pboxx/tools/setupMachineInSite.sh -
/opt/pboxx/tools/resetSubscription.sh
Run These Patches
These are ran from cloud ease, order does not matter.
Settings > Patch GS > Select Site
31, 37, 51, 53, 54, 56
Vi Basics
esc i for edit
esc :wq to write and quit
Random Commands
| Command | Description |
|---|---|
| testreplica.sh | Checks replication of all machines in system |
cat /proc/driver/rtc | grep batt |
Checks the CMOS battery status |
smartctl -a /dev/sda | grep Temp |
Get SSD info, specifically temp |
| curl ifconfig.co | Get WAN Address |
Machine Part Numbers
| Part Number | Station Type |
|---|---|
| 1 | N/A |
| 2 | N/A |
| 3 | Entry Boxx |
| 4 | Exit Boxx |
| 5 | Cloud Controller |
| 6 | Pay Boxx |
| 7 | Multisite cloud controller |
| 8 | Multisite payboxx |
| 9 | Cashier BOXX |
| 14 | SPM |
| 15 | Flat Rate Boxx |
14 and 15 need different USB key for programming
USB Key Update and Making
Replace Rootfs file on USB key with newer one to update USB key