View: 4671|Reply: 0

OrangePi R1

[Copy link]

10

threads

218

posts

2040

credits

Gold member

Rank: 6Rank: 6

credits
2040
Published in 2018-7-3 20:41:58 | Show all floors |Read mode
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.

  1. orangepi@orangepi:~$ sudo ifconfig -a
  2. [sudo] password for orangepi:
  3. enxc0742bfffc4b: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
  4.         inet 192.168.10.131  netmask 255.255.255.0  broadcast 192.168.10.255
  5.         inet6 fe80::adbb:cc23:6b6a:a0c8  prefixlen 64  scopeid 0x20<link>
  6.         ether c0:74:2b:ff:fc:4b  txqueuelen 1000  (Ethernet)
  7.         RX packets 79  bytes 9759 (9.5 KiB)
  8.         RX errors 0  dropped 0  overruns 0  frame 0
  9.         TX packets 9  bytes 974 (974.0 B)
  10.         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

  11. eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
  12.         inet 192.168.10.132  netmask 255.255.255.0  broadcast 192.168.10.255
  13.         inet6 fe80::42:74ff:fe83:c1d4  prefixlen 64  scopeid 0x20<link>
  14.         ether 02:42:74:83:c1:d4  txqueuelen 1000  (Ethernet)
  15.         RX packets 203  bytes 21860 (21.3 KiB)
  16.         RX errors 0  dropped 0  overruns 0  frame 0
  17.         TX packets 161  bytes 14022 (13.6 KiB)
  18.         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
  19.         device interrupt 37

  20. lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
  21.         inet 127.0.0.1  netmask 255.0.0.0
  22.         inet6 ::1  prefixlen 128  scopeid 0x10<host>
  23.         loop  txqueuelen 1000  (Local Loopback)
  24.         RX packets 0  bytes 0 (0.0 B)
  25.         RX errors 0  dropped 0  overruns 0  frame 0
  26.         TX packets 0  bytes 0 (0.0 B)
  27.         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

  28. wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
  29.         ether 08:ea:40:79:37:ae  txqueuelen 1000  (Ethernet)
  30.         RX packets 0  bytes 0 (0.0 B)
  31.         RX errors 0  dropped 0  overruns 0  frame 0
  32.         TX packets 0  bytes 0 (0.0 B)
  33.         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

  34. orangepi@orangepi:~$ nmcli device
  35. DEVICE           TYPE      STATE         CONNECTION
  36. enxc0742bfffc4b  ethernet  connected     Wired connection 1
  37. wlan0            wifi      disconnected  --
  38. eth0             ethernet  unmanaged     --
  39. lo               loopback  unmanaged     --
  40. 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.
  1. orangepi@orangepi:~$ sudo ifconfig -a
  2. eth0      Link encap:Ethernet  HWaddr e6:c5:49:88:05:5e
  3.           inet addr:192.168.10.130  Bcast:192.168.10.255  Mask:255.255.255.0
  4.           inet6 addr: fe80::e4c5:49ff:fe88:55e/64 Scope:Link
  5.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  6.           RX packets:12 errors:0 dropped:0 overruns:0 frame:0
  7.           TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
  8.           collisions:0 txqueuelen:1000
  9.           RX bytes:2922 (2.8 KiB)  TX bytes:1296 (1.2 KiB)
  10.           Interrupt:114

  11. eth1      Link encap:Ethernet  HWaddr c0:74:2b:ff:fc:4b
  12.           inet addr:192.168.10.131  Bcast:192.168.10.255  Mask:255.255.255.0
  13.           inet6 addr: fe80::c274:2bff:feff:fc4b/64 Scope:Link
  14.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  15.           RX packets:50 errors:0 dropped:0 overruns:0 frame:0
  16.           TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
  17.           collisions:0 txqueuelen:1000
  18.           RX bytes:5751 (5.6 KiB)  TX bytes:2850 (2.7 KiB)

  19. lo        Link encap:Local Loopback
  20.           inet addr:127.0.0.1  Mask:255.0.0.0
  21.           inet6 addr: ::1/128 Scope:Host
  22.           UP LOOPBACK RUNNING  MTU:16436  Metric:1
  23.           RX packets:136 errors:0 dropped:0 overruns:0 frame:0
  24.           TX packets:136 errors:0 dropped:0 overruns:0 carrier:0
  25.           collisions:0 txqueuelen:0
  26.           RX bytes:11472 (11.2 KiB)  TX bytes:11472 (11.2 KiB)

  27. wlan0     Link encap:Ethernet  HWaddr 08:ea:40:79:37:ae
  28.           inet addr:192.168.10.139  Bcast:192.168.10.255  Mask:255.255.255.0
  29.           inet6 addr: fe80::aea:40ff:fe79:37ae/64 Scope:Link
  30.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  31.           RX packets:17 errors:0 dropped:0 overruns:0 frame:0
  32.           TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
  33.           collisions:0 txqueuelen:1000
  34.           RX bytes:2270 (2.2 KiB)  TX bytes:1294 (1.2 KiB)

  35. orangepi@orangepi:~$ nmcli device
  36. DEVICE  TYPE      STATE      CONNECTION
  37. eth0    ethernet  connected  Wired connection 1
  38. eth1    ethernet  connected  Wired connection 2
  39. wlan0   wifi      connected  aterm-e625c0-g
  40. lo      loopback  unmanaged  --
Copy code


Is the setting of a stretch right?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list