20240409在全志H3平台的Nano Pi NEO CORE开发板上运行Ubuntu Core16.04时跑通4G模块EC200A-CN【PPP模式】

20240409在全志H3平台的Nano Pi NEO CORE开发板上运行Ubuntu Core16.04时跑通4G模块EC200A-CN【PPP模式】
2024/4/9 14:25


【不建议使用ppp模式,功耗大,貌似更过分的!网速还低!】
【唯一的优点:ppp模式下是通过脚本配置的,在某些情况下,比网卡模式调通的速度快!方便你交差!】
移远的FAE:不推荐用PPP 用网卡就可以


一、步骤LOG:
1、拷贝脚本文件
root@NanoPi-NEO-Core:/home/pi# mount /dev/mmcblk1 /mnt
root@NanoPi-NEO-Core:/etc/ppp/peers# mount /dev/mmcblk1 /mnt
root@NanoPi-NEO-Core:/etc/ppp/peers# cd /mnt

root@NanoPi-NEO-Core:/mnt# ll
total 16580
drwxr-xr-x 6 root root    65536 Jan  1  1970 ./
drwxr-xr-x 1 root root     4096 Feb 11 19:39 ../
-rwxr-xr-x 1 root root        0 Mar 27  2024 1234.txt*
-rwxr-xr-x 1 root root    18040 Apr  3  2024 alsa_demo*
drwxr-xr-x 2 root root    65536 Apr  8  2024 linux-ppp-scripts/
-rwxr-xr-x 1 root root 16334908 Apr  3  2024 mplayer*
drwxr-xr-x 2 root root    65536 Mar 28  2024 music/
-rwxr-xr-x 1 root root   183564 Apr  2  2024 quectel-CM*
drwxr-xr-x 2 root root    65536 Mar 27  2024 System Volume Information/
drwxr-xr-x 2 root root    65536 Feb 11 17:17 wyb2/
root@NanoPi-NEO-Core:/mnt# cd linux-ppp-scripts/
root@NanoPi-NEO-Core:/mnt/linux-ppp-scripts# ll
total 576
drwxr-xr-x 2 root root 65536 Apr  8  2024 ./
drwxr-xr-x 6 root root 65536 Jan  1  1970 ../
-rwxr-xr-x 1 root root   272 Dec 12  2018 ip-up*
-rwxr-xr-x 1 root root   317 Dec 12  2018 quectel-chat-connect*
-rwxr-xr-x 1 root root   154 Dec 12  2018 quectel-chat-disconnect*
-rwxr-xr-x 1 root root  1051 Dec 12  2018 quectel-ppp*
-rwxr-xr-x 1 root root  1587 Dec 12  2018 quectel-pppd.sh*
-rwxr-xr-x 1 root root   230 Dec 12  2018 quectel-ppp-kill*
-rwxr-xr-x 1 root root  1527 Dec 12  2018 readme*

root@NanoPi-NEO-Core:/mnt/linux-ppp-scripts# 
root@NanoPi-NEO-Core:/mnt/linux-ppp-scripts# 
root@NanoPi-NEO-Core:/mnt/linux-ppp-scripts# cp * /etc/ppp/peers/
root@NanoPi-NEO-Core:/mnt/linux-ppp-scripts# cd /etc/ppp/peers/

root@NanoPi-NEO-Core:/etc/ppp/peers# ll
total 44
drwxr-s--- 1 root dip 4096 Feb 11 19:42 ./
drwxr-xr-x 1 root dip 4096 Mar 26  2017 ../
-rwxr-xr-x 1 root dip  272 Feb 11 19:42 ip-up*
-rw-r----- 1 root dip 1093 Mar 26  2017 provider
-rwxr-xr-x 1 root dip  317 Feb 11 19:42 quectel-chat-connect*
-rwxr-xr-x 1 root dip  154 Feb 11 19:42 quectel-chat-disconnect*
-rwxr-xr-x 1 root dip 1051 Feb 11 19:42 quectel-ppp*
-rwxr-xr-x 1 root dip 1587 Feb 11 19:42 quectel-pppd.sh*
-rwxr-xr-x 1 root dip  230 Feb 11 19:42 quectel-ppp-kill*
-rwxr-xr-x 1 root dip 1527 Feb 11 19:42 readme*
root@NanoPi-NEO-Core:/etc/ppp/peers# 

2、vi ttyUSB2
【修改/dev/ttyUSB3 115200 为 /dev/ttyUSB2 115200】
root@NanoPi-NEO-Core:/etc/ppp/peers# vi quectel-ppp
root@NanoPi-NEO-Core:/etc/ppp/peers# cat quectel-ppp

# /etc/ppp/peers/quectel-pppd
# Usage:root>pppd call quectel-pppd
#Modem path, like /dev/ttyUSB3,/dev/ttyACM0, depend on your module, default path is /dev/ttyUSB3 115200

【修改为】
/dev/ttyUSB2 115200

3、
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# killall ModemManager
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# pppd call quectel-ppp &
[1] 990
root@NanoPi-NEO-Core:/etc/ppp/peers# pppd options in effect:
debug        # (from /etc/ppp/peers/quectel-ppp)
nodetach        # (from /etc/ppp/peers/quectel-ppp)
dump        # (from /etc/ppp/peers/quectel-ppp)
noauth        # (from /etc/ppp/peers/quectel-ppp)
user test        # (from /etc/ppp/peers/quectel-ppp)
password ??????        # (from /etc/ppp/peers/quectel-ppp)
remotename 3gppp        # (from /etc/ppp/peers/quectel-ppp)
/dev/ttyUSB2        # (from /etc/ppp/peers/quectel-ppp)
115200        # (from /etc/ppp/peers/quectel-ppp)
lock        # (from /etc/ppp/peers/quectel-ppp)
connect chat -s -v -f /etc/ppp/peers/quectel-chat-connect        # (from /etc/ppp/peers/quectel-ppp)
disconnect chat -s -v -f /etc/ppp/peers/quectel-chat-disconnect        # (from /etc/ppp/peers/quectel-ppp)
nocrtscts        # (from /etc/ppp/peers/quectel-ppp)
modem        # (from /etc/ppp/peers/quectel-ppp)
asyncmap 0        # (from /etc/ppp/options)
lcp-echo-failure 4        # (from /etc/ppp/options)
lcp-echo-interval 30        # (from /etc/ppp/options)
hide-password        # (from /etc/ppp/peers/quectel-ppp)
novj        # (from /etc/ppp/peers/quectel-ppp)
novjccomp        # (from /etc/ppp/peers/quectel-ppp)
ipcp-accept-local        # (from /etc/ppp/peers/quectel-ppp)
ipcp-accept-remote        # (from /etc/ppp/peers/quectel-ppp)
ipparam 3gppp        # (from /etc/ppp/peers/quectel-ppp)
noipdefault        # (from /etc/ppp/peers/quectel-ppp)
ipcp-max-failure 30        # (from /etc/ppp/peers/quectel-ppp)
defaultroute        # (from /etc/ppp/peers/quectel-ppp)
usepeerdns        # (from /etc/ppp/peers/quectel-ppp)
noccp        # (from /etc/ppp/peers/quectel-ppp)
noipx        # (from /etc/ppp/options)
abort on (BUSY)
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (ERROR)
abort on (NO ANSWER)
timeout set to 30 seconds
send (AT^M)
expect (OK)
^M
OK
 -- got it

send (ATE0^M)
expect (OK)
^M
^M
OK
 -- got it

send (ATI;+CSUB;+CSQ;+CPIN?;+COPS?;+CGREG?;&D2^M)
expect (OK)
^M
^M
Quectel^M
EC200A^M
Revision: EC200ACNDAR01A11M16^M
^M
SubEdition: V01^M
^M
+CSQ: 17,99^M
^M
+CGREG: 0,1^M
^M
+CPIN: READY^M
^M
+COPS: 0,0,"CHINA MOBILE",7^M
^M
OK
 -- got it

send (AT+CGDCONT=1,"IP","3gnet",,0,0^M)
expect (OK)
^M
^M
OK
 -- got it

send (ATD*99#^M)
expect (CONNECT)
^M
^M
CONNECT
 -- got it

Script chat -s -v -f /etc/ppp/peers/quectel-chat-connect finished (pid 991), status = 0x0
Serial connection established.
using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB2
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x7a9ec30a> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x22bd7c5> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth pap> <magic 0x22bd7c5> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x7a9ec30a> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x7a9ec30a]
sent [PAP AuthReq id=0x1 user="test" password=<hidden>]
rcvd [LCP EchoRep id=0x0 magic=0x22bd7c5 7a 9e c3 0a]
rcvd [PAP AuthAck id=0x1 "" 00]
PAP authentication succeeded
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [IPCP ConfReq id=0x2]
sent [IPCP ConfNak id=0x2 <addr 0.0.0.0>]
rcvd [IPCP ConfNak id=0x1 <addr 10.77.209.38> <ms-dns1 112.4.12.200> <ms-dns2 112.4.1.36>]
sent [IPCP ConfReq id=0x2 <addr 10.77.209.38> <ms-dns1 112.4.12.200> <ms-dns2 112.4.1.36>]
rcvd [IPCP ConfReq id=0x3]
sent [IPCP ConfAck id=0x3]
rcvd [IPCP ConfAck id=0x2 <addr 10.77.209.38> <ms-dns1 112.4.12.200> <ms-dns2 112.4.1.36>]
Could not determine remote IP address: defaulting to 10.64.64.64
local  IP address 10.77.209.38
remote IP address 10.64.64.64
primary   DNS address 112.4.12.200
secondary DNS address 112.4.1.36
Script /etc/ppp/ip-up started (pid 1005)
Script /etc/ppp/ip-up finished (pid 1005), status = 0x0

root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# ifconfig
eth0      Link encap:Ethernet  HWaddr 02:81:8b:09:ef:b0  
          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:41 

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)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:10.77.209.38  P-t-P:10.64.64.64  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:183 (183.0 B)  TX bytes:192 (192.0 B)

usb0      Link encap:Ethernet  HWaddr 02:0c:29:a3:9b:6d  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:460 (460.0 B)  TX bytes:1706 (1.7 KB)

root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# ping www.baidu.com
PING www.baidu.com (36.155.132.76) 56(84) bytes of data.
64 bytes from 36.155.132.76: icmp_seq=1 ttl=52 time=117 ms
64 bytes from 36.155.132.76: icmp_seq=2 ttl=52 time=126 ms
64 bytes from 36.155.132.76: icmp_seq=3 ttl=52 time=114 ms
64 bytes from 36.155.132.76: icmp_seq=4 ttl=52 time=124 ms

^C
--- www.baidu.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 114.835/121.021/126.781/4.982 ms
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# ping baidu.com
PING baidu.com (110.242.68.66) 56(84) bytes of data.
^C64 bytes from 110.242.68.66: icmp_seq=1 ttl=48 time=145 ms

--- baidu.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 145.245/145.245/145.245/0.000 ms
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# ping www.baidu.com
PING www.baidu.com (36.155.132.76) 56(84) bytes of data.
64 bytes from 36.155.132.76: icmp_seq=1 ttl=52 time=120 ms
64 bytes from 36.155.132.76: icmp_seq=2 ttl=52 time=110 ms
64 bytes from 36.155.132.76: icmp_seq=3 ttl=52 time=119 ms
64 bytes from 36.155.132.76: icmp_seq=4 ttl=52 time=109 ms

64 bytes from 36.155.132.76: icmp_seq=5 ttl=52 time=118 ms
64 bytes from 36.155.132.76: icmp_seq=6 ttl=52 time=106 ms
64 bytes from 36.155.132.76: icmp_seq=7 ttl=52 time=113 ms
64 bytes from 36.155.132.76: icmp_seq=8 ttl=52 time=102 ms
64 bytes from 36.155.132.76: icmp_seq=9 ttl=52 time=121 ms
64 bytes from 36.155.132.76: icmp_seq=10 ttl=52 time=151 ms
64 bytes from 36.155.132.76: icmp_seq=11 ttl=52 time=134 ms
64 bytes from 36.155.132.76: icmp_seq=12 ttl=52 time=133 ms
64 bytes from 36.155.132.76: icmp_seq=13 ttl=52 time=128 ms
64 bytes from 36.155.132.76: icmp_seq=14 ttl=52 time=131 ms
64 bytes from 36.155.132.76: icmp_seq=15 ttl=52 time=126 ms
64 bytes from 36.155.132.76: icmp_seq=16 ttl=52 time=130 ms
64 bytes from 36.155.132.76: icmp_seq=17 ttl=52 time=124 ms
64 bytes from 36.155.132.76: icmp_seq=18 ttl=52 time=142 ms
64 bytes from 36.155.132.76: icmp_seq=19 ttl=52 time=126 ms
64 bytes from 36.155.132.76: icmp_seq=20 ttl=52 time=110 ms
64 bytes from 36.155.132.76: icmp_seq=21 ttl=52 time=120 ms
^C
--- www.baidu.com ping statistics ---
21 packets transmitted, 21 received, 0% packet loss, time 20676ms
rtt min/avg/max/mdev = 102.954/123.170/151.910/11.862 ms
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# cat /etc/resolv.conf 
nameserver 112.4.12.200
nameserver 112.4.1.36

root@NanoPi-NEO-Core:/etc/ppp/peers# 

root@NanoPi-NEO-Core:/etc/ppp/peers# 


root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# ping baidu.com
PING baidu.com (110.242.68.66) 56(84) bytes of data.
64 bytes from 110.242.68.66: icmp_seq=1 ttl=48 time=177 ms
64 bytes from 110.242.68.66: icmp_seq=2 ttl=48 time=140 ms

64 bytes from 110.242.68.66: icmp_seq=3 ttl=48 time=157 ms
64 bytes from 110.242.68.66: icmp_seq=4 ttl=48 time=161 ms
^C
--- baidu.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 4740ms
rtt min/avg/max/mdev = 140.465/159.477/177.507/13.191 ms
root@NanoPi-NEO-Core:/etc/ppp/peers# 


二、移远文档介绍:
4 测试模块 
模块支持 AT 和 PPP 功能。如果已经安装了 USBNet 驱动程序,也可以使用模块的 USB 网络适配器功
能。以下章节介绍如何测试这些功能。

4.1. 测试 AT 功能
模块连接主机并成功加载 USB 驱动后,会在/dev 目录下创建多个设备文件。

通常 AT 端口是由 USB 转串口 option 驱动程序创建的 ttyUSB 端口。可在表 1 中查看 AT 或 Modem 功
能对应的设备名称。

然后可使用下图所示的“minicom”或“busybox microcom”等 UART 工具来测试 AT 功能。


4.2. 测试 PPP 功能
若模块支持 USBNet 驱动,推荐使用 USBNet 驱动。
PPP 拨号比网卡拨号复杂,对 CPU 的电流消耗较大,因此不推荐使用 PPP 拨号。
PPP 拨号需要以下文件。用户需检查产品中是否存在以下文件:
1. PPPD 和 chat 程序。若这两个程序不存在,用户可从 https://ppp.samba.org/download.html 下载
这两个程序的源代码并将其移植至产品中。


2. PPP 脚本文件/etc/ppp/ip-up,用于设置 DNS。若无该文件,请使用移远提供的 linux-ppp-scripts\ipup。
3. quectel-ppp、quectel-chat-connect 和 quectel-chat-disconnect 脚本。均由移远提供,位于 linuxppp-scripts 目录下。用户可能需要根据不同的模块进行相应修改。更多信息,请参考 linux-pppscripts\readme。 将 quectel-ppp、quectel-chat-connect 和 quectel-chat-disconnect 复制到/etc/ppp/peers 目录下,然后
通过以下命令进行 PPP 拨号。
PPP 拨号建立过程如下图所示:
# pppd call quectel-ppp &
abort on (BUSY)
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (ERROR)
abort on (NO ANSWER)
timeout set to 30 seconds
send (AT^M)
expect (OK)
AT^M^M
OK
-- got it
send (ATD*99#^M)
expect (CONNECT)
^M
ATD*99#^M^M
CONNECT
-- got it
Script chat -s -v -f /etc/ppp/peers/quectel-chat-connect finished (pid 2912), status = 0x0
Serial connection established.
using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB3
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x588fbf7f> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0xea02c208> <pcomp> 
<accomp>]
sent [LCP ConfAck id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0xea02c208> <pcomp> 
<accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x588fbf7f> <pcomp> <accomp>]


sent [LCP EchoReq id=0x0 magic=0x588fbf7f]
rcvd [LCP DiscReq id=0x1 magic=0xea02c208]
rcvd [CHAP Challenge id=0x1 <86b3d5669380a4bcfa502b8e92a4cc93>, name = 
"UMTS_CHAP_SRVR"]
sent [CHAP Response id=0x1 <9efc37eaf3dd8d819ac3e452d242e026>, name = "test"]
rcvd [LCP EchoRep id=0x0 magic=0xea02c208 58 8f bf 7f]
rcvd [CHAP Success id=0x1 ""]
CHAP authentication succeeded
CHAP authentication succeeded
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [IPCP ConfReq id=0x0]
sent [IPCP ConfNak id=0x0 <addr 0.0.0.0>]
rcvd [IPCP ConfNak id=0x1 <addr 10.187.151.143> <ms-dns1 202.102.213.68> <ms-dns2 
61.132.163.68>]
sent [IPCP ConfReq id=0x2 <addr 10.187.151.143> <ms-dns1 202.102.213.68> <ms-dns2 
61.132.163.68>]
rcvd [IPCP ConfReq id=0x1]
sent [IPCP ConfAck id=0x1]
rcvd [IPCP ConfAck id=0x2 <addr 10.187.151.143> <ms-dns1 202.102.213.68> <ms-dns2 
61.132.163.68>]
Could not determine remote IP address: defaulting to 10.64.64.64
not replacing default route to eth0 [172.18.112.1]
local IP address 10.187.151.143
remote IP address 10.64.64.64
primary DNS address 202.102.213.68
secondary DNS address 61.132.163.68
Script /etc/ppp/ip-up started (pid 2924)
Script /etc/ppp/ip-up finished (pid 2924), status = 0x0
# ifconfig ppp0
ppp0 Link encap:Point-to-Point Protocol 
 inet addr: 10.187.151.143 P-t-P:10.64.64.64 Mask:255.255.255.255
 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
 RX packets:15 errors:0 dropped:0 overruns:0 frame:0
 TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:3 
 RX bytes:1057 (1.0 KiB) TX bytes:1228 (1.1 KiB)
# cat /etc/resolv.conf 
nameserver 61.132.163.68
nameserver 202.102.213.68


# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.64.64.64 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
# ping www.baidu.com
PING www.a.shifen.com (115.239.211.112) 56(84) bytes of data.
64 bytes from 115.239.211.112: icmp_seq=1 ttl=54 time=46.4ms
# killall pppd
Terminating on signal 15
Connect time 0.4 minutes.
Sent 0 bytes, received 0 bytes.
数据速率高于Cat 4的移远通信5G模块系列和LTE模块系列不支持PPP拨号。


三、实战:
1、没有打patch的确认:
【如果lsusb找不到2c7c:6005,请确认EC200A-CN的供电情况!以及是否正确插入!】
root@NanoPi-NEO-Core:/home/pi# 
root@NanoPi-NEO-Core:/home/pi# mount /dev/mmcblk1 /mnt
root@NanoPi-NEO-Core:/home/pi# cd /mnt

root@NanoPi-NEO-Core:/mnt# ll
total 16580
drwxr-xr-x 6 root root    65536 Jan  1  1970 ./
drwxr-xr-x 1 root root     4096 Feb 11 16:37 ../
-rwxr-xr-x 1 root root        0 Mar 27  2024 1234.txt*
-rwxr-xr-x 1 root root    18040 Apr  3  2024 alsa_demo*
drwxr-xr-x 2 root root    65536 Apr  8  2024 linux-ppp-scripts/
-rwxr-xr-x 1 root root 16334908 Apr  3  2024 mplayer*
drwxr-xr-x 2 root root    65536 Mar 28  2024 music/
-rwxr-xr-x 1 root root   183564 Apr  2  2024 quectel-CM*
drwxr-xr-x 2 root root    65536 Mar 27  2024 System Volume Information/
drwxr-xr-x 2 root root    65536 Feb 11  2016 wyb2/
root@NanoPi-NEO-Core:/mnt# 
root@NanoPi-NEO-Core:/mnt# 
root@NanoPi-NEO-Core:/mnt# ./quectel-CM &
[1] 924
root@NanoPi-NEO-Core:/mnt# [02-11_16:38:40:429] QConnectManager_Linux_V1.6.5.1
[02-11_16:38:40:433] Find /sys/bus/usb/devices/3-1 idVendor=0x2c7c idProduct=0x6005, bus=0x003, dev=0x002
[02-11_16:38:40:434] network interface '' or qmidev '' is not exist
[02-11_16:38:40:435] atdevice_detect failed
[02-11_16:38:40:435] qmidevice_detect failed
[  102.165658] cdc_ether 3-1:1.0 usb0: kevent 12 may have been dropped

[1]+  Done                    ./quectel-CM
root@NanoPi-NEO-Core:/mnt# 
root@NanoPi-NEO-Core:/mnt# lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 002: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 2c7c:6005  
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@NanoPi-NEO-Core:/mnt# 
root@NanoPi-NEO-Core:/mnt# 
root@NanoPi-NEO-Core:/mnt# cd /dev
root@NanoPi-NEO-Core:/dev# 
root@NanoPi-NEO-Core:/dev# ll ttyU*
crw-rw---- 1 root dialout 188, 0 Feb 11 16:37 ttyUSB0
root@NanoPi-NEO-Core:/dev# 
root@NanoPi-NEO-Core:/dev# [  148.070824] cdc_ether 3-1:1.0 usb0: kevent 12 may have been dropped

root@NanoPi-NEO-Core:/dev# 
root@NanoPi-NEO-Core:/dev# [  193.073017] cdc_ether 3-1:1.0 usb0: kevent 12 may have been dropped

root@NanoPi-NEO-Core:/dev# 
root@NanoPi-NEO-Core:/dev# 
root@NanoPi-NEO-Core:/dev# ud
udevadm  udhcpc   udhcpd   
root@NanoPi-NEO-Core:/dev# ud^C
root@NanoPi-NEO-Core:/dev# 
root@NanoPi-NEO-Core:/dev# cat /etc/issue
Ubuntu 16.04.2 LTS \n \l

root@NanoPi-NEO-Core:/dev# 
root@NanoPi-NEO-Core:/dev# uname -a
Linux NanoPi-NEO-Core 4.14.111 #1 SMP Tue Apr 9 09:53:51 CST 2024 armv7l armv7l armv7l GNU/Linux
root@NanoPi-NEO-Core:/dev# 


2、替换3个驱动文件,
Z:\neo\linux\drivers\usb\serial\option.c
Z:\neo\linux\drivers\usb\serial\qcserial.c
Z:\neo\linux\drivers\usb\serial\usb_wwan.c

【完全一致,可以不替换】
Z:\neo\linux\drivers\usb\serial\usb-wwan.h


Z:\neo\sd-fuse_h3\boot\sun8i-h3-nanopi-neo-core.dtb
Z:\neo\sd-fuse_h3\boot\zImage

但是还是不能生成设备节点文件。^_
【只有/dev/ttyUSB0】
root@NanoPi-NEO-Core:/dev# 
root@NanoPi-NEO-Core:/dev# ll ttyU*
crw-rw---- 1 root dialout 188, 0 Feb 11  2016 ttyUSB0

root@NanoPi-NEO-Core:/dev# 


【移远的FAE不会告诉你的!还需要加这一行!】
Z:\neo\linux\drivers\usb\serial\option.c
static const struct usb_device_id option_ids[] = {
#if 1 //Added by Quectel
    { USB_DEVICE(0x05C6, 0x9090) }, /* Quectel UC15 */
    { USB_DEVICE(0x05C6, 0x9003) }, /* Quectel UC20 */
    { USB_DEVICE(0x05C6, 0x9215) }, /* Quectel EC20(MDM9215) */
    { USB_DEVICE(0x05C6, 0x9091) }, /* Quectel QCM6125 */
    { USB_DEVICE(0x05C6, 0x90DB) }, /* Quectel QCM6490 */
    { USB_DEVICE(0x2C7C, 0x0125) }, /* Quectel EC20(MDM9x07)/EC25/EG25 */
    { USB_DEVICE(0x2C7C, 0x0121) }, /* Quectel EC21 */
    { USB_DEVICE(0x2C7C, 0x030E) }, /* Quectel EM05G */
    { USB_DEVICE(0x2C7C, 0x0191) }, /* Quectel EG91 */
    { USB_DEVICE(0x2C7C, 0x0195) }, /* Quectel EG95 */
    { USB_DEVICE(0x2C7C, 0x0306) }, /* Quectel EG06/EP06/EM06 */
    { USB_DEVICE(0x2C7C, 0x030B) }, /* Quectel EG065K/EG060K */
    { USB_DEVICE(0x2C7C, 0x0514) }, /* Quectel BL EG060K RNDIS Only */
    { USB_DEVICE(0x2C7C, 0x0512) }, /* Quectel EG12/EP12/EM12/EG16/EG18 */
    { USB_DEVICE(0x2C7C, 0x0296) }, /* Quectel BG96 */
    { USB_DEVICE(0x2C7C, 0x0700) }, /* Quectel BG95/BG77/BG600L-M3/BC69 */
    { USB_DEVICE(0x2C7C, 0x0435) }, /* Quectel AG35 */
    { USB_DEVICE(0x2C7C, 0x0415) }, /* Quectel AG15 */
    { USB_DEVICE(0x2C7C, 0x0452) }, /* Quectel AG520 */
    { USB_DEVICE(0x2C7C, 0x0455) }, /* Quectel AG550 */
    { USB_DEVICE(0x2C7C, 0x0620) }, /* Quectel EG20 */
    { USB_DEVICE(0x2C7C, 0x0800) }, /* Quectel RG500/RM500/RG510/RM510 */
    { USB_DEVICE(0x2C7C, 0x0801) }, /* Quectel RG520/RM520/SG520 */
    { USB_DEVICE(0x2C7C, 0x0122) }, /* Quectel RG650 SDX7X */
    { USB_DEVICE(0x2C7C, 0x0316) }, /* Quectel RG255 SDX35 */
    { USB_DEVICE(0x2C7C, 0x6026) }, /* Quectel EC200 */
    { USB_DEVICE(0x2C7C, 0x6005) }, /* Quectel EC200A 2024/4/3 19:13 add!*/
    { USB_DEVICE(0x2C7C, 0x6120) }, /* Quectel UC200 */
    { USB_DEVICE(0x2C7C, 0x6000) }, /* Quectel EC200/UC200 */
    { USB_DEVICE(0x3763, 0x3C93) }, /* Quectel GW */
    { USB_DEVICE(0x3C93, 0xFFFF) }, /* Quectel GW */
    { .match_flags = USB_DEVICE_ID_MATCH_VENDOR, .idVendor = 0x2C7C }, /* Match All Quectel Modules */
#endif
    { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COLT) },
    { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA) },
    { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA_LIGHT) },
    { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA_QUAD) },
    { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA_QUAD_LIGHT) },
    { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA_NDIS) },
    { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA_NDIS_LIGHT) },


3、确认修改效果:
root@NanoPi-NEO-Core:/dev# 
root@NanoPi-NEO-Core:/dev# ll ttyU*
crw-rw---- 1 root dialout 188, 0 Feb 11  2016 ttyUSB0
crw-rw---- 1 root dialout 188, 1 Apr  9 05:58 ttyUSB1
crw-rw---- 1 root dialout 188, 2 Feb 11  2016 ttyUSB2
crw-rw---- 1 root dialout 188, 3 Feb 11  2016 ttyUSB3

root@NanoPi-NEO-Core:/dev# 


root@NanoPi-NEO-Core:/dev# fdisk -l
Disk /dev/mmcblk1: 29.7 GiB, 31914983424 bytes, 62333952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x500a0dff

Device         Boot      Start        End    Sectors   Size Id Type
/dev/mmcblk1p1      1948285285 3650263507 1701978223 811.6G 6e unknown
/dev/mmcblk1p2               0          0          0     0B 74 unknown
/dev/mmcblk1p4        28049408   28049848        441 220.5K  0 Empty

Partition table entries are not in disk order.


Disk /dev/mmcblk0: 7.3 GiB, 7818182656 bytes, 15269888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x242f0cce

