Difference between revisions of "EBC Exercise 00 Beagle as a Workstation"

From eLinux.org
Jump to: navigation, search
m (Created page with "Category:ECE497 {{YoderHead}} The purpose of this exercise is to introduce you to the BeagleBoard as a workstation. Take some time to explore it. # Check out the various men...")
 
m (Removed Category)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:ECE497]]
+
 
 +
This page is no longer needed.
 +
 
 
{{YoderHead}}
 
{{YoderHead}}
The purpose of this exercise is to introduce you to the BeagleBoard as a workstation. Take some time to explore it.
+
The purpose of this exercise is to introduce you to the BeagleBoard as a workstation. First we'll set up the network.  Then you can take some time to explore it.
 +
 
 +
== Setting up the network ==
 +
 
 +
beagle$ '''ifconfig usb0 172.31.1.''XX'' netmask 255.255.0.0 up'''
 +
beagle$ '''route add default gw 172.31.0.1'''
 +
beagle$ '''cat >> /etc/resolv.conf'''
 +
'''nameserver 172.18.0.3'''
 +
'''^D'''
 +
beagle$ '''gedit /etc/resolv.conf'''
 +
 
 +
Put at '''#''' at the beginning of every line except the one beginning with '''172'''.  Save and quit.  Test your connection with:
 +
beagle$ '''ping google.com'''
 +
 
 +
== Exploring ==
  
 
# Check out the various menus.  See what's there.
 
# Check out the various menus.  See what's there.

Latest revision as of 15:06, 16 July 2012

This page is no longer needed.

thumb‎ Embedded Linux Class by Mark A. Yoder


The purpose of this exercise is to introduce you to the BeagleBoard as a workstation. First we'll set up the network. Then you can take some time to explore it.

Setting up the network

beagle$ ifconfig usb0 172.31.1.XX netmask 255.255.0.0 up
beagle$ route add default gw 172.31.0.1
beagle$ cat >> /etc/resolv.conf
nameserver 172.18.0.3
^D
beagle$ gedit /etc/resolv.conf

Put at # at the beginning of every line except the one beginning with 172. Save and quit. Test your connection with:

beagle$ ping google.com

Exploring

  1. Check out the various menus. See what's there.
  2. Open a terminal window and try some commands.

We'll be spending some time in the exercises folder. It contains all the support files. Try this:

beagle$ cd ~/exercises
beagle$ ls
beagle$ git pull

The exercises folder is a git repository. The last command above checks to be sure the repository is up to date. Feel free to explore the various folders.

Try:

beagle$ cd ~/exercises
beagle$ gedit helloworld.c &
beagle$ gcc hellowworld.c
beagle$ ./a.out

Congratulations! You've just compiled and run your first BeagleProgram.




thumb‎ Embedded Linux Class by Mark A. Yoder