Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Using Yocto Project with BeagleBone Black

You're reading from  Using Yocto Project with BeagleBone Black

Product type Book
Published in Jun 2015
Publisher
ISBN-13 9781785289736
Pages 144 pages
Edition 1st Edition
Languages
Authors (2):
Hafiz Muhammad I Sadiq Hafiz Muhammad I Sadiq
Profile icon Hafiz Muhammad I Sadiq
Irfan Sadiq Irfan Sadiq
Profile icon Irfan Sadiq
View More author details
Toc

Table of Contents (17) Chapters close

Using Yocto Project with BeagleBone Black
Credits
Foreword
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
1. Welcome to Yocto Project and BeagleBone Black 2. What's BitBake All About? 3. Creating the helloworld Recipe 4. Adding Multimedia to Your Board 5. Creating and Exploring Layers 6. Your First Console Game 7. Turning BeagleBone into a Home Surveillance System 8. BeagleBone as a Wi-Fi Access Point Index

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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime