Recipe Hotspot-yb
When we run a tree
command on the hotspot-yb
recipe directory, we get the following output:
$ tree ../meta-ybdevelop/recipes-example/hotspot-yb/ ../meta-ybdevelop/recipes-example/hotspot-yb/ ├── files │ ├── aplaunch.sh │ ├── ap.service │ ├── carl9170.conf │ ├── hostapd.conf.yb │ ├── setup-gw.sh │ ├── udhcpd.conf.yb │ └── udhcpd.leases └── hotspot-yb_0.1.bb
First, we will discuss these files one by one, although these are mostly available through the links shared in Literature Survey. Yet, some files are renamed, or some of the contents are changed. We won't be discussing the contents, rather just the use of these files. Next, we will discuss our recipe, hotspot-yb_0.1.bb
, which is also not very complex, as it has only two simple tasks.
The access point launcher script
aplaunch.sh
is an access point launcher script. This script is triggered by systemd daeipt
. It performs the following major tasks:
Launches the DHCP server
Launches the hostap daemon
Launches the...