20250611在全志H3平台的Nano Pi NEO CORE开发板上运行Ubuntu Core16.04时让4G模块EC200A-CN使用AT命令拨号上网

pi@NanoPi-NEO-Core:~$ su
Password: 
root@NanoPi-NEO-Core:/home/pi# 
root@NanoPi-NEO-Core:/home/pi# cd /
root@NanoPi-NEO-Core:/# lsusb
Bus 003 Device 002: ID 2c7c:6005
root@NanoPi-NEO-Core:/# cd /dev
root@NanoPi-NEO-Core:/dev# ll ttyUSB*
crw-rw---- 1 root dialout 188, 0 Feb 11 16:38 ttyUSB0
crw-rw---- 1 root dialout 188, 1 Feb 11 16:39 ttyUSB1
crw-rw---- 1 root dialout 188, 2 Feb 11 16:39 ttyUSB2
root@NanoPi-NEO-Core:/dev# cat /dev/ttyUSB2 & 
root@NanoPi-NEO-Core:/dev# echo -e "at\r\n" > /dev/ttyUSB2
root@NanoPi-NEO-Core:/dev# echo -e "AT\r\n" > /dev/ttyUSB2
root@NanoPi-NEO-Core:/dev# echo -e "AT+QCFG=\"USBNET\",3\r\n" > ttyUSB2
root@NanoPi-NEO-Core:/dev# echo -e "AT+QNETDEVCTL=3,1\r\n" > ttyUSB2
root@NanoPi-NEO-Core:/dev# ifconfig
root@NanoPi-NEO-Core:/dev# udhcpc -i usb0
udhcpc (v1.22.1) started
Sending discover...
Sending select for 10.68.219.254...
Lease of 10.68.219.254 obtained, lease time 86400
root@NanoPi-NEO-Core:/dev# 
root@NanoPi-NEO-Core:/dev# ifconfig
usb0      Link encap:Ethernet  HWaddr 92:f6:ac:f1:28:cf  
          inet addr:10.68.219.254  Bcast:10.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1780 (1.7 KB)  TX bytes:2834 (2.8 KB)

root@NanoPi-NEO-Core:/dev# ping www.baidu.com
PING www.a.shifen.com (157.148.69.186) 56(84) bytes of data.
64 bytes from 157.148.69.186: icmp_seq=1 ttl=52 time=38.9 ms
root@NanoPi-NEO-Core:/dev# cd /
root@NanoPi-NEO-Core:/# time(wget http://112.124.9.243/dvdfiles/h3/images-for-eflasher/friendlycore-jammy-images.tgz)
root@NanoPi-NEO-Core:/# 


20250611在全志H3平台的Nano Pi NEO CORE开发板上运行Ubuntu Core16.04时让4G模块EC200A-CN使用AT命令拨号上网
2025/6/11 14:43

1,AT+QCFG="USBNET",3
EC20不需要拨号,EC200A执行AT+QNETDEVCTL=3,1
udhcpc -i usb0
AT+CGREG?

完整的LOG:
[BEGIN] 2025/6/11 14:35:37