Device         Boot   Start      End  Sectors  Size Id Type
/dev/mmcblk0p1        49152   131071    81920   40M 83 Linux
/dev/mmcblk0p2       131072  2621439  2490368  1.2G 83 Linux
/dev/mmcblk0p3      2621440 15269887 12648448    6G 83 Linux


Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
root@NanoPi-NEO-Core:/dev# 
root@NanoPi-NEO-Core:/dev# mount /dev/mmcblk1 /mnt
root@NanoPi-NEO-Core:/dev# cd /mnt
root@NanoPi-NEO-Core:/mnt# ll
total 16580
drwxr-xr-x 6 root root    65536 Jan  1  1970 ./
drwxr-xr-x 1 root root     4096 Feb 11 18:32 ../
-rwxr-xr-x 1 root root        0 Mar 27  2024 1234.txt*
-rwxr-xr-x 1 root root    18040 Apr  3  2024 alsa_demo*
drwxr-xr-x 2 root root    65536 Apr  8  2024 linux-ppp-scripts/
-rwxr-xr-x 1 root root 16334908 Apr  3  2024 mplayer*
drwxr-xr-x 2 root root    65536 Mar 28  2024 music/
-rwxr-xr-x 1 root root   183564 Apr  2  2024 quectel-CM*
drwxr-xr-x 2 root root    65536 Mar 27  2024 System Volume Information/
drwxr-xr-x 2 root root    65536 Feb 11 17:17 wyb2/
root@NanoPi-NEO-Core:/mnt# cp quectel-CM /root/C/
root@NanoPi-NEO-Core:/mnt# cd /root/C/
root@NanoPi-NEO-Core:~/C# ll
total 212
drwxr-xr-x 1 root root   4096 Feb 11 18:34 ./
drwx------ 1 root root   4096 Nov  8  2023 ../
drwxr-xr-x 2 root root   4096 Jun 18  2021 malitest/
drwxr-xr-x 7 root root   4096 Aug 17  2018 mjpg-streamer/
drwxr-xr-x 5 root root   4096 Jun 18  2021 NanoHatOLED/
-rwxr-xr-x 1 root root 183564 Feb 11 18:34 quectel-CM*
drwxr-xr-x 2 root root   4096 Jun 18  2021 watchdog/
drwxr-xr-x 8 root root   4096 Jun 18  2021 WiringNP/
root@NanoPi-NEO-Core:~/C# 
root@NanoPi-NEO-Core:~/C# 
root@NanoPi-NEO-Core:~/C# 
root@NanoPi-NEO-Core:~/C# ifconfig
eth0      Link encap:Ethernet  HWaddr 02:81:8b:09:ef:b0  
          inet6 addr: fe80::cfb1:2145:8006:7efd/64 Scope:Link
          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:41 

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)

usb0      Link encap:Ethernet  HWaddr 02:0c:29:a3:9b:6d  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:316 (316.0 B)  TX bytes:2048 (2.0 KB)

root@NanoPi-NEO-Core:~/C# 
root@NanoPi-NEO-Core:~/C# 
root@NanoPi-NEO-Core:~/C# ping www.baidu.com
ping: unknown host www.baidu.com
root@NanoPi-NEO-Core:~/C# 


拷贝ppp的脚本:
root@NanoPi-NEO-Core:/etc/ppp/peers# ll
total 44
drwxr-s--- 1 root dip 4096 Sep 19 16:59 ./
drwxr-xr-x 1 root dip 4096 Nov  7  2023 ../
-rwxr-xr-x 1 root dip  272 Sep 19 16:59 ip-up*
-rw-r----- 1 root dip 1093 Nov  7  2023 provider
-rwxr-xr-x 1 root dip  317 Sep 19 16:59 quectel-chat-connect*
-rwxr-xr-x 1 root dip  154 Sep 19 16:59 quectel-chat-disconnect*
-rwxr-xr-x 1 root dip 1051 Sep 19 16:59 quectel-ppp*
-rwxr-xr-x 1 root dip  230 Sep 19 16:59 quectel-ppp-kill*
-rwxr-xr-x 1 root dip 1587 Sep 19 16:59 quectel-pppd.sh*
-rwxr-xr-x 1 root dip 1527 Sep 19 16:59 readme*
root@NanoPi-NEO-Core:/etc/ppp/peers# 

root@NanoPi-NEO-Core:/etc/ppp/peers# 


4、请使用root模式,pi普通用户模式下没有pppd这个应用程序!
pi@FriendlyElec:~$ 
pi@FriendlyElec:~$ ppp
pppdump          pppoe-discovery  pppstats         
pi@FriendlyElec:~$ ppp
pppdump          pppoe-discovery  pppstats         
pi@FriendlyElec:~$ ppp
[   90.195814] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #42973: comm bash: checksumming directory block 0
[   90.207795] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #42973: comm bash: checksumming directory block 0
[   90.219390] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #42973: comm bash: checksumming directory block 0
[   90.230933] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #42973: comm bash: checksumming directory block 0
[   90.242474] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #42973: comm bash: checksumming directory block 0
[   90.254006] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #42973: comm bash: checksumming directory block 0
-bash: ppp: command not found
pi@FriendlyElec:~$ 
pi@FriendlyElec:~$ su
[   94.023234] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #57250: comm su: checksumming directory block 0
[   94.034820] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #57250: comm su: checksumming directory block 0
[   94.046287] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #57250: comm su: checksumming directory block 0
[   94.057664] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #57250: comm su: checksumming directory block 0
Password: 
[   95.515481] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #55339: comm su: checksumming directory block 0
[   95.538949] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #57250: comm su: checksumming directory block 0
[   95.550583] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #57250: comm su: checksumming directory block 0
[   95.574772] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #57250: comm su: checksumming directory block 0
[   95.586380] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #57250: comm su: checksumming directory block 0
[   95.597815] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #57250: comm su: checksumming directory block 0
[   95.609183] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #57250: comm su: checksumming directory block 0
[   95.621554] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #57250: comm su: checksumming directory block 0
[   95.633735] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #42973: comm su: checksumming directory block 0
[   95.645163] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #42973: comm su: checksumming directory block 0
root@FriendlyElec:/home/pi# 
root@FriendlyElec:/home/pi# ppp
pppd             pppdump          pppoe-discovery  pppstats
root@FriendlyElec:/home/pi# ppp[  105.147541] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #57250: comm systemd: checksumming directory block 0
[  105.159846] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #57250: comm systemd: checksumming directory block 0
[  105.171730] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #57250: comm systemd: checksumming directory block 0
[  105.183542] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #57250: comm systemd: checksumming directory block 0
[  105.336266] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #55339: comm systemd-journal: checksumming directory block 0
[  105.383975] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #55339: comm systemd-journal: checksumming directory block 0
[  105.399723] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #55339: comm systemd-journal: checksumming directory block 0
[  105.523918] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #57250: comm (agetty): checksumming directory block 0
[  105.536137] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #57250: comm (agetty): checksumming directory block 0
[  105.548107] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1449: inode #57250: comm (agetty): checksumming directory block 0

bash: ppp: command not found
root@FriendlyElec:/home/pi# 


5、拨号失败,调试步骤:【可以使用VI修改串口号】
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# pppd call quectel-ppp &
[1] 563
root@NanoPi-NEO-Core:/etc/ppp/peers# pppd options in effect:
debug        # (from /etc/ppp/peers/quectel-ppp)
nodetach        # (from /etc/ppp/peers/quectel-ppp)
dump        # (from /etc/ppp/peers/quectel-ppp)
noauth        # (from /etc/ppp/peers/quectel-ppp)
user test        # (from /etc/ppp/peers/quectel-ppp)
password ??????        # (from /etc/ppp/peers/quectel-ppp)
remotename 3gppp        # (from /etc/ppp/peers/quectel-ppp)
/dev/ttyUSB3        # (from /etc/ppp/peers/quectel-ppp)
115200        # (from /etc/ppp/peers/quectel-ppp)
lock        # (from /etc/ppp/peers/quectel-ppp)
connect chat -s -v -f /etc/ppp/peers/quectel-chat-connect        # (from /etc/ppp/peers/quectel-ppp)
disconnect chat -s -v -f /etc/ppp/peers/quectel-chat-disconnect        # (from /etc/ppp/peers/quectel-ppp)
nocrtscts        # (from /etc/ppp/peers/quectel-ppp)
modem        # (from /etc/ppp/peers/quectel-ppp)
asyncmap 0        # (from /etc/ppp/options)
lcp-echo-failure 4        # (from /etc/ppp/options)
lcp-echo-interval 30        # (from /etc/ppp/options)
hide-password        # (from /etc/ppp/peers/quectel-ppp)
novj        # (from /etc/ppp/peers/quectel-ppp)
novjccomp        # (from /etc/ppp/peers/quectel-ppp)
ipcp-accept-local        # (from /etc/ppp/peers/quectel-ppp)
ipcp-accept-remote        # (from /etc/ppp/peers/quectel-ppp)
ipparam 3gppp        # (from /etc/ppp/peers/quectel-ppp)
noipdefault        # (from /etc/ppp/peers/quectel-ppp)
ipcp-max-failure 30        # (from /etc/ppp/peers/quectel-ppp)
defaultroute        # (from /etc/ppp/peers/quectel-ppp)
usepeerdns        # (from /etc/ppp/peers/quectel-ppp)
noccp        # (from /etc/ppp/peers/quectel-ppp)
noipx        # (from /etc/ppp/options)
abort on (BUSY)
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (ERROR)
abort on (NO ANSWER)
timeout set to 30 seconds
send (AT^M)
expect (OK)

root@NanoPi-NEO-Core:/etc/ppp/peers# 


【readme】
Pay attention: Donot modify the 3 files in Windows.
Pay attention: It will make the 3 file become Dos format.
Pay attention: Dos Format files cannot be parsed by pppd and chat.
Pay attention: dos2unix command can convert files in DOS format to Unix format.


customize your 'serial device name' & 'user' & 'passowrd' in quectel-ppp
customize your 'apn' in quectel-chat-connect
copy the 3 file to /etc/ppp/peers/
exec command 'pppd call quectel-ppp'


注意不要在 windows 下编辑该目录下的文件、否则会使得这些文件变成 dos 格式.
windows 的 dos 格式是指文件的每行以 \r\n 结尾,而 linux 的文件默认是以 \n 结尾的。
pppd 和 chat 不能解析 dos 格式的文件。
工具 dos2unix 可以把 dos 格式的文件转成 linux 格式。


有2种方法启动ppp拨号

方式1: 拷贝 quectel-chat-connect quectel-chat-disconnect quectel-ppp 到 /etc/ppp/peers 目录下。
并在 quectel-ppp 里修改你的串口设备名,pppd 拨号使用的 username,password。
在 quectel-chat-connect 里修改你的 APN。APN/username/password 是从你的网络提供商那里获取的。
然后使用下面的命令启动 ppp 拨号, 命令最后的 & 可以让 pppd 后台运行
pppd call quectel-ppp &


方式2:使用quectel-pppd.sh 拨号,命令形式如下:
./quectel-pppd.sh 串口设备名(比如/dev/ttyUSB3) APN username password


ip-up:pppd 在获取 ip 和 dns 之后,会自动调用这个脚本文件来设置系统的 DNS

嵌入式系统一般需要拷贝这个文件到 /etc/ppp 目录下。
请确保该文件在你的系统里有可执行权限。


quectel-ppp-kill 用来挂断拨号的,pppd必须被正常的挂断,否则可能会导致你下次ppp拨号失败。
使用下面方式来调用这个脚本
./quectel-ppp-kill


我使用的是 深圳联通的5G卡。 节点要改不?
——你这里AT不同 应该是ttyUSB的口不对 一般是ttyUSB2


echo -e "at\r\n" > /dev/ttyUSB2 && cat /dev/ttyUSB2
AT正常了,能不能拨号成功?


6、调试:
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# echo -e "at\r\n" > /dev/ttyUSB2
root@NanoPi-NEO-Core:/etc/ppp/peers# cat /dev/ttyUSB2


+CIND: 0,0,2,1,1,0

OK

+CSQ: 17,99

OK


killall ModemManager

root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# killall ModemManager
root@NanoPi-NEO-Core:/etc/ppp/peers# 

root@NanoPi-NEO-Core:/etc/ppp/peers# killall ModemManager
ModemManager: no process found
root@NanoPi-NEO-Core:/etc/ppp/peers# 


ps -ef

7、调试:DNS异常

DNS异常

root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# ping www.baidu.com
ping: www.baidu.com: Temporary failure in name resolution
root@NanoPi-NEO-Core:/etc/ppp/peers# ping baidu.com
ping: baidu.com: Temporary failure in name resolution
root@NanoPi-NEO-Core:/etc/ppp/peers# 

root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# ifconfig ppp0
ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 10.41.24.209  netmask 255.255.255.255  destination 10.64.64.64
        ppp  txqueuelen 3  (Point-to-Point Protocol)
        RX packets 52813  bytes 739378 (739.3 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 52813  bytes 563354 (563.3 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@NanoPi-NEO-Core:/etc/ppp/peers# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 ppp0
10.64.64.64     0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
root@NanoPi-NEO-Core:/etc/ppp/peers# 

root@NanoPi-NEO-Core:/etc/ppp/peers# ping www.baidu.com
ping: www.baidu.com: Temporary failure in name resolution
root@NanoPi-NEO-Core:/etc/ppp/peers# 

root@NanoPi-NEO-Core:/etc/ppp/peers# 


root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# cat /etc/resolv.conf 
# This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).
# Do not edit.
#
# This file might be symlinked as /etc/resolv.conf. If you're looking at
# /etc/resolv.conf and seeing this text, you have followed the symlink.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs should typically not access this file directly, but only
# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
# different way, replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver 127.0.0.53
options edns0 trust-ad
search .

root@NanoPi-NEO-Core:/etc/ppp/peers# 

请问 DNS怎么加?深圳联通的5G卡
——echo nameserver 8.8.8.8 > /etc/resolv.conf

这个是google的DNS吧。我司 不能上外网!
——这个只是配置DNS的服务器


网卡模式一、
root@NanoPi-NEO-Core:/mnt# 
root@NanoPi-NEO-Core:/mnt# ifconfig wwan0
wwan0: error fetching interface information: Device not found
root@NanoPi-NEO-Core:/mnt# 

——不会有wwan0设备 这个是高通的模组 200a的是usb的ecm网卡


你看下你的udhcpc的进程不在 
你放前台执行
看下完整的打印
把原来的进程KILL掉或者重启下


root@NanoPi-NEO-Core:/mnt# udhcpc -V
-bash: udhcpc: command not found
root@NanoPi-NEO-Core:/mnt# 

——udhcpcd 呢

看来 都不在。我 换一个 Ubuntu core的版本测试了!
——看下busybox里边有不 没有就是被裁掉了

你看下你的udhcpc的进程不在   ubuntu core 16.04貌似 这两个都在!


pi@NanoPi-NEO-Core:~$ 
pi@NanoPi-NEO-Core:~$ pwd
/home/pi
pi@NanoPi-NEO-Core:~$ cat /etc/issue
Ubuntu 16.04.2 LTS \n \l

pi@NanoPi-NEO-Core:~$ 
pi@NanoPi-NEO-Core:~$ uname -a
Linux NanoPi-NEO-Core 4.14.111 #193 SMP Thu Jun 10 18:20:47 CST 2021 armv7l armv7l armv7l GNU/Linux
pi@NanoPi-NEO-Core:~$ 
pi@NanoPi-NEO-Core:~$ ud
udevadm  udhcpc   udhcpd   
pi@NanoPi-NEO-Core:~$ ud
udevadm  udhcpc   udhcpd   
pi@NanoPi-NEO-Core:~$


网卡模式二、
插我的联通 手机卡,然后我 拨打电话进去,显示:
[03-20_14:36:15:444] AT< +COPS: 0,2,"46001",7
[03-20_14:36:15:444] AT< OK
[03-20_14:36:15:444] AT> at+qeng="servingcell"
[03-20_14:36:15:447] AT< +QENG: "servingcell","CONNECT","LTE","FDD",460,01,D094A17,464,100,1,5,5,253E,-107,-7,-97,17,0
[03-20_14:36:15:447] AT< OK
[03-20_14:36:15:447] AT> AT+QNETDEVCTL?
[03-20_14:36:15:449] AT< +QNETDEVCTL: 1,1,1,1
[03-20_14:36:15:449] AT< OK
[03-20_14:36:15:449] AT> AT+CGACT?
[03-20_14:36:15:451] AT< +CGACT: 1,1
[03-20_14:36:15:451] AT< +CGACT: 8,1
[03-20_14:36:15:451] AT< +CGACT: 10,1
[03-20_14:36:15:451] AT< OK
[03-20_14:36:21:200] AT< RING
[03-20_14:36:27:165] AT< RING
[03-20_14:36:30:467] AT> at+cops?
[03-20_14:36:30:468] AT< +COPS: 0,2,"46001",7
[03-20_14:36:30:468] AT< OK
[03-20_14:36:30:468] AT> at+qeng="servingcell"
[03-20_14:36:30:471] AT< +QENG: "servingcell","CONNECT","LTE","FDD",460,01,D094A17,464,100,1,5,5,253E,-107,-7,-98,17,0
[03-20_14:36:30:471] AT< OK
[03-20_14:36:30:472] AT> AT+QNETDEVCTL?
[03-20_14:36:30:473] AT< +QNETDEVCTL: 1,1,1,1
[03-20_14:36:30:473] AT< OK
[03-20_14:36:30:474] AT> AT+CGACT?
[03-20_14:36:30:476] AT< +CGACT: 1,1
[03-20_14:36:30:476] AT< +CGACT: 8,1
[03-20_14:36:30:476] AT< +CGACT: 10,1
[03-20_14:36:30:476] AT< OK
[03-20_14:36:33:130] AT< RING
[03-20_14:36:39:103] AT< RING
[03-20_14:36:45:072] AT< RING
[03-20_14:36:45:489] AT> at+cops?
[03-20_14:36:45:490] AT< +COPS: 0,2,"46001",7
[03-20_14:36:45:490] AT< OK
[03-20_14:36:45:490] AT> at+qeng="servingcell"
[03-20_14:36:45:493] AT< +QENG: "servingcell","CONNECT","LTE","FDD",460,01,D094A17,464,100,1,5,5,253E,-106,-7,-96,18,0


[03-20_14:39:32:178] AT< RING
[03-20_14:39:38:148] AT< RING
[03-20_14:39:44:119] AT< RING
请问AT命令中 RING是接到电话吧?


请提供相关驱动 4.3. 测试 GobiNet/QMI_WWAN 驱动
—— 200A没有 这个是高通的网卡驱动


 


 

PPP模式:

[BEGIN] 2024/4/9 15:19:19

U-Boot SPL 2017.11 (Dec 30 2019 - 11:20:07)
DRAM: 512 MiB(408MHz)
CPU Freq: 408MHz
memory test: 1
Pattern 55aa  Writing...Reading...OK
Trying to boot from MMC1
Boot device: sd


U-Boot 2017.11 (Dec 30 2019 - 11:20:07 +0800) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: FriendlyElec NanoPi H3
DRAM:  512 MiB
CPU Freq: 1008MHz
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
BOARD: nanopi-neo-core
starting USB...
No controllers found
Hit any key to stop autoboot:  0 
reading boot.scr
1204 bytes read in 18 ms (64.5 KiB/s)
## Executing script at 43100000
running eflasher boot.scr
reading zImage
5902208 bytes read in 295 ms (19.1 MiB/s)
reading rootfs.cpio.gz
5880768 bytes read in 291 ms (19.3 MiB/s)
reading sun8i-h3-nanopi-neo-core.dtb
34940 bytes read in 26 ms (1.3 MiB/s)
## Flattened Device Tree blob at 48000000
   Booting using the fdt blob at 0x48000000
   Loading Ramdisk to 49a64000, end 49fffbc0 ... OK
   Loading Device Tree to 49a58000, end 49a6387b ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.111 (rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3) (gcc version 4.9.3 (ctng-1.21.0-229g-FA)) #1 SMP Tue Apr 9 12:40:43 CST 2024
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=30c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: FriendlyElec NanoPi-NEO-Core
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x000000005bc00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] percpu: Embedded 17 pages/cpu @dff5b000 s37120 r8192 d24320 u69632
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p3 rootfstype=ext4 rw rootwait fsck.repair=yes panic=10 fbcon=map:0   snd-soc-core.pmdown_time=3600000
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 430300K/524288K available (10240K kernel code, 391K rwdata, 2080K rodata, 2048K init, 303K bss, 28452K reserved, 65536K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0c00000   (12256 kB)
[    0.000000]       .init : 0xc1000000 - 0xc1200000   (2048 kB)
[    0.000000]       .data : 0xc1200000 - 0xc1261f00   ( 392 kB)
[    0.000000]        .bss : 0xc126a884 - 0xc12b6850   ( 304 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000018] Switching to timer-based delay loop, resolution 41ns
[    0.000213] Console: colour dummy device 80x30
[    0.000249] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=120000)
[    0.000263] pid_max: default: 32768 minimum: 301
[    0.000433] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000447] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001184] CPU: Testing write buffer coherency: ok
[    0.001642] CPU0: update cpu_capacity 1024
[    0.001655] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002029] Setting up static identity map for 0x40200000 - 0x40200060
[    0.002159] Hierarchical SRCU implementation.
[    0.002732] smp: Bringing up secondary CPUs ...
[    0.013519] CPU1: update cpu_capacity 1024
[    0.013525] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.024404] CPU2: update cpu_capacity 1024
[    0.024410] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.035191] CPU3: update cpu_capacity 1024
[    0.035197] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.035282] smp: Brought up 1 node, 4 CPUs
[    0.035312] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.035318] CPU: All CPU(s) started in HYP mode.
[    0.035323] CPU: Virtualization extensions available.
[    0.036166] devtmpfs: initialized
[    0.043081] random: get_random_u32 called from bucket_table_alloc+0xf0/0x240 with crng_init=0
[    0.043676] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.043963] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
[    0.043988] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.046815] xor: measuring software checksum speed
[    0.095042]    arm4regs  :  1371.200 MB/sec
[    0.145093]    8regs     :   768.800 MB/sec
[    0.195151]    32regs    :   850.400 MB/sec
[    0.245204]    neon      :  1280.000 MB/sec
[    0.245211] xor: using function: arm4regs (1371.200 MB/sec)
[    0.245232] pinctrl core: initialized pinctrl subsystem
[    0.246204] NET: Registered protocol family 16
[    0.247884] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.248679] cpuidle: using governor ladder
[    0.248785] cpuidle: using governor menu
[    0.249195] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.249206] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.268271] SCSI subsystem initialized
[    0.268672] usbcore: registered new interface driver usbfs
[    0.268727] usbcore: registered new interface driver hub
[    0.268815] usbcore: registered new device driver usb
[    0.268979] media: Linux media interface: v0.10
[    0.269013] Linux video capture interface: v2.00
[    0.269112] pps_core: LinuxPPS API ver. 1 registered
[    0.269120] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.269138] PTP clock support registered
[    0.269433] Advanced Linux Sound Architecture Driver Initialized.
[    0.271035] clocksource: Switched to clocksource arch_sys_counter
[    0.271205] VFS: Disk quotas dquot_6.6.0
[    0.271285] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.271441] FS-Cache: Loaded
[    0.278434] NET: Registered protocol family 2
[    0.279073] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.279127] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.279189] TCP: Hash tables configured (established 4096 bind 4096)
[    0.279297] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.279339] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.279558] NET: Registered protocol family 1
[    0.280033] RPC: Registered named UNIX socket transport module.
[    0.280046] RPC: Registered udp transport module.
[    0.280051] RPC: Registered tcp transport module.
[    0.280057] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.280303] Unpacking initramfs...
[    0.577842] Freeing initrd memory: 5744K
[    0.578267] kvm [1]: 8-bit VMID
[    0.578971] kvm [1]: vgic interrupt IRQ16
[    0.579071] kvm [1]: Hyp mode initialized successfully
[    0.582024] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.586639] zbud: loaded
[    0.588219] FS-Cache: Netfs 'nfs' registered for caching
[    0.588742] NFS: Registering the id_resolver key type
[    0.588783] Key type id_resolver registered
[    0.588789] Key type id_legacy registered
[    0.588805] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.588821] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.589766] fuse init (API version 7.26)
[    0.595344] async_tx: api initialized (async)
[    0.595472] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.595640] io scheduler noop registered (default)
[    0.595650] io scheduler deadline registered
[    0.595840] io scheduler cfq registered
[    0.595849] io scheduler mq-deadline registered
[    0.595982] io scheduler bfq registered
[    0.596769] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO, pinctrl may not init
[    0.600528] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.602130] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    0.607538] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.609400] console [ttyS0] disabled
[    0.629586] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 45, base_baud = 1500000) is a U6_16550A
[    1.391663] console [ttyS0] enabled
[    1.417942] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 46, base_baud = 1500000) is a U6_16550A
[    1.449536] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 47, base_baud = 1500000) is a U6_16550A
[    1.481104] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 48, base_baud = 1500000) is a U6_16550A
[    1.492320] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.498954] [drm] No driver support for vblank timestamp query.
[    1.514331] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc0c51ba8)
[    1.521423] sun4i-drm display-engine: No panel or bridge found... RGB output disabled
[    1.529279] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0c508ac)
[    1.661129] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[    1.671004] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[    1.678749] sun4i-drm display-engine: bound 1ee0000.hdmi (ops 0xc0c51f28)
[    1.685607] [drm] Cannot find any crtc or sizes - going 1920x1080
[    1.733051] Console: switching to colour frame buffer device 240x67
[    1.763931] sun4i-drm display-engine: fb0:  frame buffer device
[    1.770325] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.787293] loop: module loaded
[    1.806826] st: Version 20160209, fixed bufsize 32768, s/g segs 256
[    1.813200] osst :I: Tape driver with OnStream support version 0.99.4
[    1.813200] osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $
[    1.826521] SCSI Media Changer driver v0.25 
[    1.832859] libphy: Fixed MDIO Bus: probed
[    1.837007] tun: Universal TUN/TAP device driver, 1.6
[    1.842238] CAN device driver interface
[    1.846582] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    1.852394] dwmac-sun8i 1c30000.ethernet: No regulator found
[    1.858107] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    1.864229] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    1.869898] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    1.877120] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    1.882784] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    1.890006] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    1.894976] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    1.902328] libphy: stmmac: probed
[    1.911744] PPP generic driver version 2.4.2
[    1.916266] PPP BSD Compression module registered
[    1.920967] PPP Deflate Compression module registered
[    1.926064] PPP MPPE Compression module registered
[    1.930852] NET: Registered protocol family 24
[    1.935408] usbcore: registered new interface driver qmi_wwan
[    1.941189] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.947717] ehci-platform: EHCI generic platform driver
[    1.953213] ehci-platform 1c1a000.usb: EHCI Host Controller
[    1.958834] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    1.967007] ehci-platform 1c1a000.usb: irq 29, io mem 0x01c1a000
[    1.986050] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.992369] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.999170] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.006394] usb usb1: Product: EHCI Host Controller
[    2.011278] usb usb1: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.016853] usb usb1: SerialNumber: 1c1a000.usb
[    2.021926] hub 1-0:1.0: USB hub found
[    2.025714] hub 1-0:1.0: 1 port detected
[    2.030352] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.036603] ohci-platform: OHCI generic platform driver
[    2.042049] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    2.048690] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    2.056649] ohci-platform 1c1a400.usb: irq 30, io mem 0x01c1a400
[    2.125211] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    2.132017] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.139244] usb usb2: Product: Generic Platform OHCI controller
[    2.145167] usb usb2: Manufacturer: Linux 4.14.111 ohci_hcd
[    2.150743] usb usb2: SerialNumber: 1c1a400.usb
[    2.158141] hub 2-0:1.0: USB hub found
[    2.161936] hub 2-0:1.0: 1 port detected
[    2.166595] usbcore: registered new interface driver cdc_acm
[    2.172269] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    2.180319] usbcore: registered new interface driver usblp
[    2.185858] usbcore: registered new interface driver cdc_wdm
[    2.191557] usbcore: registered new interface driver uas
[    2.196960] usbcore: registered new interface driver usb-storage
[    2.203049] usbcore: registered new interface driver usbserial
[    2.208921] usbcore: registered new interface driver usbserial_generic
[    2.215478] usbserial: USB Serial support registered for generic
[    2.221527] usbcore: registered new interface driver option
[    2.227128] usbserial: USB Serial support registered for GSM modem (1-port)
[    2.234229] usbcore: registered new interface driver qcserial
[    2.240008] usbserial: USB Serial support registered for Qualcomm USB modem
[    2.247810] mousedev: PS/2 mouse device common for all mice
[    2.253896] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[    2.260697] sun6i-rtc 1f00000.rtc: RTC enabled
[    2.265211] i2c /dev entries driver
[    2.270597] lirc_dev: IR Remote Control driver registered, major 244
[    2.276982] IR NEC protocol handler initialized
[    2.281521] IR RC5(x/sz) protocol handler initialized
[    2.286575] IR RC6 protocol handler initialized
[    2.291108] IR JVC protocol handler initialized
[    2.295631] IR Sony protocol handler initialized
[    2.300250] IR SANYO protocol handler initialized
[    2.304955] IR Sharp protocol handler initialized
[    2.309661] IR MCE Keyboard/mouse protocol handler initialized
[    2.315494] IR LIRC bridge handler initialized
[    2.319939] IR XMP protocol handler initialized
[    2.325318] thermal thermal_zone0: failed to read out thermal zone (-16)
[    2.332549] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    2.340874] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[    2.391103] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    2.433731] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.436392] sunxi-mmc 1c11000.mmc: initialized, max. request size: 16384 KB
[    2.448841] mmc0: new high speed SDHC card at address aaaa
[    2.454361] ledtrig-cpu: registered to indicate activity on CPUs
[    2.454851] mmcblk0: mmc0:aaaa SD32G 29.7 GiB 
[    2.460628] hidraw: raw HID events driver (C) Jiri Kosina
[    2.470405]  mmcblk0: p1 p2 p3
[    2.470501] usbcore: registered new interface driver usbhid
[    2.479084] usbhid: USB HID core driver
[    2.498761] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    2.508796] Initializing XFRM netlink socket
[    2.513707] NET: Registered protocol family 10
[    2.526245] mmc1: new DDR MMC card at address 0001
[    2.531757] mmcblk1: mmc1:0001 8GTF4R 7.28 GiB 
[    2.536707] mmcblk1boot0: mmc1:0001 8GTF4R partition 1 4.00 MiB
[    2.539244] Segment Routing with IPv6
[    2.542920] mmcblk1boot1: mmc1:0001 8GTF4R partition 2 4.00 MiB
[    2.546424] NET: Registered protocol family 17
[    2.553318]  mmcblk1: p1 p2 p3
[    2.556727] NET: Registered protocol family 15
[    2.564211] can: controller area network core (rev 20170425 abi 9)
[    2.570529] NET: Registered protocol family 29
[    2.574986] can: raw protocol (rev 20170425)
[    2.579259] can: broadcast manager protocol (rev 20170425 t)
[    2.584927] can: netlink gateway (rev 20170425) max_hops=1
[    2.590964] Key type dns_resolver registered
[    2.595564] Registering SWP/SWPB emulation handler
[    2.601807] registered taskstats version 1
[    2.614137] Key type encrypted registered
[    2.624143] vcc1v2: supplied by vcc5v0
[    2.628285] vcc-dram: supplied by vcc5v0
[    2.632473] vdd-cpux-en: supplied by vcc5v0
[    2.638448] ehci-platform 1c1b000.usb: EHCI Host Controller
[    2.644074] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3
[    2.652461] ehci-platform 1c1b000.usb: irq 31, io mem 0x01c1b000
[    2.671051] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    2.677373] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    2.684171] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.691400] usb usb3: Product: EHCI Host Controller
[    2.696281] usb usb3: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.701857] usb usb3: SerialNumber: 1c1b000.usb
[    2.706989] hub 3-0:1.0: USB hub found
[    2.710772] hub 3-0:1.0: 1 port detected
[    2.715456] ehci-platform 1c1c000.usb: EHCI Host Controller
[    2.721067] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
[    2.729145] ehci-platform 1c1c000.usb: irq 33, io mem 0x01c1c000
[    2.746049] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    2.752301] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    2.759098] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.766322] usb usb4: Product: EHCI Host Controller
[    2.771202] usb usb4: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.776777] usb usb4: SerialNumber: 1c1c000.usb
[    2.781850] hub 4-0:1.0: USB hub found
[    2.785630] hub 4-0:1.0: 1 port detected
[    2.790218] ehci-platform 1c1d000.usb: EHCI Host Controller
[    2.795835] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 5
[    2.803884] ehci-platform 1c1d000.usb: irq 35, io mem 0x01c1d000
[    2.821039] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[    2.827284] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[    2.834081] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.841304] usb usb5: Product: EHCI Host Controller
[    2.846185] usb usb5: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.851760] usb usb5: SerialNumber: 1c1d000.usb
[    2.856772] hub 5-0:1.0: USB hub found
[    2.860546] hub 5-0:1.0: 1 port detected
[    2.865089] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    2.871743] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6
[    2.879752] ohci-platform 1c1b400.usb: irq 32, io mem 0x01c1b400
[    2.945184] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[    2.951986] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.959210] usb usb6: Product: Generic Platform OHCI controller
[    2.965133] usb usb6: Manufacturer: Linux 4.14.111 ohci_hcd
[    2.970709] usb usb6: SerialNumber: 1c1b400.usb
[    2.975774] hub 6-0:1.0: USB hub found
[    2.979566] hub 6-0:1.0: 1 port detected
[    2.984160] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    2.990808] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 7
[    2.998950] ohci-platform 1c1c400.usb: irq 34, io mem 0x01c1c400
[    3.056066] usb 3-1: new high-speed USB device number 2 using ehci-platform
[    3.067250] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[    3.074057] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.081284] usb usb7: Product: Generic Platform OHCI controller
[    3.087212] usb usb7: Manufacturer: Linux 4.14.111 ohci_hcd
[    3.092793] usb usb7: SerialNumber: 1c1c400.usb
[    3.097884] hub 7-0:1.0: USB hub found
[    3.101696] hub 7-0:1.0: 1 port detected
[    3.106283] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[    3.112932] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 8
[    3.120951] ohci-platform 1c1d400.usb: irq 36, io mem 0x01c1d400
[    3.190186] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001
[    3.196991] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.204217] usb usb8: Product: Generic Platform OHCI controller
[    3.210141] usb usb8: Manufacturer: Linux 4.14.111 ohci_hcd
[    3.215719] usb usb8: SerialNumber: 1c1d400.usb
[    3.220794] hub 8-0:1.0: USB hub found
[    3.224584] hub 8-0:1.0: 1 port detected
[    3.229198] usb_phy_generic usb_phy_generic.3.auto: usb_phy_generic.3.auto supply vcc not found, using dummy regulator
[    3.240282] musb-hdrc musb-hdrc.4.auto: MUSB HDRC host driver
[    3.246104] musb-hdrc musb-hdrc.4.auto: new USB bus registered, assigned bus number 9
[    3.254137] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002
[    3.260944] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.268173] usb usb9: Product: MUSB HDRC host driver
[    3.273142] usb usb9: Manufacturer: Linux 4.14.111 musb-hcd
[    3.278719] usb usb9: SerialNumber: musb-hdrc.4.auto
[    3.284207] hub 9-0:1.0: USB hub found
[    3.288030] hub 9-0:1.0: 1 port detected
[    3.291985] usb 3-1: New USB device found, idVendor=2c7c, idProduct=6005
[    3.298697] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.305835] usb 3-1: Product: Android
[    3.309511] usb 3-1: Manufacturer: Android
[    3.313612] usb 3-1: SerialNumber: 0000
[    3.321430] asoc-simple-card soc:sound: i2s-hifi <-> 1c22800.i2s mapping ok
[    3.328917] option 3-1:1.2: GSM modem (1-port) converter detected
[    3.335437] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0
[    3.344115] option 3-1:1.3: GSM modem (1-port) converter detected
[    3.344295] input: r_gpio_keys as /devices/platform/r_gpio_keys/input/input0
[    3.350586] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1
[    3.364114] sun6i-rtc 1f00000.rtc: setting system clock to 2016-02-11 19:37:15 UTC (1455219435)
[    3.364852] option 3-1:1.4: GSM modem (1-port) converter detected
[    3.373205] vcc3v0: disabling
[    3.379223] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB2
[    3.381917] vcc5v0: disabling
[    3.381922] usb0-vbus: disabling
[    3.381934] ALSA device list:
[    3.397880]   #0: Dummy 1
[    3.400496]   #1: Loopback 1
[    3.403384]   #2: H3 Audio Codec
[    3.406613]   #3: allwinner,hdmi
[    3.412316] Freeing unused kernel memory: 2048K
Loading, please wait...
starting version 237
[    3.536115] usb 7-1: new full-speed USB device number 2 using ohci-platform
[    3.785148] usb 7-1: New USB device found, idVendor=10c4, idProduct=ea60
[    3.791888] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.799033] usb 7-1: Product: CP2104 USB to UART Bridge Controller
[    3.805219] usb 7-1: Manufacturer: Silicon Labs
[    3.809756] usb 7-1: SerialNumber: 02C4A87F
[    3.926433] random: fast init done
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.31.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p3] fsck.ext4 -y -C0 /dev/mmcblk0p3 
e2fsck 1.44.1 (24-Mar-2018)
rootfs: clean, 33850/54432 files, 213487/217600 blocks
done.
[    4.288210] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[    4.311155] EXT4-fs (mmcblk0p3): re-mounted. Opts: data=ordered
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[    4.784203] systemd[1]: System time before build time, advancing clock.
[    4.845026] ip_tables: (C) 2000-2006 Netfilter Core Team
[    4.852819] cgroup: cgroup2: unknown option "memory_recursiveprot"
[    4.872701] systemd[1]: systemd 249.11-0ubuntu3.9 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[    4.904523] systemd[1]: Detected architecture arm.

