Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning BeagleBone

You're reading from   Learning BeagleBone Learn how to love and care for your BeagleBone and teach it tricks

Arrow left icon
Product type Paperback
Published in Dec 2014
Publisher
ISBN-13 9781783982905
Length 206 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Hunyue Yau Hunyue Yau
Author Profile Icon Hunyue Yau
Hunyue Yau
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Introducing the Beagle Boards 2. Software in the BeagleBone FREE CHAPTER 3. Building an LED Flasher 4. Refining the LED Flasher 5. Connecting the BeagleBone to Mobile Devices 6. Recovering from the Mistakes 7. Interfacing with the BeagleBone 8. Advanced Software Topics 9. Expansion Boards and Options A. The Boot Process B. Terms and Definitions
Index

Loading your first web page

Once you have successfully loaded the default web page, you can move on to loading your first BeagleBone web page. Go to the browser and enter http://192.168.7.2/hello.html. The following page will appear:

Loading your first web page

Troubleshooting the BeagleBone web server access

If you see an Error 404 message, check whether you have used the correct location for your system software. The location to place the web page differs for Angström and Debian. The locations provided are correct at the time of writing this book. If the location appears to be correct, verify the permission on the file, as follows (it should be universally readable):

root@beaglebone:/usr/share/bone101# ls -l /usr/share/bone101/hello.html
-rw-r--r-- 1 root root 50 Jan  1 00:10 /usr/share/bone101/hello.html
root@beaglebone:/usr/share/bone101#

If the permissions differ, use chmod to change the permissions, as follows:

$ chmod 644 /usr/share/bone101/hello.html

Now that you have loaded your first web page, note 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 $19.99/month. Cancel anytime
Banner background image