root@NanoPi-NEO-Core:/dev# 
U-Boot SPL 2017.11 (Jun 15 2021 - 10:49:36)
DRAM: 512 MiB(408MHz)
CPU Freq: 408MHz
memory test: 1
Pattern 55aa  Writing...Reading...OK
Trying to boot from MMC2
Boot device: emmc


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 19 ms (48.8 KiB/s)
reading zImage
5902208 bytes read in 290 ms (19.4 MiB/s)
reading rootfs.cpio.gz
5880768 bytes read in 290 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.000216] 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.000437] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000450] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001184] CPU: Testing write buffer coherency: ok
[    0.001649] CPU0: update cpu_capacity 1024
[    0.001660] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002042] Setting up static identity map for 0x40200000 - 0x40200060
[    0.002166] Hierarchical SRCU implementation.
[    0.002737] smp: Bringing up secondary CPUs ...
[    0.013530] CPU1: update cpu_capacity 1024
[    0.013537] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.024417] CPU2: update cpu_capacity 1024
[    0.024423] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.035201] CPU3: update cpu_capacity 1024
[    0.035208] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.035288] smp: Brought up 1 node, 4 CPUs
[    0.035318] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.035325] CPU: All CPU(s) started in HYP mode.
[    0.035330] CPU: Virtualization extensions available.
[    0.036066] devtmpfs: initialized
[    0.043061] random: get_random_u32 called from bucket_table_alloc+0xf0/0x240 with crng_init=0
[    0.043701] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.043979] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
[    0.044001] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.046734] xor: measuring software checksum speed
[    0.095031]    arm4regs  :  1372.800 MB/sec
[    0.145089]    8regs     :   769.600 MB/sec
[    0.195145]    32regs    :   850.400 MB/sec
[    0.245205]    neon      :  1283.200 MB/sec
[    0.245212] xor: using function: arm4regs (1372.800 MB/sec)
[    0.245232] pinctrl core: initialized pinctrl subsystem
[    0.246226] NET: Registered protocol family 16
[    0.247921] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.248730] cpuidle: using governor ladder
[    0.248835] cpuidle: using governor menu
[    0.249259] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.249269] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.268435] SCSI subsystem initialized
[    0.268872] usbcore: registered new interface driver usbfs
[    0.268919] usbcore: registered new interface driver hub
[    0.269011] usbcore: registered new device driver usb
[    0.269181] media: Linux media interface: v0.10
[    0.269226] Linux video capture interface: v2.00
[    0.269352] pps_core: LinuxPPS API ver. 1 registered
[    0.269359] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.269378] PTP clock support registered
[    0.269691] Advanced Linux Sound Architecture Driver Initialized.
[    0.271387] clocksource: Switched to clocksource arch_sys_counter
[    0.271560] VFS: Disk quotas dquot_6.6.0
[    0.271640] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.271803] FS-Cache: Loaded
[    0.279000] NET: Registered protocol family 2
[    0.279644] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.279700] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.279762] TCP: Hash tables configured (established 4096 bind 4096)
[    0.279872] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.279915] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.280126] NET: Registered protocol family 1
[    0.280609] RPC: Registered named UNIX socket transport module.
[    0.280621] RPC: Registered udp transport module.
[    0.280626] RPC: Registered tcp transport module.
[    0.280631] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.280879] Unpacking initramfs...
[    0.578699] Freeing initrd memory: 5744K
[    0.579144] kvm [1]: 8-bit VMID
[    0.579855] kvm [1]: vgic interrupt IRQ16
[    0.579958] kvm [1]: Hyp mode initialized successfully
[    0.582996] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.587564] zbud: loaded
[    0.589148] FS-Cache: Netfs 'nfs' registered for caching
[    0.589660] NFS: Registering the id_resolver key type
[    0.589700] Key type id_resolver registered
[    0.589707] Key type id_legacy registered
[    0.589723] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.589739] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.590742] fuse init (API version 7.26)
[    0.596177] async_tx: api initialized (async)
[    0.596301] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.596541] io scheduler noop registered (default)
[    0.596551] io scheduler deadline registered
[    0.596759] io scheduler cfq registered
[    0.596769] io scheduler mq-deadline registered
[    0.596908] io scheduler bfq registered
[    0.597600] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO, pinctrl may not init
[    0.601291] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.602917] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    0.608373] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.610242] console [ttyS0] disabled
[    0.630529] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 45, base_baud = 1500000) is a U6_16550A
[    1.394109] console [ttyS0] enabled
[    1.420382] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 46, base_baud = 1500000) is a U6_16550A
[    1.451973] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 47, base_baud = 1500000) is a U6_16550A
[    1.483540] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 48, base_baud = 1500000) is a U6_16550A
[    1.494708] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.501354] [drm] No driver support for vblank timestamp query.
[    1.516683] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc0c51ba8)
[    1.523832] sun4i-drm display-engine: No panel or bridge found... RGB output disabled
[    1.531694] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0c508ac)
[    1.661477] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[    1.671395] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[    1.679094] sun4i-drm display-engine: bound 1ee0000.hdmi (ops 0xc0c51f28)
[    1.685953] [drm] Cannot find any crtc or sizes - going 1920x1080
[    1.733329] Console: switching to colour frame buffer device 240x67
[    1.764211] sun4i-drm display-engine: fb0:  frame buffer device
[    1.770573] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.787464] loop: module loaded
[    1.807071] st: Version 20160209, fixed bufsize 32768, s/g segs 256
[    1.813446] osst :I: Tape driver with OnStream support version 0.99.4
[    1.813446] osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $
[    1.826781] SCSI Media Changer driver v0.25 
[    1.833113] libphy: Fixed MDIO Bus: probed
[    1.837260] tun: Universal TUN/TAP device driver, 1.6
[    1.842493] CAN device driver interface
[    1.846851] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    1.852656] dwmac-sun8i 1c30000.ethernet: No regulator found
[    1.858367] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    1.864492] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    1.870161] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    1.877383] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    1.883047] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    1.890267] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    1.895237] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    1.902586] libphy: stmmac: probed
[    1.912119] PPP generic driver version 2.4.2
[    1.916647] PPP BSD Compression module registered
[    1.921346] PPP Deflate Compression module registered
[    1.926441] PPP MPPE Compression module registered
[    1.931230] NET: Registered protocol family 24
[    1.935789] usbcore: registered new interface driver qmi_wwan
[    1.941574] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.948108] ehci-platform: EHCI generic platform driver
[    1.953609] ehci-platform 1c1a000.usb: EHCI Host Controller
[    1.959235] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    1.967468] ehci-platform 1c1a000.usb: irq 29, io mem 0x01c1a000
[    1.986403] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.992703] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.999505] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.006730] usb usb1: Product: EHCI Host Controller
[    2.011612] usb usb1: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.017187] usb usb1: SerialNumber: 1c1a000.usb
[    2.022265] hub 1-0:1.0: USB hub found
[    2.026046] hub 1-0:1.0: 1 port detected
[    2.030672] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.036896] ohci-platform: OHCI generic platform driver
[    2.042335] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    2.048978] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    2.056956] ohci-platform 1c1a400.usb: irq 30, io mem 0x01c1a400
[    2.125556] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    2.132364] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.139593] usb usb2: Product: Generic Platform OHCI controller
[    2.145516] usb usb2: Manufacturer: Linux 4.14.111 ohci_hcd
[    2.151093] usb usb2: SerialNumber: 1c1a400.usb
[    2.158485] hub 2-0:1.0: USB hub found
[    2.162291] hub 2-0:1.0: 1 port detected
[    2.166927] usbcore: registered new interface driver cdc_acm
[    2.172599] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    2.180646] usbcore: registered new interface driver usblp
[    2.186165] usbcore: registered new interface driver cdc_wdm
[    2.191864] usbcore: registered new interface driver uas
[    2.197275] usbcore: registered new interface driver usb-storage
[    2.203364] usbcore: registered new interface driver usbserial
[    2.209233] usbcore: registered new interface driver usbserial_generic
[    2.215788] usbserial: USB Serial support registered for generic
[    2.221831] usbcore: registered new interface driver option
[    2.227431] usbserial: USB Serial support registered for GSM modem (1-port)
[    2.234530] usbcore: registered new interface driver qcserial
[    2.240323] usbserial: USB Serial support registered for Qualcomm USB modem
[    2.248128] mousedev: PS/2 mouse device common for all mice
[    2.254214] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[    2.261012] sun6i-rtc 1f00000.rtc: RTC enabled
[    2.265525] i2c /dev entries driver
[    2.270952] lirc_dev: IR Remote Control driver registered, major 244
[    2.277337] IR NEC protocol handler initialized
[    2.281875] IR RC5(x/sz) protocol handler initialized
[    2.286929] IR RC6 protocol handler initialized
[    2.291462] IR JVC protocol handler initialized
[    2.295985] IR Sony protocol handler initialized
[    2.300604] IR SANYO protocol handler initialized
[    2.305310] IR Sharp protocol handler initialized
[    2.310015] IR MCE Keyboard/mouse protocol handler initialized
[    2.315848] IR LIRC bridge handler initialized
[    2.320293] IR XMP protocol handler initialized
[    2.325764] thermal thermal_zone0: failed to read out thermal zone (-16)
[    2.333003] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    2.341324] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[    2.391453] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    2.436742] sunxi-mmc 1c11000.mmc: initialized, max. request size: 16384 KB
[    2.445665] ledtrig-cpu: registered to indicate activity on CPUs
[    2.453917] hidraw: raw HID events driver (C) Jiri Kosina
[    2.459487] usbcore: registered new interface driver usbhid
[    2.465070] usbhid: USB HID core driver
[    2.482004] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    2.492143] Initializing XFRM netlink socket
[    2.497006] NET: Registered protocol family 10
[    2.511533] mmc0: new DDR MMC card at address 0001
[    2.517152] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB 
[    2.518770] Segment Routing with IPv6
[    2.521955] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB
[    2.525484] NET: Registered protocol family 17
[    2.531560] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB
[    2.535799] NET: Registered protocol family 15
[    2.546149] can: controller area network core (rev 20170425 abi 9)
[    2.546245]  mmcblk0: p1 p2 p3
[    2.552458] NET: Registered protocol family 29
[    2.559880] can: raw protocol (rev 20170425)
[    2.564167] can: broadcast manager protocol (rev 20170425 t)
[    2.569843] can: netlink gateway (rev 20170425) max_hops=1
[    2.575851] Key type dns_resolver registered
[    2.580463] Registering SWP/SWPB emulation handler
[    2.586719] registered taskstats version 1
[    2.599085] Key type encrypted registered
[    2.609099] vcc1v2: supplied by vcc5v0
[    2.613189] vcc-dram: supplied by vcc5v0
[    2.617426] vdd-cpux-en: supplied by vcc5v0
[    2.623388] ehci-platform 1c1b000.usb: EHCI Host Controller
[    2.629015] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3
[    2.637438] ehci-platform 1c1b000.usb: irq 31, io mem 0x01c1b000
[    2.656404] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    2.662722] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    2.669527] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.676755] usb usb3: Product: EHCI Host Controller
[    2.681635] usb usb3: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.687212] usb usb3: SerialNumber: 1c1b000.usb
[    2.692336] hub 3-0:1.0: USB hub found
[    2.696140] hub 3-0:1.0: 1 port detected
[    2.700837] ehci-platform 1c1c000.usb: EHCI Host Controller
[    2.706451] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
[    2.714535] ehci-platform 1c1c000.usb: irq 33, io mem 0x01c1c000
[    2.731400] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    2.731565] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    2.744309] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.751535] usb usb4: Product: EHCI Host Controller
[    2.756417] usb usb4: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.761991] usb usb4: SerialNumber: 1c1c000.usb
[    2.767002] hub 4-0:1.0: USB hub found
[    2.770777] hub 4-0:1.0: 1 port detected
[    2.775362] ehci-platform 1c1d000.usb: EHCI Host Controller
[    2.780987] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 5
[    2.789029] ehci-platform 1c1d000.usb: irq 35, io mem 0x01c1d000
[    2.806392] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[    2.812643] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[    2.819440] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.826664] usb usb5: Product: EHCI Host Controller
[    2.831546] usb usb5: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.837121] usb usb5: SerialNumber: 1c1d000.usb
[    2.842130] hub 5-0:1.0: USB hub found
[    2.845904] hub 5-0:1.0: 1 port detected
[    2.850482] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    2.857135] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6
[    2.865136] ohci-platform 1c1b400.usb: irq 32, io mem 0x01c1b400
[    2.930540] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[    2.937342] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.944567] usb usb6: Product: Generic Platform OHCI controller
[    2.950489] usb usb6: Manufacturer: Linux 4.14.111 ohci_hcd
[    2.956065] usb usb6: SerialNumber: 1c1b400.usb
[    2.961171] hub 6-0:1.0: USB hub found
[    2.964969] hub 6-0:1.0: 1 port detected
[    2.969559] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    2.976206] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 7
[    2.984456] ohci-platform 1c1c400.usb: irq 34, io mem 0x01c1c400
[    3.041412] usb 3-1: new high-speed USB device number 2 using ehci-platform
[    3.052609] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[    3.059412] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.066644] usb usb7: Product: Generic Platform OHCI controller
[    3.072574] usb usb7: Manufacturer: Linux 4.14.111 ohci_hcd
[    3.078152] usb usb7: SerialNumber: 1c1c400.usb
[    3.083181] hub 7-0:1.0: USB hub found
[    3.086993] hub 7-0:1.0: 1 port detected
[    3.091583] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[    3.098233] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 8
[    3.106231] ohci-platform 1c1d400.usb: irq 36, io mem 0x01c1d400
[    3.175535] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001
[    3.182340] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.189567] usb usb8: Product: Generic Platform OHCI controller
[    3.195491] usb usb8: Manufacturer: Linux 4.14.111 ohci_hcd
[    3.201068] usb usb8: SerialNumber: 1c1d400.usb
[    3.206233] hub 8-0:1.0: USB hub found
[    3.210030] hub 8-0:1.0: 1 port detected
[    3.214681] usb_phy_generic usb_phy_generic.3.auto: usb_phy_generic.3.auto supply vcc not found, using dummy regulator
[    3.225765] musb-hdrc musb-hdrc.4.auto: MUSB HDRC host driver
[    3.231579] musb-hdrc musb-hdrc.4.auto: new USB bus registered, assigned bus number 9
[    3.239667] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002
[    3.246493] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.253723] usb usb9: Product: MUSB HDRC host driver
[    3.258700] usb usb9: Manufacturer: Linux 4.14.111 musb-hcd
[    3.264284] usb usb9: SerialNumber: musb-hdrc.4.auto
[    3.269311] usb 5-1: new high-speed USB device number 2 using ehci-platform
[    3.276632] usb 3-1: New USB device found, idVendor=2c7c, idProduct=6005
[    3.283350] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.290498] usb 3-1: Product: Android
[    3.294174] usb 3-1: Manufacturer: Android
[    3.298280] usb 3-1: SerialNumber: 0000
[    3.302446] hub 9-0:1.0: USB hub found
[    3.306233] hub 9-0:1.0: 1 port detected
[    3.314545] asoc-simple-card soc:sound: i2s-hifi <-> 1c22800.i2s mapping ok
[    3.321799] option 3-1:1.2: GSM modem (1-port) converter detected
[    3.328315] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0
[    3.336463] option 3-1:1.3: GSM modem (1-port) converter detected
[    3.343432] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1
[    3.343688] input: r_gpio_keys as /devices/platform/r_gpio_keys/input/input0
[    3.351126] option 3-1:1.4: GSM modem (1-port) converter detected
[    3.363406] sun6i-rtc 1f00000.rtc: setting system clock to 2016-02-11 16:38:42 UTC (1455208722)
[    3.363790] vcc3v0: disabling
[    3.372432] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB2
[    3.375088] vcc5v0: disabling
[    3.375096] usb0-vbus: disabling
[    3.388085] ALSA device list:
[    3.391050]   #0: Dummy 1
[    3.393678]   #1: Loopback 1
[    3.396564]   #2: H3 Audio Codec
[    3.399786]   #3: allwinner,hdmi
[    3.405448] Freeing unused kernel memory: 2048K
Loading, please wait...
[    3.443361] usb 5-1: New USB device found, idVendor=152d, idProduct=0578
[    3.450102] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.457292] usb 5-1: Product: External Disk 3.0
[    3.461882] usb 5-1: Manufacturer: JMicron
[    3.465999] usb 5-1: SerialNumber: 000000005880
[    3.472416] scsi host0: uas
starting version 237
[    3.940891] 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.117665] 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 blocks count to 1410746 (was 1410747)
userdata: clean, 82/313600 files, 170310/1581056 blocks
done.
[    4.262361] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[    4.276229] EXT4-fs (mmcblk0p3): re-mounted. Opts: data=ordered
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[    4.464544] random: systemd: uninitialized urandom read (16 bytes read)
[    4.472759] systemd[1]: [/etc/systemd/system.conf.d/timeoutstopsec.conf:2] Unknown lvalue 'RebootWatchdogSec' in section 'Manager'
[    4.485760] random: systemd: uninitialized urandom read (16 bytes read)
[    4.496639] 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.515249] systemd[1]: Detected architecture arm.

