Last active
August 29, 2015 14:17
-
-
Save faddah/cbd9e7e1a8ca8b840193 to your computer and use it in GitHub Desktop.
beaglebone network interfaces
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ cat /etc/network/interfaces | |
| # This file describes the network interfaces available on your system | |
| # and how to activate them. For more information, see interfaces(5). | |
| # The loopback network interface | |
| auto lo | |
| iface lo inet loopback | |
| # The primary network interface | |
| #allow-hotplug eth0 | |
| #iface eth0 inet dhcp | |
| # Example to keep MAC address between reboots | |
| #hwaddress ether DE:AD:BE:EF:CA:FE | |
| # The secondary network interface | |
| #allow-hotplug eth1 | |
| #iface eth1 inet dhcp | |
| # WiFi Example | |
| #auto wlan0 | |
| #iface wlan0 inet dhcp | |
| # wpa-ssid "essid" | |
| # wpa-psk "password" | |
| # Ethernet/RNDIS gadget (g_ether) | |
| # ... or on host side, usbnet and random hwaddr | |
| # Note on some boards, usb0 is automaticly setup with an init script | |
| iface usb0 inet static | |
| address 192.168.7.2 | |
| netmask 255.255.255.0 | |
| network 192.168.7.0 | |
| gateway 192.168.7.1 | |
| # Chromebook ifconfig result — | |
| $ ifconfig | |
| eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 | |
| inet 192.168.7.1 netmask 255.255.255.252 broadcast 192.168.7.3 | |
| inet6 fe80::6eec:ebff:fead:341f prefixlen 64 scopeid 0x20<link> | |
| ether 6c:ec:eb:ad:34:1f txqueuelen 1000 (Ethernet) | |
| RX packets 71131 bytes 29576459 (28.2 MiB) | |
| RX errors 10 dropped 0 overruns 0 frame 10 | |
| TX packets 45326 bytes 5378680 (5.1 MiB) | |
| TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 | |
| eth1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 | |
| ether 00:50:b6:0e:9b:23 txqueuelen 1000 (Ethernet) | |
| RX packets 0 bytes 0 (0.0 B) | |
| RX errors 0 dropped 0 overruns 0 frame 0 | |
| TX packets 0 bytes 0 (0.0 B) | |
| TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 | |
| lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 | |
| inet 127.0.0.1 netmask 255.0.0.0 | |
| inet6 ::1 prefixlen 128 scopeid 0x10<host> | |
| loop txqueuelen 0 (Local Loopback) | |
| RX packets 180 bytes 13404 (13.0 KiB) | |
| RX errors 0 dropped 0 overruns 0 frame 0 | |
| TX packets 180 bytes 13404 (13.0 KiB) | |
| TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 | |
| wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 | |
| inet 192.168.1.11 netmask 255.255.255.0 broadcast 192.168.1.255 | |
| inet6 fe80::9ed2:1eff:fe5b:a5f5 prefixlen 64 scopeid 0x20<link> | |
| ether 9c:d2:1e:5b:a5:f5 txqueuelen 1000 (Ethernet) | |
| RX packets 229754 bytes 169420239 (161.5 MiB) | |
| RX errors 0 dropped 0 overruns 0 frame 0 | |
| TX packets 158794 bytes 40087819 (38.2 MiB) | |
| TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 | |
| # Beaglebone Black Rev. C ifconfig — | |
| $ ifconfig | |
| eth0 Link encap:Ethernet HWaddr 6c:ec:eb:ad:34:1d | |
| inet addr:192.168.1.13 Bcast:192.168.1.255 Mask:255.255.255.0 | |
| inet6 addr: fe80::6eec:ebff:fead:341d/64 Scope:Link | |
| UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
| RX packets:53335 errors:0 dropped:0 overruns:0 frame:0 | |
| TX packets:19004 errors:0 dropped:0 overruns:0 carrier:0 | |
| collisions:0 txqueuelen:1000 | |
| RX bytes:51833975 (49.4 MiB) TX bytes:1983927 (1.8 MiB) | |
| Interrupt:40 | |
| lo Link encap:Local Loopback | |
| inet addr:127.0.0.1 Mask:255.0.0.0 | |
| inet6 addr: ::1/128 Scope:Host | |
| UP LOOPBACK RUNNING MTU:65536 Metric:1 | |
| RX packets:2 errors:0 dropped:0 overruns:0 frame:0 | |
| TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 | |
| collisions:0 txqueuelen:0 | |
| RX bytes:176 (176.0 B) TX bytes:176 (176.0 B) | |
| usb0 Link encap:Ethernet HWaddr 7e:73:90:1e:9a:34 | |
| inet addr:192.168.7.2 Bcast:192.168.7.3 Mask:255.255.255.252 | |
| inet6 addr: fe80::7c73:90ff:fe1e:9a34/64 Scope:Link | |
| UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
| RX packets:61083 errors:0 dropped:0 overruns:0 frame:0 | |
| TX packets:93811 errors:0 dropped:0 overruns:0 carrier:0 | |
| collisions:0 txqueuelen:1000 | |
| RX bytes:3768259 (3.5 MiB) TX bytes:47163414 (44.9 MiB) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment