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

The Linux configuration

For the exercises in this book, no additional drivers are needed in most distributions. Most distributions will recognize the virtual Ethernet device provided by the system software on the BeagleBone. When the BeagleBone is plugged in, it will provide a composite device that offers a virtual Ethernet and a mass storage device. Unless specifically disabled, the Linux kernel will recognize and attach appropriate drivers. You can verify that the Beagle board is accessible by looking at the new network interface. This can be done by looking at the output of the following ifconfig command before and after plugging in the Beagle board:

$ ifconfig -a
….
eth1      Link encap:Ethernet  HWaddr 1c:ba:8c:95:18:a0
          inet addr:192.168.7.1  Bcast:192.168.7.3 Mask:255.255.255.252
          inet6 addr: fe80::1eba:8cff:fe95:18a0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:21 errors:0 dropped:0 overruns:0 frame:0
          TX packets:101 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:5280 (5.2 KB)  TX bytes:21808 (21.8 KB)
….

The network device for the BeagleBone will appear as shown in the preceding code. It will use the 192.168.7.1 address. Depending on the distribution, the name of the network device might appear as a device with an eth or a USB prefix.

If the network device does not appear as described here, your distribution might need additional drivers installed. Check with your distribution's documentation or support community for details on how to enable support for a CDC Ethernet device.

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