orangepi@orangepizero3:~$ ip a s eth0
12: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 1a:ed:81:a4:25:6e brd ff:ff:ff:ff:ff:ff
inet 192.168.0.41/24 brd 192.168.0.255 scope global dynamic noprefixroute eth0
valid_lft 86288sec preferred_lft 86288sec
inet6 fe80::415f:910e:9552:f19f/64 scope link noprefixroute
valid_lft forever preferred_lft forever
查看WiFi网络IP地址命令:ip a s wlan0
orangepi@orangepizero3:~$ ip a s wlan0
13: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:10:39:e8:7e:c7 brd ff:ff:ff:ff:ff:ff
inet 192.168.99.118/24 brd 192.168.99.255 scope global dynamic noprefixroute wlan0
valid_lft 6925sec preferred_lft 6925sec
inet6 fe80::d4cc:950b:e2b:5aaa/64 scope link noprefixroute
valid_lft forever preferred_lft forever