Welcome to Ubuntu 22.04.3 LTS!

[    4.927260] systemd[1]: Hostname set to <NanoPi-NEO-Core>.
[    5.707605] systemd[1]: /etc/systemd/system/rc-local.service:11: Support for option SysVStartPriority= has been removed and it is ignored
[    5.808219] systemd[1]: Queued start job for default target Graphical Interface.
[    5.818473] random: systemd: uninitialized urandom read (16 bytes read)
[    5.831406] systemd[1]: Created slice Slice /system/modprobe.
[  OK  ] Created slice Slice /system/modprobe.
[    5.851434] random: systemd: uninitialized urandom read (16 bytes read)
[    5.860820] systemd[1]: Created slice Slice /system/serial-getty.
[  OK  ] Created slice Slice /system/serial-getty.
[    5.881346] random: systemd: uninitialized urandom read (16 bytes read)
[    5.889835] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    5.911987] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[    5.941759] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[    5.971918] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
[    5.984121] systemd[1]: Reached target Local Encrypted Volumes.
[  OK  ] Reached target Local Encrypted Volumes.
[    6.006976] systemd[1]: Reached target Path Units.
[  OK  ] Reached target Path Units.
[    6.026413] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    6.046344] systemd[1]: Reached target Slice Units.
[  OK  ] Reached target Slice Units.
[    6.066430] systemd[1]: Reached target Swaps.
[  OK  ] Reached target Swaps.
[    6.086453] systemd[1]: Reached target Local Verity Protected Volumes.
[  OK  ] Reached target Local Verity Protected Volumes.
[    6.107613] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    6.127010] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    6.176629] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[    6.186442] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    6.207407] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    6.235102] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    6.257212] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    6.276430] systemd[1]: Reached target Socket Units.
[  OK  ] Reached target Socket Units.
[    6.297345] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[    6.311865] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    6.337836] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    6.357260] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    6.367894] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    6.380871] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    6.395176] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    6.426627] systemd[1]: Starting Set the console keyboard layout...
         Starting Set the console keyboard layout...
[    6.455719] systemd[1]: Starting Create List of Static Device Nodes...
         Starting Create List of Static Device Nodes...
[    6.487142] systemd[1]: Starting Load Kernel Module chromeos_pstore...
         Starting Load Kernel Module chromeos_pstore...
[    6.515318] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[    6.544653] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[    6.574309] systemd[1]: Starting Load Kernel Module efi_pstore...
         Starting Load Kernel Module efi_pstore...
[    6.604541] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[    6.634624] systemd[1]: Starting Load Kernel Module pstore_blk...
         Starting Load Kernel Module pstore_blk...
[    6.664659] systemd[1]: Starting Load Kernel Module pstore_zone...
         Starting Load Kernel Module pstore_zone...
[    6.694703] systemd[1]: Starting Load Kernel Module ramoops...
         Starting Load Kernel Module ramoops...
[    6.727863] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    6.759098] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    6.789977] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[    6.830588] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[    6.852827] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[    6.873893] systemd[1]: Finished Create List of Static Device Nodes.
[  OK  ] Finished Create List of Static Device Nodes.
[    6.917621] systemd[1]: modprobe@chromeos_pstore.service: Deactivated successfully.
[    6.927192] systemd[1]: Finished Load Kernel Module chromeos_pstore.
[  OK  ] Finished Load Kernel Module chromeos_pstore.
[    6.949512] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[    6.958335] systemd[1]: Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module configfs.
[    6.982658] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module efi_pstore.
[  OK  ] Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Module pstore_blk.
[  OK  ] Finished Set the console keyboard layout.
[  OK  ] Finished Load Kernel Module pstore_zone.
[  OK  ] Finished Load Kernel Module ramoops.
[  OK  ] Finished Load Kernel Modules.
[  OK  ] Finished Remount Root and Kernel File Systems.
         Mounting FUSE Control File System...
         Mounting Kernel Configuration File System...
         Starting Flush Journal to Persistent Storage...
         Starting Load/Save Random Seed...
[    7.298023] systemd-journald[234]: Received client request to flush runtime journal.
         Starting Apply Kernel Variables...
[    7.325585] systemd-journald[234]: File /var/log/journal/7822be752ce44a689f059e9027ebaa18/system.journal corrupted or uncleanly shut down, renaming and replacing.
         Starting Create System Users...
[    7.381911] systemd-journald[234]: Failed to open system journal: No space left on device
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Create System Users.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Preparation for Local File Systems.
         Starting Rule-based Manage…for Device Events and Files...
[  OK  ] Finished Coldplug All udev Devices.
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Found device /dev/mmcblk0p1.
[  OK  ] Reached target Hardware activated USB gadget.
[  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
         Mounting /mnt/sdcard...
         Starting Load Kernel Module chromeos_pstore...
         Starting Load Kernel Module efi_pstore...
         Starting Load Kernel Module pstore_blk...
         Starting Load Kernel Module pstore_zone...
         Starting Load Kernel Module ramoops...
[  OK  ] Mounted /mnt/sdcard.
[  OK  ] Finished Load Kernel Module chromeos_pstore.
[  OK  ] Finished Load Kernel Module efi_pstore.
[  OK  ] Finished Load Kernel Module pstore_blk.
[  OK  ] Finished Load Kernel Module pstore_zone.
[  OK  ] Finished Load Kernel Module ramoops.
[  OK  ] Reached target Local File Systems.
         Starting Set console font and keymap...
[  OK  ] Started ifup for eth0.
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Set console font and keymap.
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Name Resolution...
         Starting Network Time Synchronization...
         Starting Record System Boot/Shutdown in UTMP...
[  OK  ] Finished Record System Boot/Shutdown in UTMP.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Basic System.
[  OK  ] Reached target System Time Set.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Daily dpkg database backup timer.
[  OK  ] Started Periodic ext4 Onli…ata Check for All Filesystems.
[   10.496097] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Message of the Day.
[  OK  ] Reached target Timer Units.
[  OK  ] Listening on D-Bus System Message Bus Socket.
         Starting Save/Restore Sound Card State...
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Save initial kernel messages after boot.
         Starting Remove Stale Onli…t4 Metadata Check Snapshots...
         Starting eflasher-gui...
         Starting Init board...
         Starting System Logging Service...
         Starting User Login Management...
         Starting WPA supplicant...
[  OK  ] Started Network Name Resolution.
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
[  OK  ] Finished Init board.
[  OK  ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots.
[  OK  ] Reached target Host and Network Name Lookups.
         Starting Raise network interfaces...
         Starting /etc/rc.local...
[  OK  ] Finished Save/Restore Sound Card State.
[  OK  ] Started /etc/rc.local.
[  OK  ] Started System Logging Service.
[  OK  ] Reached target Sound Card.
[  OK  ] Started WPA supplicant.
[  OK  ] Started User Login Management.
[  OK  ] Finished Raise network interfaces.
[  OK  ] Reached target Network.
         Starting OpenBSD Secure Shell server...
         Starting Permit User Sessions...
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Serial Getty on ttyS0.
         Starting Set console scheme...
[  OK  ] Finished Set console scheme.
[  OK  ] Created slice Slice /system/getty.
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Started OpenBSD Secure Shell server.

Ubuntu 22.04 LTS NanoPi-NEO-Core ttyS0Default Login:
Username = pi
Password = piNanoPi-NEO-Core login: root
Password: 
Last login: Mon Mar 20 14:32:39 UTC 2023 on ttyS0
root@NanoPi-NEO-Core:~# ppp
-bash: ppp: command not found
root@NanoPi-NEO-Core:~# 
root@NanoPi-NEO-Core:~# 
root@NanoPi-NEO-Core:~# eflasher
/usr/bin/setqt4env: line 11: /proc/driver/one-wire-info: No such file or directory


U-Boot 2017.11 (Jun 15 2021 - 10:49:36 +0800) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: FriendlyElec NanoPi H3
DRAM:  512 MiB
CPU Freq: 1008MHz
MMC:   SUNXI SD/MMC: 1, SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
BOARD: nanopi-neo-core
starting USB...
No controllers found
Hit any key to stop autoboot:  0 
reading boot.scr
1478 bytes read in 18 ms (80.1 KiB/s)
## Executing script at 43100000
running boot.scr
reading uEnv.txt
968 bytes read in 18 ms (51.8 KiB/s)
reading zImage
5902208 bytes read in 291 ms (19.3 MiB/s)
reading rootfs.cpio.gz
5880768 bytes read in 291 ms (19.3 MiB/s)
reading sun8i-h3-nanopi-neo-core.dtb
34940 bytes read in 26 ms (1.3 MiB/s)
overlays is empty
reading overlays/sun8i-h3-fixup.scr
4109 bytes read in 33 ms (121.1 KiB/s)
## Executing script at 44500000
## Flattened Device Tree blob at 48000000
   Booting using the fdt blob at 0x48000000
   Loading Ramdisk to 49a64000, end 49fffbc0 ... OK
   reserving fdt memory region: addr=48000000 size=6e000
   Loading Device Tree to 499f3000, end 49a63fff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.111 (rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3) (gcc version 4.9.3 (ctng-1.21.0-229g-FA)) #1 SMP Tue Apr 9 12:40:43 CST 2024
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=30c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: FriendlyElec NanoPi-NEO-Core
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x000000005bc00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] percpu: Embedded 17 pages/cpu @dff5b000 s37120 r8192 d24320 u69632
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait fsck.repair=yes panic=10 fbcon=map:0  data=/dev/mmcblk0p3 snd-soc-core.pmdown_time=3600000
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 429860K/524288K available (10240K kernel code, 391K rwdata, 2080K rodata, 2048K init, 303K bss, 28892K reserved, 65536K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0c00000   (12256 kB)
[    0.000000]       .init : 0xc1000000 - 0xc1200000   (2048 kB)
[    0.000000]       .data : 0xc1200000 - 0xc1261f00   ( 392 kB)
[    0.000000]        .bss : 0xc126a884 - 0xc12b6850   ( 304 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000018] Switching to timer-based delay loop, resolution 41ns
[    0.000215] Console: colour dummy device 80x30
[    0.000251] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=120000)
[    0.000265] pid_max: default: 32768 minimum: 301
[    0.000434] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000449] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001182] CPU: Testing write buffer coherency: ok
[    0.001643] CPU0: update cpu_capacity 1024
[    0.001655] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002029] Setting up static identity map for 0x40200000 - 0x40200060
[    0.002156] Hierarchical SRCU implementation.
[    0.002725] smp: Bringing up secondary CPUs ...
[    0.013533] CPU1: update cpu_capacity 1024
[    0.013540] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.024434] CPU2: update cpu_capacity 1024
[    0.024440] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.035232] CPU3: update cpu_capacity 1024
[    0.035237] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.035320] smp: Brought up 1 node, 4 CPUs
[    0.035349] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.035355] CPU: All CPU(s) started in HYP mode.
[    0.035361] CPU: Virtualization extensions available.
[    0.036094] devtmpfs: initialized
[    0.043087] random: get_random_u32 called from bucket_table_alloc+0xf0/0x240 with crng_init=0
[    0.043732] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.044017] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
[    0.044043] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.046764] xor: measuring software checksum speed
[    0.095043]    arm4regs  :  1372.000 MB/sec
[    0.145099]    8regs     :   769.600 MB/sec
[    0.195153]    32regs    :   850.400 MB/sec
[    0.245210]    neon      :  1283.200 MB/sec
[    0.245218] xor: using function: arm4regs (1372.000 MB/sec)
[    0.245240] pinctrl core: initialized pinctrl subsystem
[    0.246239] NET: Registered protocol family 16
[    0.247938] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.248752] cpuidle: using governor ladder
[    0.248844] cpuidle: using governor menu
[    0.249275] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.249285] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.268410] SCSI subsystem initialized
[    0.268854] usbcore: registered new interface driver usbfs
[    0.268903] usbcore: registered new interface driver hub
[    0.268997] usbcore: registered new device driver usb
[    0.269167] media: Linux media interface: v0.10
[    0.269210] Linux video capture interface: v2.00
[    0.269338] pps_core: LinuxPPS API ver. 1 registered
[    0.269345] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.269365] PTP clock support registered
[    0.269671] Advanced Linux Sound Architecture Driver Initialized.
[    0.271339] clocksource: Switched to clocksource arch_sys_counter
[    0.271526] VFS: Disk quotas dquot_6.6.0
[    0.271603] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.271759] FS-Cache: Loaded
[    0.278796] NET: Registered protocol family 2
[    0.279452] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.279508] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.279570] TCP: Hash tables configured (established 4096 bind 4096)
[    0.279677] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.279720] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.279933] NET: Registered protocol family 1
[    0.280400] RPC: Registered named UNIX socket transport module.
[    0.280412] RPC: Registered udp transport module.
[    0.280418] RPC: Registered tcp transport module.
[    0.280423] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.280644] Unpacking initramfs...
[    0.578167] Freeing initrd memory: 5744K
[    0.578607] kvm [1]: 8-bit VMID
[    0.579309] kvm [1]: vgic interrupt IRQ16
[    0.579408] kvm [1]: Hyp mode initialized successfully
[    0.582327] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.586965] zbud: loaded
[    0.588542] FS-Cache: Netfs 'nfs' registered for caching
[    0.589089] NFS: Registering the id_resolver key type
[    0.589131] Key type id_resolver registered
[    0.589139] Key type id_legacy registered
[    0.589155] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.589179] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.590103] fuse init (API version 7.26)
[    0.595491] async_tx: api initialized (async)
[    0.595636] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.595800] io scheduler noop registered (default)
[    0.595811] io scheduler deadline registered
[    0.596005] io scheduler cfq registered
[    0.596015] io scheduler mq-deadline registered
[    0.596147] io scheduler bfq registered
[    0.596927] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO, pinctrl may not init
[    0.600672] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.602258] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    0.607696] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.609576] console [ttyS0] disabled
[    0.629811] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 45, base_baud = 1500000) is a U6_16550A
[    1.393440] console [ttyS0] enabled
[    1.419730] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 46, base_baud = 1500000) is a U6_16550A
[    1.451307] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 47, base_baud = 1500000) is a U6_16550A
[    1.482870] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 48, base_baud = 1500000) is a U6_16550A
[    1.494026] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.500670] [drm] No driver support for vblank timestamp query.
[    1.516037] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc0c51ba8)
[    1.523134] sun4i-drm display-engine: No panel or bridge found... RGB output disabled
[    1.530988] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0c508ac)
[    1.661438] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[    1.671347] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[    1.679080] sun4i-drm display-engine: bound 1ee0000.hdmi (ops 0xc0c51f28)
[    1.685938] [drm] Cannot find any crtc or sizes - going 1920x1080
[    1.733395] Console: switching to colour frame buffer device 240x67
[    1.764274] sun4i-drm display-engine: fb0:  frame buffer device
[    1.770694] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.787671] loop: module loaded
[    1.807209] st: Version 20160209, fixed bufsize 32768, s/g segs 256
[    1.813582] osst :I: Tape driver with OnStream support version 0.99.4
[    1.813582] osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $
[    1.826914] SCSI Media Changer driver v0.25 
[    1.833234] libphy: Fixed MDIO Bus: probed
[    1.837383] tun: Universal TUN/TAP device driver, 1.6
[    1.842619] CAN device driver interface
[    1.846970] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    1.852767] dwmac-sun8i 1c30000.ethernet: No regulator found
[    1.858477] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    1.864611] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    1.870280] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    1.877502] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    1.883166] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    1.890387] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    1.895357] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    1.902710] libphy: stmmac: probed
[    1.912180] PPP generic driver version 2.4.2
[    1.916700] PPP BSD Compression module registered
[    1.921423] PPP Deflate Compression module registered
[    1.926508] PPP MPPE Compression module registered
[    1.931295] NET: Registered protocol family 24
[    1.935848] usbcore: registered new interface driver qmi_wwan
[    1.941631] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.948171] ehci-platform: EHCI generic platform driver
[    1.953671] ehci-platform 1c1a000.usb: EHCI Host Controller
[    1.959279] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    1.967507] ehci-platform 1c1a000.usb: irq 29, io mem 0x01c1a000
[    1.986353] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.992663] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.999464] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.006689] usb usb1: Product: EHCI Host Controller
[    2.011572] usb usb1: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.017147] usb usb1: SerialNumber: 1c1a000.usb
[    2.022213] hub 1-0:1.0: USB hub found
[    2.025992] hub 1-0:1.0: 1 port detected
[    2.030623] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.036846] ohci-platform: OHCI generic platform driver
[    2.042275] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    2.048916] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    2.056874] ohci-platform 1c1a400.usb: irq 30, io mem 0x01c1a400
[    2.125522] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    2.132330] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.139557] usb usb2: Product: Generic Platform OHCI controller
[    2.145480] usb usb2: Manufacturer: Linux 4.14.111 ohci_hcd
[    2.151057] usb usb2: SerialNumber: 1c1a400.usb
[    2.158476] hub 2-0:1.0: USB hub found
[    2.162272] hub 2-0:1.0: 1 port detected
[    2.166932] usbcore: registered new interface driver cdc_acm
[    2.172606] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    2.180665] usbcore: registered new interface driver usblp
[    2.186190] usbcore: registered new interface driver cdc_wdm
[    2.191891] usbcore: registered new interface driver uas
[    2.197293] usbcore: registered new interface driver usb-storage
[    2.203383] usbcore: registered new interface driver usbserial
[    2.209253] usbcore: registered new interface driver usbserial_generic
[    2.215817] usbserial: USB Serial support registered for generic
[    2.221861] usbcore: registered new interface driver option
[    2.227461] usbserial: USB Serial support registered for GSM modem (1-port)
[    2.234561] usbcore: registered new interface driver qcserial
[    2.240344] usbserial: USB Serial support registered for Qualcomm USB modem
[    2.248163] mousedev: PS/2 mouse device common for all mice
[    2.254248] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[    2.261048] sun6i-rtc 1f00000.rtc: RTC enabled
[    2.265562] i2c /dev entries driver
[    2.270951] lirc_dev: IR Remote Control driver registered, major 244
[    2.277334] IR NEC protocol handler initialized
[    2.281874] IR RC5(x/sz) protocol handler initialized
[    2.286927] IR RC6 protocol handler initialized
[    2.291461] IR JVC protocol handler initialized
[    2.295984] IR Sony protocol handler initialized
[    2.300603] IR SANYO protocol handler initialized
[    2.305309] IR Sharp protocol handler initialized
[    2.310005] IR MCE Keyboard/mouse protocol handler initialized
[    2.315837] IR LIRC bridge handler initialized
[    2.320282] IR XMP protocol handler initialized
[    2.325666] thermal thermal_zone0: failed to read out thermal zone (-16)
[    2.332904] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    2.341226] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[    2.391408] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    2.434432] mmc1: host does not support reading read-only switch, assuming write-enable
[    2.436696] sunxi-mmc 1c11000.mmc: initialized, max. request size: 16384 KB
[    2.445437] mmc1: new high speed SDHC card at address aaaa
[    2.455423] mmcblk1: mmc1:aaaa SD32G 29.7 GiB 
[    2.456032] ledtrig-cpu: registered to indicate activity on CPUs
[    2.461355]  mmcblk1:
[    2.466186] hidraw: raw HID events driver (C) Jiri Kosina
[    2.473743] usbcore: registered new interface driver usbhid
[    2.479321] usbhid: USB HID core driver
[    2.496380] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    2.506483] Initializing XFRM netlink socket
[    2.511393] NET: Registered protocol family 10
[    2.517486] mmc0: new DDR MMC card at address 0001
[    2.523036] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB 
[    2.528065] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB
[    2.533806] Segment Routing with IPv6
[    2.534283] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB
[    2.537759] NET: Registered protocol family 17
[    2.544679]  mmcblk0: p1 p2 p3
[    2.548070] NET: Registered protocol family 15
[    2.555548] can: controller area network core (rev 20170425 abi 9)
[    2.561822] NET: Registered protocol family 29
[    2.566264] can: raw protocol (rev 20170425)
[    2.570556] can: broadcast manager protocol (rev 20170425 t)
[    2.576225] can: netlink gateway (rev 20170425) max_hops=1
[    2.582229] Key type dns_resolver registered
[    2.586837] Registering SWP/SWPB emulation handler
[    2.593067] registered taskstats version 1
[    2.605520] Key type encrypted registered
[    2.615508] vcc1v2: supplied by vcc5v0
[    2.619659] vcc-dram: supplied by vcc5v0
[    2.623829] vdd-cpux-en: supplied by vcc5v0
[    2.629791] ehci-platform 1c1b000.usb: EHCI Host Controller
[    2.635419] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3
[    2.643629] ehci-platform 1c1b000.usb: irq 31, io mem 0x01c1b000
[    2.661360] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    2.667656] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    2.674468] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.681695] usb usb3: Product: EHCI Host Controller
[    2.686579] usb usb3: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.692153] usb usb3: SerialNumber: 1c1b000.usb
[    2.697300] hub 3-0:1.0: USB hub found
[    2.701082] hub 3-0:1.0: 1 port detected
[    2.705749] ehci-platform 1c1c000.usb: EHCI Host Controller
[    2.711371] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
[    2.719445] ehci-platform 1c1c000.usb: irq 33, io mem 0x01c1c000
[    2.736359] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    2.742611] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    2.749411] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.756635] usb usb4: Product: EHCI Host Controller
[    2.761517] usb usb4: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.767092] usb usb4: SerialNumber: 1c1c000.usb
[    2.772148] hub 4-0:1.0: USB hub found
[    2.775925] hub 4-0:1.0: 1 port detected
[    2.780521] ehci-platform 1c1d000.usb: EHCI Host Controller
[    2.786133] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 5
[    2.794347] ehci-platform 1c1d000.usb: irq 35, io mem 0x01c1d000
[    2.811344] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[    2.817598] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[    2.824397] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.831621] usb usb5: Product: EHCI Host Controller
[    2.836503] usb usb5: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.842078] usb usb5: SerialNumber: 1c1d000.usb
[    2.847089] hub 5-0:1.0: USB hub found
[    2.850863] hub 5-0:1.0: 1 port detected
[    2.855432] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    2.862089] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6
[    2.870078] ohci-platform 1c1b400.usb: irq 32, io mem 0x01c1b400
[    2.935488] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[    2.942293] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.949518] usb usb6: Product: Generic Platform OHCI controller
[    2.955441] usb usb6: Manufacturer: Linux 4.14.111 ohci_hcd
[    2.961017] usb usb6: SerialNumber: 1c1b400.usb
[    2.966106] hub 6-0:1.0: USB hub found
[    2.969914] hub 6-0:1.0: 1 port detected
[    2.974514] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    2.981167] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 7
[    2.989322] ohci-platform 1c1c400.usb: irq 34, io mem 0x01c1c400
[    3.046364] usb 3-1: new high-speed USB device number 2 using ehci-platform
[    3.057552] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[    3.064361] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.071587] usb usb7: Product: Generic Platform OHCI controller
[    3.077515] usb usb7: Manufacturer: Linux 4.14.111 ohci_hcd
[    3.083093] usb usb7: SerialNumber: 1c1c400.usb
[    3.088191] hub 7-0:1.0: USB hub found
[    3.091990] hub 7-0:1.0: 1 port detected
[    3.096630] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[    3.103288] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 8
[    3.111312] ohci-platform 1c1d400.usb: irq 36, io mem 0x01c1d400
[    3.180489] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001
[    3.187295] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.194523] usb usb8: Product: Generic Platform OHCI controller
[    3.200447] usb usb8: Manufacturer: Linux 4.14.111 ohci_hcd
[    3.206024] usb usb8: SerialNumber: 1c1d400.usb
[    3.211098] hub 8-0:1.0: USB hub found
[    3.214893] hub 8-0:1.0: 1 port detected
[    3.219541] usb_phy_generic usb_phy_generic.3.auto: usb_phy_generic.3.auto supply vcc not found, using dummy regulator
[    3.230626] musb-hdrc musb-hdrc.4.auto: MUSB HDRC host driver
[    3.236454] musb-hdrc musb-hdrc.4.auto: new USB bus registered, assigned bus number 9
[    3.244478] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002
[    3.251282] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.258511] usb usb9: Product: MUSB HDRC host driver
[    3.263482] usb usb9: Manufacturer: Linux 4.14.111 musb-hcd
[    3.269060] usb usb9: SerialNumber: musb-hdrc.4.auto
[    3.274565] hub 9-0:1.0: USB hub found
[    3.278384] hub 9-0:1.0: 1 port detected
[    3.282327] usb 3-1: New USB device found, idVendor=2c7c, idProduct=6005
[    3.289035] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.296175] usb 3-1: Product: Android
[    3.299849] usb 3-1: Manufacturer: Android
[    3.303953] usb 3-1: SerialNumber: 0000
[    3.311818] asoc-simple-card soc:sound: i2s-hifi <-> 1c22800.i2s mapping ok
[    3.319323] option 3-1:1.2: GSM modem (1-port) converter detected
[    3.325836] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0
[    3.334550] option 3-1:1.3: GSM modem (1-port) converter detected
[    3.334694] input: r_gpio_keys as /devices/platform/r_gpio_keys/input/input0
[    3.341003] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1
[    3.354538] sun6i-rtc 1f00000.rtc: setting system clock to 2016-02-11 19:39:55 UTC (1455219595)
[    3.355265] option 3-1:1.4: GSM modem (1-port) converter detected
[    3.363634] vcc3v0: disabling
[    3.369646] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB2
[    3.372343] vcc5v0: disabling
[    3.372348] usb0-vbus: disabling
[    3.372355] ALSA device list:
[    3.388302]   #0: Dummy 1
[    3.390919]   #1: Loopback 1
[    3.393803]   #2: H3 Audio Codec
[    3.397034]   #3: allwinner,hdmi
[    3.402717] Freeing unused kernel memory: 2048K
Loading, please wait...
starting version 237
[    3.526408] usb 7-1: new full-speed USB device number 2 using ohci-platform
[    3.770449] usb 7-1: New USB device found, idVendor=10c4, idProduct=ea60
[    3.777304] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.784455] usb 7-1: Product: CP2104 USB to UART Bridge Controller
[    3.790651] usb 7-1: Manufacturer: Silicon Labs
[    3.795193] usb 7-1: SerialNumber: 02C4A87F
[    3.921988] random: fast init done
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.
[    4.152239] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
Begin: Will now check userdata file system ... fsck from util-linux 2.31.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p3] fsck.ext4 -y -C0 /dev/mmcblk0p3 
e2fsck 1.44.1 (24-Mar-2018)
Superblock last write time (Wed Nov  8 07:48:54 2023,
    now = Thu Feb 11 19:39:56 2016) is in the future.
