|
Edited by nopnop2002 at 2018-7-3 20:57
I installed Armbian_5.38_Orangepi-r1_Debian_stretch_next_4.14.14.
This is my ifconfig.
- orangepi@orangepi:~$ sudo ifconfig -a
- [sudo] password for orangepi:
- enxc0742bfffc4b: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
- inet 192.168.10.131 netmask 255.255.255.0 broadcast 192.168.10.255
- inet6 fe80::adbb:cc23:6b6a:a0c8 prefixlen 64 scopeid 0x20<link>
- ether c0:74:2b:ff:fc:4b txqueuelen 1000 (Ethernet)
- RX packets 79 bytes 9759 (9.5 KiB)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 9 bytes 974 (974.0 B)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
- inet 192.168.10.132 netmask 255.255.255.0 broadcast 192.168.10.255
- inet6 fe80::42:74ff:fe83:c1d4 prefixlen 64 scopeid 0x20<link>
- ether 02:42:74:83:c1:d4 txqueuelen 1000 (Ethernet)
- RX packets 203 bytes 21860 (21.3 KiB)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 161 bytes 14022 (13.6 KiB)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- device interrupt 37
- 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 1000 (Local Loopback)
- 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
- wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
- ether 08:ea:40:79:37:ae 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
- orangepi@orangepi:~$ nmcli device
- DEVICE TYPE STATE CONNECTION
- enxc0742bfffc4b ethernet connected Wired connection 1
- wlan0 wifi disconnected --
- eth0 ethernet unmanaged --
- lo loopback unmanaged --
- orangepi@orangepi:~$
Copy code
eth0 is defined in /etc/network/interface.
But 2'nd ethernet is defined by nmcli.
This is jessie.eth0 & eth1 is defined by nmcli.
- orangepi@orangepi:~$ sudo ifconfig -a
- eth0 Link encap:Ethernet HWaddr e6:c5:49:88:05:5e
- inet addr:192.168.10.130 Bcast:192.168.10.255 Mask:255.255.255.0
- inet6 addr: fe80::e4c5:49ff:fe88:55e/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:12 errors:0 dropped:0 overruns:0 frame:0
- TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:2922 (2.8 KiB) TX bytes:1296 (1.2 KiB)
- Interrupt:114
- eth1 Link encap:Ethernet HWaddr c0:74:2b:ff:fc:4b
- inet addr:192.168.10.131 Bcast:192.168.10.255 Mask:255.255.255.0
- inet6 addr: fe80::c274:2bff:feff:fc4b/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:50 errors:0 dropped:0 overruns:0 frame:0
- TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:5751 (5.6 KiB) TX bytes:2850 (2.7 KiB)
- 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:16436 Metric:1
- RX packets:136 errors:0 dropped:0 overruns:0 frame:0
- TX packets:136 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:11472 (11.2 KiB) TX bytes:11472 (11.2 KiB)
- wlan0 Link encap:Ethernet HWaddr 08:ea:40:79:37:ae
- inet addr:192.168.10.139 Bcast:192.168.10.255 Mask:255.255.255.0
- inet6 addr: fe80::aea:40ff:fe79:37ae/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:17 errors:0 dropped:0 overruns:0 frame:0
- TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:2270 (2.2 KiB) TX bytes:1294 (1.2 KiB)
- orangepi@orangepi:~$ nmcli device
- DEVICE TYPE STATE CONNECTION
- eth0 ethernet connected Wired connection 1
- eth1 ethernet connected Wired connection 2
- wlan0 wifi connected aterm-e625c0-g
- lo loopback unmanaged --
Copy code
Is the setting of a stretch right? |
|