ECE497 Networking over USB

From eLinux.org
Jump to: navigation, search

The Angstrom demo image for the beagleboard comes with USB networking support. The only thing you have to do is to enable it by issuing the following commands on your beagleboard via the terminal. Note: you can use your own MAC and IP addresses, but maintain consistency.

Loading the Necessary Module

The 'g_ether' module handles networking over USB support. This module can be loaded in two different ways:

TODO fix the following note to point to the actual configuration option (use default configs)

Note make sure that the configuration option for the g_ether module is selected (either M or Y)

Compile the Module into the Kernel

Load the Module Dynamically

Optional if g_ether module not compiled into the kernel, we can load it dynamically as an external module:

#cd /lib/modules/2.6.29-omap1/kernel/drivers/usb/gadget
#modprobe g_ether host_addr=16:0F:15:5A:E1:21 dev_addr=16:0F:15:5A:E1:20

Bringing Up the Interface

On the BeagleBoard

On the Host

Making it Better

Automatic SSH login