Fix? yes

Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure                                           
Pass 3: Checking directory connectivity
Pass 4: C[    4.258739] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
hecking reference counts
Pass 5: Checking group summary information
userdata: 11/12800 files (0.0% non-contiguous), 4958/51200 blocks              
done.
Begin: Resizing ext4 file system on /dev/mmcblk0p3 ... Model: MMC 8GTF4R (sd/mmc)
Disk /dev/mmcblk0: 100%
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start  End    Size   Type     File system  Flags
 1      0.32%  0.86%  0.54%  primary  fat16
 2      0.86%  17.2%  16.3%  primary  ext4
 3      17.2%  100%   82.8%  primary  ext4

resize2fs 1.44.1 (24-Mar-2018)
Resizing the filesystem on /dev/mmcblk0p3 to 1581056 (4k) blocks.
The filesystem on /dev/mmcblk0p3 is now 1581056 (4k) blocks long.

done.
[    6.374734] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[    6.617277] random: systemd: uninitialized urandom read (16 bytes read)
[    6.627496] random: systemd: uninitialized urandom read (16 bytes read)
[    6.640183] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[    6.659148] systemd[1]: Detected architecture arm.

Welcome to Ubuntu 16.04.2 LTS!

[    6.682240] systemd[1]: Set hostname to <FriendlyElec>.
[    6.692983] random: systemd: uninitialized urandom read (16 bytes read)
[    6.699708] systemd[1]: Initializing machine ID from random generator.
[    6.994149] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    7.016823] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    7.036835] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[    7.056865] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[    7.086521] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    7.106764] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Created slice User and Session Slice.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Created slice System Slice.
         Starting Remount Root and Kernel File Systems...
         Mounting Debug File System...
[  OK  ] Created slice system-serial\x2dgetty.slice.
         Starting Journal Service...
[  OK  ] Reached target Slices.
         Starting Create list of required st... nodes for the current kernel...
         Starting Load Kernel Modules...
[    7.363945] Mass Storage Function, version: 2009/09/11
[    7.369281] LUN: removable file: (no medium)
[    7.369520] LUN: file: /dev/mmcblk0p1
[    7.377368] Number of LUNs=1
         [    7.380599] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
Mounting POSIX Message Queue File System...
[    7.388125] g_mass_storage gadget: userspace failed to provide iSerialNumber
[    7.398977] g_mass_storage gadget: g_mass_storage ready
[  OK  ] Listening on udev Control Socket.
         Starting Set console keymap...
[    7.438502] 8821cu: loading out-of-tree module taints kernel.
[  OK  ] Reached target Encrypted Volumes.
[    7.467893] usbcore: registered new interface driver rtl8821cu
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Create list of required sta...ce nodes for the current[    7.539976] usbcore: registered new interface driver rtl88xxau
 kernel.
[  OK  ] Started Journal Service.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Set console keymap.
         Starting Apply Kernel Variables...
         Mounting Configuration File System...
         Mounting FUSE Control File System...
         Starting Create Static Device Nodes in /dev...
         Starting Load/Save Random Seed...
         Starting udev Coldplug all Devices...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Mounted Configuration File System.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Reached target Sound Card.
[  OK  ] Found device /dev/mmcblk0p1.
[  OK  ] Found device /dev/ttyS0.
         Mounting /boot...
[  OK  ] Mounted /boot.
[  OK  ] Reached target Local File Systems.
         Starting Raise network interfaces...
         Starting Create Volatile Files and Directories...
         Starting Set console font and keymap...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[  OK  ] Reached target System Time Synchronized.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Started Daily apt activities.
