# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) # The loopback interface auto lo iface lo inet loopback # Wireless interfaces # # Example of an unencrypted (no WEP or WPA) wireless connection # that connects to any available access point: # iface wlan0 inet dhcp wireless_mode managed wireless_essid any # # # Same as above but locked to a specific access point: # #iface wlan0 inet dhcp # wireless_mode managed # wireless-essid some-essid # # A WEP encrypted connection locked to a specific access point: # #iface wlan0 inet dhcp # wireless-essid some-essid # wireless-key s:My-PlainText-Password # wireless-mode managed # # A WPA1 or WPA2 encrypted connection locked to a specific access point. # This is the best option for non-roaming, single-network usage. # Note that your card may require a firmware update to use WPA. # Some distributions install a temporary volatile firmware update on ifup. # #iface wlan0 inet dhcp # wpa-essid some-essid # wpa-psk My-PlainText-Password # # A WPA1 or WPA2 encrypted connection using an external configuration file # for wpa-supplicant. This is the way to go if you need to configure multiple # networks with different keys and / or WPA settings and roaming support. # # iface wlan0 inet dhcp # wpa-conf /etc/wpa_supplicant.conf # wpa-driver hostap iface atml0 inet dhcp # Wired or wireless interfaces auto eth0 iface eth0 inet dhcp iface eth1 inet dhcp # Ethernet/RNDIS gadget (g_ether) or LAN9514 auto usb0 iface usb0 inet static address 10.9.0.74 netmask 255.0.0.0 network 10.9.0.0 broadcast 10.255.255.255 gateway 10.9.0.74 # Bluetooth networking iface bnep0 inet dhcp root@beagleboard:~# ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 TX bytes:0 usb0 Link encap:Ethernet HWaddr BE:0C:17:8F:0E:E4 inet addr:10.9.0.74 Bcast:10.255.255.255 Mask:255.0.0.0 UP BROADCAST RUNNING MULTICAST MTU:1492 Metric:1 RX packets:23531 errors:0 dropped:0 overruns:0 frame:0 TX packets:10909 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:24263270 TX bytes:949645 root@beagleboard:~# cat /etc/network/interfaces # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) # The loopback interface auto lo iface lo inet loopback # Wireless interfaces # # Example of an unencrypted (no WEP or WPA) wireless connection # that connects to any available access point: # iface wlan0 inet dhcp wireless_mode managed wireless_essid any # # # Same as above but locked to a specific access point: # #iface wlan0 inet dhcp # wireless_mode managed # wireless-essid some-essid # # A WEP encrypted connection locked to a specific access point: # #iface wlan0 inet dhcp # wireless-essid some-essid # wireless-key s:My-PlainText-Password # wireless-mode managed # # A WPA1 or WPA2 encrypted connection locked to a specific access point. # This is the best option for non-roaming, single-network usage. # Note that your card may require a firmware update to use WPA. # Some distributions install a temporary volatile firmware update on ifup. # #iface wlan0 inet dhcp # wpa-essid some-essid # wpa-psk My-PlainText-Password # # A WPA1 or WPA2 encrypted connection using an external configuration file # for wpa-supplicant. This is the way to go if you need to configure multiple # networks with different keys and / or WPA settings and roaming support. # # iface wlan0 inet dhcp # wpa-conf /etc/wpa_supplicant.conf # wpa-driver hostap iface atml0 inet dhcp # Wired or wireless interfaces auto eth0 iface eth0 inet dhcp iface eth1 inet dhcp # Ethernet/RNDIS gadget (g_ether) or LAN9514 auto usb0 iface usb0 inet static address 10.9.0.74 netmask 255.0.0.0 network 10.9.0.0 broadcast 10.255.255.255 gateway 10.9.0.74 # Bluetooth networking iface bnep0 inet dhcp