-
-
Notifications
You must be signed in to change notification settings - Fork 230
Configuration
Bofu Chen edited this page Dec 22, 2019
·
13 revisions
Default configuration is installed in /etc/supervisor/conf.d/berrynet-tflite.conf
. Configuration describes what are the services consisting of the AI application.
Configuration examples are available in <berrynet-dir>/config/supervisor/conf.d/
.
If you install BerryNet by image, RPi configurations will have been set.
If you install BerryNet from source, please configure RPi by the steps:
-
Open
raspi-config
in terminalrpi $ sudo raspi-config
-
Enable RPi camera
5 Interfacing Options `-- P1 Camera `-- Yes
-
Enable GL Driver
7 Advanced Options `-- A7 GL Driver `-- G2 GL (Fake KMS)
-
(Optional) Enable SSH
5 Interfacing Options `-- P2 SSH `-- Yes
-
(Optional) Change locale from UK to US
4 Localisation Options `-- I1 Change Locale `-- Cancel en_GB.UTF-8 and select en_US.UTF-8 `-- Choose en_US.UTF-8 as default locale
-
(Optional) Change keyboard layout from UK to US
4 Localisation Options `-- I3 Change Keyboard Layout `-- Generic 105-key (Intl) PC `-- English (US) `-- The default for the keyboard layout `-- No compose key `-- No X server termination hotkey
To configure Wi-Fi manually, there are two methods:
-
Use the
raspi-config
command and the GUI interface. -
Edit
/etc/wpa_supplicant/wpa_supplicant.conf
.A working example looks like below:
$ cat wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=TW network={ ssid="MyAP" psk="B3rryN3t" key_mgmt=WPA-PSK }