[  OK  ] Reached target Timers.
[  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 brcm_patchram_plus...
         Starting Login Service...
         Starting LSB: add swap at first boot...
         Starting Restore /etc/resolv.conf i...re the ppp link was shut down...
         Starting Modem Manager...
         Starting LSB: sync_ntp_rtc...
         Starting LSB: select system audio output at first boot...
         Starting Save/Restore Sound Card State...
[  OK  ] Started Regular background program processing daemon.
         Starting Permit User Sessions...
[  OK  ] Started D-Bus System Message Bus.
         Starting Network Manager...
         Starting Init board...
[  OK  ] Started Set console font and keymap.
[  OK  ] Started brcm_patchram_plus.
[  OK  ] Started LSB: add swap at first boot.
[  OK  ] Started Restore /etc/resolv.conf if...fore the ppp link was shut down.
[  OK  ] Started LSB: sync_ntp_rtc.
[  OK  ] Started LSB: select system audio output at first boot.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
[  OK  ] Started Raise network interfaces.
[  OK  ] Started Network Manager.
[  OK  ] Started Login Service.
         Starting Network Manager Script Dispatcher Service...
         Starting Network Manager Wait Online...
         Starting Authenticate and Authorize Users to Run Privileged Tasks...
         Starting Set console scheme...
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started Set console scheme.
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Started Authenticate and Authorize Users to Run Privileged Tasks.
[  OK  ] Started Init board.
[  OK  ] Reached target Network.
         Starting OpenBSD Secure Shell server...
         Starting Hostname Service...
[  OK  ] Started Modem Manager.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started Hostname Service.
[   11.479413] cdc_ether 3-1:1.0 usb0: kevent 12 may have been dropped
[**    ] A start job is running for Network ...ger Wait Online (17s / no limit)[   24.454140] cdc_ether 3-1:1.0 usb0: kevent 12 may have been dropped
[FAILED] Failed to start Network Manager Wait Online.
See 'systemctl status NetworkManager-wait-online.service' for details.
[  OK  ] Reached target Network is Online.
         Starting LSB: Start NTP daemon...
         Starting /etc/rc.local Compatibility...
         Starting LSB: disk temperature monitoring daemon...
[   41.973578] rc.local[668]: ctp = 0
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.

Ubuntu 16.04.2 LTS NanoPi-NEO-Core ttyS0

Default Login:
Username = pi
Password = pi

NanoPi-NEO-Core login: pi (automatic login)

 _____     _                _ _       _____ _     _____ ____ 
|  ___| __(_) ___ _ __   __| | |_   _| ____| |   | ____/ ___|
| |_ | '__| |/ _ \ '_ \ / _` | | | | |  _| | |   |  _|| |    
|  _|| |  | |  __/ | | | (_| | | |_| | |___| |___| |__| |___ 
|_|  |_|  |_|\___|_| |_|\__,_|_|\__, |_____|_____|_____\____|
                                |___/                        

Welcome to Ubuntu 16.04.2 LTS 4.14.111
System load:   0.55                Up time:       44 sec        
Memory usage:  8 % of 491Mb      IP:            
CPU temp:      48°C               
Usage of /:    9% of 6.0G       

 * Documentation: http://wiki.friendlyarm.com/Ubuntu
 * Forum: http://www.friendlyarm.com/Forum/

pi@NanoPi-NEO-Core:~$ pp
pppdump          pppstats         pptpsetup        
pppoe-discovery  pptp             

pi@NanoPi-NEO-Core:~$ 
pi@NanoPi-NEO-Core:~$ 
pi@NanoPi-NEO-Core:~$ lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 002: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 2c7c:6005  
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

pi@NanoPi-NEO-Core:~$ 
pi@NanoPi-NEO-Core:~$ su
Password: 
root@NanoPi-NEO-Core:/home/pi# 
root@NanoPi-NEO-Core:/home/pi# 
root@NanoPi-NEO-Core:/home/pi# 
root@NanoPi-NEO-Core:/home/pi# ppp
pppd             pppdump          pppoe-discovery  pppstats
root@NanoPi-NEO-Core:/home/pi# cd /etc/ppp/peers/
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# ifconfig
eth0      Link encap:Ethernet  HWaddr 02:81:8b:09:ef:b0  
          inet6 addr: fe80::191e:f6b5:ddd2:acb3/64 Scope:Link
          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:41 

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)

usb0      Link encap:Ethernet  HWaddr 02:0c:29:a3:9b:6d  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:244 (244.0 B)  TX bytes:1706 (1.7 KB)

root@NanoPi-NEO-Core:/etc/ppp/peers# ll
total 12
drwxr-s--- 2 root dip 4096 Mar 26  2017 ./
drwxr-xr-x 7 root dip 4096 Mar 26  2017 ../
-rw-r----- 1 root dip 1093 Mar 26  2017 provider
root@NanoPi-NEO-Core:/etc/ppp/peers# fdisk -l
Disk /dev/mmcblk1: 29.7 GiB, 31914983424 bytes, 62333952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x500a0dff

Device         Boot      Start        End    Sectors   Size Id Type
/dev/mmcblk1p1      1948285285 3650263507 1701978223 811.6G 6e unknown
/dev/mmcblk1p2               0          0          0     0B 74 unknown
/dev/mmcblk1p4        28049408   28049848        441 220.5K  0 Empty

Partition table entries are not in disk order.


Disk /dev/mmcblk0: 7.3 GiB, 7818182656 bytes, 15269888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xc7f9fa91

Device         Boot   Start      End  Sectors  Size Id Type
/dev/mmcblk0p1        49152   131071    81920   40M 83 Linux
/dev/mmcblk0p2       131072  2621439  2490368  1.2G 83 Linux
/dev/mmcblk0p3      2621440 15269887 12648448    6G 83 Linux


Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# mount /dev/mmcblk1 /mnt
root@NanoPi-NEO-Core:/etc/ppp/peers# cd /mnt

root@NanoPi-NEO-Core:/mnt# ll
total 16580
drwxr-xr-x 6 root root    65536 Jan  1  1970 ./
drwxr-xr-x 1 root root     4096 Feb 11 19:39 ../
-rwxr-xr-x 1 root root        0 Mar 27  2024 1234.txt*
-rwxr-xr-x 1 root root    18040 Apr  3  2024 alsa_demo*
drwxr-xr-x 2 root root    65536 Apr  8  2024 linux-ppp-scripts/
-rwxr-xr-x 1 root root 16334908 Apr  3  2024 mplayer*
drwxr-xr-x 2 root root    65536 Mar 28  2024 music/
-rwxr-xr-x 1 root root   183564 Apr  2  2024 quectel-CM*
drwxr-xr-x 2 root root    65536 Mar 27  2024 System Volume Information/
drwxr-xr-x 2 root root    65536 Feb 11 17:17 wyb2/
root@NanoPi-NEO-Core:/mnt# cd linux-ppp-scripts/
root@NanoPi-NEO-Core:/mnt/linux-ppp-scripts# ll
total 576
drwxr-xr-x 2 root root 65536 Apr  8  2024 ./
drwxr-xr-x 6 root root 65536 Jan  1  1970 ../
-rwxr-xr-x 1 root root   272 Dec 12  2018 ip-up*
-rwxr-xr-x 1 root root   317 Dec 12  2018 quectel-chat-connect*
-rwxr-xr-x 1 root root   154 Dec 12  2018 quectel-chat-disconnect*
-rwxr-xr-x 1 root root  1051 Dec 12  2018 quectel-ppp*
-rwxr-xr-x 1 root root  1587 Dec 12  2018 quectel-pppd.sh*
-rwxr-xr-x 1 root root   230 Dec 12  2018 quectel-ppp-kill*
-rwxr-xr-x 1 root root  1527 Dec 12  2018 readme*
root@NanoPi-NEO-Core:/mnt/linux-ppp-scripts# 
root@NanoPi-NEO-Core:/mnt/linux-ppp-scripts# 
root@NanoPi-NEO-Core:/mnt/linux-ppp-scripts# cp * /etc/ppp/peers/
root@NanoPi-NEO-Core:/mnt/linux-ppp-scripts# cd /etc/ppp/peers/
root@NanoPi-NEO-Core:/etc/ppp/peers# ll

total 44
drwxr-s--- 1 root dip 4096 Feb 11 19:42 ./
drwxr-xr-x 1 root dip 4096 Mar 26  2017 ../
-rwxr-xr-x 1 root dip  272 Feb 11 19:42 ip-up*
-rw-r----- 1 root dip 1093 Mar 26  2017 provider
-rwxr-xr-x 1 root dip  317 Feb 11 19:42 quectel-chat-connect*
-rwxr-xr-x 1 root dip  154 Feb 11 19:42 quectel-chat-disconnect*
-rwxr-xr-x 1 root dip 1051 Feb 11 19:42 quectel-ppp*
-rwxr-xr-x 1 root dip 1587 Feb 11 19:42 quectel-pppd.sh*
-rwxr-xr-x 1 root dip  230 Feb 11 19:42 quectel-ppp-kill*
-rwxr-xr-x 1 root dip 1527 Feb 11 19:42 readme*
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# ppp
pppd             pppdump          pppoe-discovery  pppstats
root@NanoPi-NEO-Core:/etc/ppp/peers# pppd call quectel-ppp&
[1] 949
root@NanoPi-NEO-Core:/etc/ppp/peers# pppd options in effect:
debug        # (from /etc/ppp/peers/quectel-ppp)
nodetach        # (from /etc/ppp/peers/quectel-ppp)
dump        # (from /etc/ppp/peers/quectel-ppp)
noauth        # (from /etc/ppp/peers/quectel-ppp)
user test        # (from /etc/ppp/peers/quectel-ppp)
password ??????        # (from /etc/ppp/peers/quectel-ppp)
remotename 3gppp        # (from /etc/ppp/peers/quectel-ppp)
/dev/ttyUSB3        # (from /etc/ppp/peers/quectel-ppp)
115200        # (from /etc/ppp/peers/quectel-ppp)
lock        # (from /etc/ppp/peers/quectel-ppp)
connect chat -s -v -f /etc/ppp/peers/quectel-chat-connect        # (from /etc/ppp/peers/quectel-ppp)
disconnect chat -s -v -f /etc/ppp/peers/quectel-chat-disconnect        # (from /etc/ppp/peers/quectel-ppp)
nocrtscts        # (from /etc/ppp/peers/quectel-ppp)
modem        # (from /etc/ppp/peers/quectel-ppp)
asyncmap 0        # (from /etc/ppp/options)
lcp-echo-failure 4        # (from /etc/ppp/options)
lcp-echo-interval 30        # (from /etc/ppp/options)
hide-password        # (from /etc/ppp/peers/quectel-ppp)
novj        # (from /etc/ppp/peers/quectel-ppp)
novjccomp        # (from /etc/ppp/peers/quectel-ppp)
ipcp-accept-local        # (from /etc/ppp/peers/quectel-ppp)
ipcp-accept-remote        # (from /etc/ppp/peers/quectel-ppp)
ipparam 3gppp        # (from /etc/ppp/peers/quectel-ppp)
noipdefault        # (from /etc/ppp/peers/quectel-ppp)
ipcp-max-failure 30        # (from /etc/ppp/peers/quectel-ppp)
defaultroute        # (from /etc/ppp/peers/quectel-ppp)
usepeerdns        # (from /etc/ppp/peers/quectel-ppp)
noccp        # (from /etc/ppp/peers/quectel-ppp)
noipx        # (from /etc/ppp/options)
abort on (BUSY)
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (ERROR)
abort on (NO ANSWER)
timeout set to 30 seconds
send (AT^M)
expect (OK)

root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# ll /dev/ttyUSB*
crw-rw---- 1 root dialout 188, 0 Feb 11 19:40 /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 1 Feb 11 19:42 /dev/ttyUSB1
crw-rw---- 1 root dialout 188, 2 Feb 11 19:40 /dev/ttyUSB2
crw-rw---- 1 root dialout 188, 3 Feb 11 19:42 /dev/ttyUSB3
root@NanoPi-NEO-Core:/etc/ppp/peers# 

root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# lsmod
Module                  Size  Used by
cp210x                 24576  1
cdc_ether              16384  0
nls_ascii              16384  2
8189es               1024000  0
brcmfmac              180224  0
brcmutil               16384  1 brcmfmac
xradio_wlan           110592  0
88XXau               1753088  0
8821cu               1683456  0
g_mass_storage         16384  0
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# ifconfig
eth0      Link encap:Ethernet  HWaddr 02:81:8b:09:ef:b0  
          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:41 

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)

usb0      Link encap:Ethernet  HWaddr 02:0c:29:a3:9b:6d  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:388 (388.0 B)  TX bytes:1706 (1.7 KB)

root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# ll
total 44
drwxr-s--- 1 root dip 4096 Feb 11 19:42 ./
drwxr-xr-x 1 root dip 4096 Mar 26  2017 ../
-rwxr-xr-x 1 root dip  272 Feb 11 19:42 ip-up*
-rw-r----- 1 root dip 1093 Mar 26  2017 provider
-rwxr-xr-x 1 root dip  317 Feb 11 19:42 quectel-chat-connect*
-rwxr-xr-x 1 root dip  154 Feb 11 19:42 quectel-chat-disconnect*
-rwxr-xr-x 1 root dip 1051 Feb 11 19:42 quectel-ppp*
-rwxr-xr-x 1 root dip 1587 Feb 11 19:42 quectel-pppd.sh*
-rwxr-xr-x 1 root dip  230 Feb 11 19:42 quectel-ppp-kill*
-rwxr-xr-x 1 root dip 1527 Feb 11 19:42 readme*
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# vi quectel-alarm
Failed
Script chat -s -v -f /etc/ppp/peers/quectel-chat-connect finished (pid 950), status = 0x3
Connect script failed
ppp
root@NanoPi-NEO-Core:/etc/ppp/peers# ifconfig
eth0      Link encap:Ethernet  HWaddr 02:81:8b:09:ef:b0  
          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:41 
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)
usb0      Link encap:Ethernet  HWaddr 02:0c:29:a3:9b:6d  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:388 (388.0 B)  TX bytes:1706 (1.7 KB)
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# ll
total 44
drwxr-s--- 1 root dip 4096 Feb 11 19:42 ./
drwxr-xr-x 1 root dip 4096 Mar 26  2017 ../
-rwxr-xr-x 1 root dip  272 Feb 11 19:42 ip-up*
-rw-r----- 1 root dip 1093 Mar 26  2017 provider
-rwxr-xr-x 1 root dip  317 Feb 11 19:42 quectel-chat-connect*
-rwxr-xr-x 1 root dip  154 Feb 11 19:42 quectel-chat-disconnect*
-rwxr-xr-x 1 root dip 1051 Feb 11 19:42 quectel-ppp*
-rwxr-xr-x 1 root dip 1587 Feb 11 19:42 quectel-pppd.sh*
-rwxr-xr-x 1 root dip  230 Feb 11 19:42 quectel-ppp-kill*
-rwxr-xr-x 1 root dip 1527 Feb 11 19:42 readme*
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# vi quectel-alarm
Failed
Script chat -s -v -f /etc/ppp/peers/quectel-chat-connect finished (pid 950), status = 0x3
Connect script failed
ppp
[1]+  Exit 8                  pppd call quectel-ppp
root@NanoPi-NEO-Core:/etc/ppp/peers# ll
total 44
drwxr-s--- 1 root dip 4096 Feb 11 19:42 ./
drwxr-xr-x 1 root dip 4096 Mar 26  2017 ../
-rwxr-xr-x 1 root dip  272 Feb 11 19:42 ip-up*
-rw-r----- 1 root dip 1093 Mar 26  2017 provider
-rwxr-xr-x 1 root dip  317 Feb 11 19:42 quectel-chat-connect*
-rwxr-xr-x 1 root dip  154 Feb 11 19:42 quectel-chat-disconnect*
-rwxr-xr-x 1 root dip 1051 Feb 11 19:43 quectel-ppp*
-rwxr-xr-x 1 root dip 1587 Feb 11 19:42 quectel-pppd.sh*
-rwxr-xr-x 1 root dip  230 Feb 11 19:42 quectel-ppp-kill*
-rwxr-xr-x 1 root dip 1527 Feb 11 19:42 readme*
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# cat quectel-ppp
# /etc/ppp/peers/quectel-pppd
# Usage:root>pppd call quectel-pppd
#Modem path, like /dev/ttyUSB3,/dev/ttyACM0, depend on your module, default path is /dev/ttyUSB3
/dev/ttyUSB2 115200
#Insert the username and password for authentication, default user and password are test
user "test" password "test"
# The chat script, customize your APN in this file
connect 'chat -s -v -f /etc/ppp/peers/quectel-chat-connect'
# The close script
disconnect 'chat -s -v -f /etc/ppp/peers/quectel-chat-disconnect'
# Hide password in debug messages
hide-password
# The phone is not required to authenticate
noauth
# Debug info from pppd
debug
# If you want to use the HSDPA link as your gateway
defaultroute
# pppd must not propose any IP address to the peer
noipdefault
# No ppp compression
novj
novjccomp
noccp
ipcp-accept-local
ipcp-accept-remote
local
# For sanity, keep a lock on the serial line
lock
modem
dump
nodetach
# Hardware flow control
nocrtscts
remotename 3gppp
ipparam 3gppp
ipcp-max-failure 30
# Ask the peer for up to 2 DNS server addresses
usepeerdns
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# ll
total 44
drwxr-s--- 1 root dip 4096 Feb 11 19:42 ./
drwxr-xr-x 1 root dip 4096 Mar 26  2017 ../
-rwxr-xr-x 1 root dip  272 Feb 11 19:42 ip-up*
-rw-r----- 1 root dip 1093 Mar 26  2017 provider
-rwxr-xr-x 1 root dip  317 Feb 11 19:42 quectel-chat-connect*
-rwxr-xr-x 1 root dip  154 Feb 11 19:42 quectel-chat-disconnect*
-rwxr-xr-x 1 root dip 1051 Feb 11 19:43 quectel-ppp*
-rwxr-xr-x 1 root dip 1587 Feb 11 19:42 quectel-pppd.sh*
-rwxr-xr-x 1 root dip  230 Feb 11 19:42 quectel-ppp-kill*
-rwxr-xr-x 1 root dip 1527 Feb 11 19:42 readme*
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# p
Display all 119 possibilities? (y or n)^C
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# pp
pppd             pppoe-discovery  pptp             
pppdump          pppstats         pptpsetup        
root@NanoPi-NEO-Core:/etc/ppp/peers# pppd call quectel-ppp
pppd options in effect:
debug        # (from /etc/ppp/peers/quectel-ppp)
nodetach        # (from /etc/ppp/peers/quectel-ppp)
dump        # (from /etc/ppp/peers/quectel-ppp)
noauth        # (from /etc/ppp/peers/quectel-ppp)
user test        # (from /etc/ppp/peers/quectel-ppp)
password ??????        # (from /etc/ppp/peers/quectel-ppp)
remotename 3gppp        # (from /etc/ppp/peers/quectel-ppp)
/dev/ttyUSB2        # (from /etc/ppp/peers/quectel-ppp)
115200        # (from /etc/ppp/peers/quectel-ppp)
lock        # (from /etc/ppp/peers/quectel-ppp)
connect chat -s -v -f /etc/ppp/peers/quectel-chat-connect        # (from /etc/ppp/peers/quectel-ppp)
disconnect chat -s -v -f /etc/ppp/peers/quectel-chat-disconnect        # (from /etc/ppp/peers/quectel-ppp)
nocrtscts        # (from /etc/ppp/peers/quectel-ppp)
modem        # (from /etc/ppp/peers/quectel-ppp)
asyncmap 0        # (from /etc/ppp/options)
lcp-echo-failure 4        # (from /etc/ppp/options)
lcp-echo-interval 30        # (from /etc/ppp/options)
hide-password        # (from /etc/ppp/peers/quectel-ppp)
novj        # (from /etc/ppp/peers/quectel-ppp)
novjccomp        # (from /etc/ppp/peers/quectel-ppp)
ipcp-accept-local        # (from /etc/ppp/peers/quectel-ppp)
ipcp-accept-remote        # (from /etc/ppp/peers/quectel-ppp)
ipparam 3gppp        # (from /etc/ppp/peers/quectel-ppp)
noipdefault        # (from /etc/ppp/peers/quectel-ppp)
ipcp-max-failure 30        # (from /etc/ppp/peers/quectel-ppp)
defaultroute        # (from /etc/ppp/peers/quectel-ppp)
usepeerdns        # (from /etc/ppp/peers/quectel-ppp)
noccp        # (from /etc/ppp/peers/quectel-ppp)
noipx        # (from /etc/ppp/options)
abort on (BUSY)
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (ERROR)
abort on (NO ANSWER)
timeout set to 30 seconds
send (AT^M)
expect (OK)
^M
OK
 -- got it

send (ATE0^M)
expect (OK)
^M


^CSIGINT
Child process chat -s -v -f /etc/ppp/peers/quectel-chat-connect (pid 966) terminated with signal 2
Connect script failed
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# ifconfig
eth0      Link encap:Ethernet  HWaddr 02:81:8b:09:ef:b0  
          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:41 

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)

usb0      Link encap:Ethernet  HWaddr 02:0c:29:a3:9b:6d  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:388 (388.0 B)  TX bytes:1706 (1.7 KB)

root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# pppd call quectel-ppp &
[1] 969
root@NanoPi-NEO-Core:/etc/ppp/peers# pppd options in effect:
debug        # (from /etc/ppp/peers/quectel-ppp)
nodetach        # (from /etc/ppp/peers/quectel-ppp)
dump        # (from /etc/ppp/peers/quectel-ppp)
noauth        # (from /etc/ppp/peers/quectel-ppp)
user test        # (from /etc/ppp/peers/quectel-ppp)
password ??????        # (from /etc/ppp/peers/quectel-ppp)
remotename 3gppp        # (from /etc/ppp/peers/quectel-ppp)
/dev/ttyUSB2        # (from /etc/ppp/peers/quectel-ppp)
115200        # (from /etc/ppp/peers/quectel-ppp)
lock        # (from /etc/ppp/peers/quectel-ppp)
connect chat -s -v -f /etc/ppp/peers/quectel-chat-connect        # (from /etc/ppp/peers/quectel-ppp)
disconnect chat -s -v -f /etc/ppp/peers/quectel-chat-disconnect        # (from /etc/ppp/peers/quectel-ppp)
nocrtscts        # (from /etc/ppp/peers/quectel-ppp)
modem        # (from /etc/ppp/peers/quectel-ppp)
asyncmap 0        # (from /etc/ppp/options)
lcp-echo-failure 4        # (from /etc/ppp/options)
lcp-echo-interval 30        # (from /etc/ppp/options)
hide-password        # (from /etc/ppp/peers/quectel-ppp)
novj        # (from /etc/ppp/peers/quectel-ppp)
novjccomp        # (from /etc/ppp/peers/quectel-ppp)
ipcp-accept-local        # (from /etc/ppp/peers/quectel-ppp)
ipcp-accept-remote        # (from /etc/ppp/peers/quectel-ppp)
ipparam 3gppp        # (from /etc/ppp/peers/quectel-ppp)
noipdefault        # (from /etc/ppp/peers/quectel-ppp)
ipcp-max-failure 30        # (from /etc/ppp/peers/quectel-ppp)
defaultroute        # (from /etc/ppp/peers/quectel-ppp)
usepeerdns        # (from /etc/ppp/peers/quectel-ppp)
noccp        # (from /etc/ppp/peers/quectel-ppp)
noipx        # (from /etc/ppp/options)
abort on (BUSY)
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (ERROR)
abort on (NO ANSWER)
timeout set to 30 seconds
send (AT^M)
expect (OK)
^M

root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# ifconfig
eth0      Link encap:Ethernet  HWaddr 02:81:8b:09:ef:b0  
          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:41 

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)

usb0      Link encap:Ethernet  HWaddr 02:0c:29:a3:9b:6d  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:388 (388.0 B)  TX bytes:1706 (1.7 KB)

root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# ping www.baidu.com
ping: unknown host www.baidu.com

root@NanoPi-NEO-Core:/etc/ppp/peers# alarm
Failed
Script chat -s -v -f /etc/ppp/peers/quectel-chat-connect finished (pid 970), status = 0x3
Connect script failed

[1]+  Exit 8                  pppd call quectel-ppp
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# ll
total 44
drwxr-s--- 1 root dip 4096 Feb 11 19:42 ./
drwxr-xr-x 1 root dip 4096 Mar 26  2017 ../
-rwxr-xr-x 1 root dip  272 Feb 11 19:42 ip-up*
-rw-r----- 1 root dip 1093 Mar 26  2017 provider
-rwxr-xr-x 1 root dip  317 Feb 11 19:42 quectel-chat-connect*
-rwxr-xr-x 1 root dip  154 Feb 11 19:42 quectel-chat-disconnect*
-rwxr-xr-x 1 root dip 1051 Feb 11 19:43 quectel-ppp*
-rwxr-xr-x 1 root dip 1587 Feb 11 19:42 quectel-pppd.sh*
-rwxr-xr-x 1 root dip  230 Feb 11 19:42 quectel-ppp-kill*
-rwxr-xr-x 1 root dip 1527 Feb 11 19:42 readme*
root@NanoPi-NEO-Core:/etc/ppp/peers# cat quectel-ppp
# /etc/ppp/peers/quectel-pppd
# Usage:root>pppd call quectel-pppd
#Modem path, like /dev/ttyUSB3,/dev/ttyACM0, depend on your module, default path is /dev/ttyUSB3
/dev/ttyUSB2 115200
#Insert the username and password for authentication, default user and password are test
user "test" password "test"
# The chat script, customize your APN in this file
connect 'chat -s -v -f /etc/ppp/peers/quectel-chat-connect'
# The close script
disconnect 'chat -s -v -f /etc/ppp/peers/quectel-chat-disconnect'
# Hide password in debug messages
hide-password
# The phone is not required to authenticate
noauth
# Debug info from pppd
debug
# If you want to use the HSDPA link as your gateway
defaultroute
# pppd must not propose any IP address to the peer
noipdefault
# No ppp compression
novj
novjccomp
noccp
ipcp-accept-local
ipcp-accept-remote
local
# For sanity, keep a lock on the serial line
lock
modem
dump
nodetach
# Hardware flow control
nocrtscts
remotename 3gppp
ipparam 3gppp
ipcp-max-failure 30
# Ask the peer for up to 2 DNS server addresses
usepeerdns
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# ps -ef
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  1 19:39 ?        00:00:05 /sbin/init earlyprintk
root         2     0  0 19:39 ?        00:00:00 [kthreadd]
root         4     2  0 19:39 ?        00:00:00 [kworker/0:0H]
root         5     2  0 19:39 ?        00:00:00 [kworker/u8:0]
root         6     2  0 19:39 ?        00:00:00 [mm_percpu_wq]
root         7     2  0 19:39 ?        00:00:00 [ksoftirqd/0]
root         8     2  0 19:39 ?        00:00:00 [rcu_sched]
root         9     2  0 19:39 ?        00:00:00 [rcu_bh]
root        10     2  0 19:39 ?        00:00:00 [migration/0]
root        11     2  0 19:39 ?        00:00:00 [cpuhp/0]
root        12     2  0 19:39 ?        00:00:00 [cpuhp/1]
root        13     2  0 19:39 ?        00:00:00 [migration/1]
root        14     2  0 19:39 ?        00:00:00 [ksoftirqd/1]
root        16     2  0 19:39 ?        00:00:00 [kworker/1:0H]
root        17     2  0 19:39 ?        00:00:00 [cpuhp/2]
root        18     2  0 19:39 ?        00:00:00 [migration/2]
root        19     2  0 19:39 ?        00:00:00 [ksoftirqd/2]
root        21     2  0 19:39 ?        00:00:00 [kworker/2:0H]
root        22     2  0 19:39 ?        00:00:00 [cpuhp/3]
root        23     2  0 19:39 ?        00:00:00 [migration/3]
root        24     2  0 19:39 ?        00:00:00 [ksoftirqd/3]
root        26     2  0 19:39 ?        00:00:00 [kworker/3:0H]
root        27     2  0 19:39 ?        00:00:00 [kdevtmpfs]
root        28     2  0 19:39 ?        00:00:00 [netns]
root        29     2  0 19:39 ?        00:00:00 [kworker/0:1]
root        30     2  0 19:39 ?        00:00:00 [kworker/1:1]
root        31     2  0 19:39 ?        00:00:00 [kworker/3:1]
root        33     2  0 19:39 ?        00:00:00 [khungtaskd]
root        34     2  0 19:39 ?        00:00:00 [oom_reaper]
root        35     2  0 19:39 ?        00:00:00 [writeback]
root        36     2  0 19:39 ?        00:00:00 [kcompactd0]
root        37     2  0 19:39 ?        00:00:00 [crypto]
root        38     2  0 19:39 ?        00:00:00 [kintegrityd]
root        39     2  0 19:39 ?        00:00:00 [kblockd]
root        40     2  0 19:39 ?        00:00:00 [ata_sff]
root        41     2  0 19:39 ?        00:00:00 [devfreq_wq]
root        42     2  0 19:39 ?        00:00:00 [cfg80211]
root        43     2  0 19:39 ?        00:00:00 [watchdogd]
root        44     2  0 19:39 ?        00:00:00 [rpciod]
root        45     2  0 19:39 ?        00:00:00 [xprtiod]
root        57     2  0 19:39 ?        00:00:00 [kswapd0]
root        58     2  0 19:39 ?        00:00:00 [kworker/u9:0]
root        59     2  0 19:39 ?        00:00:00 [nfsiod]
root        71     2  0 19:39 ?        00:00:00 [pencrypt]
root        72     2  0 19:39 ?        00:00:00 [pdecrypt]
root       100     2  0 19:39 ?        00:00:00 [kthrotld]
root       101     2  0 19:39 ?        00:00:00 [irq/22-1ee0000.]
root       102     2  0 19:39 ?        00:00:00 [cec-dw_hdmi]
root       103     2  0 19:39 ?        00:00:00 [irq/22-dw-hdmi-]
root       104     2  0 19:39 ?        00:00:00 [knbd-recv]
root       105     2  0 19:39 ?        00:00:00 [spi0]
root       108     2  0 19:39 ?        00:00:00 [irq/39-1c25000.]
root       109     2  0 19:39 ?        00:00:00 [dm_bufio_cache]
root       110     2  0 19:39 ?        00:00:00 [irq/26-sunxi-mm]
root       111     2  0 19:39 ?        00:00:00 [irq/27-sunxi-mm]
root       112     2  0 19:39 ?        00:00:00 [kworker/0:2]
root       113     2  0 19:39 ?        00:00:00 [mmcqd/1]
root       116     2  0 19:39 ?        00:00:00 [kworker/1:2]
root       118     2  0 19:39 ?        00:00:00 [kworker/u8:3]
root       119     2  0 19:39 ?        00:00:00 [ipv6_addrconf]
root       122     2  0 19:39 ?        00:00:00 [mmcqd/0]
root       126     2  0 19:39 ?        00:00:00 [mmcqd/0boot0]
root       130     2  0 19:39 ?        00:00:00 [mmcqd/0boot1]
root       143     2  0 19:39 ?        00:00:00 [kworker/2:3]
root       144     2  0 19:39 ?        00:00:00 [kworker/2:4]
root       199     2  0 19:39 ?        00:00:00 [jbd2/mmcblk0p2-]
root       200     2  0 19:39 ?        00:00:00 [ext4-rsv-conver]
root       223     2  0 19:39 ?        00:00:00 [kworker/3:1H]
root       225     2  0 19:39 ?        00:00:00 [jbd2/mmcblk0p3-]
root       226     2  0 19:39 ?        00:00:00 [ext4-rsv-conver]
root       259     1  0 19:39 ?        00:00:01 /lib/systemd/systemd-journald
root       265     2  0 19:39 ?        00:00:00 [file-storage]
root       287     1  0 19:40 ?        00:00:00 /lib/systemd/systemd-udevd
root       320     2  0 19:40 ?        00:00:00 [kworker/0:1H]
root       339     2  0 19:40 ?        00:00:00 [kworker/1:1H]
root       483     1  0 19:40 ?        00:00:00 /lib/systemd/systemd-logind
root       495     1  2 19:40 ?        00:00:08 /usr/sbin/ModemManager
root       517     1  0 19:40 ?        00:00:00 /usr/sbin/cron -f
message+   530     1  0 19:40 ?        00:00:00 /usr/bin/dbus-daemon --system --
root       573     1  0 19:40 ?        00:00:01 /usr/sbin/NetworkManager --no-da
root       603     2  0 19:40 ?        00:00:00 [kworker/2:1H]
root       632     1  0 19:40 ?        00:00:00 /usr/lib/policykit-1/polkitd --n
root       644     1  0 19:40 ?        00:00:00 /usr/sbin/sshd -D
root       647     2  0 19:40 ?        00:00:00 [kworker/3:3]
root       673     1  0 19:40 ?        00:00:00 /usr/bin/lcd2usb_print CPU: {{CP
ntp        684     1  0 19:40 ?        00:00:00 /usr/sbin/ntpd -p /var/run/ntpd.
root       685     1  0 19:40 tty1     00:00:00 /bin/login -f
root       686     1  0 19:40 ttyS0    00:00:00 /bin/login -f
pi         859     1  0 19:40 ?        00:00:00 /lib/systemd/systemd --user
pi         863   859  0 19:40 ?        00:00:00 (sd-pam)
pi         873   685  0 19:40 tty1     00:00:00 -bash
pi         874   686  0 19:40 ttyS0    00:00:00 -bash
root       902   874  0 19:40 ttyS0    00:00:00 su
root       907   902  0 19:41 ttyS0    00:00:00 bash
root       984     2  0 19:45 ?        00:00:00 [kworker/3:0]
root       987   907  0 19:46 ttyS0    00:00:00 ps -ef
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# killall ModemManager
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# pppd call quectel-ppp &

[1] 990
root@NanoPi-NEO-Core:/etc/ppp/peers# pppd options in effect:
debug        # (from /etc/ppp/peers/quectel-ppp)
nodetach        # (from /etc/ppp/peers/quectel-ppp)
dump        # (from /etc/ppp/peers/quectel-ppp)
noauth        # (from /etc/ppp/peers/quectel-ppp)
user test        # (from /etc/ppp/peers/quectel-ppp)
password ??????        # (from /etc/ppp/peers/quectel-ppp)
remotename 3gppp        # (from /etc/ppp/peers/quectel-ppp)
/dev/ttyUSB2        # (from /etc/ppp/peers/quectel-ppp)
115200        # (from /etc/ppp/peers/quectel-ppp)
lock        # (from /etc/ppp/peers/quectel-ppp)
connect chat -s -v -f /etc/ppp/peers/quectel-chat-connect        # (from /etc/ppp/peers/quectel-ppp)
disconnect chat -s -v -f /etc/ppp/peers/quectel-chat-disconnect        # (from /etc/ppp/peers/quectel-ppp)
nocrtscts        # (from /etc/ppp/peers/quectel-ppp)
modem        # (from /etc/ppp/peers/quectel-ppp)
asyncmap 0        # (from /etc/ppp/options)
lcp-echo-failure 4        # (from /etc/ppp/options)
lcp-echo-interval 30        # (from /etc/ppp/options)
hide-password        # (from /etc/ppp/peers/quectel-ppp)
novj        # (from /etc/ppp/peers/quectel-ppp)
novjccomp        # (from /etc/ppp/peers/quectel-ppp)
ipcp-accept-local        # (from /etc/ppp/peers/quectel-ppp)
ipcp-accept-remote        # (from /etc/ppp/peers/quectel-ppp)
ipparam 3gppp        # (from /etc/ppp/peers/quectel-ppp)
noipdefault        # (from /etc/ppp/peers/quectel-ppp)
ipcp-max-failure 30        # (from /etc/ppp/peers/quectel-ppp)
defaultroute        # (from /etc/ppp/peers/quectel-ppp)
usepeerdns        # (from /etc/ppp/peers/quectel-ppp)
noccp        # (from /etc/ppp/peers/quectel-ppp)
noipx        # (from /etc/ppp/options)
abort on (BUSY)
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (ERROR)
abort on (NO ANSWER)
timeout set to 30 seconds
send (AT^M)
expect (OK)
^M
OK
 -- got it

send (ATE0^M)
expect (OK)
^M
^M
OK
 -- got it

send (ATI;+CSUB;+CSQ;+CPIN?;+COPS?;+CGREG?;&D2^M)
expect (OK)
^M
^M
Quectel^M
EC200A^M
Revision: EC200ACNDAR01A11M16^M
^M
SubEdition: V01^M
^M
+CSQ: 17,99^M
^M
+CGREG: 0,1^M
^M
+CPIN: READY^M
^M
+COPS: 0,0,"CHINA MOBILE",7^M
^M
OK
 -- got it

send (AT+CGDCONT=1,"IP","3gnet",,0,0^M)
expect (OK)
^M
^M
OK
 -- got it

send (ATD*99#^M)
expect (CONNECT)
^M
^M
CONNECT
 -- got it

Script chat -s -v -f /etc/ppp/peers/quectel-chat-connect finished (pid 991), status = 0x0
Serial connection established.
using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB2
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x7a9ec30a> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x22bd7c5> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth pap> <magic 0x22bd7c5> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x7a9ec30a> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x7a9ec30a]
sent [PAP AuthReq id=0x1 user="test" password=<hidden>]
rcvd [LCP EchoRep id=0x0 magic=0x22bd7c5 7a 9e c3 0a]
rcvd [PAP AuthAck id=0x1 "" 00]
PAP authentication succeeded
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [IPCP ConfReq id=0x2]
sent [IPCP ConfNak id=0x2 <addr 0.0.0.0>]
rcvd [IPCP ConfNak id=0x1 <addr 10.77.209.38> <ms-dns1 112.4.12.200> <ms-dns2 112.4.1.36>]
sent [IPCP ConfReq id=0x2 <addr 10.77.209.38> <ms-dns1 112.4.12.200> <ms-dns2 112.4.1.36>]
rcvd [IPCP ConfReq id=0x3]
sent [IPCP ConfAck id=0x3]
rcvd [IPCP ConfAck id=0x2 <addr 10.77.209.38> <ms-dns1 112.4.12.200> <ms-dns2 112.4.1.36>]
Could not determine remote IP address: defaulting to 10.64.64.64
local  IP address 10.77.209.38
remote IP address 10.64.64.64
primary   DNS address 112.4.12.200
secondary DNS address 112.4.1.36
Script /etc/ppp/ip-up started (pid 1005)
Script /etc/ppp/ip-up finished (pid 1005), status = 0x0

root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# ifconfig
eth0      Link encap:Ethernet  HWaddr 02:81:8b:09:ef:b0  
          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:41 

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)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:10.77.209.38  P-t-P:10.64.64.64  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:183 (183.0 B)  TX bytes:192 (192.0 B)

usb0      Link encap:Ethernet  HWaddr 02:0c:29:a3:9b:6d  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:460 (460.0 B)  TX bytes:1706 (1.7 KB)

root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# ping www.baidu.com
PING www.baidu.com (36.155.132.76) 56(84) bytes of data.
64 bytes from 36.155.132.76: icmp_seq=1 ttl=52 time=117 ms
64 bytes from 36.155.132.76: icmp_seq=2 ttl=52 time=126 ms
64 bytes from 36.155.132.76: icmp_seq=3 ttl=52 time=114 ms
64 bytes from 36.155.132.76: icmp_seq=4 ttl=52 time=124 ms

^C
--- www.baidu.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 114.835/121.021/126.781/4.982 ms
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# ping baidu.com
PING baidu.com (110.242.68.66) 56(84) bytes of data.
^C64 bytes from 110.242.68.66: icmp_seq=1 ttl=48 time=145 ms

--- baidu.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 145.245/145.245/145.245/0.000 ms
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# ping www.baidu.com
PING www.baidu.com (36.155.132.76) 56(84) bytes of data.
64 bytes from 36.155.132.76: icmp_seq=1 ttl=52 time=120 ms
64 bytes from 36.155.132.76: icmp_seq=2 ttl=52 time=110 ms

64 bytes from 36.155.132.76: icmp_seq=3 ttl=52 time=119 ms
64 bytes from 36.155.132.76: icmp_seq=4 ttl=52 time=109 ms
64 bytes from 36.155.132.76: icmp_seq=5 ttl=52 time=118 ms
64 bytes from 36.155.132.76: icmp_seq=6 ttl=52 time=106 ms
64 bytes from 36.155.132.76: icmp_seq=7 ttl=52 time=113 ms
64 bytes from 36.155.132.76: icmp_seq=8 ttl=52 time=102 ms
64 bytes from 36.155.132.76: icmp_seq=9 ttl=52 time=121 ms
64 bytes from 36.155.132.76: icmp_seq=10 ttl=52 time=151 ms
64 bytes from 36.155.132.76: icmp_seq=11 ttl=52 time=134 ms
64 bytes from 36.155.132.76: icmp_seq=12 ttl=52 time=133 ms
64 bytes from 36.155.132.76: icmp_seq=13 ttl=52 time=128 ms
64 bytes from 36.155.132.76: icmp_seq=14 ttl=52 time=131 ms
64 bytes from 36.155.132.76: icmp_seq=15 ttl=52 time=126 ms
64 bytes from 36.155.132.76: icmp_seq=16 ttl=52 time=130 ms
64 bytes from 36.155.132.76: icmp_seq=17 ttl=52 time=124 ms
64 bytes from 36.155.132.76: icmp_seq=18 ttl=52 time=142 ms
64 bytes from 36.155.132.76: icmp_seq=19 ttl=52 time=126 ms
64 bytes from 36.155.132.76: icmp_seq=20 ttl=52 time=110 ms
64 bytes from 36.155.132.76: icmp_seq=21 ttl=52 time=120 ms
^C
--- www.baidu.com ping statistics ---
21 packets transmitted, 21 received, 0% packet loss, time 20676ms
rtt min/avg/max/mdev = 102.954/123.170/151.910/11.862 ms
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# 
root@NanoPi-NEO-Core:/etc/ppp/peers# cat /etc/resolv.conf 
nameserver 112.4.12.200
nameserver 112.4.1.36
root@NanoPi-NEO-Core:/etc/ppp/peers# 

root@NanoPi-NEO-Core:/etc/ppp/peers# 

[END] 2024/4/9 15:31:20
 

完整的LOG:

[BEGIN] 2024/4/9 15:53:42
Hit any key to stop autoboot:  0 
reading boot.scr
1478 bytes read in 18 ms (80.1 KiB/s)
## Executing script at 43100000
running boot.scr
reading uEnv.txt
968 bytes read in 18 ms (51.8 KiB/s)
reading zImage
5902208 bytes read in 291 ms (19.3 MiB/s)
reading rootfs.cpio.gz
5880768 bytes read in 291 ms (19.3 MiB/s)
reading sun8i-h3-nanopi-neo-core.dtb
34940 bytes read in 26 ms (1.3 MiB/s)
overlays is empty
reading overlays/sun8i-h3-fixup.scr
4109 bytes read in 33 ms (121.1 KiB/s)
## Executing script at 44500000
## Flattened Device Tree blob at 48000000
   Booting using the fdt blob at 0x48000000
   Loading Ramdisk to 49a64000, end 49fffbc0 ... OK
   reserving fdt memory region: addr=48000000 size=6e000
   Loading Device Tree to 499f3000, end 49a63fff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.111 (rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3) (gcc version 4.9.3 (ctng-1.21.0-229g-FA)) #1 SMP Tue Apr 9 12:40:43 CST 2024
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=30c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: FriendlyElec NanoPi-NEO-Core
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x000000005bc00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] percpu: Embedded 17 pages/cpu @dff5b000 s37120 r8192 d24320 u69632
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait fsck.repair=yes panic=10 fbcon=map:0  data=/dev/mmcblk0p3 snd-soc-core.pmdown_time=3600000
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 429860K/524288K available (10240K kernel code, 391K rwdata, 2080K rodata, 2048K init, 303K bss, 28892K reserved, 65536K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0c00000   (12256 kB)
[    0.000000]       .init : 0xc1000000 - 0xc1200000   (2048 kB)
[    0.000000]       .data : 0xc1200000 - 0xc1261f00   ( 392 kB)
[    0.000000]        .bss : 0xc126a884 - 0xc12b6850   ( 304 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000019] Switching to timer-based delay loop, resolution 41ns
[    0.000216] Console: colour dummy device 80x30
[    0.000252] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=120000)
[    0.000267] pid_max: default: 32768 minimum: 301
[    0.000435] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000448] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001181] CPU: Testing write buffer coherency: ok
[    0.001646] CPU0: update cpu_capacity 1024
[    0.001658] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002026] Setting up static identity map for 0x40200000 - 0x40200060
[    0.002152] Hierarchical SRCU implementation.
[    0.002735] smp: Bringing up secondary CPUs ...
[    0.013530] CPU1: update cpu_capacity 1024
[    0.013537] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.024418] CPU2: update cpu_capacity 1024
[    0.024424] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.035216] CPU3: update cpu_capacity 1024
[    0.035222] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.035309] smp: Brought up 1 node, 4 CPUs
[    0.035339] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.035345] CPU: All CPU(s) started in HYP mode.
[    0.035351] CPU: Virtualization extensions available.
[    0.036095] devtmpfs: initialized
[    0.043092] random: get_random_u32 called from bucket_table_alloc+0xf0/0x240 with crng_init=0
[    0.043726] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.044005] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
[    0.044031] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.046754] xor: measuring software checksum speed
[    0.095047]    arm4regs  :  1372.000 MB/sec
[    0.145103]    8regs     :   769.600 MB/sec
[    0.195159]    32regs    :   850.400 MB/sec
[    0.245220]    neon      :  1283.200 MB/sec
[    0.245226] xor: using function: arm4regs (1372.000 MB/sec)
[    0.245246] pinctrl core: initialized pinctrl subsystem
[    0.246246] NET: Registered protocol family 16
[    0.247935] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.248750] cpuidle: using governor ladder
[    0.248844] cpuidle: using governor menu
[    0.249270] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.249280] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.268424] SCSI subsystem initialized
[    0.268861] usbcore: registered new interface driver usbfs
[    0.268909] usbcore: registered new interface driver hub
[    0.269003] usbcore: registered new device driver usb
[    0.269170] media: Linux media interface: v0.10
[    0.269212] Linux video capture interface: v2.00
[    0.269339] pps_core: LinuxPPS API ver. 1 registered
[    0.269347] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.269366] PTP clock support registered
[    0.269682] Advanced Linux Sound Architecture Driver Initialized.
[    0.271352] clocksource: Switched to clocksource arch_sys_counter
[    0.271526] VFS: Disk quotas dquot_6.6.0
[    0.271608] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.271770] FS-Cache: Loaded
[    0.279019] NET: Registered protocol family 2
[    0.279662] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.279717] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.279781] TCP: Hash tables configured (established 4096 bind 4096)
[    0.279895] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.279938] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.280145] NET: Registered protocol family 1
[    0.280620] RPC: Registered named UNIX socket transport module.
[    0.280631] RPC: Registered udp transport module.
[    0.280637] RPC: Registered tcp transport module.
[    0.280643] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.280889] Unpacking initramfs...
[    0.578504] Freeing initrd memory: 5744K
[    0.578944] kvm [1]: 8-bit VMID
[    0.579653] kvm [1]: vgic interrupt IRQ16
[    0.579752] kvm [1]: Hyp mode initialized successfully
[    0.582681] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.587255] zbud: loaded
[    0.588837] FS-Cache: Netfs 'nfs' registered for caching
[    0.589369] NFS: Registering the id_resolver key type
[    0.589409] Key type id_resolver registered
[    0.589416] Key type id_legacy registered
[    0.589432] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.589448] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.590350] fuse init (API version 7.26)
[    0.595813] async_tx: api initialized (async)
[    0.595936] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.596094] io scheduler noop registered (default)
[    0.596104] io scheduler deadline registered
[    0.596290] io scheduler cfq registered
[    0.596301] io scheduler mq-deadline registered
[    0.596533] io scheduler bfq registered
[    0.597225] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO, pinctrl may not init
[    0.600930] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.602562] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    0.607985] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.609846] console [ttyS0] disabled
[    0.630086] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 45, base_baud = 1500000) is a U6_16550A
[    1.393692] console [ttyS0] enabled
[    1.419972] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 46, base_baud = 1500000) is a U6_16550A
[    1.451546] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 47, base_baud = 1500000) is a U6_16550A
[    1.483121] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 48, base_baud = 1500000) is a U6_16550A
[    1.494313] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.500960] [drm] No driver support for vblank timestamp query.
[    1.516333] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc0c51ba8)
[    1.523433] sun4i-drm display-engine: No panel or bridge found... RGB output disabled
[    1.531283] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0c508ac)
[    1.661455] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[    1.671361] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[    1.679083] sun4i-drm display-engine: bound 1ee0000.hdmi (ops 0xc0c51f28)
[    1.685931] [drm] Cannot find any crtc or sizes - going 1920x1080
[    1.733383] Console: switching to colour frame buffer device 240x67
[    1.764264] sun4i-drm display-engine: fb0:  frame buffer device
[    1.770688] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.787564] loop: module loaded
[    1.807154] st: Version 20160209, fixed bufsize 32768, s/g segs 256
[    1.813530] osst :I: Tape driver with OnStream support version 0.99.4
[    1.813530] osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $
[    1.826842] SCSI Media Changer driver v0.25 
[    1.833159] libphy: Fixed MDIO Bus: probed
[    1.837306] tun: Universal TUN/TAP device driver, 1.6
[    1.842543] CAN device driver interface
[    1.846889] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    1.852703] dwmac-sun8i 1c30000.ethernet: No regulator found
[    1.858414] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    1.864533] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    1.870204] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    1.877428] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    1.883094] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    1.890314] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    1.895283] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    1.902635] libphy: stmmac: probed
[    1.912054] PPP generic driver version 2.4.2
[    1.916570] PPP BSD Compression module registered
[    1.921270] PPP Deflate Compression module registered
[    1.926394] PPP MPPE Compression module registered
[    1.931184] NET: Registered protocol family 24
[    1.935794] usbcore: registered new interface driver qmi_wwan
[    1.941580] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.948109] ehci-platform: EHCI generic platform driver
[    1.953610] ehci-platform 1c1a000.usb: EHCI Host Controller
[    1.959229] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    1.967409] ehci-platform 1c1a000.usb: irq 29, io mem 0x01c1a000
[    1.986363] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.992654] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.999454] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.006679] usb usb1: Product: EHCI Host Controller
[    2.011562] usb usb1: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.017137] usb usb1: SerialNumber: 1c1a000.usb
[    2.022208] hub 1-0:1.0: USB hub found
[    2.025990] hub 1-0:1.0: 1 port detected
[    2.030641] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.036862] ohci-platform: OHCI generic platform driver
[    2.042304] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    2.048955] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    2.056925] ohci-platform 1c1a400.usb: irq 30, io mem 0x01c1a400
[    2.125519] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    2.132328] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.139556] usb usb2: Product: Generic Platform OHCI controller
[    2.145479] usb usb2: Manufacturer: Linux 4.14.111 ohci_hcd
[    2.151054] usb usb2: SerialNumber: 1c1a400.usb
[    2.158463] hub 2-0:1.0: USB hub found
[    2.162258] hub 2-0:1.0: 1 port detected
[    2.166909] usbcore: registered new interface driver cdc_acm
[    2.172581] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    2.180638] usbcore: registered new interface driver usblp
[    2.186161] usbcore: registered new interface driver cdc_wdm
[    2.191860] usbcore: registered new interface driver uas
[    2.197260] usbcore: registered new interface driver usb-storage
[    2.203351] usbcore: registered new interface driver usbserial
[    2.209237] usbcore: registered new interface driver usbserial_generic
[    2.215795] usbserial: USB Serial support registered for generic
[    2.221836] usbcore: registered new interface driver option
[    2.227435] usbserial: USB Serial support registered for GSM modem (1-port)
[    2.234535] usbcore: registered new interface driver qcserial
[    2.240313] usbserial: USB Serial support registered for Qualcomm USB modem
[    2.248149] mousedev: PS/2 mouse device common for all mice
[    2.254233] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[    2.261032] sun6i-rtc 1f00000.rtc: RTC enabled
[    2.265549] i2c /dev entries driver
[    2.270913] lirc_dev: IR Remote Control driver registered, major 244
[    2.277294] IR NEC protocol handler initialized
[    2.281833] IR RC5(x/sz) protocol handler initialized
[    2.286887] IR RC6 protocol handler initialized
[    2.291420] IR JVC protocol handler initialized
[    2.295943] IR Sony protocol handler initialized
[    2.300562] IR SANYO protocol handler initialized
[    2.305258] IR Sharp protocol handler initialized
[    2.309964] IR MCE Keyboard/mouse protocol handler initialized
[    2.315797] IR LIRC bridge handler initialized
[    2.320243] IR XMP protocol handler initialized
[    2.325608] thermal thermal_zone0: failed to read out thermal zone (-16)
[    2.332846] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    2.341134] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[    2.391422] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    2.434468] mmc1: host does not support reading read-only switch, assuming write-enable
[    2.436711] sunxi-mmc 1c11000.mmc: initialized, max. request size: 16384 KB
[    2.445475] mmc1: new high speed SDHC card at address aaaa
[    2.455459] mmcblk1: mmc1:aaaa SD32G 29.7 GiB 
[    2.456068] ledtrig-cpu: registered to indicate activity on CPUs
[    2.461363]  mmcblk1:
[    2.466234] hidraw: raw HID events driver (C) Jiri Kosina
[    2.473806] usbcore: registered new interface driver usbhid
[    2.479385] usbhid: USB HID core driver
[    2.496644] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    2.506693] Initializing XFRM netlink socket
[    2.511292] mmc0: new DDR MMC card at address 0001
[    2.511557] NET: Registered protocol family 10
[    2.516653] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB 
[    2.525528] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB
[    2.531865] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB
[    2.537927] Segment Routing with IPv6
[    2.538965]  mmcblk0: p1 p2 p3
[    2.541715] NET: Registered protocol family 17
[    2.549161] NET: Registered protocol family 15
[    2.553619] can: controller area network core (rev 20170425 abi 9)
[    2.559888] NET: Registered protocol family 29
[    2.564350] can: raw protocol (rev 20170425)
[    2.568636] can: broadcast manager protocol (rev 20170425 t)
[    2.574338] can: netlink gateway (rev 20170425) max_hops=1
[    2.580360] Key type dns_resolver registered
[    2.584973] Registering SWP/SWPB emulation handler
[    2.591177] registered taskstats version 1
[    2.603726] Key type encrypted registered
[    2.613741] vcc1v2: supplied by vcc5v0
[    2.617916] vcc-dram: supplied by vcc5v0
[    2.622141] vdd-cpux-en: supplied by vcc5v0
[    2.628121] ehci-platform 1c1b000.usb: EHCI Host Controller
[    2.633759] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3
[    2.641990] ehci-platform 1c1b000.usb: irq 31, io mem 0x01c1b000
[    2.661370] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    2.667674] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    2.674471] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.681699] usb usb3: Product: EHCI Host Controller
[    2.686579] usb usb3: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.692152] usb usb3: SerialNumber: 1c1b000.usb
[    2.697289] hub 3-0:1.0: USB hub found
[    2.701071] hub 3-0:1.0: 1 port detected
[    2.705740] ehci-platform 1c1c000.usb: EHCI Host Controller
[    2.711362] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
[    2.719427] ehci-platform 1c1c000.usb: irq 33, io mem 0x01c1c000
[    2.736369] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    2.742622] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    2.749418] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.756645] usb usb4: Product: EHCI Host Controller
[    2.761527] usb usb4: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.767102] usb usb4: SerialNumber: 1c1c000.usb
[    2.772160] hub 4-0:1.0: USB hub found
[    2.775945] hub 4-0:1.0: 1 port detected
[    2.780587] ehci-platform 1c1d000.usb: EHCI Host Controller
[    2.786199] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 5
[    2.794262] ehci-platform 1c1d000.usb: irq 35, io mem 0x01c1d000
[    2.811358] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[    2.817597] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[    2.824393] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.831619] usb usb5: Product: EHCI Host Controller
[    2.836502] usb usb5: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.842078] usb usb5: SerialNumber: 1c1d000.usb
[    2.847104] hub 5-0:1.0: USB hub found
[    2.850880] hub 5-0:1.0: 1 port detected
[    2.855442] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    2.862096] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6
[    2.870098] ohci-platform 1c1b400.usb: irq 32, io mem 0x01c1b400
[    2.935515] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[    2.942317] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.949541] usb usb6: Product: Generic Platform OHCI controller
[    2.955465] usb usb6: Manufacturer: Linux 4.14.111 ohci_hcd
[    2.961042] usb usb6: SerialNumber: 1c1b400.usb
[    2.966099] hub 6-0:1.0: USB hub found
[    2.969893] hub 6-0:1.0: 1 port detected
[    2.974469] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    2.981130] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 7
[    2.989295] ohci-platform 1c1c400.usb: irq 34, io mem 0x01c1c400
[    3.046383] usb 3-1: new high-speed USB device number 2 using ehci-platform
[    3.057578] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[    3.064386] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.071616] usb usb7: Product: Generic Platform OHCI controller
[    3.077544] usb usb7: Manufacturer: Linux 4.14.111 ohci_hcd
[    3.083124] usb usb7: SerialNumber: 1c1c400.usb
[    3.088202] hub 7-0:1.0: USB hub found
[    3.091999] hub 7-0:1.0: 1 port detected
[    3.096618] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[    3.103267] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 8
[    3.111261] ohci-platform 1c1d400.usb: irq 36, io mem 0x01c1d400
[    3.180501] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001
[    3.187305] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.194531] usb usb8: Product: Generic Platform OHCI controller
[    3.200457] usb usb8: Manufacturer: Linux 4.14.111 ohci_hcd
[    3.206034] usb usb8: SerialNumber: 1c1d400.usb
[    3.211115] hub 8-0:1.0: USB hub found
[    3.214908] hub 8-0:1.0: 1 port detected
[    3.219548] usb_phy_generic usb_phy_generic.3.auto: usb_phy_generic.3.auto supply vcc not found, using dummy regulator
[    3.230645] musb-hdrc musb-hdrc.4.auto: MUSB HDRC host driver
[    3.236463] musb-hdrc musb-hdrc.4.auto: new USB bus registered, assigned bus number 9
[    3.244497] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002
[    3.251301] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.258531] usb usb9: Product: MUSB HDRC host driver
[    3.263503] usb usb9: Manufacturer: Linux 4.14.111 musb-hcd
[    3.269081] usb usb9: SerialNumber: musb-hdrc.4.auto
[    3.274604] hub 9-0:1.0: USB hub found
[    3.278383] usb 3-1: New USB device found, idVendor=2c7c, idProduct=6005
[    3.285092] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.292236] usb 3-1: Product: Android
[    3.295894] usb 3-1: Manufacturer: Android
[    3.300001] usb 3-1: SerialNumber: 0000
[    3.303915] hub 9-0:1.0: 1 port detected
[    3.311815] asoc-simple-card soc:sound: i2s-hifi <-> 1c22800.i2s mapping ok
[    3.319306] option 3-1:1.2: GSM modem (1-port) converter detected
[    3.325867] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0
[    3.334610] option 3-1:1.3: GSM modem (1-port) converter detected
[    3.334738] input: r_gpio_keys as /devices/platform/r_gpio_keys/input/input0
[    3.341064] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1
[    3.354599] sun6i-rtc 1f00000.rtc: setting system clock to 2016-02-11 20:06:31 UTC (1455221191)
[    3.355300] option 3-1:1.4: GSM modem (1-port) converter detected
[    3.363694] vcc3v0: disabling
[    3.369696] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB2
[    3.372398] vcc5v0: disabling
[    3.372402] usb0-vbus: disabling
[    3.372412] ALSA device list:
[    3.388362]   #0: Dummy 1
[    3.390978]   #1: Loopback 1
[    3.393863]   #2: H3 Audio Codec
[    3.397093]   #3: allwinner,hdmi
[    3.402786] Freeing unused kernel memory: 2048K
Loading, please wait...
starting version 237
[    3.526426] usb 7-1: new full-speed USB device number 2 using ohci-platform
[    3.775458] usb 7-1: New USB device found, idVendor=10c4, idProduct=ea60
[    3.782223] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.789371] usb 7-1: Product: CP2104 USB to UART Bridge Controller
[    3.795559] usb 7-1: Manufacturer: Silicon Labs
[    3.800100] usb 7-1: SerialNumber: 02C4A87F
[    3.911026] random: fast init done
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.
[    4.146763] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
Begin: Will now check userdata file system ... fsck from util-linux 2.31.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p3] fsck.ext4 -y -C0 /dev/mmcblk0p3 
e2fsck 1.44.1 (24-Mar-2018)
userdata: recovering journal
Setting free inodes count to 313515 (was 313589)
Setting free blocks count to 1410796 (was 1557048)
userdata: clean, 85/313600 files, 17026[    4.331110] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
0/1581056 blocks
done.
[    4.347010] EXT4-fs (mmcblk0p3): re-mounted. Opts: data=ordered
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[    4.533284] random: systemd: uninitialized urandom read (16 bytes read)
[    4.542624] random: systemd: uninitialized urandom read (16 bytes read)
[    4.553491] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[    4.572193] systemd[1]: Detected architecture arm.

Welcome to Ubuntu 16.04.2 LTS!

[    4.597051] systemd[1]: Set hostname to <NanoPi-NEO-Core>.
[    4.628934] random: systemd-cryptse: uninitialized urandom read (16 bytes read)
[    4.804673] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    4.826841] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[    4.846736] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    4.866527] systemd[1]: Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems (Pre).
[    4.887004] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[    4.911081] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    4.928531] Mass Storage Function, version: 2009/09/11
[    4.933709] LUN: removable file: (no medium)
[    4.936860] systemd[1]: Starting Set console keymap...
[    4.938204] LUN: file: /dev/mmcblk0p1
[    4.946830] Number of LUNs=1
[    4.947037] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[    4.956711] g_mass_storage gadget: userspace failed to provide iSerialNumber
         [    4.963849] g_mass_storage gadget: g_mass_storage ready
Starting Set console keymap...
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
[    5.005723] 8821cu: loading out-of-tree module taints kernel.
         Mounting Debug File System...
[    5.033155] usbcore: registered new interface driver rtl8821cu
[  OK  ] Listening on udev Control Socket.
         Starting Remount Root and Kernel File Systems...
         Starting Create list of required st... nodes for the current kernel...
[    5.101655] usbcore: registered new interface driver rtl88xxau
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Listening on Journal Socket (/dev/log).
         Starting Journal Service...
[  OK  ] Reached target Encrypted Volumes.
         Mounting POSIX Message Queue File System...
[  OK  ] Reached target Paths.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Set console keymap.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[  OK  ] Started Journal Service.
         Starting Create Static Device Nodes in /dev...
         Starting udev Coldplug all Devices...
         Starting Load/Save Random Seed...
         Activating swap /mnt/512MB.swap...
         Starting Flush Journal to Persistent Storage...
         Mounting Configuration File System...
         Starting Apply Kernel Variables...
         Mounting FUSE Control File System...
[  OK  ] Mounted Configuration File System.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Activated swap /mnt/512MB.swap.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Swap.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Reached target Sound Card.
[  OK  ] Found device /dev/mmcblk0p1.
[  OK  ] Found device /dev/ttyS0.
         Mounting /boot...
[  OK  ] Mounted /boot.
[  OK  ] Reached target Local File Systems.
         Starting Raise network interfaces...
         Starting Create Volatile Files and Directories...
         Starting Set console font and keymap...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Starting Update UTMP about System Boot/Shutdown...
[  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  ] Reached target Basic System.
         Starting LSB: add swap at first boot...
         Starting brcm_patchram_plus...
         Starting Restore /etc/resolv.conf i...re the ppp link was shut down...
         Starting LSB: sync_ntp_rtc...
         Starting Permit User Sessions...
         Starting LSB: select system audio output at first boot...
[  OK  ] Started Regular background program processing daemon.
         Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
         Starting Login Service...
         Starting Save/Restore Sound Card State...
[  OK  ] Started D-Bus System Message Bus.
         Starting Init board...
         Starting Network Manager...
[  OK  ] Started Daily apt activities.
[  OK  ] Reached target Timers.
         Starting Modem Manager...
[  OK  ] Started Set console font and keymap.
[  OK  ] Started LSB: add swap at first boot.
[  OK  ] Started brcm_patchram_plus.
[  OK  ] Started Restore /etc/resolv.conf if...fore the ppp link was shut down.
[  OK  ] Started LSB: sync_ntp_rtc.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started LSB: select system audio output at first boot.
[  OK  ] Started Init board.
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
[  OK  ] Started Raise network interfaces.
[  OK  ] Started Network Manager.
[  OK  ] Started Login Service.
         Starting Network Manager Script Dispatcher Service...
         Starting Network Manager Wait Online...
         Starting Authenticate and Authorize Users to Run Privileged Tasks...
[  OK  ] Reached target Network.
         Starting OpenBSD Secure Shell server...
         Starting Set console scheme...
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started Set console scheme.
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started Authenticate and Authorize Users to Run Privileged Tasks.
         Starting Hostname Service...
[  OK  ] Started Modem Manager.
[  OK  ] Started Hostname Service.
[    8.911594] cdc_ether 3-1:1.0 usb0: kevent 12 may have been dropped
[   ***] A start job is running for Network ...ger Wait Online (14s / no limit)[   19.888435] cdc_ether 3-1:1.0 usb0: kevent 12 may have been dropped
[FAILED] Failed to start Network Manager Wait Online.
See 'systemctl status NetworkManager-wait-online.service' for details.
[  OK  ] Reached target Network is Online.
         Starting LSB: Start NTP daemon...
         Starting /etc/rc.local Compatibility...
         Starting LSB: disk temperature monitoring daemon...
[   39.368746] rc.local[567]: ctp = 0
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.

Ubuntu 16.04.2 LTS NanoPi-NEO-Core ttyS0

NanoPi-NEO-Core login: pi (automatic login)

Last login: Thu Feb 11 19:40:34 UTC 2016 on tty1
 _____     _                _ _       _____ _     _____ ____ 
|  ___| __(_) ___ _ __   __| | |_   _| ____| |   | ____/ ___|
| |_ | '__| |/ _ \ '_ \ / _` | | | | |  _| | |   |  _|| |    
|  _|| |  | |  __/ | | | (_| | | |_| | |___| |___| |__| |___ 
|_|  |_|  |_|\___|_| |_|\__,_|_|\__, |_____|_____|_____\____|
                                |___/                        

Welcome to Ubuntu 16.04.2 LTS 4.14.111
System load:   0.48                Up time:       41 sec        
Memory usage:  8 % of 491Mb      IP:            
CPU temp:      40°C               
Usage of /:    10% of 6.0G       

 * Documentation: http://wiki.friendlyarm.com/Ubuntu
 * Forum: http://www.friendlyarm.com/Forum/

pi@NanoPi-NEO-Core:~$ su
Password: 
su: Authentication failure
pi@NanoPi-NEO-Core:~$ fdisk -l
fdisk: cannot open /dev/mmcblk1: Permission denied
fdisk: cannot open /dev/mmcblk0: Permission denied
fdisk: cannot open /dev/mmcblk0boot1: Permission denied
fdisk: cannot open /dev/mmcblk0boot0: Permission denied
pi@NanoPi-NEO-Core:~$ su
Password: 
root@NanoPi-NEO-Core:/home/pi# 
root@NanoPi-NEO-Core:/home/pi# 
root@NanoPi-NEO-Core:/home/pi# fdisk -l
Disk /dev/mmcblk1: 29.7 GiB, 31914983424 bytes, 62333952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x500a0dff

Device         Boot      Start        End    Sectors   Size Id Type
/dev/mmcblk1p1      1948285285 3650263507 1701978223 811.6G 6e unknown
/dev/mmcblk1p2               0          0          0     0B 74 unknown
/dev/mmcblk1p4        28049408   28049848        441 220.5K  0 Empty

Partition table entries are not in disk order.


Disk /dev/mmcblk0: 7.3 GiB, 7818182656 bytes, 15269888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xc7f9fa91

Device         Boot   Start      End  Sectors  Size Id Type
/dev/mmcblk0p1        49152   131071    81920   40M 83 Linux
/dev/mmcblk0p2       131072  2621439  2490368  1.2G 83 Linux
/dev/mmcblk0p3      2621440 15269887 12648448    6G 83 Linux


Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
root@NanoPi-NEO-Core:/home/pi# mount /dev/mmcblk1 /mnt
root@NanoPi-NEO-Core:/home/pi# cd /mnt
root@NanoPi-NEO-Core:/mnt# ll
total 16964
drwxr-xr-x 6 root root    65536 Jan  1  1970 ./
drwxr-xr-x 1 root root     4096 Feb 11 19:39 ../
-rwxr-xr-x 1 root root        0 Mar 27  2024 1234.txt*
-rwxr-xr-x 1 root root    18040 Apr  3  2024 alsa_demo*
-rwxr-xr-x 1 root root   183564 Apr  9  2024 j8_quectel-CM*
drwxr-xr-x 2 root root    65536 Apr  8  2024 linux-ppp-scripts/
-rwxr-xr-x 1 root root 16334908 Apr  3  2024 mplayer*
drwxr-xr-x 2 root root    65536 Mar 28  2024 music/
-rwxr-xr-x 1 root root   183564 Apr  2  2024 quectel-CM*
drwxr-xr-x 2 root root    65536 Mar 27  2024 System Volume Information/
drwxr-xr-x 2 root root    65536 Feb 11 17:17 wyb2/
-rwxr-xr-x 1 root root   183564 Apr  9  2024 wyb_quectel-CM*
root@NanoPi-NEO-Core:/mnt# ifconfig
eth0      Link encap:Ethernet  HWaddr 02:81:8b:09:ef:b0  
          inet6 addr: fe80::191e:f6b5:ddd2:acb3/64 Scope:Link
          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:41 

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)

usb0      Link encap:Ethernet  HWaddr 02:0c:29:a3:9b:6d  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:316 (316.0 B)  TX bytes:1706 (1.7 KB)

root@NanoPi-NEO-Core:/mnt# 
root@NanoPi-NEO-Core:/mnt# 
root@NanoPi-NEO-Core:/mnt# cd /dev
root@NanoPi-NEO-Core:/dev# ll ttyU*
crw-rw---- 1 root dialout 188, 0 Feb 11 20:06 ttyUSB0
crw-rw---- 1 root dialout 188, 1 Feb 11 20:07 ttyUSB1
crw-rw---- 1 root dialout 188, 2 Feb 11 20:06 ttyUSB2
crw-rw---- 1 root dialout 188, 3 Feb 11 20:06 ttyUSB3
root@NanoPi-NEO-Core:/dev# cd /mnt
root@NanoPi-NEO-Core:/mnt# ll
total 16964
drwxr-xr-x 6 root root    65536 Jan  1  1970 ./
drwxr-xr-x 1 root root     4096 Feb 11 19:39 ../
-rwxr-xr-x 1 root root        0 Mar 27  2024 1234.txt*
-rwxr-xr-x 1 root root    18040 Apr  3  2024 alsa_demo*
-rwxr-xr-x 1 root root   183564 Apr  9  2024 j8_quectel-CM*
drwxr-xr-x 2 root root    65536 Apr  8  2024 linux-ppp-scripts/
-rwxr-xr-x 1 root root 16334908 Apr  3  2024 mplayer*
drwxr-xr-x 2 root root    65536 Mar 28  2024 music/
-rwxr-xr-x 1 root root   183564 Apr  2  2024 quectel-CM*
drwxr-xr-x 2 root root    65536 Mar 27  2024 System Volume Information/
drwxr-xr-x 2 root root    65536 Feb 11 17:17 wyb2/
-rwxr-xr-x 1 root root   183564 Apr  9  2024 wyb_quectel-CM*
root@NanoPi-NEO-Core:/mnt# 
root@NanoPi-NEO-Core:/mnt# 
root@NanoPi-NEO-Core:/mnt# ./wyb
wyb2/           wyb_quectel-CM  
root@NanoPi-NEO-Core:/mnt# ./wyb
wyb2/           wyb_quectel-CM  
root@NanoPi-NEO-Core:/mnt# ./wyb_quectel-CM &
[1] 829
root@NanoPi-NEO-Core:/mnt# [02-11_20:08:17:220] QConnectManager_Linux_V1.6.5.1
[02-11_20:08:17:224] Find /sys/bus/usb/devices/3-1 idVendor=0x2c7c idProduct=0x6005, bus=0x003, dev=0x002
[02-11_20:08:17:225] Auto find qmichannel = /dev/ttyUSB1
[02-11_20:08:17:225] Auto find usbnet_adapter = usb0
[02-11_20:08:17:226] netcard driver = cdc_ether, driver version = 22-Aug-2005
[02-11_20:08:17:226] Modem works in ECM_RNDIS_NCM mode
[02-11_20:08:17:235] /proc/500/fd/9 -> /dev/ttyUSB1
[02-11_20:08:17:235] /proc/500/exe -> /usr/sbin/ModemManager
[02-11_20:08:19:242] atc_fd = 7
[02-11_20:08:19:243] AT> ATE0Q0V1
[02-11_20:08:19:245] AT< OK
[02-11_20:08:19:245] AT< OK
[02-11_20:08:20:245] AT> AT+QCFG="usbnet"
[02-11_20:08:20:247] AT< +QCFG: "usbnet",1
[02-11_20:08:20:247] AT< OK
[02-11_20:08:20:247] AT> AT+QNETDEVCTL=?
[02-11_20:08:20:248] AT< +QNETDEVCTL: (0-3),(1-15),(0-1)
[02-11_20:08:20:248] AT< OK
[02-11_20:08:20:248] AT> AT+CGREG=2
[02-11_20:08:20:249] AT< OK
[02-11_20:08:20:249] AT> AT+CEREG=2
[02-11_20:08:20:250] AT< OK
[02-11_20:08:20:250] AT> AT+C5GREG=2
[02-11_20:08:20:251] AT< ERROR
[02-11_20:08:20:251] AT> AT+QNETDEVSTATUS=?
[02-11_20:08:20:253] AT< ERROR
[02-11_20:08:20:253] AT> AT+QCFG="NAT"
[02-11_20:08:20:254] AT< +QCFG: "nat",1
[02-11_20:08:20:254] AT< OK
[02-11_20:08:20:254] AT> AT+CGMR
[02-11_20:08:20:255] AT< EC200ACNDAR01A11M16
[02-11_20:08:20:255] AT< OK
[02-11_20:08:20:255] AT> AT+CPIN?
[02-11_20:08:20:256] AT< +CPIN: READY
[02-11_20:08:20:256] AT< OK
[02-11_20:08:20:257] AT> AT+QCCID
[02-11_20:08:20:258] AT< +QCCID: 898604E8102381060951
[02-11_20:08:20:258] AT< OK
[02-11_20:08:20:258] requestGetICCID 898604E8102381060951
[02-11_20:08:20:258] AT> AT+CIMI
[02-11_20:08:20:259] AT< 460086862600951
[02-11_20:08:20:259] AT< OK
[02-11_20:08:20:259] requestGetIMSI 460086862600951
[02-11_20:08:20:259] AT> AT+QICSGP=1
[02-11_20:08:20:260] AT< +QICSGP: 1,"3gnet","test","test",1
[02-11_20:08:20:261] AT< OK
[02-11_20:08:20:261] requestGetProfile[1] 3gnet/test/test/1/IPV4
[02-11_20:08:20:261] AT> AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?;+COPS=3,2;+COPS?
[02-11_20:08:20:263] AT< +COPS: 0,0,"CHINA MOBILE",7
[02-11_20:08:20:263] AT< +COPS: 0,1,"CMCC",7
[02-11_20:08:20:263] AT< +COPS: 0,2,"46000",7
[02-11_20:08:20:263] AT< OK
[02-11_20:08:20:263] AT> AT+CEREG?
[02-11_20:08:20:265] AT< +CEREG: 2,1,"2495","8C2143",7
[02-11_20:08:20:265] AT< OK
[02-11_20:08:20:265] AT> AT+QNETDEVCTL?
[02-11_20:08:20:266] AT< +QNETDEVCTL: 0,0,0,0
[02-11_20:08:20:266] AT< OK
[02-11_20:08:20:266] AT> at+cops?
[02-11_20:08:20:267] AT< +COPS: 0,2,"46000",7
[02-11_20:08:20:267] AT< OK
[02-11_20:08:20:267] AT> at+qeng="servingcell"
[02-11_20:08:20:272] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-111,-9,-102,12,0
[02-11_20:08:20:272] AT< OK
[02-11_20:08:20:273] ip addr flush dev usb0
[02-11_20:08:20:286] ip link set dev usb0 down
[02-11_20:08:20:306] AT> AT+CGACT?
[02-11_20:08:20:309] AT< +CGACT: 1,1
[02-11_20:08:20:309] AT< +CGACT: 8,0
[02-11_20:08:20:309] AT< OK
[02-11_20:08:20:309] AT> AT+QNETDEVCTL=1,1,1
[02-11_20:08:22:302] AT< OK
[02-11_20:08:22:302] AT> AT+CGPADDR=1
[02-11_20:08:22:302] AT< +QNETDEVSTATUS: 1
[02-11_20:08:22:304] AT< +CGPADDR: 1,"10.72.1.38"
[02-11_20:08:22:304] AT< OK
[02-11_20:08:22:304] requestGetIPAddress 10.72.1.38
[02-11_20:08:22:304] AT> at+cops?
[02-11_20:08:22:306] AT< +COPS: 0,2,"46000",7
[02-11_20:08:22:306] A[  114.177070] cdc_ether 3-1:1.0 usb0: kevent 12 may have been dropped
T< OK
[02-11_20:08:22:306] AT> at+qeng="servingcell"
[02-11_20:08:22:311] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-111,-7,-102,12,0
[02-11_20:08:22:311] AT< OK
[02-11_20:08:22:311] AT> AT+QNETDEVCTL?
[02-11_20:08:22:313] AT< +QNETDEVCTL: 1,1,1,1
[02-11_20:08:22:313] AT< OK
[02-11_20:08:22:313] AT> AT+CGACT?
[02-11_20:08:22:315] AT< +CGACT: 1,1
[02-11_20:08:22:315] AT< +CGACT: 8,0
[02-11_20:08:22:316] AT< OK
[02-11_20:08:22:316] ip link set dev usb0 up
[02-11_20:08:22:346] busybox udhcpc -f -n -q -t 5 -i usb0
[02-11_20:08:22:365] udhcpc (v1.23.2) started
[02-11_20:08:22:408] Sending discover...
[02-11_20:08:22:448] Sending select for 10.72.1.38...
[02-11_20:08:22:488] Lease of 10.72.1.38 obtained, lease time 86400
[02-11_20:08:22:502] deleting routers
SIOCDELRT: No such process
[02-11_20:08:22:520] adding dns 112.4.12.200
[02-11_20:08:22:521] adding dns 112.4.1.36
[02-11_20:08:22:555] AT> at+cops?
[02-11_20:08:22:556] AT< +COPS: 0,2,"46000",7
[02-11_20:08:22:557] AT< OK
[02-11_20:08:22:557] AT> at+qeng="servingcell"
[02-11_20:08:22:562] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-111,-7,-102,12,0
[02-11_20:08:22:562] AT< OK
[02-11_20:08:22:562] AT> AT+QNETDEVCTL?
[02-11_20:08:22:564] AT< +QNETDEVCTL: 1,1,1,1
[02-11_20:08:22:564] AT< OK
[02-11_20:08:22:564] AT> AT+CGACT?
[02-11_20:08:22:566] AT< +CGACT: 1,1
[02-11_20:08:22:566] AT< +CGACT: 8,0
[02-11_20:08:22:566] AT< OK
[02-11_20:08:22:566] AT> AT+CGPADDR=1
[02-11_20:08:22:568] AT< +CGPADDR: 1,"10.72.1.38"
[02-11_20:08:22:568] AT< OK

root@NanoPi-NEO-Core:/mnt# 
root@NanoPi-NEO-Core:/mnt# 
root@NanoPi-NEO-Core:/mnt# 
root@NanoPi-NEO-Core:/mnt# 
root@NanoPi-NEO-Core:/mnt# ifconfig
eth0      Link encap:Ethernet  HWaddr 02:81:8b:09:ef:b0  
          inet6 addr: fe80::191e:f6b5:ddd2:acb3/64 Scope:Link
          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:41 

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)

