Pages

Sunday, January 2, 2011

BeagleBoard Networking

Wired networking
The BeagleBoard-xM has an in built Ethernet port. But I used a Linksys USB300M with my C4 version. Angstrom has drivers for the ASIX chip in the USB300M and it installs automatically as eth0 and defaults to DHCP. On Win7, I bridged this with my wireless connection to get internet access for my board.

I assigned a static IP to eth0 by adding this information to /etc/network/interfaces file:
#Bring up the interface automatically. 
#Otherwise, must use "ifup eth0" or "ifconfig eth0 up" everytime.
auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.1.105 netmask 255.255.255.0 gateway 192.168.1.1

Wireless Networking
For WiFi, this table shows the supported chipsets and vendors. I use a Netgear WG111v3 adapter which has the rtl8187 chipset.
auto wlan0
iface wlan0 inet static
wireless-essid xxxxYourESSIDxxx wireless-key xxxx wireless-ap xx:xx:xx:xx:xx:xx address 192.168.1.10 netmask 255.255.255.0 gateway 192.168.1.1

No comments:

Post a Comment