Welcome to Ubuntu 16.04.2 LTS!

[    4.542206] systemd[1]: Set hostname to <NanoPi-NEO-Core>.
[    4.573270] random: systemd-cryptse: uninitialized urandom read (16 bytes read)
[    4.752123] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    4.771801] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    4.791749] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[    4.816515] systemd[1]: Reached target Encrypted Volumes.
[  OK  ] Reached target Encrypted Volumes.
[    4.836693] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    4.856515] systemd[1]: Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems (Pre).
[    4.876488] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Created slice System Slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Listening on Journal Socket.
         Mounting POSIX Message Queue File System...
         Starting Remount Root and Kernel File Systems...
         Starting Load Kernel Modules...
[    5.034778] Mass Storage Function, version: 2009/09/11
[    5.039991] LUN: removable file: (no medium)
[    5.044553] LUN: file: /dev/mmcblk0p1
         [    5.048311] Number of LUNs=1
Starting Set console keymap...
[    5.052191] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[    5.061712] g_mass_storage gadget: userspace failed to provide iSerialNumber
[    5.068774] g_mass_storage gadget: g_mass_storage ready
         Mounting Debug File System...
         Starting Journal Service...
[    5.111025] 8821cu: loading out-of-tree module taints kernel.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
[    5.137945] usbcore: registered new interface driver rtl8821cu
         Starting Create list of required st... nodes for the current kernel...
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Mounted POSIX Message Queue File System.
[    5.210543] usbcore: registered new interface driver rtl88xxau
[  OK  ] Mounted Debug File System.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Set console keymap.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[  OK  ] Started Journal Service.
         Starting Create Static Device Nodes in /dev...
         Mounting Configuration File System...
         Mounting FUSE Control File System...
         Starting Apply Kernel Variables...
         Starting Load/Save Random Seed...
         Starting udev Coldplug all Devices...
         Starting Flush Journal to Persistent Storage...
         Activating swap /mnt/512MB.swap...