usb0      Link encap:Ethernet  HWaddr 02:0c:29:a3:9b:6d  
          inet addr:10.72.1.38  Bcast:10.255.255.255  Mask:255.0.0.0
          inet6 addr: fe80::c:29ff:fea3:9b6d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1128 (1.1 KB)  TX bytes:3004 (3.0 KB)

root@NanoPi-NEO-Core:/mnt# ping www.baidu.com
PING www.baidu.com (36.155.132.76) 56(84) bytes of data.
64 bytes from 36.155.132.76: icmp_seq=1 ttl=52 time=113 ms
64 bytes from 36.155.132.76: icmp_seq=2 ttl=52 time=77.9 ms
64 bytes from 36.155.132.76: icmp_seq=3 ttl=52 time=81.7 ms
64 bytes from 36.155.132.76: icmp_seq=4 ttl=52 time=93.9 ms
64 bytes from 36.155.132.76: icmp_seq=5 ttl=52 time=92.8 ms
[02-11_20:08:37:583] AT> at+cops?
[02-11_20:08:37:585] AT< +COPS: 0,2,"46000",7
[02-11_20:08:37:585] AT< OK
[02-11_20:08:37:585] AT> at+qeng="servingcell"
[02-11_20:08:37:588] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-111,-8,-100,12,0
[02-11_20:08:37:588] AT< OK
[02-11_20:08:37:588] AT> AT+QNETDEVCTL?
[02-11_20:08:37:590] AT< +QNETDEVCTL: 1,1,1,1
[02-11_20:08:37:590] AT< OK
[02-11_20:08:37:590] AT> AT+CGACT?
[02-11_20:08:37:592] AT< +CGACT: 1,1
[02-11_20:08:37:592] AT< +CGACT: 8,0
[02-11_20:08:37:592] AT< OK
[02-11_20:08:37:592] AT> AT+CGPADDR=1
[02-11_20:08:37:594] AT< +CGPADDR: 1,"10.72.1.38"
[02-11_20:08:37:594] AT< OK
64 bytes from 36.155.132.76: icmp_seq=6 ttl=52 time=117 ms
64 bytes from 36.155.132.76: icmp_seq=7 ttl=52 time=100 ms
64 bytes from 36.155.132.76: icmp_seq=8 ttl=52 time=115 ms
64 bytes from 36.155.132.76: icmp_seq=9 ttl=52 time=100 ms
64 bytes from 36.155.132.76: icmp_seq=10 ttl=52 time=101 ms
64 bytes from 36.155.132.76: icmp_seq=11 ttl=52 time=100 ms
64 bytes from 36.155.132.76: icmp_seq=12 ttl=52 time=112 ms
64 bytes from 36.155.132.76: icmp_seq=13 ttl=52 time=106 ms
64 bytes from 36.155.132.76: icmp_seq=14 ttl=52 time=111 ms
64 bytes from 36.155.132.76: icmp_seq=15 ttl=52 time=105 ms
64 bytes from 36.155.132.76: icmp_seq=16 ttl=52 time=104 ms
64 bytes from 36.155.132.76: icmp_seq=17 ttl=52 time=97.9 ms
64 bytes from 36.155.132.76: icmp_seq=18 ttl=52 time=102 ms
64 bytes from 36.155.132.76: icmp_seq=19 ttl=52 time=114 ms
64 bytes from 36.155.132.76: icmp_seq=20 ttl=52 time=105 ms
[02-11_20:08:52:609] AT> at+cops?
64 bytes from 36.155.132.76: icmp_seq=21 ttl=52 time=95.3 ms
[02-11_20:08:52:611] AT< +COPS: 0,2,"46000",7
[02-11_20:08:52:611] AT< OK
[02-11_20:08:52:611] AT> at+qeng="servingcell"
[02-11_20:08:52:615] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-111,-9,-101,13,0
[02-11_20:08:52:615] AT< OK
[02-11_20:08:52:615] AT> AT+QNETDEVCTL?
[02-11_20:08:52:616] AT< +QNETDEVCTL: 1,1,1,1
[02-11_20:08:52:616] AT< OK
[02-11_20:08:52:617] AT> AT+CGACT?
[02-11_20:08:52:619] AT< +CGACT: 1,1
[02-11_20:08:52:619] AT< +CGACT: 8,0
[02-11_20:08:52:619] AT< OK
[02-11_20:08:52:619] AT> AT+CGPADDR=1
[02-11_20:08:52:620] AT< +CGPADDR: 1,"10.72.1.38"
[02-11_20:08:52:620] AT< OK
64 bytes from 36.155.132.76: icmp_seq=22 ttl=52 time=97.3 ms
64 bytes from 36.155.132.76: icmp_seq=23 ttl=52 time=100 ms
64 bytes from 36.155.132.76: icmp_seq=24 ttl=52 time=98.7 ms
64 bytes from 36.155.132.76: icmp_seq=25 ttl=52 time=97.9 ms
64 bytes from 36.155.132.76: icmp_seq=26 ttl=52 time=96.8 ms
64 bytes from 36.155.132.76: icmp_seq=27 ttl=52 time=105 ms
64 bytes from 36.155.132.76: icmp_seq=28 ttl=52 time=94.9 ms
64 bytes from 36.155.132.76: icmp_seq=29 ttl=52 time=94.8 ms
64 bytes from 36.155.132.76: icmp_seq=30 ttl=52 time=92.9 ms
64 bytes from 36.155.132.76: icmp_seq=31 ttl=52 time=111 ms
64 bytes from 36.155.132.76: icmp_seq=32 ttl=52 time=90.8 ms
64 bytes from 36.155.132.76: icmp_seq=33 ttl=52 time=90.8 ms
64 bytes from 36.155.132.76: icmp_seq=34 ttl=52 time=88.9 ms
64 bytes from 36.155.132.76: icmp_seq=35 ttl=52 time=102 ms
64 bytes from 36.155.132.76: icmp_seq=36 ttl=52 time=82.8 ms
[02-11_20:09:07:636] AT> at+cops?
[02-11_20:09:07:637] AT< +COPS: 0,2,"46000",7
[02-11_20:09:07:637] AT< OK
[02-11_20:09:07:637] AT> at+qeng="servingcell"
[02-11_20:09:07:641] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-110,-8,-101,13,0
[02-11_20:09:07:641] AT< OK
[02-11_20:09:07:641] AT> AT+QNETDEVCTL?
[02-11_20:09:07:642] AT< +QNETDEVCTL: 1,1,1,1
[02-11_20:09:07:642] AT< OK
[02-11_20:09:07:643] AT> AT+CGACT?
[02-11_20:09:07:645] AT< +CGACT: 1,1
[02-11_20:09:07:645] AT< +CGACT: 8,0
[02-11_20:09:07:645] AT< OK
[02-11_20:09:07:645] AT> AT+CGPADDR=1
[02-11_20:09:07:647] AT< +CGPADDR: 1,"10.72.1.38"
[02-11_20:09:07:647] AT< OK
64 bytes from 36.155.132.76: icmp_seq=37 ttl=52 time=85.9 ms
64 bytes from 36.155.132.76: icmp_seq=38 ttl=52 time=104 ms
64 bytes from 36.155.132.76: icmp_seq=39 ttl=52 time=107 ms
64 bytes from 36.155.132.76: icmp_seq=40 ttl=52 time=101 ms
64 bytes from 36.155.132.76: icmp_seq=41 ttl=52 time=106 ms
64 bytes from 36.155.132.76: icmp_seq=42 ttl=52 time=90.8 ms
64 bytes from 36.155.132.76: icmp_seq=43 ttl=52 time=103 ms
64 bytes from 36.155.132.76: icmp_seq=44 ttl=52 time=97.8 ms
64 bytes from 36.155.132.76: icmp_seq=45 ttl=52 time=112 ms
64 bytes from 36.155.132.76: icmp_seq=46 ttl=52 time=110 ms
64 bytes from 36.155.132.76: icmp_seq=47 ttl=52 time=110 ms
64 bytes from 36.155.132.76: icmp_seq=48 ttl=52 time=103 ms
64 bytes from 36.155.132.76: icmp_seq=49 ttl=52 time=108 ms
64 bytes from 36.155.132.76: icmp_seq=50 ttl=52 time=91.7 ms
64 bytes from 36.155.132.76: icmp_seq=51 ttl=52 time=94.8 ms
[02-11_20:09:22:662] AT> at+cops?
[02-11_20:09:22:664] AT< +COPS: 0,2,"46000",7
[02-11_20:09:22:664] AT< OK
[02-11_20:09:22:664] AT> at+qeng="servingcell"
[02-11_20:09:22:667] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-113,-9,-103,11,0
[02-11_20:09:22:667] AT< OK
[02-11_20:09:22:668] AT> AT+QNETDEVCTL?
[02-11_20:09:22:669] AT< +QNETDEVCTL: 1,1,1,1
[02-11_20:09:22:669] AT< OK
[02-11_20:09:22:669] AT> AT+CGACT?
[02-11_20:09:22:671] AT< +CGACT: 1,1
[02-11_20:09:22:671] AT< +CGACT: 8,0
[02-11_20:09:22:671] AT< OK
[02-11_20:09:22:672] AT> AT+CGPADDR=1
[02-11_20:09:22:673] AT< +CGPADDR: 1,"10.72.1.38"
[02-11_20:09:22:673] AT< OK
64 bytes from 36.155.132.76: icmp_seq=52 ttl=52 time=89.8 ms
64 bytes from 36.155.132.76: icmp_seq=53 ttl=52 time=92.7 ms
64 bytes from 36.155.132.76: icmp_seq=54 ttl=52 time=87.7 ms
[04-09_07:55:05:527] AT> at+cops?
[04-09_07:55:05:528] AT< +COPS: 0,2,"46000",7
[04-09_07:55:05:528] AT< OK
[04-09_07:55:05:528] AT> at+qeng="servingcell"
[04-09_07:55:05:532] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-109,-8,-99,15,0
[04-09_07:55:05:532] AT< OK
[04-09_07:55:05:532] AT> AT+QNETDEVCTL?
[04-09_07:55:05:533] AT< +QNETDEVCTL: 1,1,1,1
[04-09_07:55:05:534] AT< OK
[04-09_07:55:05:534] AT> AT+CGACT?
[04-09_07:55:05:536] AT< +CGACT: 1,1
[04-09_07:55:05:536] AT< +CGACT: 8,0
[04-09_07:55:05:536] AT< OK
[04-09_07:55:05:536] AT> AT+CGPADDR=1
[04-09_07:55:05:537] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_07:55:05:537] AT< OK
[04-09_07:55:20:553] AT> at+cops?
[04-09_07:55:20:554] AT< +COPS: 0,2,"46000",7
[04-09_07:55:20:554] AT< OK
[04-09_07:55:20:554] AT> at+qeng="servingcell"
[04-09_07:55:20:558] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-110,-7,-100,14,0
[04-09_07:55:20:558] AT< OK
[04-09_07:55:20:558] AT> AT+QNETDEVCTL?
[04-09_07:55:20:559] AT< +QNETDEVCTL: 1,1,1,1
[04-09_07:55:20:560] AT< OK
[04-09_07:55:20:560] AT> AT+CGACT?
[04-09_07:55:20:562] AT< +CGACT: 1,1
[04-09_07:55:20:562] AT< +CGACT: 8,0
[04-09_07:55:20:562] AT< OK
[04-09_07:55:20:562] AT> AT+CGPADDR=1
[04-09_07:55:20:563] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_07:55:20:563] AT< OK
[04-09_07:55:35:579] AT> at+cops?
[04-09_07:55:35:580] AT< +COPS: 0,2,"46000",7
[04-09_07:55:35:580] AT< OK
[04-09_07:55:35:581] AT> at+qeng="servingcell"
[04-09_07:55:35:585] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-109,-7,-99,15,0
[04-09_07:55:35:586] AT< OK
[04-09_07:55:35:586] AT> AT+QNETDEVCTL?
[04-09_07:55:35:587] AT< +QNETDEVCTL: 1,1,1,1
[04-09_07:55:35:587] AT< OK
[04-09_07:55:35:587] AT> AT+CGACT?
[04-09_07:55:35:590] AT< +CGACT: 1,1
[04-09_07:55:35:590] AT< +CGACT: 8,0
[04-09_07:55:35:590] AT< OK
[04-09_07:55:35:590] AT> AT+CGPADDR=1
[04-09_07:55:35:592] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_07:55:35:592] AT< OK
[04-09_07:55:50:607] AT> at+cops?
[04-09_07:55:50:609] AT< +COPS: 0,2,"46000",7
[04-09_07:55:50:609] AT< OK
[04-09_07:55:50:609] AT> at+qeng="servingcell"
[04-09_07:55:50:614] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-112,-9,-100,13,0
[04-09_07:55:50:614] AT< OK
[04-09_07:55:50:614] AT> AT+QNETDEVCTL?
[04-09_07:55:50:616] AT< +QNETDEVCTL: 1,1,1,1
[04-09_07:55:50:616] AT< OK
[04-09_07:55:50:616] AT> AT+CGACT?
[04-09_07:55:50:618] AT< +CGACT: 1,1
[04-09_07:55:50:618] AT< +CGACT: 8,0
[04-09_07:55:50:618] AT< OK
[04-09_07:55:50:618] AT> AT+CGPADDR=1
[04-09_07:55:50:620] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_07:55:50:620] AT< OK
[04-09_07:56:05:635] AT> at+cops?
[04-09_07:56:05:637] AT< +COPS: 0,2,"46000",7
[04-09_07:56:05:637] AT< OK
[04-09_07:56:05:637] AT> at+qeng="servingcell"
[04-09_07:56:05:641] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-109,-9,-100,15,0
[04-09_07:56:05:641] AT< OK
[04-09_07:56:05:641] AT> AT+QNETDEVCTL?
[04-09_07:56:05:642] AT< +QNETDEVCTL: 1,1,1,1
[04-09_07:56:05:642] AT< OK
[04-09_07:56:05:643] AT> AT+CGACT?
[04-09_07:56:05:645] AT< +CGACT: 1,1
[04-09_07:56:05:645] AT< +CGACT: 8,0
[04-09_07:56:05:645] AT< OK
[04-09_07:56:05:645] AT> AT+CGPADDR=1
[04-09_07:56:05:646] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_07:56:05:646] AT< OK
[04-09_07:56:20:662] AT> at+cops?
[04-09_07:56:20:663] AT< +COPS: 0,2,"46000",7
[04-09_07:56:20:663] AT< OK
[04-09_07:56:20:663] AT> at+qeng="servingcell"
[04-09_07:56:20:672] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-110,-8,-99,14,0
[04-09_07:56:20:672] AT< OK
[04-09_07:56:20:672] AT> AT+QNETDEVCTL?
[04-09_07:56:20:674] AT< +QNETDEVCTL: 1,1,1,1
[04-09_07:56:20:674] AT< OK
[04-09_07:56:20:674] AT> AT+CGACT?
[04-09_07:56:20:676] AT< +CGACT: 1,1
[04-09_07:56:20:677] AT< +CGACT: 8,0
[04-09_07:56:20:677] AT< OK
[04-09_07:56:20:677] AT> AT+CGPADDR=1
[04-09_07:56:20:678] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_07:56:20:678] AT< OK
[04-09_07:56:35:694] AT> at+cops?
[04-09_07:56:35:695] AT< +COPS: 0,2,"46000",7
[04-09_07:56:35:695] AT< OK
[04-09_07:56:35:695] AT> at+qeng="servingcell"
[04-09_07:56:35:700] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-109,-7,-97,15,0
[04-09_07:56:35:700] AT< OK
[04-09_07:56:35:700] AT> AT+QNETDEVCTL?
[04-09_07:56:35:702] AT< +QNETDEVCTL: 1,1,1,1
[04-09_07:56:35:702] AT< OK
[04-09_07:56:35:702] AT> AT+CGACT?
[04-09_07:56:35:704] AT< +CGACT: 1,1
[04-09_07:56:35:704] AT< +CGACT: 8,0
[04-09_07:56:35:704] AT< OK
[04-09_07:56:35:705] AT> AT+CGPADDR=1
[04-09_07:56:35:706] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_07:56:35:706] AT< OK
[04-09_07:56:50:721] AT> at+cops?
[04-09_07:56:50:723] AT< +COPS: 0,2,"46000",7
[04-09_07:56:50:723] AT< OK
[04-09_07:56:50:723] AT> at+qeng="servingcell"
[04-09_07:56:50:728] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-109,-7,-99,15,0
[04-09_07:56:50:728] AT< OK
[04-09_07:56:50:728] AT> AT+QNETDEVCTL?
[04-09_07:56:50:730] AT< +QNETDEVCTL: 1,1,1,1
[04-09_07:56:50:730] AT< OK
[04-09_07:56:50:730] AT> AT+CGACT?
[04-09_07:56:50:732] AT< +CGACT: 1,1
[04-09_07:56:50:732] AT< +CGACT: 8,0
[04-09_07:56:50:732] AT< OK
[04-09_07:56:50:732] AT> AT+CGPADDR=1
[04-09_07:56:50:734] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_07:56:50:734] AT< OK
[04-09_07:57:05:749] AT> at+cops?
[04-09_07:57:05:751] AT< +COPS: 0,2,"46000",7
[04-09_07:57:05:751] AT< OK
[04-09_07:57:05:751] AT> at+qeng="servingcell"
[04-09_07:57:05:756] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-109,-7,-97,14,0
[04-09_07:57:05:756] AT< OK
[04-09_07:57:05:756] AT> AT+QNETDEVCTL?
[04-09_07:57:05:758] AT< +QNETDEVCTL: 1,1,1,1
[04-09_07:57:05:758] AT< OK
[04-09_07:57:05:759] AT> AT+CGACT?
[04-09_07:57:05:761] AT< +CGACT: 1,1
[04-09_07:57:05:761] AT< +CGACT: 8,0
[04-09_07:57:05:761] AT< OK
[04-09_07:57:05:761] AT> AT+CGPADDR=1
[04-09_07:57:05:763] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_07:57:05:763] AT< OK
[04-09_07:57:20:778] AT> at+cops?
[04-09_07:57:20:780] AT< +COPS: 0,2,"46000",7
[04-09_07:57:20:780] AT< OK
[04-09_07:57:20:780] AT> at+qeng="servingcell"
[04-09_07:57:20:783] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-110,-8,-99,14,0
[04-09_07:57:20:783] AT< OK
[04-09_07:57:20:783] AT> AT+QNETDEVCTL?
[04-09_07:57:20:785] AT< +QNETDEVCTL: 1,1,1,1
[04-09_07:57:20:785] AT< OK
[04-09_07:57:20:785] AT> AT+CGACT?
[04-09_07:57:20:787] AT< +CGACT: 1,1
[04-09_07:57:20:787] AT< +CGACT: 8,0
[04-09_07:57:20:787] AT< OK
[04-09_07:57:20:788] AT> AT+CGPADDR=1
[04-09_07:57:20:789] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_07:57:20:789] AT< OK

