Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 55

untu 16.04.

7 LTS orangepir1 ttyS0

orangepir1 login:
Ubuntu 16.04.7 LTS orangepir1 ttyS0

orangepir1 login:
Ubuntu 16.04.7 LTS orangepir1 ttyS0

orangepir1 login:
Ubuntu 16.04.7 LTS orangepir1 ttyS0

orangepir1 login: root


Password:
Last login: Sat Apr 6 07:08:25 UTC 2024 from 192.168.0.15 on pts/0

___ ____ _ ____ _


/ _ \ _ __ __ _ _ __ __ _ ___ | _ \(_) | _ \/ |
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | |_) | |
| |_| | | | (_| | | | | (_| | __/ | __/| | | _ <| |
\___/|_| \__,_|_| |_|\__, |\___| |_| |_| |_| \_\_|
|___/

Welcome to Ubuntu Xenial with Linux 5.3.5+

System load: 0.35 0.31 0.12 Up time: 2 min


Memory usage: 8 % of 491MB IP: 192.168.0.100
CPU temp: 39°C
Usage of /: 17% of 7.6G

* Documentation: http://www.orangepi.org/

root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~# vim /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
#source /etc/network/interfaces.d/

# INTERFACE SETTINGS lo
auto lo
iface lo inet loopback

# INTERFACE SETTINGS eth0


auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
# INTERFACE SETTINGS eth0
# INTERFACE SETTINGS eth1
auto eth1
allow-hotplug eth1
iface eth1 inet static
address 192.168.0.101
netmask 255.255.255.0

# INTERFACE SETTINGS eth1


"/etc/network/interfaces" 29L, 546C written
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~# sysctl restart network
sysctl: cannot stat /proc/sys/restart: No such file or directory
sysctl: cannot stat /proc/sys/network: No such file or directory
root@orangepir1:~# sudo reoobt
sudo: reoobt: command not found
root@orangepir1:~# reboot
[ OK ] Stopped t Stopping Session 1 of user root.
[ OK ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ OK ] Stopped target Graphical Interface.
Stopping Save/Restore Sound Card State...
[ OK ] Stopped target Sound Card.
Stopping Authenticate and Authorize Users to Run Privileged Tasks...
Stopping User Manager for UID 0...
[ OK ] Stopped target Timers.
[ OK ] Stopped Message of the Day.
[ OK ] Stopped Daily Cleanup of Temporary Directories.
[ OK ] Stopped Daily apt upgrade and clean activities.
[ OK ] Stopped Daily apt download activities.
[ OK ] Stopped target System Time Synchronized.
[ OK ] Stopped target Multi-User System.
Stopping OpenBSD Secure Shell server...
Stopping System Logging Service...
Stopping LSB: Advanced IEEE 802.11 management daemon...
Stopping Tailscale node agent...
[ OK ] Stopped OrangePi Audio Service.
Stopping dnsmasq - A lightweight DHCP and caching DNS server...
[ OK ] Stopped target Login Prompts.
Stopping Getty on tty1...
Stopping Serial Getty on ttyS0...
Stopping LSB: set CPUFreq kernel parameters...
Stopping LSB: Set the CPU Frequency Scaling governor to "ondemand"...
[ OK ] Stopped System Logging Service.
[ OK ] Stopped OpenBSD Secure Shell server.
[ OK ] Stopped Authenticate and Authorize Users to Run Privileged Tasks.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped Serial Getty on ttyS0.
[ OK ] Stopped User Manager for UID 0.
[ OK ] Stopped Session 1 of user root.
[ OK ] Stopped Save/Restore Sound Card State.
[ OK ] Stopped LSB: Advanced IEEE 802.11 management daemon.
[ OK ] Stopped LSB: Set the CPU Frequency Scaling governor to "ondemand".
[ OK ] Stopped LSB: set CPUFreq kernel parameters.
Stopping LSB: Load kernel modules needed to enable cpufreq scaling...
[ OK ] Removed slice User Slice of root.
Stopping Login Service...
[ OK ] Removed slice system-serial\x2dgetty.slice.
Stopping Permit User Sessions...
[ OK ] Stopped /etc/rc.local Compatibility.
[ OK ] Stopped target Network is Online.
[ OK ] Stopped Network Manager Wait Online.
[ OK ] Removed slice system-getty.slice.
[ OK ] Stopped Generate SSH keys if not there.
[ OK ] Stopped Login Service.
[ OK ] Stopped Permit User Sessions.
[ OK ] Stopped dnsmasq - A lightweight DHCP and caching DNS server.
[ OK ] Stopped LSB: Load kernel modules needed to enable cpufreq scaling.
[ OK ] Stopped target Remote File Systems.
[ OK ] Stopped target Remote File Systems (Pre).
[ OK ] Stopped Tailscale node agent.
Stopping Network Name Resolution...
[ OK ] Stopped Network Name Resolution.
[ OK ] Stopped target Network.
Stopping Network Manager...
Stopping WPA supplicant...
[ OK ] Stopped WPA supplicant.
[ OK ] Stopped Network Manager.
Stopping D-Bus System Message Bus...
[ OK ] Stopped target Network (Pre).
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped target Basic System.
[ OK ] Stopped target Paths.
[ OK ] Stopped Forward Password Requests to Wall Directory Watch.
[ OK ] Stopped Dispatch Password Requests to Console Directory Watch.
[ OK ] Stopped target Sockets.
[ OK ] Closed Syslog Socket.
[ OK ] Stopped target Slices.
[ OK ] Removed slice User and Session Slice.
[ OK ] Closed D-Bus System Message Bus Socket.
[ OK ] Stopped target System Initialization.
Stopping Network Time Synchronization...
[ OK ] Stopped target Swap.
[ OK ] Stopped target Encrypted Volumes.
[ OK ] Stopped Apply Kernel Variables.
[ OK ] Stopped Load Kernel Modules.
Stopping Load/Save Random Seed...
[ OK ] Stopped Network Time Synchronization.
[ OK ] Stopped Load/Save Random Seed.
[ OK ] Stopped Create Volatile Files and Directories.
[ OK ] Stopped target Local File Systems.
Unmounting /run/user/0...
Unmounting /boot...
[ OK ] Unmounted /run/user/0.
[ OK ] Unmounted /boot.
[ OK ] Stopped File System Check on /dev/disk/by-label/BOOT.
[ OK ] Removed slice system-systemd\x2dfsck.slice.
[ OK ] Reached target Unmount All Filesystems.
[ OK ] Stopped target Local File Systems (Pre).
[ OK ] Stopped Remount Root and Kernel File Systems.
[ OK ] Stopped Create Static Device Nodes in /dev.
[ OK ] Reached target Shutdown.
[ 251.033549] reboot: Restarting system
U-Boot SPL 2019.04-g3255ef3 (Mar 24 2020 - 16:50:44 +0800)
DRAM: 512 MiB
Trying to boot from MMC1

U-Boot 2019.04-g3255ef3 (Mar 24 2020 - 16:50:44 +0800) Allwinner Technology

CPU: Allwinner H3 (SUN8I 1680)


Model: Xunlong Orange Pi R1
DRAM: 512 MiB
MMC: mmc@1c0f000: 0, mmc@1c10000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: phy interface0
eth0: ethernet@1c30000
starting USB...
USB0: USB EHCI 1.00
USB1: USB OHCI 1.0
USB2: USB EHCI 1.00
USB3: USB EHCI 1.00
USB4: USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 1 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 1 USB Device(s) found
scanning bus 3 for devices... 1 USB Device(s) found
scanning bus 4 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 2 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
3700 bytes read in 2 ms (1.8 MiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
86 bytes read in 3 ms (27.3 KiB/s)
5876450 bytes read in 280 ms (20 MiB/s)
7745288 bytes read in 369 ms (20 MiB/s)
Found mainline kernel configuration
28986 bytes read in 6 ms (4.6 MiB/s)
## Loading init Ramdisk from Legacy Image at 43300000 ...
Image Name: uInitrd
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 5876386 Bytes = 5.6 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
EHCI failed to shut down host controller.
Loading Ramdisk to 49a65000, end 49fffaa2 ... OK
Loading Device Tree to 499f5000, end 49a64fff ... OK

Starting kernel ...


Loading, please wait...
starting version 229
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.27.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p2] fsck.ext4 -a -C0 /dev/mmcblk0p2
rootfs: clean, 38492/490048 files, 338067/2013184 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Ubuntu 16.04.7 LTS!

[ OK ] Reached target Remote File Systems (Pre).


[ OK ] Reached target Encrypted Volumes.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on udev Control Socket.
[ OK ] Listening on fsck to fsckd communication Socket.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ OK ] Listening on Journal Socket.
[ OK ] Listening on Syslog Socket.
[ OK ] Listening on Journal Audit Socket.
[ OK ] Reached target Remote File Systems.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Reached target Paths.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Created slice System Slice.
Starting Nameserver information manager...
Starting Create list of required st... nodes for the current kernel...
Starting Set console keymap...
[ OK ] Created slice system-serial\x2dgetty.slice.
Starting Load Kernel Modules...
Starting Remount Root and Kernel File Systems...
[ OK ] Created slice system-systemd\x2dfsck.slice.
Mounting Debug File System...
[ OK ] Reached target Swap.
[ OK ] Set up automount Arbitrary Executab...ats File System Automount Point.
[ OK ] Created slice User and Session Slice.
[ OK ] Reached target Slices.
[ OK ] Listening on Journal Socket (/dev/log).
Starting Journal Service...
Mounting POSIX Message Queue File System...
[ OK ] Mounted Debug File System.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Started Create list of required sta...ce nodes for the current kernel.
[ OK ] Started Load Kernel Modules.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Started Set console keymap.
[ OK ] Started Nameserver information manager.
[ OK ] Reached target Network (Pre).
Starting Load/Save Random Seed...
Starting udev Coldplug all Devices...
Mounting Configuration File System...
Starting Apply Kernel Variables...
Starting Create Static Device Nodes in /dev...
[ OK ] Mounted Configuration File System.
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Journal Service.
Starting Flush Journal to Persistent Storage...
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started Create Static Device Nodes in /dev.
Starting udev Kernel Device Manager...
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Found device /dev/ttyS0.
[ 4.837061] sun4i-codec 1c22c00.codec: ASoC: codec-analog@1f015c0 not registered
[ 4.844539] sun4i-codec 1c22c00.codec: Failed to register our card
[ 4.873629] debugfs: Directory '1c22c00.codec' with parent 'H3 Audio Codec'
already present!
[ OK ] Found device /dev/disk/by-label/BOOT.
Starting File System Check on /dev/disk/by-label/BOOT...
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ OK ] Started File System Check Daemon to report status.
[ OK ] Found device /sys/subsystem/net/devices/eth0.
[ OK ] Started File System Check on /dev/disk/by-label/BOOT.
Mounting /boot...
[ OK ] Mounted /boot.
[ OK ] Reached target Local File Systems.
[ OK ] Started ifup for eth0.
Starting Create Volatile Files and Directories...
Starting Set console font and keymap...
Starting Raise network interfaces...
[ OK ] Started Create Volatile Files and Directories.
[ OK ] Started Set console font and keymap.
[ OK ] Reached target Sound Card.
[ OK ] Created slice system-getty.slice.
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
Starting Load/Save RF Kill Switch Status...
[ OK ] Started Load/Save RF Kill Switch Status.
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Synchronized.
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Started Message of the Day.
[ OK ] Started Daily apt download activities.
[ OK ] Started Daily apt upgrade and clean activities.
[ OK ] Reached target Timers.
[ OK ] Reached target Basic System.
Starting Permit User Sessions...
Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
Starting Generate SSH keys if not there...
Starting System Logging Service...
Starting LSB: Load kernel modules needed to enable cpufreq scaling...
Starting Login Service...
[ OK ] Started D-Bus System Message Bus.
Starting dnsmasq - A lightweight DHCP and caching DNS server...
[ OK ] Started OrangePi Audio Service.
Starting Network Manager...
Starting Save/Restore Sound Card State...
[ OK ]
Started System Logging Service.
[ OK ]
Started Permit User Sessions.
[ OK ]
Started Generate SSH keys if not there.
[ OK ]
Started Save/Restore Sound Card State.
[ OK ]
Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
Starting Set console scheme...
[ OK ] Started Set console scheme.
[ OK ] Started Login Service.
[ OK ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
Starting LSB: set CPUFreq kernel parameters...
[FAILED] Failed to start Raise network interfaces.
See 'systemctl status networking.service' for details.
[ OK ] Started LSB: set CPUFreq kernel parameters.
[ OK ] Started dnsmasq - A lightweight DHCP and caching DNS server.
[ OK ] Reached target Host and Network Name Lookups.
[ OK ] Started Network Manager.
Starting Network Manager Wait Online...
[ OK ] Reached target Network.
Starting OpenBSD Secure Shell server...
Starting Tailscale node agent...
Starting Network Manager Script Dispatcher Service...
[ OK ] Started Network Manager Script Dispatcher Service.
[ OK ] Started OpenBSD Secure Shell server.
Starting Hostname Service...
[ OK ] Started Hostname Service.
Starting Authenticate and Authorize Users to Run Privileged Tasks...
Starting WPA supplicant...
[ OK ] Started Authenticate and Authorize Users to Run Privileged Tasks.
[ OK ] Started WPA supplicant.
[FAILED] Failed to start Network Manager Wait Online.
See 'systemctl status NetworkManager-wait-online.service' for details.
[ OK ] Reached target Network is Online.
Starting /etc/rc.local Compatibility...
Starting LSB: Advanced IEEE 802.11 management daemon...
[ OK ] Started /etc/rc.local Compatibility.
[ OK ] Started LSB: Advanced IEEE 802.11 management daemon.
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Reached target Login Prompts.

Ubuntu 16.04.7 LTS orangepir1 ttyS0

orangepir1 login: root


Password:
Last login: Sat Apr 6 07:09:25 UTC 2024 on ttyS0

___ ____ _ ____ _


/ _ \ _ __ __ _ _ __ __ _ ___ | _ \(_) | _ \/ |
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | |_) | |
| |_| | | | (_| | | | | (_| | __/ | __/| | | _ <| |
\___/|_| \__,_|_| |_|\__, |\___| |_| |_| |_| \_\_|
|___/

Welcome to Ubuntu Xenial with Linux 5.3.5+

System load: 0.84 0.25 0.09 Up time: 0 min


Memory usage: 6 % of 491MB IP: 192.168.0.100
CPU temp: 49°C
Usage of /: 17% of 7.6G
* Documentation: http://www.orangepi.org/

root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~# ifconfig
enxc0742bffa0aa Link encap:Ethernet HWaddr c0:74:2b:ff:a0:aa
inet6 addr: fe80::149b:f8b6:c678:3a33/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:22 errors:0 dropped:0 overruns:0 frame:0
TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1935 (1.9 KB) TX bytes:5246 (5.2 KB)

eth0 Link encap:Ethernet HWaddr 02:81:1b:79:3a:35


inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:37

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:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:788 (788.0 B) TX bytes:788 (788.0 B)

tailscale0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-


00
inet6 addr: fe80::c6f2:89ac:671f:c495/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1280 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:96 (96.0 B)

wlan0 Link encap:Ethernet HWaddr 30:7b:c9:33:31:6d


UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@orangepir1:~# vim /etc/network/interfaces


# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
#source /etc/network/interfaces.d/

# INTERFACE SETTINGS lo
source-directory /etc/network/interfaces.d
#source /etc/network/interfaces.d/

# INTERFACE SETTINGS lo
auto lo
iface lo inet loopback

# INTERFACE SETTINGS eth0


auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0

# INTERFACE SETTINGS eth0


# INTERFACE SETTINGS eth1
auto eth1
allow-hotplug eth1
iface eth1 inet static
address 192.168.0.101
netmask 255.255.255.0

# INTERFACE SETTINGS eth1


"/etc/network/interfaces" 29L, 546C written
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~# ifup
ifup: no interface(s) specified
ifup: Use --help for help
root@orangepir1:~#
root@orangepir1:~# ifconfig
enxc0742bffa0aa Link encap:Ethernet HWaddr c0:74:2b:ff:a0:aa
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:23 errors:0 dropped:0 overruns:0 frame:0
TX packets:73 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1995 (1.9 KB) TX bytes:12770 (12.7 KB)

eth0 Link encap:Ethernet HWaddr 02:81:1b:79:3a:35


inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:37

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:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1412 (1.4 KB) TX bytes:1412 (1.4 KB)

tailscale0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-


00
inet6 addr: fe80::c6f2:89ac:671f:c495/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1280 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:288 (288.0 B)

wlan0 Link encap:Ethernet HWaddr 30:7b:c9:33:31:6d


UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@orangepir1:~# ifup eth1


Cannot find device "eth1"
Failed to bring up eth1.
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~# ifup enxc0742bffa0aa
Unknown interface enxc0742bffa0aa
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~# ifconfig
enxc0742bffa0aa Link encap:Ethernet HWaddr c0:74:2b:ff:a0:aa
inet6 addr: fe80::149b:f8b6:c678:3a33/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:48 errors:0 dropped:0 overruns:0 frame:0
TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4171 (4.1 KB) TX bytes:14904 (14.9 KB)

eth0 Link encap:Ethernet HWaddr 02:81:1b:79:3a:35


inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::81:1bff:fe79:3a35/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:19 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1672 (1.6 KB) TX bytes:1642 (1.6 KB)
Interrupt:37

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:22 errors:0 dropped:0 overruns:0 frame:0
TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2252 (2.2 KB) TX bytes:2252 (2.2 KB)

tailscale0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-


00
inet6 addr: fe80::c6f2:89ac:671f:c495/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1280 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:288 (288.0 B)

wlan0 Link encap:Ethernet HWaddr 30:7b:c9:33:31:6d


UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@orangepir1:~# sysctl restart networking


sysctl: cannot stat /proc/sys/restart: No such file or directory
sysctl: cannot stat /proc/sys/networking: No such file or directory
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~# ifdown eth0
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~# ifdown eth1
ifdown: interface eth1 not configured
root@orangepir1:~# ifup eth0
root@orangepir1:~#
root@orangepir1:~# vim /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
#source /etc/network/interfaces.d/

# INTERFACE SETTINGS lo
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
#source /etc/network/interfaces.d/

# INTERFACE SETTINGS lo
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
#source /etc/network/interfaces.d/

# INTERFACE SETTINGS lo
auto lo
iface lo inet loopback

# INTERFACE SETTINGS eth0


auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
# INTERFACE SETTINGS eth0
# INTERFACE SETTINGS eth1
auto eth1
allow-hotplug eth1
iface eth1 inet static
address 192.168.0.101
netmask 255.255.255.0

# INTERFACE SETTINGS eth1


auto wlan0
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~# ifconfig
enxc0742bffa0aa Link encap:Ethernet HWaddr c0:74:2b:ff:a0:aa
inet6 addr: fe80::149b:f8b6:c678:3a33/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:49 errors:0 dropped:0 overruns:0 frame:0
TX packets:127 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4231 (4.2 KB) TX bytes:21634 (21.6 KB)

eth0 Link encap:Ethernet HWaddr 02:81:1b:79:3a:35


inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:19 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1672 (1.6 KB) TX bytes:1642 (1.6 KB)
Interrupt:37

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:28 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2876 (2.8 KB) TX bytes:2876 (2.8 KB)

tailscale0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-


00
inet6 addr: fe80::c6f2:89ac:671f:c495/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1280 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:336 (336.0 B)

wlan0 Link encap:Ethernet HWaddr 30:7b:c9:33:31:6d


UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~# ping 192.168.0.15
PING 192.168.0.15 (192.168.0.15) 56(84) bytes of data.
From 192.168.0.100 icmp_seq=1 Destination Host Unreachable
From 192.168.0.100 icmp_seq=2 Destination Host Unreachable
From 192.168.0.100 icmp_seq=3 Destination Host Unreachable
From 192.168.0.100 icmp_seq=4 Destination Host Unreachable
From 192.168.0.100 icmp_seq=5 Destination Host Unreachable
From 192.168.0.100 icmp_seq=6 Destination Host Unreachable
From 192.168.0.100 icmp_seq=7 Destination Host Unreachable
From 192.168.0.100 icmp_seq=11 Destination Host Unreachable
From 192.168.0.100 icmp_seq=14 Destination Host Unreachable
From 192.168.0.100 icmp_seq=17 Destination Host Unreachable
From 192.168.0.100 icmp_seq=18 Destination Host Unreachable
From 192.168.0.100 icmp_seq=20 Destination Host Unreachable
From 192.168.0.100 icmp_seq=23 Destination Host Unreachable
From 192.168.0.100 icmp_seq=24 Destination Host Unreachable
From 192.168.0.100 icmp_seq=25 Destination Host Unreachable
From 192.168.0.100 icmp_seq=29 Destination Host Unreachable
From 192.168.0.100 icmp_seq=30 Destination Host Unreachable
From 192.168.0.100 icmp_seq=32 Destination Host Unreachable
From 192.168.0.100 icmp_seq=35 Destination Host Unreachable
From 192.168.0.100 icmp_seq=36 Destination Host Unreachable
^C
--- 192.168.0.15 ping statistics ---
38 packets transmitted, 0 received, +20 errors, 100% packet loss, time 37888ms
pipe 4
root@orangepir1:~# ^C
root@orangepir1:~#
root@orangepir1:~# ifconfig
enxc0742bffa0aa Link encap:Ethernet HWaddr c0:74:2b:ff:a0:aa
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:56 errors:0 dropped:0 overruns:0 frame:0
TX packets:149 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4651 (4.6 KB) TX bytes:24762 (24.7 KB)

eth0 Link encap:Ethernet HWaddr 02:81:1b:79:3a:35


inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::81:1bff:fe79:3a35/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:34 errors:0 dropped:0 overruns:0 frame:0
TX packets:41 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3172 (3.1 KB) TX bytes:3258 (3.2 KB)
Interrupt:37

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:59 errors:0 dropped:0 overruns:0 frame:0
TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6180 (6.1 KB) TX bytes:6180 (6.1 KB)

tailscale0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-


00
inet6 addr: fe80::c6f2:89ac:671f:c495/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1280 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:336 (336.0 B)

wlan0 Link encap:Ethernet HWaddr 30:7b:c9:33:31:6d


UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@orangepir1:~# Stopping Authenticate and Authorize Users to Run


Privileged Tasks...
[ OK ] Stopped target Graphical Interface.
Stopping Session 2 of user root.
Stopping Session 3 of user root.
[ OK ] Stopped target Timers.
[ OK topping LSB: Set the CPU Frequency Scaling governor to "ondemand"...
Stopping LSB: set CPUFreq kernel parameters...
Stopping System Logging Service...
[ OK ] Stopped OrangePi Audio Service.
Stopping OpenBSD Secure Shell server...
Stopping dnsmasq - A lightweight DHCP and caching DNS server...
Stopping User Manager for UID 0...
Stopping Tailscale node agent...
[ OK ] Stopped Session 1 of user root.
[ OK ] Stopped Daily Cleanup of Temporary Directories.
[ OK ] Stopped target System Time Synchronized.
Stopping LSB: Advanced IEEE 802.11 management daemon...
[ OK ] Stopped System Logging Service.
[ OK ] Stopped OpenBSD Secure Shell server.
[ OK ] Stopped Authenticate and Authorize Users to Run Privileged Tasks.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped Serial Getty on ttyS0.
[ OK ] Stopped User Manager for UID 0.
[ OK ] Stopped Session 2 of user root.
[ OK ] Stopped Session 3 of user root.
[ OK ] Stopped Save/Restore Sound Card State.
[ OK ] Stopped LSB: Advanced IEEE 802.11 management daemon.
[ OK ] Stopped LSB: Set the CPU Frequency Scaling governor to "ondemand".
[ OK ] Stopped LSB: set CPUFreq kernel parameters.
Stopping LSB: Load kernel modules needed to enable cpufreq scaling...
[ OK ] Removed slice User Slice of root.
Stopping Login Service...
[ OK ] Removed slice system-serial\x2dgetty.slice.
Stopping Permit User Sessions...
[ OK ] Stopped /etc/rc.local Compatibility.
[ OK ] Stopped target Network is Online.
[ OK ] Removed slice system-getty.slice.
[ OK ] Stopped Generate SSH keys if not there.
[ OK ] Stopped Login Service.
[ OK ] Stopped Permit User Sessions.
[ OK ]Stopped LSB: Load kernel modules needed to enable cpufreq scaling.
[ OK ]Stopped target Remote File Systems.
[ OK ]Stopped target Remote File Systems (Pre).
[ OK ]Stopped dnsmasq - A lightweight DHCP and caching DNS server.
[ OK ]Stopped Tailscale node agent.
Stopping Network Name Resolution...
[ OK ] Stopped Network Name Resolution.
[ OK ] Stopped target Network.
Stopping WPA supplicant...
Stopping Network Manager...
[ OK ] Stopped WPA supplicant.
[ OK ] Stopped Network Manager.
[ OK ] Stopped target Network (Pre).
Stopping D-Bus System Message Bus...
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped target Basic System.
[ OK ] Stopped target Slices.
[ OK ] Removed slice User and Session Slice.
[ OK ] Stopped target Sockets.
[ OK ] Closed Syslog Socket.
[ OK ] Stopped target Paths.
[ OK ] Stopped Dispatch Password Requests to Console Directory Watch.
[ OK ] Stopped Forward Password Requests to Wall Directory Watch.
[ OK ] Closed D-Bus System Message Bus Socket.
[ OK ] Stopped target System Initialization.
Stopping Network Time Synchronization...
[ OK ] Stopped Apply Kernel Variables.
[ OK ] Stopped Load Kernel Modules.
Stopping Load/Save Random Seed...
Stopping Update UTMP about System Boot/Shutdown...
[ OK ] Stopped target Swap.
[ OK ] Stopped target Encrypted Volumes.
[ OK ] Stopped Network Time Synchronization.
[ OK ] Stopped Load/Save Random Seed.
[ OK ] Stopped Update UTMP about System Boot/Shutdown.
[ OK ] Stopped Create Volatile Files and Directories.
[ OK ] Stopped target Local File Systems.
Unmounting /boot...
Unmounting /run/user/0...
[ OK ] Unmounted /boot.
[ OK ] Unmounted /run/user/0.
[ OK ] Reached target Unmount All Filesystems.
[ OK ] Stopped File System Check on /dev/disk/by-label/BOOT.
[ OK ] Stopped target Local File Systems (Pre).
[ OK ] Stopped Remount Root and Kernel File Systems.
[ OK ] Stopped Create Static Device Nodes in /dev.
[ OK ] Removed slice system-systemd\x2dfsck.slice.
[ OK ] Reached target Shutdown.
[ 710.423205] reboot: Restarting system

U-Boot SPL 2019.04-g3255ef3 (Mar 24 2020 - 16:50:44 +0800)


DRAM: 512 MiB
Trying to boot from MMC1

U-Boot 2019.04-g3255ef3 (Mar 24 2020 - 16:50:44 +0800) Allwinner Technology

CPU: Allwinner H3 (SUN8I 1680)


Model: Xunlong Orange Pi R1
DRAM: 512 MiB
MMC: mmc@1c0f000: 0, mmc@1c10000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: phy interface0
eth0: ethernet@1c30000
starting USB...
USB0: USB EHCI 1.00
USB1: USB OHCI 1.0
USB2: USB EHCI 1.00
USB3: USB EHCI 1.00
USB4: USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 1 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 1 USB Device(s) found
scanning bus 3 for devices... 1 USB Device(s) found
scanning bus 4 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 2 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
3700 bytes read in 2 ms (1.8 MiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
86 bytes read in 3 ms (27.3 KiB/s)
5876450 bytes read in 281 ms (19.9 MiB/s)
7745288 bytes read in 369 ms (20 MiB/s)
Found mainline kernel configuration
28986 bytes read in 7 ms (3.9 MiB/s)
## Loading init Ramdisk from Legacy Image at 43300000 ...
Image Name: uInitrd
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 5876386 Bytes = 5.6 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
EHCI failed to shut down host controller.
Loading Ramdisk to 49a65000, end 49fffaa2 ... OK
Loading Device Tree to 499f5000, end 49a64fff ... OK

Starting kernel ...

Loading, please wait...


starting version 229
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.27.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p2] fsck.ext4 -a -C0 /dev/mmcblk0p2
rootfs: clean, 38492/490048 files, 338160/2013184 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Ubuntu 16.04.7 LTS!

[ OK ] Reached target Swap.


[ OK ] Reached target Remote File Systems (Pre).
[ OK ] Reached target Remote File Systems.
[ OK ] Listening on Journal Socket.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Listening on udev Control Socket.
[ OK ] Listening on Syslog Socket.
[ OK ] Set up automount Arbitrary Executab...ats File System Automount Point.
[ OK ] Created slice User and Session Slice.
[ OK ] Created slice System Slice.
Starting Load Kernel Modules...
Starting Nameserver information manager...
[ OK ] Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-systemd\x2dfsck.slice.
[ OK ] Reached target Slices.
Mounting POSIX Message Queue File System...
[ OK ] Listening on udev Kernel Socket.
[ OK ] Reached target Encrypted Volumes.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Reached target Paths.
[ OK ] Listening on Journal Audit Socket.
Mounting Debug File System...
[ OK ] Listening on Journal Socket (/dev/log).
Starting Journal Service...
Starting Create list of required st... nodes for the current kernel...
Starting Set console keymap...
[ OK ] Listening on fsck to fsckd communication Socket.
Starting Remount Root and Kernel File Systems...
[ OK ] Mounted Debug File System.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Started Load Kernel Modules.
[ OK ] Started Create list of required sta...ce nodes for the current kernel.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Started Nameserver information manager.
[ OK ] Reached target Network (Pre).
Starting udev Coldplug all Devices...
Starting Load/Save Random Seed...
Starting Create Static Device Nodes in /dev...
Mounting Configuration File System...
Starting Apply Kernel Variables...
[ OK ] Mounted Configuration File System.
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Set console keymap.
[ OK ] Started Journal Service.
Starting Flush Journal to Persistent Storage...
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Reached target Local File Systems (Pre).
Starting udev Kernel Device Manager...
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Found device /dev/ttyS0.
[ 4.823970] sun4i-codec 1c22c00.codec: ASoC: codec-analog@1f015c0 not registered
[ 4.831534] sun4i-codec 1c22c00.codec: Failed to register our card
[ 4.844457] sun4i-codec 1c22c00.codec: ASoC: codec-analog@1f015c0 not registered
[ 4.851957] sun4i-codec 1c22c00.codec: Failed to register our card
[ 4.866108] debugfs: Directory '1c22c00.codec' with parent 'H3 Audio Codec'
already present!
[ OK ] Found device /dev/disk/by-label/BOOT.
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
Starting File System Check on /dev/disk/by-label/BOOT...
[ OK ] Started File System Check Daemon to report status.
[ OK ] Found device /sys/subsystem/net/devices/eth0.
[ OK ] Started File System Check on /dev/disk/by-label/BOOT.
Mounting /boot...
[ OK ] Mounted /boot.
[ OK ] Reached target Sound Card.
Starting Load/Save RF Kill Switch Status...
[ OK ] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
Starting Raise network interfaces...
[ OK ] Started ifup for eth0.
Starting Set console font and keymap...
[ OK ] Started Load/Save RF Kill Switch Status.
[ OK ] Started Create Volatile Files and Directories.
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Synchronized.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Started Daily apt download activities.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Started Message of the Day.
[ OK ] Started Daily apt upgrade and clean activities.
[ OK ] Reached target Timers.
[ OK ] Reached target Basic System.
[ OK ] Started OrangePi Audio Service.
[ OK ] Started D-Bus System Message Bus.
Starting Permit User Sessions...
Starting Generate SSH keys if not there...
Starting System Logging Service...
Starting dnsmasq - A lightweight DHCP and caching DNS server...
Starting Login Service...
Starting Network Manager...
Starting Save/Restore Sound Card State...
Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
Starting LSB: Load kernel modules needed to enable cpufreq scaling...
[ OK ] Started Set console font and keymap.
[ OK ] Started Permit User Sessions.
[ OK ] Started Save/Restore Sound Card State.
[ OK ] Started Generate SSH keys if not there.
[ OK ] Started System Logging Service.
[ OK ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
Starting Set console scheme...
[ OK ] Created slice system-getty.slice.
[ OK ] Started Set console scheme.
[ OK ] Started Login Service.
[ OK ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
Starting LSB: set CPUFreq kernel parameters...
[ OK ] Started LSB: set CPUFreq kernel parameters.
[ OK ] Started dnsmasq - A lightweight DHCP and caching DNS server.
[ OK ] Reached target Host and Network Name Lookups.
[ OK ] Started Network Manager.
Starting Tailscale node agent...
Starting Network Manager Wait Online...
Starting Network Manager Script Dispatcher Service...
[ OK ] Started Network Manager Script Dispatcher Service.
Starting Hostname Service...
[ OK ] Started Hostname Service.
Starting Authenticate and Authorize Users to Run Privileged Tasks...
Starting WPA supplicant...
[ OK ] Started Authenticate and Authorize Users to Run Privileged Tasks.
[ OK ] Started WPA supplicant.
[ OK ] Started Network Manager Wait Online.
[FAILED] Failed to start Raise network interfaces.
See 'systemctl status networking.service' for details.
[ OK ] Reached target Network.
Starting OpenBSD Secure Shell server...
[ OK ] Reached target Network is Online.
Starting /etc/rc.local Compatibility...
Starting LSB: Advanced IEEE 802.11 management daemon...
[ OK ] Started /etc/rc.local Compatibility.
[ OK ] Started LSB: Advanced IEEE 802.11 management daemon.
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Reached target Login Prompts.
[ OK ] Started OpenBSD Secure Shell server.

Ubuntu 16.04.7 LTS orangepir1 ttyS0

orangepir1 login:
Ubuntu 16.04.7 LTS orangepir1 ttyS0

orangepir1 login:
Ubuntu 16.04.7 LTS orangepir1 ttyS0

orangepir1 login:
Ubuntu 16.04.7 LTS orangepir1 ttyS0

orangepir1 login:
Ubuntu 16.04.7 LTS orangepir1 ttyS0

orangepir1 login:
Ubuntu 16.04.7 LTS orangepir1 ttyS0

orangepir1 login:
Ubuntu 16.04.7 LTS orangepir1 ttyS0

orangepir1 login: root


Password:
st login: Sat Apr 6 07:15:55 UTC 2024 from 192.168.0.15 on pts/0
___ ____ _ ____ _
/ _ \ _ __ __ _ _ __ __ _ ___ | _ \(_) | _ \/ |
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | |_) | |
| |_| | | | (_| | | | | (_| | __/ | __/| | | _ <| |
\___/|_| \__,_|_| |_|\__, |\___| |_| |_| |_| \_\_|
|___/

Welcome to Ubuntu Xenial with Linux 5.3.5+

System load: 0.53 0.27 0.10 Up time: 1 min


Memory usage: 8 % of 491MB IP:
CPU temp: 37°C
Usage of /: 17% of 7.6G

* Documentation: http://www.orangepi.org/

root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~# vim /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

# INTERFACE SETTINGS lo
auto lo
iface lo inet loopback

# INTERFACE SETTINGS eth0


auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0

# INTERFACE SETTINGS eth1


auto eth1
allow-hotplug eth1
iface eth1 inet static
address 192.168.0.101
netmask 255.255.255.0

# INTERFACE SETTINGS eth1


"/etc/network/interfaces" 24L, 492C written
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~# sudo reboot
Stopping Session 1 of user root.
Stopping Save/Restore Sound Card State...
[ OK ] Stopped target Graphical Interface.
[ OK ] Stopped target Host and Network Name Lookups.
Stopping Authenticate and Authorize Users to Run Privileged Tasks...
[ OK ] Stopped target Sound Card.
[ OK ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ OK ] Stopped target Timers.
[ OK ] Stopped Daily apt upgrade and clean activities.
[ OK ] Stopped Daily Cleanup of Temporary Directories.
[ OK ] Stopped Message of the Day.
[ OK ] Stopped Daily apt download activities.
[ OK ] Stopped target System Time Synchronized.
[ OK ] Stopped target Multi-User System.
Stopping System Logging Service...
Stopping OpenBSD Secure Shell server...
[ OK ] Stopped target Login Prompts.
Stopping Getty on tty1...
Stopping LSB: set CPUFreq kernel parameters...
Stopping LSB: Advanced IEEE 802.11 management daemon...
Stopping Tailscale node agent...
[ OK ] Stopped OrangePi Audio Service.
Stopping LSB: Set the CPU Frequency Scaling governor to "ondemand"...
Stopping dnsmasq - A lightweight DHCP and caching DNS server...
Stopping Serial Getty on ttyS0...
Stopping User Manager for UID 0...
[ OK ] Stopped System Logging Service.
[ OK ] Stopped Authenticate and Authorize Users to Run Privileged Tasks.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped Serial Getty on ttyS0.
[ OK ] Stopped OpenBSD Secure Shell server.
[ OK ] Stopped User Manager for UID 0.
[ OK ] Stopped Session 1 of user root.
[ OK ] Stopped Save/Restore Sound Card State.
[ OK ] Stopped LSB: Advanced IEEE 802.11 management daemon.
[ OK ] Stopped LSB: Set the CPU Frequency Scaling governor to "ondemand".
[ OK ] Stopped LSB: set CPUFreq kernel parameters.
Stopping LSB: Load kernel modules needed to enable cpufreq scaling...
[ OK ] Removed slice User Slice of root.
Stopping Login Service...
[ OK ] Stopped Generate SSH keys if not there.
[ OK ] Removed slice system-serial\x2dgetty.slice.
[ OK ] Stopped /etc/rc.local Compatibility.
[ OK ] Stopped target Network is Online.
[ OK ] Stopped Network Manager Wait Online.
[ OK ] Removed slice system-getty.slice.
Stopping Permit User Sessions...
[ OK ] Stopped Login Service.
[ OK ] Stopped Permit User Sessions.
[ OK ] Stopped dnsmasq - A lightweight DHCP and caching DNS server.
[ OK ] Stopped LSB: Load kernel modules needed to enable cpufreq scaling.
[ OK ] Stopped target Remote File Systems.
[ OK ] Stopped target Remote File Systems (Pre).
[ OK ] Stopped Tailscale node agent.
Stopping Network Name Resolution...
[ OK ] Stopped Network Name Resolution.
[ OK ] Stopped target Network.
Stopping Network Manager...
Stopping WPA supplicant...
[ OK ] Stopped WPA supplicant.
[ OK ] Stopped Network Manager.
Stopping D-Bus System Message Bus...
[ OK ] Stopped target Network (Pre).
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped target Basic System.
[ OK ] Stopped target Sockets.
[ OK ] Closed Syslog Socket.
[ OK ] Stopped target Slices.
[ OK ] Removed slice User and Session Slice.
[ OK ] Stopped target Paths.
[ OK ] Stopped Forward Password Requests to Wall Directory Watch.
[ OK ] Stopped Dispatch Password Requests to Console Directory Watch.
[ OK ] Closed D-Bus System Message Bus Socket.
[ OK ] Stopped target System Initialization.
[ OK ]Stopped target Swap.
[ OK ]Stopped target Encrypted Volumes.
[ OK ]Stopped Apply Kernel Variables.
[ OK ]Stopped Load Kernel Modules.
Stopping Load/Save Random Seed...
Stopping Network Time Synchronization...
[ OK ] Stopped Network Time Synchronization.
[ OK ] Stopped Load/Save Random Seed.
[ OK ] Stopped Create Volatile Files and Directories.
[ OK ] Stopped target Local File Systems.
Unmounting /boot...
Unmounting /run/user/0...
[ OK ] Unmounted /boot.
[ OK ] Unmounted /run/user/0.
[ OK ] Reached target Unmount All Filesystems.
[ OK ] Stopped File System Check on /dev/disk/by-label/BOOT.
[ OK ] Stopped target Local File Systems (Pre).
[ OK ] Stopped Remount Root and Kernel File Systems.
[ OK ] Stopped Create Static Device Nodes in /dev.
[ OK ] Removed slice system-systemd\x2dfsck.slice.
[ OK ] Reached target Shutdown.
[ 263.149204] reboot: Restarting system

U-Boot SPL 2019.04-g3255ef3 (Mar 24 2020 - 16:50:44 +0800)


DRAM: 512 MiB
Trying to boot from MMC1

U-Boot 2019.04-g3255ef3 (Mar 24 2020 - 16:50:44 +0800) Allwinner Technology

CPU: Allwinner H3 (SUN8I 1680)


Model: Xunlong Orange Pi R1
DRAM: 512 MiB
MMC: mmc@1c0f000: 0, mmc@1c10000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: phy interface0
eth0: ethernet@1c30000
starting USB...
USB0: USB EHCI 1.00
USB1: USB OHCI 1.0
USB2: USB EHCI 1.00
USB3: USB EHCI 1.00
USB4: USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 1 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 1 USB Device(s) found
scanning bus 3 for devices... 1 USB Device(s) found
scanning bus 4 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 2 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
3700 bytes read in 2 ms (1.8 MiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
86 bytes read in 3 ms (27.3 KiB/s)
5876450 bytes read in 281 ms (19.9 MiB/s)
7745288 bytes read in 369 ms (20 MiB/s)
Found mainline kernel configuration
28986 bytes read in 7 ms (3.9 MiB/s)
## Loading init Ramdisk from Legacy Image at 43300000 ...
Image Name: uInitrd
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 5876386 Bytes = 5.6 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
EHCI failed to shut down host controller.
Loading Ramdisk to 49a65000, end 49fffaa2 ... OK
Loading Device Tree to 499f5000, end 49a64fff ... OK

Starting kernel ...

Loading, please wait...


starting version 229
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.27.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p2] fsck.ext4 -a -C0 /dev/mmcblk0p2
rootfs: clean, 38492/490048 files, 338196/2013184 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Ubuntu 16.04.7 LTS!

[ OK ] Listening on udev Control Socket.


[ OK ] Listening on Syslog Socket.
[ OK ] Listening on Journal Audit Socket.
[ OK ] Reached target Remote File Systems (Pre).
[ OK ] Set up automount Arbitrary Executab...ats File System Automount Point.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Reached target Swap.
[ OK ] Listening on fsck to fsckd communication Socket.
[ OK ] Listening on Journal Socket.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ OK ] Created slice System Slice.
Starting Create list of required st... nodes for the current kernel...
Starting Journal Service...
Starting Load Kernel Modules...
Starting Set console keymap...
Starting Nameserver information manager...
Mounting Debug File System...
Mounting POSIX Message Queue File System...
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Reached target Paths.
[ OK ] Created slice system-systemd\x2dfsck.slice.
Starting Remount Root and Kernel File Systems...
[ OK ] Created slice system-serial\x2dgetty.slice.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Reached target Encrypted Volumes.
[ OK ] Reached target Remote File Systems.
[ OK ] Created slice User and Session Slice.
[ OK ] Reached target Slices.
[ OK ] Mounted Debug File System.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Started Create list of required sta...ce nodes for the current kernel.
[ OK ] Started Load Kernel Modules.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Started Journal Service.
[ OK ] Started Set console keymap.
[ OK ] Started Nameserver information manager.
[ OK ] Reached target Network (Pre).
Starting udev Coldplug all Devices...
Starting Load/Save Random Seed...
Starting Flush Journal to Persistent Storage...
Starting Apply Kernel Variables...
Mounting Configuration File System...
Starting Create Static Device Nodes in /dev...
[ OK ] Mounted Configuration File System.
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started Create Static Device Nodes in /dev.
Starting udev Kernel Device Manager...
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Found device /dev/ttyS0.
[ 4.841598] sun4i-codec 1c22c00.codec: ASoC: codec-analog@1f015c0 not registered
[ 4.849178] sun4i-codec 1c22c00.codec: Failed to register our card
[ 4.876818] sun4i-codec 1c22c00.codec: ASoC: codec-analog@1f015c0 not registered
[ 4.884327] sun4i-codec 1c22c00.codec: Failed to register our card
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ OK ] Found device /dev/disk/by-label/BOOT.
Starting File System Check on /dev/disk/by-label/BOOT...
[ OK ] Started File System Check Daemon to report status.
[ OK ] Found device /sys/subsystem/net/devices/eth0.
[ OK ] Started File System Check on /dev/disk/by-label/BOOT.
[ 5.164447] debugfs: Directory '1c22c00.codec' with parent 'H3 Audio Codec'
already present!
Mounting /boot...
[ OK ] Mounted /boot.
[ OK ] Reached target Sound Card.
Starting Load/Save RF Kill Switch Status...
[ OK ] Reached target Local File Systems.
Starting Raise network interfaces...
[ OK ] Started ifup for eth0.
Starting Set console font and keymap...
Starting Create Volatile Files and Directories...
[ OK ] Started Load/Save RF Kill Switch Status.
[ OK ] Started Create Volatile Files and Directories.
Starting Update UTMP about System Boot/Shutdown...
Starting Network Time Synchronization...
[ OK ]
Started Update UTMP about System Boot/Shutdown.
[ OK ]
Started Network Time Synchronization.
[ OK ]
Reached target System Time Synchronized.
[ OK ]
Reached target System Initialization.
[ OK ]
Started Daily apt download activities.
[ OK ]
Started Message of the Day.
[ OK ]
Started Daily apt upgrade and clean activities.
[ OK ]
Listening on D-Bus System Message Bus Socket.
[ OK ]
Reached target Sockets.
[ OK ]
Reached target Basic System.
Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
Starting Permit User Sessions...
Starting dnsmasq - A lightweight DHCP and caching DNS server...
Starting System Logging Service...
Starting Login Service...
[ OK ] Started OrangePi Audio Service.
Starting Generate SSH keys if not there...
Starting Save/Restore Sound Card State...
Starting LSB: Load kernel modules needed to enable cpufreq scaling...
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
[ OK ] Started D-Bus System Message Bus.
Starting Network Manager...
[ OK ] Started System Logging Service.
[ OK ] Started Set console font and keymap.
[ OK ] Started Permit User Sessions.
[ OK ] Started Generate SSH keys if not there.
[ OK ] Started Save/Restore Sound Card State.
[ OK ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
Starting Set console scheme...
[ OK ] Created slice system-getty.slice.
[ OK ] Started Set console scheme.
[ OK ] Started Login Service.
[ OK ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[FAILED] Failed to start Raise network interfaces.
See 'systemctl status networking.service' for details.
Starting LSB: set CPUFreq kernel parameters...
[ OK ] Started LSB: set CPUFreq kernel parameters.
[ OK ] Started dnsmasq - A lightweight DHCP and caching DNS server.
[ OK ] Started Network Manager.
Starting Network Manager Wait Online...
[ OK ] Reached target Network.
Starting OpenBSD Secure Shell server...
Starting Tailscale node agent...
[ OK ] Reached target Host and Network Name Lookups.
Starting Network Manager Script Dispatcher Service...
[ OK ] Started Network Manager Script Dispatcher Service.
[ OK ] Started OpenBSD Secure Shell server.
Starting Hostname Service...
[ OK ] Started Hostname Service.
Starting Authenticate and Authorize Users to Run Privileged Tasks...
Starting WPA supplicant...
[ OK ] Started Authenticate and Authorize Users to Run Privileged Tasks.
[ OK ] Started WPA supplicant.
[ OK ] Started Network Manager Wait Online.
[ OK ] Reached target Network is Online.
Starting /etc/rc.local Compatibility...
Starting LSB: Advanced IEEE 802.11 management daemon...
[ OK ] Started /etc/rc.local Compatibility.
[ OK ] Started LSB: Advanced IEEE 802.11 management daemon.
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Reached target Login Prompts.

Ubuntu 16.04.7 LTS orangepir1 ttyS0

rootgepir1 login:
Password:
Last login: Sat Apr 6 07:09:12 UTC 2024 on ttyS0

___ ____ _ ____ _


/ _ \ _ __ __ _ _ __ __ _ ___ | _ \(_) | _ \/ |
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | |_) | |
| |_| | | | (_| | | | | (_| | __/ | __/| | | _ <| |
\___/|_| \__,_|_| |_|\__, |\___| |_| |_| |_| \_\_|
|___/

Welcome to Ubuntu Xenial with Linux 5.3.5+

System load: 0.57 0.17 0.06 Up time: 0 min


Memory usage: 6 % of 491MB IP: 192.168.0.100
CPU temp: 46°C
Usage of /: 17% of 7.6G

* Documentation: http://www.orangepi.org/

root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~# ifconfig
enxc0742bffa0aa Link encap:Ethernet HWaddr c0:74:2b:ff:a0:aa
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

eth0 Link encap:Ethernet HWaddr 02:81:1b:79:3a:35


inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::81:1bff:fe79:3a35/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15 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:1500 (1.5 KB) TX bytes:726 (726.0 B)
Interrupt:37

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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wlan0 Link encap:Ethernet HWaddr 30:7b:c9:33:31:6d


UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@orangepir1:~# ls /sys/class/net/
enxc0742bffa0aa eth0 lo tailscale0 wlan0
root@orangepir1:~# ls /etc/udev/
hwdb.d/ rules.d/ udev.conf
root@orangepir1:~# ls /etc/udev/rules.d/
70-persistent-net.rules
root@orangepir1:~# vim /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="c0:74:2b:ff:96:cc
4", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~# ifconfig
enxc0742bffa0aa Link encap:Ethernet HWaddr c0:74:2b:ff:a0:aa
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

eth0 Link encap:Ethernet HWaddr 02:81:1b:79:3a:35


inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::81:1bff:fe79:3a35/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:23 errors:0 dropped:0 overruns:0 frame:0
TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2086 (2.0 KB) TX bytes:2240 (2.2 KB)
Interrupt:37

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:10 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:1004 (1.0 KB) TX bytes:1004 (1.0 KB)

tailscale0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-


00
inet6 addr: fe80::1268:f7f9:30fa:820f/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1280 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:384 (384.0 B)

wlan0 Link encap:Ethernet HWaddr 30:7b:c9:33:31:6d


UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@orangepir1:~# ip link show


1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT
group default qlen 1000
link/ether 02:81:1b:79:3a:35 brd ff:ff:ff:ff:ff:ff
3: enxc0742bffa0aa: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast
state DOWN mode DEFAULT group default qlen 1000
link/ether c0:74:2b:ff:a0:aa brd ff:ff:ff:ff:ff:ff
4: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode
DORMANT group default qlen 1000
link/ether 30:7b:c9:33:31:6d brd ff:ff:ff:ff:ff:ff
5: tailscale0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1280 qdisc pfifo_fast
state UNKNOWN mode DEFAULT group default qlen 500
link/none
root@orangepir1:~# ifconfig enxc0742bffa0aa 192.168.0.101
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~# ifconfig
enxc0742bffa0aa Link encap:Ethernet HWaddr c0:74:2b:ff:a0:aa
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

eth0 Link encap:Ethernet HWaddr 02:81:1b:79:3a:35


inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::81:1bff:fe79:3a35/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:23 errors:0 dropped:0 overruns:0 frame:0
TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2086 (2.0 KB) TX bytes:2240 (2.2 KB)
Interrupt:37

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:10 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:1004 (1.0 KB) TX bytes:1004 (1.0 KB)

tailscale0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-


00
inet6 addr: fe80::1268:f7f9:30fa:820f/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1280 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:384 (384.0 B)

wlan0 Link encap:Ethernet HWaddr 30:7b:c9:33:31:6d


UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@orangepir1:~# vim /etc/network/interfaces


# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

# INTERFACE SETTINGS lo
auto lo
iface lo inet loopback

# INTERFACE SETTINGS eth0


auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0

# INTERFACE SETTINGS eth1


auto enxc0742bffa0aa
allow-hotplug enxc0742bffa0aa
iface enxc0742bffa0aa inet static
address 192.168.0.101
netmask 255.255.255.0

# INTERFACE SETTINGS eth1


allow hot-plug wlan0
"/etc/network/interfaces" 24L, 525C written
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~# sudo reboot
[ OK ] Stopped target Timers.
[ OK ] Stopped target Graphical Interface.
Stopping User Manager for UID 0...
Stopping Authenticate and Authorize Users to Run Privileged Tasks...
[ OK ] Stopped target Multi-User System.
Stopping LSB: set CPUFreq kernel parameters...
Stopping LSB: Advanced IEEE 802.11 management daemon...
Stopping Save/Restore Sound Stopping Session 1 of user root.
[ OK ] Stopped target Host and Network Name Lookups.
[ OK ] Stopped target Login Prompts.
Stopping Getty on tty1...
Stopping Serial Getty on ttyS0...
Stopping dnsmasq - A lightweight DHCP and caching DNS server...
[ OK ] Stopped System Logging Service.
[ OK ] Stopped OpenBSD Secure Shell server.
[ OK ] Stopped Authenticate and Authorize Users to Run Privileged Tasks.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped Serial Getty on ttyS0.
[ OK ] Stopped User Manager for UID 0.
[ OK ] Stopped LSB: Advanced IEEE 802.11 management daemon.
[ OK ] Stopped Save/Restore Sound Card State.
[ OK ] Stopped Session 1 of user root.
[ OK ] Stopped LSB: Set the CPU Frequency Scaling governor to "ondemand".
[ OK ] Stopped LSB: set CPUFreq kernel parameters.
Stopping LSB: Load kernel modules needed to enable cpufreq scaling...
[ OK ] Removed slice User Slice of root.
Stopping Login Service...
[ OK ] Removed slice system-serial\x2dgetty.slice.
Stopping Permit User Sessions...
[ OK ] Removed slice system-getty.slice.
[ OK ] Stopped /etc/rc.local Compatibility.
[ OK ] Stopped target Network is Online.
[ OK ] Stopped Network Manager Wait Online.
[ OK ] Stopped Generate SSH keys if not there.
[ OK ] Stopped Login Service.
[ OK ] Stopped Permit User Sessions.
[ OK ] Stopped dnsmasq - A lightweight DHCP and caching DNS server.
[ OK ] Stopped LSB: Load kernel modules needed to enable cpufreq scaling.
[ OK ] Stopped target Remote File Systems.
[ OK ] Stopped target Remote File Systems (Pre).
[ OK ] Stopped Tailscale node agent.
Stopping Network Name Resolution...
[ OK ] Stopped Network Name Resolution.
[ OK ] Stopped target Network.
Stopping WPA supplicant...
Stopping Network Manager...
[ OK ] Stopped WPA supplicant.
[ OK ] Stopped Network Manager.
Stopping D-Bus System Message Bus...
[ OK ] Stopped target Network (Pre).
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped target Basic System.
[ OK ] Stopped target Paths.
[ OK ] Stopped Forward Password Requests to Wall Directory Watch.
[ OK ] Stopped Dispatch Password Requests to Console Directory Watch.
[ OK ] Stopped target Sockets.
[ OK ] Closed Syslog Socket.
[ OK ] Stopped target Slices.
[ OK ]Removed slice User and Session Slice.
[ OK ]Closed D-Bus System Message Bus Socket.
[ OK ]Stopped target System Initialization.
[ OK ]Stopped target Encrypted Volumes.
[ OK ]Stopped Apply Kernel Variables.
Stopping Update UTMP about System Boot/Shutdown...
Stopping Network Time Synchronization...
[ OK ] Stopped target Swap.
[ OK ] Stopped Load Kernel Modules.
Stopping Load/Save Random Seed...
[ OK ] Stopped Network Time Synchronization.
[ OK ] Stopped Load/Save Random Seed.
[ OK ] Stopped Update UTMP about System Boot/Shutdown.
[ OK ] Stopped Create Volatile Files and Directories.
[ OK ] Stopped target Local File Systems.
Unmounting /boot...
Unmounting /run/user/0...
[ OK ] Unmounted /boot.
[ OK ] Unmounted /run/user/0.
[ OK ] Reached target Unmount All Filesystems.
[ OK ] Stopped File System Check on /dev/disk/by-label/BOOT.
[ OK ] Stopped target Local File Systems (Pre).
[ OK ] Stopped Create Static Device Nodes in /dev.
[ OK ] Stopped Remount Root and Kernel File Systems.
[ OK ] Removed slice system-systemd\x2dfsck.slice.
[ OK ] Reached target Shutdown.
[ 807.420317] reboot: Restarting system

U-Boot SPL 2019.04-g3255ef3 (Mar 24 2020 - 16:50:44 +0800)


DRAM: 512 MiB
Trying to boot from MMC1

U-Boot 2019.04-g3255ef3 (Mar 24 2020 - 16:50:44 +0800) Allwinner Technology

CPU: Allwinner H3 (SUN8I 1680)


Model: Xunlong Orange Pi R1
DRAM: 512 MiB
MMC: mmc@1c0f000: 0, mmc@1c10000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: phy interface0
eth0: ethernet@1c30000
starting USB...
USB0: USB EHCI 1.00
USB1: USB OHCI 1.0
USB2: USB EHCI 1.00
USB3: USB EHCI 1.00
USB4: USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 1 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 1 USB Device(s) found
scanning bus 3 for devices... 1 USB Device(s) found
scanning bus 4 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 2 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
3700 bytes read in 2 ms (1.8 MiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
86 bytes read in 3 ms (27.3 KiB/s)
5876450 bytes read in 281 ms (19.9 MiB/s)
7745288 bytes read in 369 ms (20 MiB/s)
Found mainline kernel configuration
28986 bytes read in 7 ms (3.9 MiB/s)
## Loading init Ramdisk from Legacy Image at 43300000 ...
Image Name: uInitrd
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 5876386 Bytes = 5.6 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
EHCI failed to shut down host controller.
Loading Ramdisk to 49a65000, end 49fffaa2 ... OK
Loading Device Tree to 499f5000, end 49a64fff ... OK

Starting kernel ...

Loading, please wait...


starting version 229
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.27.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p2] fsck.ext4 -a -C0 /dev/mmcblk0p2
rootfs: clean, 38492/490048 files, 338276/2013184 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Ubuntu 16.04.7 LTS!

[ OK ] Started Forward Password Requests to Wall Directory Watch.


[ OK ] Listening on fsck to fsckd communication Socket.
[ OK ] Listening on Journal Socket.
[ OK ] Set up automount Arbitrary Executab...ats File System Automount Point.
[ OK ] Reached target Encrypted Volumes.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Reached target Remote File Systems (Pre).
[ OK ] Created slice User and Session Slice.
[ OK ] Reached target Remote File Systems.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Reached target Swap.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on udev Control Socket.
[ OK ] Listening on Syslog Socket.
[ OK ] Reached target Paths.
[ OK ] Created slice System Slice.
[ OK ] Created slice system-systemd\x2dfsck.slice.
Starting Set console keymap...
[ OK ] Created slice system-serial\x2dgetty.slice.
Starting Create list of required st... nodes for the current kernel...
Mounting Debug File System...
Starting Nameserver information manager...
[ OK ] Reached target Slices.
Starting Load Kernel Modules...
Starting Remount Root and Kernel File Systems...
[ OK ] Listening on Journal Audit Socket.
Starting Journal Service...
Mounting POSIX Message Queue File System...
[ OK ] Mounted Debug File System.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Started Create list of required sta...ce nodes for the current kernel.
[ OK ] Started Load Kernel Modules.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Started Set console keymap.
[ OK ] Started Nameserver information manager.
[ OK ] Reached target Network (Pre).
Starting Load/Save Random Seed...
Starting udev Coldplug all Devices...
Starting Apply Kernel Variables...
Mounting Configuration File System...
Starting Create Static Device Nodes in /dev...
[ OK ] Mounted Configuration File System.
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Journal Service.
Starting Flush Journal to Persistent Storage...
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Started Flush Journal to Persistent Storage.
Starting udev Kernel Device Manager...
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Found device /dev/ttyS0.
[ 4.871643] sun4i-codec 1c22c00.codec: ASoC: codec-analog@1f015c0 not registered
[ 4.879136] sun4i-codec 1c22c00.codec: Failed to register our card
[ OK ] Found device /dev/disk/by-label/BOOT.
Starting File System Check on /dev/disk/by-label/BOOT...
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ OK ] Started File System Check Daemon to report status.
[ OK ] Found device /sys/subsystem/net/devices/eth0.
[ 5.122569] debugfs: Directory '1c22c00.codec' with parent 'H3 Audio Codec'
already present!
[ OK ] Started File System Check on /dev/disk/by-label/BOOT.
Mounting /boot...
[ OK ] Mounted /boot.
[ OK ] Reached target Local File Systems.
[ OK ] Started ifup for eth0.
Starting Raise network interfaces...
Starting Set console font and keymap...
Starting Create Volatile Files and Directories...
[ OK ] Started Create Volatile Files and Directories.
[ OK ] Started Set console font and keymap.
[ OK ] Reached target Sound Card.
Starting Load/Save RF Kill Switch Status...
[ OK ] Created slice system-getty.slice.
[ OK ] Started ifup for enxc0742bffa0aa.
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Load/Save RF Kill Switch Status.
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Synchronized.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily apt download activities.
[ OK ] Started Daily apt upgrade and clean activities.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting Permit User Sessions...
Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
Starting Generate SSH keys if not there...
Starting Save/Restore Sound Card State...
[ OK ] Started OrangePi Audio Service.
Starting dnsmasq - A lightweight DHCP and caching DNS server...
[ OK ] Started D-Bus System Message Bus.
Starting Network Manager...
Starting Login Service...
Starting System Logging Service...
[ OK ] Started Message of the Day.
[ OK ] Reached target Timers.
Starting LSB: Load kernel modules needed to enable cpufreq scaling...
[ OK ] Started Permit User Sessions.
[ OK ] Started Generate SSH keys if not there.
[ OK ] Started Save/Restore Sound Card State.
[ OK ] Started System Logging Service.
[ OK ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
[ OK ] Started Raise network interfaces.
Starting Set console scheme...
[ OK ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[ OK ] Started Set console scheme.
[ OK ] Started Login Service.
Starting LSB: set CPUFreq kernel parameters...
[ OK ] Started LSB: set CPUFreq kernel parameters.
[ OK ] Started dnsmasq - A lightweight DHCP and caching DNS server.
[ OK ] Reached target Host and Network Name Lookups.
[ OK ] Started Network Manager.
Starting Network Manager Wait Online...
Starting Tailscale node agent...
[ OK ] Reached target Network.
Starting OpenBSD Secure Shell server...
Starting Network Manager Script Dispatcher Service...
[ OK ] Started Network Manager Script Dispatcher Service.
[ OK ] Started OpenBSD Secure Shell server.
Starting Hostname Service...
[ OK ] Started Hostname Service.
Starting WPA supplicant...
Starting Authenticate and Authorize Users to Run Privileged Tasks...
[ OK ] Started WPA supplicant.
[ OK ] Started Authenticate and Authorize Users to Run Privileged Tasks.
[ OK ] Started Network Manager Wait Online.
[ OK ] Reached target Network is Online.
Starting /etc/rc.local Compatibility...
Starting LSB: Advanced IEEE 802.11 management daemon...
[ OK ] Started /etc/rc.local Compatibility.
[ OK ] Started LSB: Advanced IEEE 802.11 management daemon.
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Reached target Login Prompts.

Ubuntu 16.04.7 LTS orangepir1 ttyS0

orangepir1 login:
Ubuntu 16.04.7 LTS orangepir1 ttyS0

orangepir1 login:
Ubuntu 16.04.7 LTS orangepir1 ttyS0

orangepir1 login:
Ubuntu 16.04.7 LTS orangepir1 ttyS0

orangepir1 login: root


Password:
st login: Sat Apr 6 07:08:03 UTC 2024 on ttyS0
___ ____ _ ____ _
/ _ \ _ __ __ _ _ __ __ _ ___ | _ \(_) | _ \/ |
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | |_) | |
| |_| | | | (_| | | | | (_| | __/ | __/| | | _ <| |
\___/|_| \__,_|_| |_|\__, |\___| |_| |_| |_| \_\_|
|___/

Welcome to Ubuntu Xenial with Linux 5.3.5+

System load: 0.68 0.24 0.09 Up time: 1 min


Memory usage: 8 % of 491MB IP: 192.168.0.101 192.168.0.100
CPU temp: 38°C
Usage of /: 17% of 7.6G

* Documentation: http://www.orangepi.org/

root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~# vim /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="c0:74:2b:ff:96:cc
4", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~# ifconfig
enxc0742bffa0aa Link encap:Ethernet HWaddr c0:74:2b:ff:a0:aa
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

eth0 Link encap:Ethernet HWaddr 02:81:1b:79:3a:35


inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::81:1bff:fe79:3a35/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:223 errors:0 dropped:0 overruns:0 frame:0
TX packets:205 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22550 (22.5 KB) TX bytes:25486 (25.4 KB)
Interrupt:37

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:10 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:1004 (1.0 KB) TX bytes:1004 (1.0 KB)

tailscale0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-


00
inet6 addr: fe80::4136:37b1:5c47:2ab7/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1280 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:288 (288.0 B)

wlan0 Link encap:Ethernet HWaddr 30:7b:c9:33:31:6d


UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@orangepir1:~# Stopping Session 2 of user root.


Stopping Authenticate and Authorize Users to Run Privileged Tasks...
[ OK ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
Stopping Save/Restore Sound Card State...
Stopping User Manager for UID 0...
Stopping Session 3 of user root.
[ OK ] Stopped target Timers.
[ OK ] Stopped Daily apt upgrade [ OK ] Stopped OrangePi Audio Service.
Stopping OpenBSD Secure Shell server...
Stopping Tailscale node agent...
Stopping System Logging Service...
Stopping LSB: Set the CPU Frequency Scaling governor to "ondemand"...
Stopping LSB: set CPUFreq kernel parameters...
Stopping LSB: Advanced IEEE 802.11 management daemon...
[ OK ] Stopped target Host and Network Name Lookups.
Stopping dnsmasq - A lightweight DHCP and caching DNS server...
[ OK ] Stopped Message of the Day.
[ OK ] Stopped target System Time Synchronized.
[ OK ] Stopped target Login Prompts.
Stopping Getty on tty1...
Stopping Serial Getty on ttyS0...
[ OK ] Stopped target Sound Card.
[ OK ] Stopped System Logging Service.
[ OK ] Stopped OpenBSD Secure Shell server.
[ OK ] Stopped Authenticate and Authorize Users to Run Privileged Tasks.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped Serial Getty on ttyS0.
[ OK ] Stopped User Manager for UID 0.
[ OK ] Stopped Session 2 of user root.
[ OK ] Stopped Save/Restore Sound Card State.
[ OK ] Stopped Session 1 of user root.
[ OK ] Stopped Session 3 of user root.
[ OK ] Stopped LSB: Advanced IEEE 802.11 management daemon.
[ OK ] Stopped LSB: Set the CPU Frequency Scaling governor to "ondemand".
[ OK ] Stopped LSB: set CPUFreq kernel parameters.
Stopping LSB: Load kernel modules needed to enable cpufreq scaling...
[ OK ] Removed slice User Slice of root.
Stopping Login Service...
[ OK ] Removed slice system-serial\x2dgetty.slice.
[ OK ] Stopped /etc/rc.local Compatibility.
[ OK ] Stopped target Network is Online.
[ OK ] Stopped Network Manager Wait Online.
Stopping Permit User Sessions...
[ OK ] Removed slice system-getty.slice.
[ OK ] Stopped Generate SSH keys if not there.
[ OK ] Stopped Login Service.
[ OK ] Stopped Permit User Sessions.
[ OK ] Stopped dnsmasq - A lightweight DHCP and caching DNS server.
[ OK ] Stopped LSB: Load kernel modules needed to enable cpufreq scaling.
[ OK ] Stopped target Remote File Systems.
[ OK ] Stopped target Remote File Systems (Pre).
[ OK ] Stopped Tailscale node agent.
Stopping Network Name Resolution...
[ OK ] Stopped Network Name Resolution.
[ OK ] Stopped target Network.
Stopping Network Manager...
Stopping Raise network interfaces...
Stopping WPA supplicant...
[ OK ] Stopped WPA supplicant.
[ OK ] Stopped Network Manager.
Stopping D-Bus System Message Bus...
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped target Basic System.
[ OK ]Stopped target Paths.
[ OK ]Stopped Forward Password Requests to Wall Directory Watch.
[ OK ]Stopped Dispatch Password Requests to Console Directory Watch.
[ OK ]Stopped target Sockets.
[ OK ]Closed Syslog Socket.
[ OK ]Stopped target Slices.
[ OK ]Removed slice User and Session Slice.
[ OK ]Closed D-Bus System Message Bus Socket.
[ OK ]Stopped target System Initialization.
[ OK ]Stopped target Swap.
Stopping Network Time Synchronization...
Stopping Load/Save Random Seed...
[ OK ] Stopped target Encrypted Volumes.
[ OK ] Stopped Network Time Synchronization.
[ OK ] Stopped Load/Save Random Seed.
[ OK ] Stopped Create Volatile Files and Directories.
[ OK ] Stopped Raise network interfaces.
[ OK ] Stopped target Network (Pre).
[ OK ] Stopped target Local File Systems.
Unmounting /boot...
Unmounting /run/user/0...
[ OK ] Stopped Apply Kernel Variables.
[ OK ] Stopped Load Kernel Modules.
[ OK ] Unmounted /boot.
[ OK ] Unmounted /run/user/0.
[ OK ] Reached target Unmount All Filesystems.
[ OK ] Stopped File System Check on /dev/disk/by-label/BOOT.
[ OK ] Stopped target Local File Systems (Pre).
[ OK ] Stopped Create Static Device Nodes in /dev.
[ OK ] Stopped Remount Root and Kernel File Systems.
[ OK ] Removed slice system-systemd\x2dfsck.slice.
[ OK ] Reached target Shutdown.
[ 346.717165] reboot: Restarting system

U-Boot SPL 2019.04-g3255ef3 (Mar 24 2020 - 16:50:44 +0800)


DRAM: 512 MiB
Trying to boot from MMC1

U-Boot 2019.04-g3255ef3 (Mar 24 2020 - 16:50:44 +0800) Allwinner Technology

CPU: Allwinner H3 (SUN8I 1680)


Model: Xunlong Orange Pi R1
DRAM: 512 MiB
MMC: mmc@1c0f000: 0, mmc@1c10000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: phy interface0
eth0: ethernet@1c30000
starting USB...
USB0: USB EHCI 1.00
USB1: USB OHCI 1.0
USB2: USB EHCI 1.00
USB3: USB EHCI 1.00
USB4: USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 1 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 1 USB Device(s) found
scanning bus 3 for devices... 1 USB Device(s) found
scanning bus 4 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 2 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
3700 bytes read in 2 ms (1.8 MiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
86 bytes read in 3 ms (27.3 KiB/s)
5876450 bytes read in 281 ms (19.9 MiB/s)
7745288 bytes read in 369 ms (20 MiB/s)
Found mainline kernel configuration
28986 bytes read in 7 ms (3.9 MiB/s)
## Loading init Ramdisk from Legacy Image at 43300000 ...
Image Name: uInitrd
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 5876386 Bytes = 5.6 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
EHCI failed to shut down host controller.
Loading Ramdisk to 49a65000, end 49fffaa2 ... OK
Loading Device Tree to 499f5000, end 49a64fff ... OK

Starting kernel ...

Loading, please wait...


starting version 229
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.27.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p2] fsck.ext4 -a -C0 /dev/mmcblk0p2
rootfs: clean, 38492/490048 files, 338330/2013184 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Ubuntu 16.04.7 LTS!

[ OK ] Set up automount Arbitrary Executab...ats File System Automount Point.


[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Created slice System Slice.
[ OK ] Created slice system-systemd\x2dfsck.slice.
[ OK ] Listening on Journal Audit Socket.
[ OK ] Reached target Swap.
[ OK ]
Started Forward Password Requests to Wall Directory Watch.
[ OK ]
Reached target Paths.
[ OK ]
Reached target Remote File Systems (Pre).
[ OK ]
Reached target Remote File Systems.
[ OK ]
Created slice User and Session Slice.
[ OK ]
Reached target Slices.
[ OK ]
Listening on fsck to fsckd communication Socket.
[ OK ]
Reached target Encrypted Volumes.
[ OK ]
Listening on Journal Socket.
Starting Create list of required st... nodes for the current kernel...
Starting Remount Root and Kernel File Systems...
Starting Load Kernel Modules...
Starting Set console keymap...
[ OK ] Listening on Syslog Socket.
Mounting POSIX Message Queue File System...
[ OK ] Listening on udev Control Socket.
[ OK ] Created slice system-serial\x2dgetty.slice.
Starting Nameserver information manager...
Starting Journal Service...
Mounting Debug File System...
[ OK ] Mounted Debug File System.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Started Create list of required sta...ce nodes for the current kernel.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Started Load Kernel Modules.
Starting Apply Kernel Variables...
Mounting Configuration File System...
Starting Load/Save Random Seed...
Starting udev Coldplug all Devices...
Starting Create Static Device Nodes in /dev...
[ OK ] Mounted Configuration File System.
[ OK ] Started Set console keymap.
[ OK ] Started Nameserver information manager.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Journal Service.
Starting Flush Journal to Persistent Storage...
[ OK ] Reached target Network (Pre).
[ OK ] Started Create Static Device Nodes in /dev.
Starting udev Kernel Device Manager...
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Found device /dev/ttyS0.
[ 4.841335] sun4i-codec 1c22c00.codec: ASoC: codec-analog@1f015c0 not registered
[ 4.848819] sun4i-codec 1c22c00.codec: Failed to register our card
[ 4.862253] debugfs: Directory '1c22c00.codec' with parent 'H3 Audio Codec'
already present!
[ OK ] Found device /dev/disk/by-label/BOOT.
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
Starting File System Check on /dev/disk/by-label/BOOT...
[ OK ] Started File System Check Daemon to report status.
[ OK ] Found device /sys/subsystem/net/devices/eth0.
[ OK ] Started File System Check on /dev/disk/by-label/BOOT.
Mounting /boot...
[ OK ] Mounted /boot.
[ OK ] Reached target Local File Systems.
[ OK ] Started ifup for eth0.
Starting Set console font and keymap...
Starting Create Volatile Files and Directories...
Starting Raise network interfaces...
[ OK ] Started Create Volatile Files and Directories.
[ OK ] Started Set console font and keymap.
[ OK ] Reached target Sound Card.
Starting Load/Save RF Kill Switch Status...
[ OK ] Created slice system-getty.slice.
[ OK ] Started ifup for eth1.
Starting Update UTMP about System Boot/Shutdown...
Starting Network Time Synchronization...
[ OK ] Started Load/Save RF Kill Switch Status.
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Synchronized.
[ OK ] Reached target System Initialization.
[ OK ] Started Message of the Day.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting Permit User Sessions...
Starting System Logging Service...
Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
Starting dnsmasq - A lightweight DHCP and caching DNS server...
Starting LSB: Load kernel modules needed to enabing...
[ OK ] Started D-Bus System Message Bus.
Starting Network Manager...
[ OK ] Started OrangePi Audio Service.
[ OK ] Started Daily apt download activities.
[ OK ] Started Daily apt upgrade and clean activities.
Starting Login Service...
Starting Generate SSH keys if not there...
Starting Save/Restore Sound Card State...
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
[ OK ] Started System Logging Service.
[ OK ] Started Permit User Sessions.
[ OK ] Started Save/Restore Sound Card State.
[ OK ] Started Generate SSH keys if not there.
[ OK ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
Starting Set console scheme...
[ OK ] Started Set console scheme.
[ OK ] Started Login Service.
[ OK ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[ OK ] Started Raise network interfaces.
Starting LSB: set CPUFreq kernel parameters...
[ OK ] Started LSB: set CPUFreq kernel parameters.
[ OK ] Started dnsmasq - A lightweight DHCP and caching DNS server.
[ OK ] Reached target Host and Network Name Lookups.
[ OK ] Started Network Manager.
Starting Network Manager Wait Online...
Starting Tailscale node agent...
[ OK ] Reached target Network.
Starting OpenBSD Secure Shell server...
Starting Network Manager Script Dispatcher Service...
[ OK ] Started Network Manager Script Dispatcher Service.
[ OK ] Started OpenBSD Secure Shell server.
Starting Hostname Service...
[ OK ] Started Hostname Service.
Starting Authenticate and Authorize Users to Run Privileged Tasks...
Starting WPA supplicant...
[ OK ] Started Authenticate and Authorize Users to Run Privileged Tasks.
[ OK ] Started WPA supplicant.
[ OK ] Started Network Manager Wait Online.
[ OK ] Reached target Network is Online.
Starting /etc/rc.local Compatibility...
Starting LSB: Advanced IEEE 802.11 management daemon...
[ OK ] Started /etc/rc.local Compatibility.
[ OK ] Started LSB: Advanced IEEE 802.11 management daemon.
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Reached target Login Prompts.

Ubuntu 16.04.7 LTS orangepir1 ttyS0

orangepir1 login: ifconfig


Password:

Login incorrect
orangepir1 login: root^H^H^H^H^H^H^C[ OK ] Stopped Serial Getty on ttyS0.
[ OK ] Started Serial Getty on ttyS0.

Ubuntu 16.04.7 LTS orangepir1 ttyS0

orangepir1 login:
Ubuntu 16.04.7 LTS orangepir1 ttyS0

orangepir1 login:
Ubuntu 16.04.7 LTS orangepir1 ttyS0

orangepir1 login:
Ubuntu 16.04.7 LTS orangepir1 ttyS0

orangepir1 login:
Ubuntu 16.04.7 LTS orangepir1 ttyS0

orangepir1 login: root


Password:
Last login: Sat Apr 6 07:11:00 UTC 2024 from 192.168.0.15 on pts/0
___ ____ _ ____ _
/ _ \ _ __ __ _ _ __ __ _ ___ | _ \(_) | _ \/ |
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | |_) | |
| |_| | | | (_| | | | | (_| | __/ | __/| | | _ <| |
\___/|_| \__,_|_| |_|\__, |\___| |_| |_| |_| \_\_|
|___/

Welcome to Ubuntu Xenial with Linux 5.3.5+

System load: 1.03 0.31 0.11 Up time: 0 min


Memory usage: 6 % of 491MB IP: 192.168.0.100 192.168.0.101
CPU temp: 47°C
Usage of /: 17% of 7.6G

* Documentation: http://www.orangepi.org/
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~# ping 192.168.0.15
PING 192.168.0.15 (192.168.0.15) 56(84) bytes of data.
From 192.168.0.100 icmp_seq=19 Destination Host Unreachable
From 192.168.0.100 icmp_seq=20 Destination Host Unreachable
From 192.168.0.100 icmp_seq=21 Destination Host Unreachable
From 192.168.0.100 icmp_seq=22 Destination Host Unreachable
From 192.168.0.100 icmp_seq=23 Destination Host Unreachable
^C
--- 192.168.0.15 ping statistics ---
25 packets transmitted, 0 received, +5 errors, 100% packet loss, time 24566ms
pipe 4
root@orangepir1:~# ^C
root@orangepir1:~# ^C
root@orangepir1:~# ping 192.168.0.15
PING 192.168.0.15 (192.168.0.15) 56(84) bytes of data.
From 192.168.0.100 icmp_seq=1 Destination Host Unreachable
From 192.168.0.100 icmp_seq=2 Destination Host Unreachable
From 192.168.0.100 icmp_seq=3 Destination Host Unreachable
From 192.168.0.100 icmp_seq=4 Destination Host Unreachable
From 192.168.0.100 icmp_seq=5 Destination Host Unreachable
From 192.168.0.100 icmp_seq=9 Destination Host Unreachable
^C
--- 192.168.0.15 ping statistics ---
13 packets transmitted, 0 received, +6 errors, 100% packet loss, time 12303ms
pipe 4
^Xroot@orangepir1:~# ^C
root@orangepir1:~# ^C
root@orangepir1:~# ls
h_gateway i2c.c minicom.log wiringOP
i2c midware.tar.gz modbus_tcp workspace
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~# cd workspace/
iot_master/ lib/ lib.tar.gz
root@orangepir1:~# cd workspace/iot_master/
root@orangepir1:~/workspace/iot_master# ls

midware.tar.gz run_app.sh zb_master


root@orangepir1:~/workspace/iot_master#
root@orangepir1:~/workspace/iot_master#
root@orangepir1:~/workspace/iot_master#
root@orangepir1:~/workspace/iot_master#
root@orangepir1:~/workspace/iot_master# ./run_app.sh ^C
root@orangepir1:~/workspace/iot_master#
root@orangepir1:~/workspace/iot_master#
root@orangepir1:~/workspace/iot_master#
root@orangepir1:~/workspace/iot_master#
root@orangepir1:~/workspace/iot_master#
root@orangepir1:~/workspace/iot_master# vim /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
# INTERFACE SETTINGS lo
auto lo
iface lo inet loopback

# INTERFACE SETTINGS eth0


auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.102
netmask 255.255.255.0

# INTERFACE SETTINGS eth1


auto eth1
allow-hotplug eth1
iface eth1 inet static
address 192.168.0.101
netmask 255.255.255.0

# INTERFACE SETTINGS eth1


"/etc/network/interfaces" 24L, 492C written
root@orangepir1:~/workspace/iot_master#
root@orangepir1:~/workspace/iot_master#
root@orangepir1:~/workspace/iot_master# sudo reboot
[ OK ] Stopped target Sound Card.
Stopping Save/Restore Sound Card State...
[ OK ] Stopped target Timers.
[ OK ] Stopped target Graphical Interface.
[ OK ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ OK ] Stopped Daily apt upgrade and clean activities.
[ OK ] Stopped Daily apt download activities.
[ OK ] Stopped target Multi-User System.
Stopping LSB: Set the CPU Frequency Scaling governor to "ondemand"...
Stopping LSB: set CPUFr Stopping Session 1 of user root.
Stopping User Manager for UID 0...
Stopping Tailscale node agent...
Stopping Serial Getty on ttyS0...
Stopping LSB: Advanced IEEE 802.11 management daemon...
[ OK ] Stopped System Logging Service.
[ OK ] Stopped OpenBSD Secure Shell server.
[ OK ] Stopped Authenticate and Authorize Users to Run Privileged Tasks.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped Serial Getty on ttyS0.
[ OK ] Stopped User Manager for UID 0.
[ OK ] Stopped Save/Restore Sound Card State.
[ OK ] Stopped Session 1 of user root.
[ OK ] Stopped LSB: Advanced IEEE 802.11 management daemon.
[ OK ] Stopped LSB: Set the CPU Frequency Scaling governor to "ondemand".
[ OK ] Stopped LSB: set CPUFreq kernel parameters.
Stopping LSB: Load kernel modules needed to enable cpufreq scaling...
[ OK ] Removed slice User Slice of root.
Stopping Login Service...
[ OK ] Removed slice system-serial\x2dgetty.slice.
[ OK ] Stopped /etc/rc.local Compatibility.
[ OK ] Stopped target Network is Online.
[ OK ] Stopped Network Manager Wait Online.
[ OK ] Removed slice system-getty.slice.
Stopping Permit User Sessions...
[ OK ] Stopped Generate SSH keys if not there.
[ OK ]Stopped Login Service.
[ OK ]Stopped Permit User Sessions.
[ OK ]Stopped dnsmasq - A lightweight DHCP and caching DNS server.
[ OK ]Stopped LSB: Load kernel modules needed to enable cpufreq scaling.
[ OK ]Stopped target Remote File Systems.
[ OK ]Stopped target Remote File Systems (Pre).
[ OK ]Stopped Tailscale node agent.
Stopping Network Name Resolution...
[ OK ] Stopped Network Name Resolution.
[ OK ] Stopped target Network.
Stopping WPA supplicant...
Stopping Network Manager...
Stopping Raise network interfaces...
[ OK ] Stopped WPA supplicant.
[ OK ] Stopped Network Manager.
Stopping D-Bus System Message Bus...
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped target Basic System.
[ OK ] Stopped target Slices.
[ OK ] Removed slice User and Session Slice.
[ OK ] Stopped target Paths.
[ OK ] Stopped Forward Password Requests to Wall Directory Watch.
[ OK ] Stopped Dispatch Password Requests to Console Directory Watch.
[ OK ] Stopped target Sockets.
[ OK ] Closed Syslog Socket.
[ OK ] Closed D-Bus System Message Bus Socket.
[ OK ] Stopped target System Initialization.
[ OK ] Stopped target Encrypted Volumes.
Stopping Network Time Synchronization...
Stopping Update UTMP about System Boot/Shutdown...
Stopping Load/Save Random Seed...
[ OK ] Stopped target Swap.
[ OK ] Stopped Network Time Synchronization.
[ OK ] Stopped Load/Save Random Seed.
[ OK ] Stopped Update UTMP about System Boot/Shutdown.
[ OK ] Stopped Create Volatile Files and Directories.
[ OK ] Stopped Raise network interfaces.
[ OK ] Stopped Apply Kernel Variables.
[ OK ] Stopped target Local File Systems.
Unmounting /run/user/0...
Unmounting /boot...
[ OK ] Stopped target Network (Pre).
[ OK ] Stopped Load Kernel Modules.
[ OK ] Unmounted /run/user/0.
[ OK ] Unmounted /boot.
[ OK ] Stopped File System Check on /dev/disk/by-label/BOOT.
[ OK ] Removed slice system-systemd\x2dfsck.slice.
[ OK ] Reached target Unmount All Filesystems.
[ OK ] Stopped target Local File Systems (Pre).
[ OK ] Stopped Create Static Device Nodes in /dev.
[ OK ] Stopped Remount Root and Kernel File Systems.
[ OK ] Reached target Shutdown.
[ 197.253294] reboot: Restarting system

U-Boot SPL 2019.04-g3255ef3 (Mar 24 2020 - 16:50:44 +0800)


DRAM: 512 MiB
Trying to boot from MMC1
U-Boot 2019.04-g3255ef3 (Mar 24 2020 - 16:50:44 +0800) Allwinner Technology

CPU: Allwinner H3 (SUN8I 1680)


Model: Xunlong Orange Pi R1
DRAM: 512 MiB
MMC: mmc@1c0f000: 0, mmc@1c10000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: phy interface0
eth0: ethernet@1c30000
starting USB...
USB0: USB EHCI 1.00
USB1: USB OHCI 1.0
USB2: USB EHCI 1.00
USB3: USB EHCI 1.00
USB4: USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 1 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 1 USB Device(s) found
scanning bus 3 for devices... 1 USB Device(s) found
scanning bus 4 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 2 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
3700 bytes read in 2 ms (1.8 MiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
86 bytes read in 3 ms (27.3 KiB/s)
5876450 bytes read in 280 ms (20 MiB/s)
7745288 bytes read in 369 ms (20 MiB/s)
Found mainline kernel configuration
28986 bytes read in 6 ms (4.6 MiB/s)
## Loading init Ramdisk from Legacy Image at 43300000 ...
Image Name: uInitrd
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 5876386 Bytes = 5.6 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
EHCI failed to shut down host controller.
Loading Ramdisk to 49a65000, end 49fffaa2 ... OK
Loading Device Tree to 499f5000, end 49a64fff ... OK

Starting kernel ...

Loading, please wait...


starting version 229
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.27.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p2] fsck.ext4 -a -C0 /dev/mmcblk0p2
rootfs: clean, 38492/490048 files, 338373/2013184 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Ubuntu 16.04.7 LTS!

[ OK ] Reached target Encrypted Volumes.


[ OK ] Listening on Journal Audit Socket.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Reached target Paths.
[ OK ] Reached target Swap.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Reached target Remote File Systems (Pre).
[ OK ] Created slice System Slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ OK ] Reached target Remote File Systems.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Created slice User and Session Slice.
[ OK ] Created slice system-systemd\x2dfsck.slice.
[ OK ] Listening on fsck to fsckd communication Socket.
[ OK ] Set up automount Arbitrary Executab...ats File System Automount Point.
[ OK ] Reached target Slices.
[ OK ] Listening on Journal Socket.
Mounting POSIX Message Queue File System...
Mounting Debug File System...
Starting Remount Root and Kernel File Systems...
Starting Nameserver information manager...
Starting Set console keymap...
[ OK ] Listening on Syslog Socket.
[ OK ] Listening on udev Control Socket.
Starting Create list of required st... nodes for the current kernel...
[ OK ] Listening on Journal Socket (/dev/log).
Starting Journal Service...
Starting Load Kernel Modules...
[ OK ] Mounted Debug File System.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Started Create list of required sta...ce nodes for the current kernel.
[ OK ] Started Load Kernel Modules.
[ OK ] Started Nameserver information manager.
[ OK ] Reached target Network (Pre).
Starting Apply Kernel Variables...
Mounting Configuration File System...
Starting Create Static Device Nodes in /dev...
Starting Load/Save Random Seed...
Starting udev Coldplug all Devices...
[ OK ] Mounted Configuration File System.
[ OK ] Started Set console keymap.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Journal Service.
Starting Flush Journal to Persistent Storage...
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Started Flush Journal to Persistent Storage.
Starting udev Kernel Device Manager...
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Found device /dev/ttyS0.
[ 4.850588] sun4i-codec 1c22c00.codec: ASoC: codec-analog@1f015c0 not registered
[ 4.858063] sun4i-codec 1c22c00.codec: Failed to register our card
[ 4.870762] sun4i-codec 1c22c00.codec: ASoC: codec-analog@1f015c0 not registered
[ 4.878234] sun4i-codec 1c22c00.codec: Failed to register our card
[ OK ] Found device /dev/disk/by-label/BOOT.
Starting File System Check on /dev/disk/by-label/BOOT...
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ OK ] Started File System Check Daemon to report status.
[ OK ] Found device /sys/subsystem/net/devices/eth0.
[ OK ] Started File System Check on /dev/disk/by-label/BOOT.
[ 5.170547] debugfs: Directory '1c22c00.codec' with parent 'H3 Audio Codec'
already present!
Mounting /boot...
[ OK ] Mounted /boot.
[ OK ] Reached target Local File Systems.
Starting Set console font and keymap...
Starting Create Volatile Files and Directories...
Starting Raise network interfaces...
[ OK ] Started ifup for eth0.
[ OK ] Started Create Volatile Files and Directories.
[ OK ] Started Set console font and keymap.
[ OK ] Reached target Sound Card.
Starting Load/Save RF Kill Switch Status...
[ OK ] Started ifup for eth1.
[ OK ] Created slice system-getty.slice.
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Load/Save RF Kill Switch Status.
[ OK ] Started Network Time Synchronization.
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting System Logging Service...
Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
Starting Generate SSH keys if not there...
Starting Permit User Sessions...
Starting LSB: Load kernel modules needed to enable cpufreq scaling...
Starting Login Service...
[ OK ] Started OrangePi Audio Service.
[ OK ] Started D-Bus System Message Bus.
Starting Network Manager...
Starting dnsmasq - A lightweight DHCP and caching DNS server...
Starting Save/Restore Sound Card State...
[ OK ] Reached target System Time Synchronized.
[ OK ] Started Daily apt download activities.
[ OK ] Started Message of the Day.
[ OK ] Started Daily apt upgrade and clean activities.
[ OK ] Reached target Timers.
[ OK ] Started System Logging Service.
[ OK ] Started Generate SSH keys if not there.
[ OK ] Started Permit User Sessions.
[ OK ] Started Save/Restore Sound Card State.
[ OK ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
Starting Set console scheme...
[ OK ] Started Raise network interfaces.
[ OK ] Started Set console scheme.
[ OK ] Started Login Service.
[ OK ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
Starting LSB: set CPUFreq kernel parameters...
[ OK ] Started LSB: set CPUFreq kernel parameters.
[ OK ] Started Network Manager.
[ OK ] Started dnsmasq - A lightweight DHCP and caching DNS server.
[ OK ] Reached target Host and Network Name Lookups.
[ OK ] Reached target Network.
Starting OpenBSD Secure Shell server...
Starting Network Manager Wait Online...
Starting Tailscale node agent...
Starting Network Manager Script Dispatcher Service...
[ OK ] Started Network Manager Script Dispatcher Service.
[ OK ] Started OpenBSD Secure Shell server.
Starting Hostname Service...
[ OK ] Started Hostname Service.
Starting Authenticate and Authorize Users to Run Privileged Tasks...
Starting WPA supplicant...
[ OK ] Started Authenticate and Authorize Users to Run Privileged Tasks.
[ OK ] Started WPA supplicant.
[ OK ] Started Network Manager Wait Online.
[ OK ] Reached target Network is Online.
Starting /etc/rc.local Compatibility...
Starting LSB: Advanced IEEE 802.11 management daemon...
[ OK ] Started /etc/rc.local Compatibility.
[ OK ] Started LSB: Advanced IEEE 802.11 management daemon.
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Started Getty on tty1.
[ OK ] Reached target Login Prompts.

Ubuntu 16.04.7 LTS orangepir1 ttyS0

rootgepir1 login:
Password:
Last login: Sat Apr 6 07:08:18 UTC 2024 on ttyS0
___ ____ _ ____ _
/ _ \ _ __ __ _ _ __ __ _ ___ | _ \(_) | _ \/ |
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | |_) | |
| |_| | | | (_| | | | | (_| | __/ | __/| | | _ <| |
\___/|_| \__,_|_| |_|\__, |\___| |_| |_| |_| \_\_|
|___/

Welcome to Ubuntu Xenial with Linux 5.3.5+

System load: 0.77 0.21 0.07 Up time: 0 min


Memory usage: 6 % of 491MB IP: 192.168.0.102 192.168.0.101
CPU temp: 39°C
Usage of /: 17% of 7.6G

* Documentation: http://www.orangepi.org/
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~# vim /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

# INTERFACE SETTINGS lo
auto lo
iface lo inet loopback

# INTERFACE SETTINGS eth0


auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.102
netmask 255.255.255.0

# INTERFACE SETTINGS eth1


auto eth1
allow-hotplug eth1
iface eth1 inet static
address 192.168.0.103
netmask 255.255.255.0

# INTERFACE SETTINGS eth1


"/etc/network/interfaces" 24L, 492C written
root@orangepir1:~#
root@orangepir1:~#
root@orangepir1:~# sudo reboot
[ OK ] Stopped target Timers.
[ OK ] Stopped Daily apt upgrade and clean activities.
[ OK ] Stopped Daily apt download activities.
Stopping Authenticate and Authorize Users to Run Privileged Tasks...
[ OK ] Stopped target Host and Network Name Lookups.
[ OK ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ OK ] Stopped Messag Stopping User Manager for UID 0...
Stopping System Logging Service...
Stopping LSB: Set the CPU Frequency Scaling governor to "ondemand"...
Stopping LSB: Advanced IEEE 802.11 management daemon...
Stopping Save/Restore Sound Card State...
[ OK ] Stopped target Sound Card.
[ OK ] Stopped OrangePi Audio Service.
[ OK ] Stopped target Login Prompts.
Stopping Serial Getty on ttyS0...
Stopping Getty on tty1...
[ OK ] Stopped System Logging Service.
[ OK ] Stopped OpenBSD Secure Shell server.
[ OK ] Stopped Authenticate and Authorize Users to Run Privileged Tasks.
[ OK ] Stopped Serial Getty on ttyS0.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped User Manager for UID 0.
[ OK ] Stopped Session 1 of user root.
[ OK ] Stopped LSB: Advanced IEEE 802.11 management daemon.
[ OK ] Stopped Save/Restore Sound Card State.
[ OK ] Stopped LSB: Set the CPU Frequency Scaling governor to "ondemand".
[ OK ] Stopped LSB: set CPUFreq kernel parameters.
Stopping LSB: Load kernel modules needed to enable cpufreq scaling...
[ OK ] Removed slice User Slice of root.
Stopping Login Service...
[ OK ] Removed slice system-getty.slice.
Stopping Permit User Sessions...
[ OK ] Stopped /etc/rc.local Compatibility.
[ OK ] Stopped target Network is Online.
[ OK ] Stopped Network Manager Wait Online.
[ OK ] Removed slice system-serial\x2dgetty.slice.
[ OK ] Stopped target Network.
Stopping Raise network interfaces...
Stopping WPA supplicant...
[ OK ] Stopped Generate SSH keys if not there.
[ OK ] Stopped Login Service.
[ OK ] Stopped Permit User Sessions.
[ OK ] Stopped dnsmasq - A lightweight DHCP and caching DNS server.
[ OK ] Stopped WPA supplicant.
[ OK ] Stopped LSB: Load kernel modules needed to enable cpufreq scaling.
[ OK ] Stopped target Remote File Systems.
[ OK ] Stopped target Remote File Systems (Pre).
[ OK ] Stopped Raise network interfaces.
[ OK ] Stopped Tailscale node agent.
Stopping Network Manager...
[ OK ] Stopped Network Manager.
Stopping D-Bus System Message Bus...
[ OK ] Stopped target Network (Pre).
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped target Basic System.
[ OK ] Stopped target Paths.
[ OK ] Stopped Dispatch Password Requests to Console Directory Watch.
[ OK ] Stopped Forward Password Requests to Wall Directory Watch.
[ OK ] Stopped target Sockets.
[ OK ] Closed Syslog Socket.
[ OK ] Stopped target Slices.
[ OK ] Removed slice User and Session Slice.
[ OK ] Closed D-Bus System Message Bus Socket.
[ OK ] Stopped target System Initialization.
Stopping Load/Save Random Seed...
Stopping Update UTMP about System Boot/Shutdown...
[ OK ] Stopped target Swap.
[ OK ] Stopped Apply Kernel Variables.
[ OK ] Stopped target Encrypted Volumes.
Stopping Network Time Synchronization...
[ OK ] Stopped Load Kernel Modules.
[ OK ] Stopped Network Time Synchronization.
[ OK ] Stopped Load/Save Random Seed.
[ OK ] Stopped Update UTMP about System Boot/Shutdown.
[ OK ] Stopped Create Volatile Files and Directories.
[ OK ] Stopped target Local File Systems.
Unmounting /boot...
Unmounting /run/user/0...
[ OK ] Unmounted /boot.
[ OK ] Unmounted /run/user/0.
[ OK ] Reached target Unmount All Filesystems.
[ OK ] Stopped File System Check on /dev/disk/by-label/BOOT.
[ OK ] Stopped target Local File Systems (Pre).
[ OK ] Stopped Create Static Device Nodes in /dev.
[ OK ] Stopped Remount Root and Kernel File Systems.
[ OK ] Removed slice system-systemd\x2dfsck.slice.
[ OK ] Reached target Shutdown.
[ OK ] Reached target Final Step.
Starting Reboot...
[ 148.593183] reboot: Restarting system

U-Boot SPL 2019.04-g3255ef3 (Mar 24 2020 - 16:50:44 +0800)


DRAM: 512 MiB
Trying to boot from MMC1

U-Boot 2019.04-g3255ef3 (Mar 24 2020 - 16:50:44 +0800) Allwinner Technology

CPU: Allwinner H3 (SUN8I 1680)


Model: Xunlong Orange Pi R1
DRAM: 512 MiB
MMC: mmc@1c0f000: 0, mmc@1c10000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: phy interface0
eth0: ethernet@1c30000
starting USB...
USB0: USB EHCI 1.00
USB1: USB OHCI 1.0
USB2: USB EHCI 1.00
USB3: USB EHCI 1.00
USB4: USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 1 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 1 USB Device(s) found
scanning bus 3 for devices... 1 USB Device(s) found
scanning bus 4 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 2 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
3700 bytes read in 2 ms (1.8 MiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
86 bytes read in 3 ms (27.3 KiB/s)
5876450 bytes read in 280 ms (20 MiB/s)
7745288 bytes read in 369 ms (20 MiB/s)
Found mainline kernel configuration
28986 bytes read in 6 ms (4.6 MiB/s)
## Loading init Ramdisk from Legacy Image at 43300000 ...
Image Name: uInitrd
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 5876386 Bytes = 5.6 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
EHCI failed to shut down host controller.
Loading Ramdisk to 49a65000, end 49fffaa2 ... OK
Loading Device Tree to 499f5000, end 49a64fff ... OK

Starting kernel ...

Loading, please wait...


starting version 229
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.27.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p2] fsck.ext4 -a -C0 /dev/mmcblk0p2
rootfs: clean, 38492/490048 files, 338402/2013184 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Ubuntu 16.04.7 LTS!

[ OK ] Set up automount Arbitrary Executab...ats File System Automount Point.


[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket.
[ OK ] Listening on Syslog Socket.
[ OK ] Reached target Remote File Systems (Pre).
[ OK ] Listening on Journal Audit Socket.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Reached target Swap.
[ OK ] Listening on udev Control Socket.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ OK ] Created slice System Slice.
Starting Create list of required st... nodes for the current kernel...
Mounting Debug File System...
Starting Set console keymap...
Mounting POSIX Message Queue File System...
Starting Nameserver information manager...
[ OK ] Listening on udev Kernel Socket.
Starting Journal Service...
[ OK ] Reached target Remote File Systems.
Starting Load Kernel Modules...
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Reached target Paths.
[ OK ] Created slice system-systemd\x2dfsck.slice.
[ OK ] Created slice User and Session Slice.
[ OK ] Listening on fsck to fsckd communication Socket.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ OK ] Reached target Slices.
Starting Remount Root and Kernel File Systems...
[ OK ] Reached target Encrypted Volumes.
[ OK ] Mounted Debug File System.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Started Create list of required sta...ce nodes for the current kernel.
[ OK ] Started Set console keymap.
[ OK ] Started Load Kernel Modules.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Started Nameserver information manager.
[ OK ] Started Journal Service.
[ OK ] Reached target Network (Pre).
Starting udev Coldplug all Devices...
Starting Flush Journal to Persistent Storage...
Starting Load/Save Random Seed...
Starting Apply Kernel Variables...
Mounting Configuration File System...
Starting Create Static Device Nodes in /dev...
[ OK ] Mounted Configuration File System.
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Reached target Local File Systems (Pre).
Starting udev Kernel Device Manager...
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Found device /dev/ttyS0.
[ 4.855308] sun4i-codec 1c22c00.codec: ASoC: codec-analog@1f015c0 not registered
[ 4.862802] sun4i-codec 1c22c00.codec: Failed to register our card
[ 4.888239] debugfs: Directory '1c22c00.codec' with parent 'H3 Audio Codec'
already present!
[ OK ] Found device /dev/disk/by-label/BOOT.
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
Starting File System Check on /dev/disk/by-label/BOOT...
[ OK ] Started File System Check Daemon to report status.
[ OK ] Found device /sys/subsystem/net/devices/eth0.
[ OK ] Started File System Check on /dev/disk/by-label/BOOT.
Mounting /boot...
[ OK ] Mounted /boot.
[ OK ] Reached target Local File Systems.
Starting Raise network interfaces...
Starting Create Volatile Files and Directories...
[ OK ] Started ifup for eth0.
Starting Set console font and keymap...
[ OK ] Started Create Volatile Files and Directories.
[ OK ] Started Set console font and keymap.
[ OK ] Reached target Sound Card.
Starting Load/Save RF Kill Switch Status...
[ OK ] Started ifup for eth1.
[ OK ] Created slice system-getty.slice.
Starting Update UTMP about System Boot/Shutdown...
Starting Network Time Synchronization...
[ OK ] Started Load/Save RF Kill Switch Status.
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Synchronized.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily apt download activities.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Started Daily apt upgrade and clean activities.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
[ OK ] Started OrangePi Audio Service.
Starting LSB: Load kernel modules needed to enable cpufreq scaling...
Starting Generate SSH keys if not there...
[ OK ] Started D-Bus System Message Bus.
Starting Permit User Sessions...
Starting Network Manager...
[ OK ] Started Message of the Day.
[ OK ] Reached target Timers.
Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
Starting dnsmasq - A lightweight DHCP and caching DNS server...
Starting Save/Restore Sound Card State...
Starting System Logging Service...
Starting Login Service...
[ OK ] Started Generate SSH keys if not there.
[ OK ] Started Permit User Sessions.
[ OK ] Started Save/Restore Sound Card State.
[ OK ] Started System Logging Service.
[ OK ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
[ OK ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[ OK ] Started Raise network interfaces.
Starting LSB: set CPUFreq kernel parameters...
Starting Set console scheme...
[ OK ] Started Set console scheme.
[ OK ] Started Login Service.
[ OK ] Started LSB: set CPUFreq kernel parameters.
[ OK ] Started Network Manager.
Starting Tailscale node agent...
Starting Network Manager Wait Online...
[ OK ] Reached target Network.
Starting OpenBSD Secure Shell server...
[ OK ] Started dnsmasq - A lightweight DHCP and caching DNS server.
Starting Network Manager Script Dispatcher Service...
[ OK ] Reached target Host and Network Name Lookups.
[ OK ] Started Network Manager Script Dispatcher Service.
[ OK ] Started OpenBSD Secure Shell server.
Starting Hostname Service...
[ OK ] Started Hostname Service.
Starting Authenticate and Authorize Users to Run Privileged Tasks...
Starting WPA supplicant...
[ OK ] Started Authenticate and Authorize Users to Run Privileged Tasks.
[ OK ] Started WPA supplicant.
[ OK ] Started Network Manager Wait Online.
[ OK ] Reached target Network is Online.
Starting /etc/rc.local Compatibility...
Starting LSB: Advanced IEEE 802.11 management daemon...
[ OK ] Started /etc/rc.local Compatibility.
[ OK ] Started LSB: Advanced IEEE 802.11 management daemon.
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Reached target Login Prompts.

Ubuntu 16.04.7 LTS orangepir1 ttyS0

orangepir1 login:

You might also like