[  OK  ] Mounted Configuration File System.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Activated swap /mnt/512MB.swap.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Reached target Swap.
         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 Set console font and keymap...
         Starting Create Volatile Files and Directories...
         Starting Raise network interfaces...
[  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  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting LSB: sync_ntp_rtc...
         Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
         Starting Login Service...
         Starting LSB: add swap at first boot...
         Starting Permit User Sessions...
         Starting LSB: select system audio output at first boot...
         Starting brcm_patchram_plus...
         Starting Modem Manager...
         Starting Save/Restore Sound Card State...
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Started D-Bus System Message Bus.
         Starting Init board...
         Starting Restore /etc/resolv.conf i...re the ppp link was shut down...
         Starting Network Manager...
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started Daily apt activities.
[  OK  ] Reached target Timers.
[  OK  ] Started test service after starting.
[  OK  ] Started Set console font and keymap.
[  OK  ] Started LSB: sync_ntp_rtc.
[  OK  ] Started LSB: add swap at first boot.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started LSB: select system audio output at first boot.
[  OK  ] Started brcm_patchram_plus.
[  OK  ] Started Init board.
[  OK  ] Started Restore /etc/resolv.conf if...fore the ppp link was shut down.
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Started Raise network interfaces.
[  OK  ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
[  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.
[  OK  ] Started Modem Manager.
         Starting Hostname Service...
[  OK  ] Started Hostname Service.
[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: disk temperature monitoring daemon...
         Starting LSB: Start NTP daemon...
         Starting /etc/rc.local Compatibility...
[   39.344259] rc.local[609]: 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

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

Last login: Thu Feb 11 16:28:36 UTC 2016 on tty1
 _____     _                _ _       _____ _     _____ ____ 
|  ___| __(_) ___ _ __   __| | |_   _| ____| |   | ____/ ___|
| |_ | '__| |/ _ \ '_ \ / _` | | | | |  _| | |   |  _|| |    
|  _|| |  | |  __/ | | | (_| | | |_| | |___| |___| |__| |___ 
|_|  |_|  |_|\___|_| |_|\__,_|_|\__, |_____|_____|_____\____|
                                |___/                        

Welcome to Ubuntu 16.04.2 LTS 4.14.111
System load:   0.15                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:~$ 
pi@NanoPi-NEO-Core:~$ su
Password: 
root@NanoPi-NEO-Core:/home/pi# 
root@NanoPi-NEO-Core:/home/pi# cd /
root@NanoPi-NEO-Core:/# 
root@NanoPi-NEO-Core:/# lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. 
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
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:/# 
root@NanoPi-NEO-Core:/# cd /dev
root@NanoPi-NEO-Core:/dev# 
root@NanoPi-NEO-Core:/dev# ll ttyUSB*
crw-rw---- 1 root dialout 188, 0 Feb 11 16:38 ttyUSB0
crw-rw---- 1 root dialout 188, 1 Feb 11 16:39 ttyUSB1
crw-rw---- 1 root dialout 188, 2 Feb 11 16:39 ttyUSB2
root@NanoPi-NEO-Core:/dev# 
root@NanoPi-NEO-Core:/dev#                                                     &
[1] 862noPi-NEO-Core:/dev# echo -e "at\r\n" > /dev/ttyUSB2 && cat /dev/ttyUSB2 & 
root@NanoPi-NEO-Core:/dev# 
root@NanoPi-NEO-Core:/dev# echo -e "at\r\n" > /dev/ttyUSB2

OK
root@NanoPi-NEO-Core:/dev# echo -e "AT\r\n" > /dev/ttyUSB2

OK
root@NanoPi-NEO-Core:/dev# echo -e "AT+QCFG=\"USBNET\",3\r\n" > ttyUSB2
root@NanoPi-NEO-Core:/dev# 
OK

root@NanoPi-NEO-Core:/dev# echo -e "AT+QNETDEVCTL=3,1\r\n" > ttyUSB2
root@NanoPi-NEO-Core:/dev# 
OK

root@NanoPi-NEO-Core:/dev# ifconfig
eth0      Link encap:Ethernet  HWaddr 02:81:a0:36:0b:88  
          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:240 errors:0 dropped:0 overruns:0 frame:0
          TX packets:240 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:15744 (15.7 KB)  TX bytes:15744 (15.7 KB)

usb0      Link encap:Ethernet  HWaddr 92:f6:ac:f1:28:cf  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1096 (1.0 KB)  TX bytes:2062 (2.0 KB)

root@NanoPi-NEO-Core:/dev# 
root@NanoPi-NEO-Core:/dev# udhdcpc
bash: udhdcpc: command not found
root@NanoPi-NEO-Core:/dev# udhcp
udhcpc  udhcpd  
root@NanoPi-NEO-Core:/dev# udhcpc
udhcpc (v1.22.1) started
Sending discover...
Sending discover...
Sending discover...
^C
root@NanoPi-NEO-Core:/dev# udhcpc -i usb0
udhcpc (v1.22.1) started
Sending discover...
Sending select for 10.68.219.254...
Lease of 10.68.219.254 obtained, lease time 86400
root@NanoPi-NEO-Core:/dev# 
root@NanoPi-NEO-Core:/dev# ifconfig
eth0      Link encap:Ethernet  HWaddr 02:81:a0:36:0b:88  
          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:320 errors:0 dropped:0 overruns:0 frame:0
          TX packets:320 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:20992 (20.9 KB)  TX bytes:20992 (20.9 KB)

usb0      Link encap:Ethernet  HWaddr 92:f6:ac:f1:28:cf  
          inet addr:10.68.219.254  Bcast:10.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1780 (1.7 KB)  TX bytes:2834 (2.8 KB)

root@NanoPi-NEO-Core:/dev# ping www.baidu.com
PING www.a.shifen.com (157.148.69.186) 56(84) bytes of data.
64 bytes from 157.148.69.186: icmp_seq=1 ttl=52 time=38.9 ms
64 bytes from 157.148.69.186: icmp_seq=2 ttl=52 time=30.9 ms
64 bytes from 157.148.69.186: icmp_seq=3 ttl=52 time=36.7 ms
64 bytes from 157.148.69.186: icmp_seq=4 ttl=52 time=25.8 ms
^C
--- www.a.shifen.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 25.879/33.120/38.941/5.102 ms
root@NanoPi-NEO-Core:/dev# 
root@NanoPi-NEO-Core:/dev# cd /
root@NanoPi-NEO-Core:/# 
root@NanoPi-NEO-Core:/# 
lasher/friendlycore-jammy-images.tgz)p://112.124.9.243/dvdfiles/h3/images-for-ef 
--2025-06-11 06:47:04--  http://112.124.9.243/dvdfiles/h3/images-for-eflasher/friendlycore-jammy-images.tgz
Connecting to 112.124.9.243:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 590093020 (563M) [application/octet-stream]
Saving to: ‘friendlycore-jammy-images.tgz’

core-jammy-images.t   0%[                    ]   1.46M   379KB/s    eta 24m 52s^C
root@NanoPi-NEO-Core:/# 
root@NanoPi-NEO-Core:/# 
root@NanoPi-NEO-Core:/# 

[END] 2025/6/11 14:47:12

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值