[04-09_07:57:35:804] AT> at+cops?
[04-09_07:57:35:806] AT< +COPS: 0,2,"46000",7
[04-09_07:57:35:806] AT< OK
[04-09_07:57:35:806] AT> at+qeng="servingcell"
[04-09_07:57:35:811] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-109,-7,-98,14,0
[04-09_07:57:35:811] AT< OK
[04-09_07:57:35:811] AT> AT+QNETDEVCTL?
[04-09_07:57:35:813] AT< +QNETDEVCTL: 1,1,1,1
[04-09_07:57:35:813] AT< OK
[04-09_07:57:35:813] AT> AT+CGACT?
[04-09_07:57:35:815] AT< +CGACT: 1,1
[04-09_07:57:35:815] AT< +CGACT: 8,0
[04-09_07:57:35:816] AT< OK
[04-09_07:57:35:816] AT> AT+CGPADDR=1
[04-09_07:57:35:817] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_07:57:35:817] AT< OK

^C
--- www.baidu.com ping statistics ---
54 packets transmitted, 54 received, 0% packet loss, time 53889ms
rtt min/avg/max/mdev = 77.963/100.147/117.963/9.220 ms
root@NanoPi-NEO-Core:/mnt# 
root@NanoPi-NEO-Core:/mnt# 
root@NanoPi-NEO-Core:/mnt# ./wyb_quectel-CM &^C
root@NanoPi-NEO-Core:/mnt# ping www.baidu.com
PING www.baidu.com (36.155.132.76) 56(84) bytes of data.
[04-09_07:57:50:833] AT> at+cops?
[04-09_07:57:50:834] AT< +COPS: 0,2,"46000",7
[04-09_07:57:50:834] AT< OK
[04-09_07:57:50:834] AT> at+qeng="servingcell"
[04-09_07:57:50:838] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-111,-7,-101,13,0
[04-09_07:57:50:838] AT< OK
[04-09_07:57:50:838] AT> AT+QNETDEVCTL?
[04-09_07:57:50:839] AT< +QNETDEVCTL: 1,1,1,1
[04-09_07:57:50:839] AT< OK
[04-09_07:57:50:840] AT> AT+CGACT?
[04-09_07:57:50:842] AT< +CGACT: 1,1
[04-09_07:57:50:842] AT< +CGACT: 8,0
[04-09_07:57:50:842] AT< OK
[04-09_07:57:50:842] AT> AT+CGPADDR=1
[04-09_07:57:50:843] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_07:57:50:843] AT< OK
64 bytes from 36.155.132.76: icmp_seq=1 ttl=52 time=105 ms
64 bytes from 36.155.132.76: icmp_seq=2 ttl=52 time=109 ms
64 bytes from 36.155.132.76: icmp_seq=3 ttl=52 time=102 ms
64 bytes from 36.155.132.76: icmp_seq=4 ttl=52 time=102 ms
64 bytes from 36.155.132.76: icmp_seq=5 ttl=52 time=93.0 ms
64 bytes from 36.155.132.76: icmp_seq=6 ttl=52 time=100 ms
64 bytes from 36.155.132.76: icmp_seq=7 ttl=52 time=88.9 ms
64 bytes from 36.155.132.76: icmp_seq=8 ttl=52 time=98.7 ms
^C
--- www.baidu.com ping statistics ---
8 packets transmitted, 8 received, 0% packet loss, time 7006ms
rtt min/avg/max/mdev = 88.986/100.206/109.261/6.131 ms
root@NanoPi-NEO-Core:/mnt# 
root@NanoPi-NEO-Core:/mnt# 
root@NanoPi-NEO-Core:/mnt# 
root@NanoPi-NEO-Core:/mnt# ping baidu.com
PING baidu.com (110.242.68.66) 56(84) bytes of data.
64 bytes from 110.242.68.66: icmp_seq=1 ttl=49 time=132 ms
64 bytes from 110.242.68.66: icmp_seq=2 ttl=49 time=129 ms
64 bytes from 110.242.68.66: icmp_seq=3 ttl=49 time=128 ms
[04-09_07:58:05:858] AT> at+cops?
[04-09_07:58:05:860] AT< +COPS: 0,2,"46000",7
[04-09_07:58:05:860] AT< OK
[04-09_07:58:05:860] AT> at+qeng="servingcell"
[04-09_07:58:05:863] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-111,-8,-101,13,0
[04-09_07:58:05:863] AT< OK
[04-09_07:58:05:864] AT> AT+QNETDEVCTL?
[04-09_07:58:05:865] AT< +QNETDEVCTL: 1,1,1,1
[04-09_07:58:05:865] AT< OK
[04-09_07:58:05:865] AT> AT+CGACT?
[04-09_07:58:05:867] AT< +CGACT: 1,1
[04-09_07:58:05:867] AT< +CGACT: 8,0
[04-09_07:58:05:868] AT< OK
[04-09_07:58:05:868] AT> AT+CGPADDR=1
[04-09_07:58:05:869] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_07:58:05:869] AT< OK
64 bytes from 110.242.68.66: icmp_seq=4 ttl=49 time=128 ms
64 bytes from 110.242.68.66: icmp_seq=5 ttl=49 time=119 ms
64 bytes from 110.242.68.66: icmp_seq=6 ttl=49 time=127 ms
64 bytes from 110.242.68.66: icmp_seq=7 ttl=49 time=123 ms
64 bytes from 110.242.68.66: icmp_seq=8 ttl=49 time=128 ms
64 bytes from 110.242.68.66: icmp_seq=9 ttl=49 time=127 ms
64 bytes from 110.242.68.66: icmp_seq=10 ttl=49 time=127 ms
64 bytes from 110.242.68.66: icmp_seq=11 ttl=49 time=128 ms
64 bytes from 110.242.68.66: icmp_seq=12 ttl=49 time=127 ms
64 bytes from 110.242.68.66: icmp_seq=13 ttl=49 time=116 ms
64 bytes from 110.242.68.66: icmp_seq=14 ttl=49 time=126 ms
64 bytes from 110.242.68.66: icmp_seq=15 ttl=49 time=126 ms
64 bytes from 110.242.68.66: icmp_seq=16 ttl=49 time=126 ms
64 bytes from 110.242.68.66: icmp_seq=17 ttl=49 time=116 ms
64 bytes from 110.242.68.66: icmp_seq=18 ttl=49 time=125 ms
[04-09_07:58:20:884] AT> at+cops?
[04-09_07:58:20:886] AT< +COPS: 0,2,"46000",7
[04-09_07:58:20:886] AT< OK
[04-09_07:58:20:886] AT> at+qeng="servingcell"
[04-09_07:58:20:889] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-111,-10,-100,13,0
[04-09_07:58:20:889] AT< OK
[04-09_07:58:20:889] AT> AT+QNETDEVCTL?
[04-09_07:58:20:891] AT< +QNETDEVCTL: 1,1,1,1
[04-09_07:58:20:891] AT< OK
[04-09_07:58:20:891] AT> AT+CGACT?
[04-09_07:58:20:893] AT< +CGACT: 1,1
[04-09_07:58:20:893] AT< +CGACT: 8,0
[04-09_07:58:20:893] AT< OK
[04-09_07:58:20:893] AT> AT+CGPADDR=1
[04-09_07:58:20:895] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_07:58:20:895] AT< OK
64 bytes from 110.242.68.66: icmp_seq=19 ttl=49 time=115 ms
64 bytes from 110.242.68.66: icmp_seq=20 ttl=49 time=125 ms
64 bytes from 110.242.68.66: icmp_seq=21 ttl=49 time=115 ms
64 bytes from 110.242.68.66: icmp_seq=22 ttl=49 time=125 ms
64 bytes from 110.242.68.66: icmp_seq=23 ttl=49 time=115 ms
64 bytes from 110.242.68.66: icmp_seq=24 ttl=49 time=124 ms
64 bytes from 110.242.68.66: icmp_seq=25 ttl=49 time=118 ms
64 bytes from 110.242.68.66: icmp_seq=26 ttl=49 time=124 ms
64 bytes from 110.242.68.66: icmp_seq=27 ttl=49 time=120 ms
64 bytes from 110.242.68.66: icmp_seq=28 ttl=49 time=124 ms
64 bytes from 110.242.68.66: icmp_seq=29 ttl=49 time=120 ms
64 bytes from 110.242.68.66: icmp_seq=30 ttl=49 time=124 ms
64 bytes from 110.242.68.66: icmp_seq=31 ttl=49 time=121 ms
64 bytes from 110.242.68.66: icmp_seq=32 ttl=49 time=124 ms
64 bytes from 110.242.68.66: icmp_seq=33 ttl=49 time=124 ms
[04-09_07:58:35:910] AT> at+cops?
[04-09_07:58:35:911] AT< +COPS: 0,2,"46000",7
[04-09_07:58:35:912] AT< OK
[04-09_07:58:35:912] AT> at+qeng="servingcell"
[04-09_07:58:35:915] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-111,-9,-100,13,0
[04-09_07:58:35:915] AT< OK
[04-09_07:58:35:915] AT> AT+QNETDEVCTL?
[04-09_07:58:35:917] AT< +QNETDEVCTL: 1,1,1,1
[04-09_07:58:35:917] AT< OK
[04-09_07:58:35:917] AT> AT+CGACT?
[04-09_07:58:35:919] AT< +CGACT: 1,1
[04-09_07:58:35:919] AT< +CGACT: 8,0
[04-09_07:58:35:919] AT< OK
[04-09_07:58:35:919] AT> AT+CGPADDR=1
[04-09_07:58:35:920] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_07:58:35:921] AT< OK
64 bytes from 110.242.68.66: icmp_seq=34 ttl=49 time=124 ms
64 bytes from 110.242.68.66: icmp_seq=35 ttl=49 time=124 ms
64 bytes from 110.242.68.66: icmp_seq=36 ttl=49 time=126 ms
64 bytes from 110.242.68.66: icmp_seq=37 ttl=49 time=126 ms
64 bytes from 110.242.68.66: icmp_seq=38 ttl=49 time=128 ms
64 bytes from 110.242.68.66: icmp_seq=39 ttl=49 time=129 ms
64 bytes from 110.242.68.66: icmp_seq=40 ttl=49 time=123 ms
64 bytes from 110.242.68.66: icmp_seq=41 ttl=49 time=113 ms
64 bytes from 110.242.68.66: icmp_seq=42 ttl=49 time=123 ms
64 bytes from 110.242.68.66: icmp_seq=43 ttl=49 time=132 ms
64 bytes from 110.242.68.66: icmp_seq=44 ttl=49 time=125 ms
64 bytes from 110.242.68.66: icmp_seq=45 ttl=49 time=127 ms
64 bytes from 110.242.68.66: icmp_seq=46 ttl=49 time=138 ms
64 bytes from 110.242.68.66: icmp_seq=47 ttl=49 time=113 ms
64 bytes from 110.242.68.66: icmp_seq=48 ttl=49 time=124 ms
[04-09_07:58:50:936] AT> at+cops?
[04-09_07:58:50:937] AT< +COPS: 0,2,"46000",7
[04-09_07:58:50:937] AT< OK
[04-09_07:58:50:938] AT> at+qeng="servingcell"
[04-09_07:58:50:941] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-109,-7,-100,14,0
[04-09_07:58:50:941] AT< OK
[04-09_07:58:50:941] AT> AT+QNETDEVCTL?
[04-09_07:58:50:943] AT< +QNETDEVCTL: 1,1,1,1
[04-09_07:58:50:943] AT< OK
[04-09_07:58:50:943] AT> AT+CGACT?
[04-09_07:58:50:945] AT< +CGACT: 1,1
[04-09_07:58:50:945] AT< +CGACT: 8,0
[04-09_07:58:50:945] AT< OK
[04-09_07:58:50:945] AT> AT+CGPADDR=1
[04-09_07:58:50:947] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_07:58:50:947] AT< OK
64 bytes from 110.242.68.66: icmp_seq=49 ttl=49 time=147 ms
64 bytes from 110.242.68.66: icmp_seq=50 ttl=49 time=123 ms
64 bytes from 110.242.68.66: icmp_seq=51 ttl=49 time=138 ms
64 bytes from 110.242.68.66: icmp_seq=52 ttl=49 time=123 ms
64 bytes from 110.242.68.66: icmp_seq=53 ttl=49 time=112 ms
64 bytes from 110.242.68.66: icmp_seq=54 ttl=49 time=121 ms
64 bytes from 110.242.68.66: icmp_seq=55 ttl=49 time=111 ms
64 bytes from 110.242.68.66: icmp_seq=56 ttl=49 time=121 ms
64 bytes from 110.242.68.66: icmp_seq=57 ttl=49 time=111 ms
64 bytes from 110.242.68.66: icmp_seq=58 ttl=49 time=121 ms
64 bytes from 110.242.68.66: icmp_seq=59 ttl=49 time=121 ms
64 bytes from 110.242.68.66: icmp_seq=60 ttl=49 time=121 ms
64 bytes from 110.242.68.66: icmp_seq=61 ttl=49 time=110 ms
64 bytes from 110.242.68.66: icmp_seq=62 ttl=49 time=120 ms
64 bytes from 110.242.68.66: icmp_seq=63 ttl=49 time=131 ms
[04-09_07:59:05:962] AT> at+cops?
[04-09_07:59:05:963] AT< +COPS: 0,2,"46000",7
[04-09_07:59:05:964] AT< OK
[04-09_07:59:05:964] AT> at+qeng="servingcell"
[04-09_07:59:05:967] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-110,-8,-98,14,0
[04-09_07:59:05:967] AT< OK
[04-09_07:59:05:967] AT> AT+QNETDEVCTL?
[04-09_07:59:05:969] AT< +QNETDEVCTL: 1,1,1,1
[04-09_07:59:05:969] AT< OK
[04-09_07:59:05:969] AT> AT+CGACT?
[04-09_07:59:05:971] AT< +CGACT: 1,1
[04-09_07:59:05:971] AT< +CGACT: 8,0
[04-09_07:59:05:971] AT< OK
[04-09_07:59:05:971] AT> AT+CGPADDR=1
[04-09_07:59:05:973] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_07:59:05:973] AT< OK
64 bytes from 110.242.68.66: icmp_seq=64 ttl=49 time=120 ms
64 bytes from 110.242.68.66: icmp_seq=65 ttl=49 time=110 ms
64 bytes from 110.242.68.66: icmp_seq=66 ttl=49 time=121 ms
64 bytes from 110.242.68.66: icmp_seq=67 ttl=49 time=110 ms
64 bytes from 110.242.68.66: icmp_seq=68 ttl=49 time=120 ms
64 bytes from 110.242.68.66: icmp_seq=69 ttl=49 time=121 ms
64 bytes from 110.242.68.66: icmp_seq=70 ttl=49 time=140 ms
64 bytes from 110.242.68.66: icmp_seq=71 ttl=49 time=121 ms
64 bytes from 110.242.68.66: icmp_seq=72 ttl=49 time=120 ms
64 bytes from 110.242.68.66: icmp_seq=73 ttl=49 time=110 ms
64 bytes from 110.242.68.66: icmp_seq=74 ttl=49 time=120 ms
64 bytes from 110.242.68.66: icmp_seq=75 ttl=49 time=120 ms
64 bytes from 110.242.68.66: icmp_seq=76 ttl=49 time=120 ms
64 bytes from 110.242.68.66: icmp_seq=77 ttl=49 time=119 ms
64 bytes from 110.242.68.66: icmp_seq=78 ttl=49 time=119 ms
[04-09_07:59:20:988] AT> at+cops?
[04-09_07:59:20:989] AT< +COPS: 0,2,"46000",7
[04-09_07:59:20:990] AT< OK
[04-09_07:59:20:990] AT> at+qeng="servingcell"
[04-09_07:59:20:993] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-111,-9,-99,13,0
[04-09_07:59:20:993] AT< OK
[04-09_07:59:20:993] AT> AT+QNETDEVCTL?
[04-09_07:59:20:995] AT< +QNETDEVCTL: 1,1,1,1
[04-09_07:59:20:995] AT< OK
[04-09_07:59:20:995] AT> AT+CGACT?
[04-09_07:59:20:997] AT< +CGACT: 1,1
[04-09_07:59:20:997] AT< +CGACT: 8,0
[04-09_07:59:20:997] AT< OK
[04-09_07:59:20:998] AT> AT+CGPADDR=1
[04-09_07:59:20:999] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_07:59:20:999] AT< OK
64 bytes from 110.242.68.66: icmp_seq=79 ttl=49 time=120 ms
64 bytes from 110.242.68.66: icmp_seq=80 ttl=49 time=119 ms
64 bytes from 110.242.68.66: icmp_seq=81 ttl=49 time=109 ms
64 bytes from 110.242.68.66: icmp_seq=82 ttl=49 time=119 ms
64 bytes from 110.242.68.66: icmp_seq=83 ttl=49 time=118 ms
64 bytes from 110.242.68.66: icmp_seq=84 ttl=49 time=138 ms
64 bytes from 110.242.68.66: icmp_seq=85 ttl=49 time=122 ms
64 bytes from 110.242.68.66: icmp_seq=86 ttl=49 time=117 ms
64 bytes from 110.242.68.66: icmp_seq=87 ttl=49 time=108 ms
64 bytes from 110.242.68.66: icmp_seq=88 ttl=49 time=117 ms
64 bytes from 110.242.68.66: icmp_seq=89 ttl=49 time=107 ms

