BANANA PI

Fórum sobre desenvolvimento de sistemas embarcados: Hardware e Software, Tecnologias: Eletrônica digital e analógica, Microcontroladoras, Microprocessadores, Sistemas *NIX (Linux, BSD), Software embarcado Baremetal. Sem fins lucrativos.
http://asm51.com.br/phpbb/
$ ifconfig -a
enp9s0 Link encap:Ethernet HWaddr 00:21:9b:f7:8e:4a
inet addr:192.168.15.27 Bcast:192.168.15.255 Mask:255.255.255.0
$ ip -c a
ip -c a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 52:5c:3e:3e:82:e8 brd ff:ff:ff:ff:ff:ff
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 02:81:5d:cb:40:e2 brd ff:ff:ff:ff:ff:ff
inet 192.168.15.44/24 brd 192.168.15.255 scope global dynamic noprefixroute eth0
valid_lft 38312sec preferred_lft 38312sec
inet6 fe80::b3c:e8da:9195:e632/64 scope link noprefixroute
valid_lft forever preferred_lft forever
$ ifconfig
-bash: ifconfig: comando não encontrado
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
$ ip -c a
[...]
2: enp5s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:15:17:53:85:34 brd ff:ff:ff:ff:ff:ff
inet 10.16.1.245/26 brd 10.16.1.255 scope global enp5s0f0
valid_lft forever preferred_lft forever
inet6 fe80::215:17ff:fe53:8534/64 scope link
valid_lft forever preferred_lft forever
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
$ ifconfig
Command 'ifconfig' is available in '/sbin/ifconfig'
The command could not be located because '/sbin' is not included in the PATH environment variable.
This is most likely caused by the lack of administrative privileges associated with your user account.
ifconfig: command not found
$ sudo ifconfig -a
[sudo] password for pamv:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.15.44 netmask 255.255.255.0 broadcast 192.168.15.255
inet6 fe80::b3c:e8da:9195:e632 prefixlen 64 scopeid 0x20<link>
ether 02:81:5d:cb:40:e2 txqueuelen 1000 (Ethernet)
RX packets 629658 bytes 726308277 (692.6 MiB)
$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
$ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.15.46 netmask 255.255.255.0 broadcast 192.168.15.255
inet6 fe80::329d:7a48:b61c:542e prefixlen 64 scopeid 0x20<link>
ether b8:27:eb:03:60:03 txqueuelen 1000 (Ethernet)
RX packets 53471 bytes 4180626 (3.9 MiB)
RX errors 0 dropped 1211 overruns 0 frame 0
TX packets 12242 bytes 1236100 (1.1 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0