64 bytes from 110.242.68.66: icmp_seq=90 ttl=49 time=117 ms
64 bytes from 110.242.68.66: icmp_seq=91 ttl=49 time=117 ms
64 bytes from 110.242.68.66: icmp_seq=92 ttl=49 time=117 ms
64 bytes from 110.242.68.66: icmp_seq=93 ttl=49 time=117 ms
[04-09_07:59:36:007] AT> at+cops?
[04-09_07:59:36:008] AT< +COPS: 0,2,"46000",7
[04-09_07:59:36:008] AT< OK
[04-09_07:59:36:008] AT> at+qeng="servingcell"
[04-09_07:59:36:012] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-111,-9,-100,13,0
[04-09_07:59:36:012] AT< OK
[04-09_07:59:36:012] AT> AT+QNETDEVCTL?
[04-09_07:59:36:013] AT< +QNETDEVCTL: 1,1,1,1
[04-09_07:59:36:013] AT< OK
[04-09_07:59:36:014] AT> AT+CGACT?
[04-09_07:59:36:016] AT< +CGACT: 1,1
[04-09_07:59:36:016] AT< +CGACT: 8,0
[04-09_07:59:36:016] AT< OK
[04-09_07:59:36:016] AT> AT+CGPADDR=1
[04-09_07:59:36:017] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_07:59:36:017] AT< OK
64 bytes from 110.242.68.66: icmp_seq=94 ttl=49 time=122 ms
64 bytes from 110.242.68.66: icmp_seq=95 ttl=49 time=126 ms
64 bytes from 110.242.68.66: icmp_seq=96 ttl=49 time=117 ms
64 bytes from 110.242.68.66: icmp_seq=97 ttl=49 time=116 ms
64 bytes from 110.242.68.66: icmp_seq=98 ttl=49 time=118 ms
64 bytes from 110.242.68.66: icmp_seq=99 ttl=49 time=117 ms
64 bytes from 110.242.68.66: icmp_seq=100 ttl=49 time=135 ms
64 bytes from 110.242.68.66: icmp_seq=101 ttl=49 time=125 ms
64 bytes from 110.242.68.66: icmp_seq=102 ttl=49 time=157 ms
64 bytes from 110.242.68.66: icmp_seq=103 ttl=49 time=125 ms
64 bytes from 110.242.68.66: icmp_seq=104 ttl=49 time=149 ms
64 bytes from 110.242.68.66: icmp_seq=105 ttl=49 time=125 ms
64 bytes from 110.242.68.66: icmp_seq=106 ttl=49 time=146 ms
64 bytes from 110.242.68.66: icmp_seq=107 ttl=49 time=126 ms
64 bytes from 110.242.68.66: icmp_seq=108 ttl=49 time=136 ms
[04-09_07:59:51:032] AT> at+cops?
[04-09_07:59:51:034] AT< +COPS: 0,2,"46000",7
[04-09_07:59:51:034] AT< OK
[04-09_07:59:51:034] AT> at+qeng="servingcell"
[04-09_07:59:51:037] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-110,-9,-99,14,0
[04-09_07:59:51:037] AT< OK
[04-09_07:59:51:038] AT> AT+QNETDEVCTL?
[04-09_07:59:51:039] AT< +QNETDEVCTL: 1,1,1,1
[04-09_07:59:51:039] AT< OK
[04-09_07:59:51:039] AT> AT+CGACT?
[04-09_07:59:51:041] AT< +CGACT: 1,1
[04-09_07:59:51:041] AT< +CGACT: 8,0
[04-09_07:59:51:042] AT< OK
[04-09_07:59:51:042] AT> AT+CGPADDR=1
[04-09_07:59:51:043] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_07:59:51:043] AT< OK
64 bytes from 110.242.68.66: icmp_seq=109 ttl=49 time=125 ms
64 bytes from 110.242.68.66: icmp_seq=110 ttl=49 time=135 ms
64 bytes from 110.242.68.66: icmp_seq=111 ttl=49 time=156 ms
64 bytes from 110.242.68.66: icmp_seq=112 ttl=49 time=135 ms
64 bytes from 110.242.68.66: icmp_seq=113 ttl=49 time=135 ms
64 bytes from 110.242.68.66: icmp_seq=114 ttl=49 time=135 ms
64 bytes from 110.242.68.66: icmp_seq=115 ttl=49 time=125 ms
64 bytes from 110.242.68.66: icmp_seq=116 ttl=49 time=135 ms
64 bytes from 110.242.68.66: icmp_seq=117 ttl=49 time=125 ms
64 bytes from 110.242.68.66: icmp_seq=118 ttl=49 time=145 ms
64 bytes from 110.242.68.66: icmp_seq=119 ttl=49 time=125 ms
64 bytes from 110.242.68.66: icmp_seq=120 ttl=49 time=116 ms
64 bytes from 110.242.68.66: icmp_seq=121 ttl=49 time=116 ms
64 bytes from 110.242.68.66: icmp_seq=122 ttl=49 time=145 ms
64 bytes from 110.242.68.66: icmp_seq=123 ttl=49 time=126 ms
[04-09_08:00:06:058] AT> at+cops?
[04-09_08:00:06:060] AT< +COPS: 0,2,"46000",7
[04-09_08:00:06:060] AT< OK
[04-09_08:00:06:060] AT> at+qeng="servingcell"
[04-09_08:00:06:063] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-110,-9,-100,14,0
[04-09_08:00:06:063] AT< OK
[04-09_08:00:06:064] AT> AT+QNETDEVCTL?
[04-09_08:00:06:065] AT< +QNETDEVCTL: 1,1,1,1
[04-09_08:00:06:065] AT< OK
[04-09_08:00:06:065] AT> AT+CGACT?
[04-09_08:00:06:067] AT< +CGACT: 1,1
[04-09_08:00:06:067] AT< +CGACT: 8,0
[04-09_08:00:06:068] AT< OK
[04-09_08:00:06:068] AT> AT+CGPADDR=1
[04-09_08:00:06:069] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_08:00:06:069] AT< OK
64 bytes from 110.242.68.66: icmp_seq=124 ttl=49 time=145 ms
64 bytes from 110.242.68.66: icmp_seq=125 ttl=49 time=134 ms
64 bytes from 110.242.68.66: icmp_seq=126 ttl=49 time=154 ms
64 bytes from 110.242.68.66: icmp_seq=127 ttl=49 time=154 ms
64 bytes from 110.242.68.66: icmp_seq=128 ttl=49 time=153 ms
64 bytes from 110.242.68.66: icmp_seq=129 ttl=49 time=134 ms
64 bytes from 110.242.68.66: icmp_seq=130 ttl=49 time=143 ms
64 bytes from 110.242.68.66: icmp_seq=131 ttl=49 time=123 ms
64 bytes from 110.242.68.66: icmp_seq=132 ttl=49 time=153 ms
64 bytes from 110.242.68.66: icmp_seq=133 ttl=49 time=134 ms
64 bytes from 110.242.68.66: icmp_seq=134 ttl=49 time=148 ms
64 bytes from 110.242.68.66: icmp_seq=135 ttl=49 time=153 ms
64 bytes from 110.242.68.66: icmp_seq=136 ttl=49 time=148 ms
64 bytes from 110.242.68.66: icmp_seq=137 ttl=49 time=133 ms
64 bytes from 110.242.68.66: icmp_seq=138 ttl=49 time=143 ms
64 bytes from 110.242.68.66: icmp_seq=139 ttl=49 time=133 ms
[04-09_08:00:21:084] AT> at+cops?
[04-09_08:00:21:086] AT< +COPS: 0,2,"46000",7
[04-09_08:00:21:086] AT< OK
[04-09_08:00:21:086] AT> at+qeng="servingcell"
[04-09_08:00:21:089] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-112,-9,-101,12,0
[04-09_08:00:21:089] AT< OK
[04-09_08:00:21:089] AT> AT+QNETDEVCTL?
[04-09_08:00:21:091] AT< +QNETDEVCTL: 1,1,1,1
[04-09_08:00:21:091] AT< OK
[04-09_08:00:21:091] AT> AT+CGACT?
[04-09_08:00:21:093] AT< +CGACT: 1,1
[04-09_08:00:21:093] AT< +CGACT: 8,0
[04-09_08:00:21:093] AT< OK
[04-09_08:00:21:094] AT> AT+CGPADDR=1
[04-09_08:00:21:095] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_08:00:21:095] AT< OK
64 bytes from 110.242.68.66: icmp_seq=140 ttl=49 time=144 ms
64 bytes from 110.242.68.66: icmp_seq=141 ttl=49 time=153 ms
64 bytes from 110.242.68.66: icmp_seq=142 ttl=49 time=134 ms
64 bytes from 110.242.68.66: icmp_seq=143 ttl=49 time=123 ms
64 bytes from 110.242.68.66: icmp_seq=144 ttl=49 time=133 ms
64 bytes from 110.242.68.66: icmp_seq=145 ttl=49 time=133 ms
64 bytes from 110.242.68.66: icmp_seq=146 ttl=49 time=114 ms
64 bytes from 110.242.68.66: icmp_seq=147 ttl=49 time=123 ms
64 bytes from 110.242.68.66: icmp_seq=148 ttl=49 time=133 ms
64 bytes from 110.242.68.66: icmp_seq=149 ttl=49 time=137 ms
64 bytes from 110.242.68.66: icmp_seq=150 ttl=49 time=143 ms
64 bytes from 110.242.68.66: icmp_seq=151 ttl=49 time=103 ms
64 bytes from 110.242.68.66: icmp_seq=152 ttl=49 time=133 ms
64 bytes from 110.242.68.66: icmp_seq=153 ttl=49 time=136 ms
64 bytes from 110.242.68.66: icmp_seq=154 ttl=49 time=132 ms
[04-09_08:00:36:110] AT> at+cops?
[04-09_08:00:36:112] AT< +COPS: 0,2,"46000",7
[04-09_08:00:36:112] AT< OK
[04-09_08:00:36:112] AT> at+qeng="servingcell"
[04-09_08:00:36:115] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-112,-10,-99,12,0
[04-09_08:00:36:115] AT< OK
[04-09_08:00:36:115] AT> AT+QNETDEVCTL?
[04-09_08:00:36:117] AT< +QNETDEVCTL: 1,1,1,1
[04-09_08:00:36:117] AT< OK
[04-09_08:00:36:117] AT> AT+CGACT?
[04-09_08:00:36:119] AT< +CGACT: 1,1
[04-09_08:00:36:119] AT< +CGACT: 8,0
[04-09_08:00:36:119] AT< OK
[04-09_08:00:36:120] AT> AT+CGPADDR=1
[04-09_08:00:36:121] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_08:00:36:121] AT< OK
64 bytes from 110.242.68.66: icmp_seq=155 ttl=49 time=103 ms
64 bytes from 110.242.68.66: icmp_seq=156 ttl=49 time=112 ms
64 bytes from 110.242.68.66: icmp_seq=157 ttl=49 time=131 ms
64 bytes from 110.242.68.66: icmp_seq=158 ttl=49 time=145 ms
64 bytes from 110.242.68.66: icmp_seq=159 ttl=49 time=149 ms
64 bytes from 110.242.68.66: icmp_seq=160 ttl=49 time=143 ms
64 bytes from 110.242.68.66: icmp_seq=161 ttl=49 time=127 ms
64 bytes from 110.242.68.66: icmp_seq=162 ttl=49 time=126 ms
64 bytes from 110.242.68.66: icmp_seq=163 ttl=49 time=125 ms
64 bytes from 110.242.68.66: icmp_seq=164 ttl=49 time=148 ms
64 bytes from 110.242.68.66: icmp_seq=165 ttl=49 time=143 ms
64 bytes from 110.242.68.66: icmp_seq=166 ttl=49 time=122 ms
64 bytes from 110.242.68.66: icmp_seq=167 ttl=49 time=111 ms
64 bytes from 110.242.68.66: icmp_seq=168 ttl=49 time=130 ms
64 bytes from 110.242.68.66: icmp_seq=169 ttl=49 time=119 ms
[04-09_08:00:51:136] AT> at+cops?
[04-09_08:00:51:137] AT< +COPS: 0,2,"46000",7
[04-09_08:00:51:138] AT< OK
[04-09_08:00:51:138] AT> at+qeng="servingcell"
[04-09_08:00:51:141] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-110,-11,-98,13,0
[04-09_08:00:51:141] AT< OK
[04-09_08:00:51:141] AT> AT+QNETDEVCTL?
[04-09_08:00:51:143] AT< +QNETDEVCTL: 1,1,1,1
[04-09_08:00:51:143] AT< OK
[04-09_08:00:51:143] AT> AT+CGACT?
[04-09_08:00:51:145] AT< +CGACT: 1,1
[04-09_08:00:51:145] AT< +CGACT: 8,0
[04-09_08:00:51:145] AT< OK
[04-09_08:00:51:145] AT> AT+CGPADDR=1
[04-09_08:00:51:147] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_08:00:51:147] AT< OK
64 bytes from 110.242.68.66: icmp_seq=170 ttl=49 time=118 ms
64 bytes from 110.242.68.66: icmp_seq=171 ttl=49 time=138 ms
64 bytes from 110.242.68.66: icmp_seq=172 ttl=49 time=126 ms
64 bytes from 110.242.68.66: icmp_seq=173 ttl=49 time=135 ms
64 bytes from 110.242.68.66: icmp_seq=174 ttl=49 time=134 ms
64 bytes from 110.242.68.66: icmp_seq=175 ttl=49 time=133 ms
64 bytes from 110.242.68.66: icmp_seq=176 ttl=49 time=132 ms
64 bytes from 110.242.68.66: icmp_seq=177 ttl=49 time=131 ms
64 bytes from 110.242.68.66: icmp_seq=178 ttl=49 time=141 ms
64 bytes from 110.242.68.66: icmp_seq=179 ttl=49 time=143 ms
64 bytes from 110.242.68.66: icmp_seq=180 ttl=49 time=118 ms
64 bytes from 110.242.68.66: icmp_seq=181 ttl=49 time=127 ms
64 bytes from 110.242.68.66: icmp_seq=182 ttl=49 time=116 ms
64 bytes from 110.242.68.66: icmp_seq=183 ttl=49 time=125 ms
64 bytes from 110.242.68.66: icmp_seq=184 ttl=49 time=114 ms
[04-09_08:01:06:162] AT> at+cops?
[04-09_08:01:06:163] AT< +COPS: 0,2,"46000",7
[04-09_08:01:06:164] AT< OK
[04-09_08:01:06:164] AT> at+qeng="servingcell"
[04-09_08:01:06:167] AT< +QENG: "servingcell","NOCONN","LTE","TDD",460,00,8C2143,86,38950,40,5,5,2495,-111,-10,-98,13,0
[04-09_08:01:06:167] AT< OK
[04-09_08:01:06:167] AT> AT+QNETDEVCTL?
[04-09_08:01:06:169] AT< +QNETDEVCTL: 1,1,1,1
[04-09_08:01:06:169] AT< OK
[04-09_08:01:06:169] AT> AT+CGACT?
[04-09_08:01:06:171] AT< +CGACT: 1,1
[04-09_08:01:06:171] AT< +CGACT: 8,0
[04-09_08:01:06:171] AT< OK
[04-09_08:01:06:171] AT> AT+CGPADDR=1
[04-09_08:01:06:173] AT< +CGPADDR: 1,"10.72.1.38"
[04-09_08:01:06:173] AT< OK
64 bytes from 110.242.68.66: icmp_seq=185 ttl=49 time=137 ms
64 bytes from 110.242.68.66: icmp_seq=186 ttl=49 time=112 ms
64 bytes from 110.242.68.66: icmp_seq=187 ttl=49 time=135 ms
64 bytes from 110.242.68.66: icmp_seq=188 ttl=49 time=120 ms
64 bytes from 110.242.68.66: icmp_seq=189 ttl=49 time=121 ms
64 bytes from 110.242.68.66: icmp_seq=190 ttl=49 time=120 ms
64 bytes from 110.242.68.66: icmp_seq=191 ttl=49 time=118 ms
64 bytes from 110.242.68.66: icmp_seq=192 ttl=49 time=107 ms
64 bytes from 110.242.68.66: icmp_seq=193 ttl=49 time=116 ms
64 bytes from 110.242.68.66: icmp_seq=194 ttl=49 time=139 ms
64 bytes from 110.242.68.66: icmp_seq=195 ttl=49 time=144 ms

拒绝访问。


Connection closed.

Disconnected from remote host(115200UART3) at 16:03:15.

Type `help' to learn how to use Xshell prompt.
[C:\~]$ 

[END] 2024/4/9 16:45:41
 

  • 8
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值