当前位置: 首页 > news >正文

树莓派安装openeuler24

树莓派安装openeuler24.03 LTS SP3

openeuler简介

openEuler(开源欧拉) 是由开放原子开源基金会孵化及运营的开源操作系统项目,于2019年12月由华为将内部孵化的EulerOS贡献至开源社区后正式上线。系统定位于数字基础设施的操作系统,全面支持服务器、云计算、边缘计算及嵌入式四大应用场景,可兼容ARM、x86、RISC-V、loongArch等多类处理器架构。

openEuler采用双版本迭代机制:每两年发布一个LTS(长周期支持)版本以满足企业级稳定需求;每半年推出一款创新版以集成社区最新技术成果。在技术创新方面,openEuler开发了智能调优引擎A-Tune、内存分级扩展etMem等特性,并持续强化AI与嵌入式场景能力。截至2025年底,社区已吸引超2100家企业及机构加入,汇聚全球贡献者逾2.4万人,累计装机量突破1000万套,广泛应用于互联网、金融、运营商等行业的核心系统。

树莓派简介

树莓派(Raspberry Pi) 是由英国树莓派基金会开发的微型单板计算机,尺寸仅为信用卡大小,于2012年正式发售。其设计初衷是推动全球计算机科学教育发展,降低编程学习门槛,让学生能以低廉成本拥有可“折腾”的计算机。

尽管体积小巧,树莓派却具备完整电脑的基本功能。其主板集成处理器、内存、USB接口、HDMI高清视频输出及网络接口等,连接显示器、键盘鼠标后即可运行。系统生态上,它主要基于Linux,官方推荐Raspberry Pi OS,也可运行Ubuntu等多种操作系统,并支持Python、C等主流编程语言。

经过多年迭代,树莓派已从最初的单核型号发展到性能大幅跃升的第五代(Raspberry Pi 5)。同时,针对工业场景的Compute Module系列也更新至CM5,进一步拓展了其在边缘计算等领域的应用。凭借其极高的性价比和庞大的开源社区支持,树莓派不仅是全球创客与电子爱好者的首选平台,也已广泛应用于工业控制、智能家居和教学实验等众多领域。

安装教程

访问openeulser的官网https://www.openeuler.openatom.cn/zh/依次进入文档->文档中心->安装指南->安装在树莓派,即可进入到树莓派的安装官方教程:https://docs.openeuler.openatom.cn/zh/docs/24.03_LTS_SP3/server/installation_upgrade/installation/installation_preparations_1.html

安装流程

1.硬件和镜像准备

  • openEuler 树莓派版本镜像目前支持树莓派 3B、3B+ 和 4B。本文使用的是树莓派4B(4G内存版本)进行演示,搭配32GB的闪迪内存卡及读卡器。

  • openEuler镜像选择最新的长周期支持版本24.03 LTS SP3,获取方式为从https://dl-cdn.openeuler.openatom.cn/openEuler-24.03-LTS-SP3/raspi_img/下载,或者通过linux的wget命令获取。

    wget https://dl-cdn.openeuler.openatom.cn/openEuler-24.03-LTS-SP3/raspi_img/openEuler-24.03-LTS-SP3-raspi-aarch64.img
    wget https://dl-cdn.openeuler.openatom.cn/openEuler-24.03-LTS-SP3/raspi_img/openEuler-24.03-LTS-SP3-raspi-aarch64.img.sha256sum
    sha256sum -c openEuler-24.03-LTS-SP3-raspi-aarch64.img.sha256sum
    openEuler-24.03-LTS-SP3-raspi-aarch64.img: OK
    

2.烧录镜像

  • 将sd卡接入读卡器并插入到电脑,可以看到类似如下打印,说明sd卡被正常识别了对应的设备节点为/dev/sdb

    sudo dmesg
    [   59.733798] usb 4-1: new SuperSpeed USB device number 2 using xhci_hcd
    [   59.749813] usb 4-1: New USB device found, idVendor=05e3, idProduct=0747, bcdDevice= 8.19
    [   59.749834] usb 4-1: New USB device strings: Mfr=3, Product=4, SerialNumber=5
    [   59.749847] usb 4-1: Product: USB Storage
    [   59.749855] usb 4-1: Manufacturer: Generic
    [   59.749864] usb 4-1: SerialNumber: 000000000819
    [   59.777641] usb-storage 4-1:1.0: USB Mass Storage device detected
    [   59.778054] scsi host3: usb-storage 4-1:1.0
    [   59.778181] usbcore: registered new interface driver usb-storage
    [   59.782285] usbcore: registered new interface driver uas
    [   60.781228] scsi 3:0:0:0: Direct-Access     Generic  STORAGE DEVICE   0819 PQ: 0 ANSI: 6
    [   60.781773] sd 3:0:0:0: Attached scsi generic sg1 type 0
    [   61.298181] sd 3:0:0:0: [sdb] 124735488 512-byte logical blocks: (63.9 GB/59.5 GiB)
    [   61.299159] sd 3:0:0:0: [sdb] Write Protect is off
    [   61.299178] sd 3:0:0:0: [sdb] Mode Sense: 87 00 00 00
    [   61.300080] sd 3:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    [   61.309204]  sdb: sdb1 sdb2 < sdb5 sdb6 >
    [   61.309912] sd 3:0:0:0: [sdb] Attached SCSI removable disk
    
  • 使用dd命令将前面下载的openEuler-24.03-LTS-SP3-raspi-aarch64.img烧录到sd卡。

    sudo dd if=./openEuler-24.03-LTS-SP3-raspi-aarch64.img of=/dev/sdb bs=1M oflag=direct
    2186+0 records in
    2186+0 records out
    2292187136 bytes (2.3 GB, 2.1 GiB) copied, 88.2011 s, 26.0 MB/s
    

3.使能调试串口

  • 树莓派4B的外设一共包含两个串口,一个称之为硬件串口(/dev/ttyAMA0),一个称之为mini串口(/dev/ttyS0)。在树莓派4B中,由于板载蓝牙模块,因此硬件串口被默认分配给与蓝牙模块通信了,而把那个mini串口默认分配给了排针引出的GPIO Tx Rx。要想使用树莓派4B进行串口调试,需要配置蓝牙使用mini串口才能释放硬件串口用于调试,在config.txt中添加字段enable_uart=1 dtoverlay=miniuart-bt
  • 详情访问树莓派官方文档:https://www.raspberrypi.com/documentation/computers/config_txt.html#boot-options
sudo mount /dev/sdb1 ~/mnt/pi_boot/
sudo vi ~/mnt/pi_boot/config.txt
[all]
enable_uart=1				//使能内核创建一个串口控制台
dtoverlay=miniuart-bt		//通过设备树叠加将miniuart给蓝牙使用

启动树莓派

1.连接串口

  • 准备串口工具如mobaXterm,USB转串口链接线本文档使用的是nanoUART-wl无线串口工具。

  • nanoUART-wl无线串口工具实物如下,对应的github地址为https://github.com/wuxx/nanoUART-wl,使用需要连接3.3V、RX、TX、G。其他的引脚用于流量控制,不需要链接。

    nanoUART-wl-bottom.jpg

  • 查看树莓派的GPIO引脚定义:https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#gpio

    image-20260503230837611

  • 将树莓派的GPIO引脚和nanoUART-wl的发射器进行如下连接:

    树莓派4B nanoUART-wl发射器
    引脚1(3V3 power) 3V3
    引脚8(GPIO14 TXD) RX
    引脚10(GPIO15 RXD) TX
    引脚6(Ground) G

2.上电

  • 打开串口工具新建一个波特率为115200的串口界面。

  • 将烧录好的SD卡接入到树莓派之后使用typeC的数据线进行供电,树莓派官网建议使用5V3A的电源进行供电。

  • 之后即可在串口界面看到树莓派启动的打印信息,最终停留在登录界面。

    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
    [    0.000000] Linux version 6.6.0-132.0.0.17.oe2403sp3.raspi.aarch64-v8 (root@dc-64g.compass-ci) (gcc_old (GCC) 12.3.1 (openEuler 12.3.1-105.oe2403sp3), GNU ld (GNU Binutils) 2.41) #1 SMP PREEMPT Tue Dec 30 00:38:18 CST 2025
    [    0.000000] KASLR enabled
    [    0.000000] random: crng init done
    [    0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.5
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000000ec00000, size 512 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000000ec00000..0x000000002ebfffff (524288 KiB) map reusable linux,cma
    [    0.000000] OF: reserved mem: 0x000000003ef652a0..0x000000003ef6569f (1 KiB) nomap non-reusable nvram@1
    [    0.000000] OF: reserved mem: 0x000000003ef656e0..0x000000003ef65715 (0 KiB) nomap non-reusable nvram@0
    [    0.000000] NUMA: No NUMA configuration found
    [    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000000fbffffff]
    [    0.000000] NUMA: NODE_DATA [mem 0xfb7f53c0-0xfb7f7fff]
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000000000000-0x000000003fffffff]
    [    0.000000]   DMA32    [mem 0x0000000040000000-0x00000000fbffffff]
    [    0.000000]   Normal   empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000000000000-0x000000003b3fffff]
    [    0.000000]   node   0: [mem 0x0000000040000000-0x00000000fbffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000fbffffff]
    [    0.000000] On node 0, zone DMA32: 19456 pages in unavailable ranges
    [    0.000000] On node 0, zone DMA32: 16384 pages in unavailable ranges
    [    0.000000] percpu: Embedded 31 pages/cpu s87528 r8192 d31256 u126976
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: Spectre-v2
    [    0.000000] CPU features: detected: Spectre-v3a
    [    0.000000] CPU features: detected: Spectre-v4
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] CPU features: kernel page table isolation forced ON by KASLR
    [    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 cgroup_disable=memory numa_policy=interleave snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0  smsc95xx.macaddr=D8:3A:DD:5B:4A:AE vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyAMA0,115200 console=tty1 root=PARTUUID=d19beb23-02 rootfstype=ext4 elevator=deadline rootwait net.ifnames=0
    [    0.000000] cgroup: Disabling memory control group subsystem
    [    0.000000] mempolicy: NUMA default policy overridden to 'interleave:0'
    [    0.000000] Kernel parameter elevator= does not have any effect anymore.
    [    0.000000] Please use sysfs to set IO scheduler for individual devices.
    [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] Fallback order for Node 0: 0
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 996912
    [    0.000000] Policy zone: DMA32
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 4.
    [    0.000000] software IO TLB: mapped [mem 0x0000000037400000-0x000000003b400000] (64MB)
    [    0.000000] Memory: 3353128K/4050944K available (13952K kernel code, 2228K rwdata, 4336K rodata, 4928K init, 1099K bss, 173528K reserved, 524288K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] ftrace: allocating 43871 entries in 172 pages
    [    0.000000] ftrace: allocated 172 pages with 4 groups
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000]  Rude variant of Tasks RCU enabled.
    [    0.000000]  Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] Root IRQ handler: gic_handle_irq
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
    [    0.000001] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
    [    0.000325] Console: colour dummy device 80x25
    [    0.000341] printk: console [tty1] enabled
    [    0.001070] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)
    [    0.001104] pid_max: default: 32768 minimum: 301
    [    0.001200] LSM: initializing lsm=capability,integrity
    [    0.001400] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.001466] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.003575] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
    [    0.003713] RCU Tasks Rude: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
    [    0.003923] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
    [    0.004184] rcu: Hierarchical SRCU implementation.
    [    0.004204] rcu:     Max phase no-delay instances is 1000.
    [    0.006062] EFI services will not be available.
    [    0.006382] smp: Bringing up secondary CPUs ...
    [    0.006961] Detected PIPT I-cache on CPU1
    [    0.007163] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
    [    0.007839] Detected PIPT I-cache on CPU2
    [    0.008011] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
    [    0.008658] Detected PIPT I-cache on CPU3
    [    0.008830] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
    [    0.008940] smp: Brought up 1 node, 4 CPUs
    [    0.009018] SMP: Total of 4 processors activated.
    [    0.009034] CPU features: detected: 32-bit EL0 Support
    [    0.009048] CPU features: detected: 32-bit EL1 Support
    [    0.009064] CPU features: detected: CRC32 instructions
    [    0.009164] CPU: All CPU(s) started at EL2
    [    0.009189] alternatives: applying system-wide alternatives
    [    0.011455] devtmpfs: initialized
    [    0.021775] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.021837] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.033842] pinctrl core: initialized pinctrl subsystem
    [    0.034490] DMI not present or invalid.
    [    0.035007] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.036515] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
    [    0.036804] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.037249] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.037330] audit: initializing netlink subsys (disabled)
    [    0.037551] audit: type=2000 audit(0.036:1): state=initialized audit_enabled=0 res=1
    [    0.038088] thermal_sys: Registered thermal governor 'step_wise'
    [    0.038141] cpuidle: using governor menu
    [    0.038365] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.038494] ASID allocator initialised with 32768 entries
    [    0.039435] Serial: AMBA PL011 UART driver
    [    0.045461] /soc/interrupt-controller@40041000: Fixed dependency cycle(s) with /soc/interrupt-controller@40041000
    [    0.046472] bcm2835-mbox fe00b880.mailbox: mailbox enabled
    [    0.056536] raspberrypi-firmware soc:firmware: Attached to firmware from 2024-11-26T12:52:28, variant start
    [    0.060537] raspberrypi-firmware soc:firmware: Firmware hash is 2ae30f53898ae2f1ba77ff570a92991bedfb0398
    [    0.070944] Modules: 2G module region forced by RANDOMIZE_MODULE_REGION_FULL
    [    0.070973] Modules: 0 pages in range for non-PLT usage
    [    0.070979] Modules: 517600 pages in range for PLT usage
    [    0.093122] bcm2835-dma fe007000.dma-controller: DMA legacy API manager, dmachans=0x1
    [    0.094877] iommu: Default domain type: Translated
    [    0.094899] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.096701] SCSI subsystem initialized
    [    0.096919] usbcore: registered new interface driver usbfs
    [    0.096982] usbcore: registered new interface driver hub
    [    0.097043] usbcore: registered new device driver usb
    [    0.097459] pps_core: LinuxPPS API ver. 1 registered
    [    0.097479] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.097511] PTP clock support registered
    [    0.098550] vgaarb: loaded
    [    0.098979] clocksource: Switched to clocksource arch_sys_counter
    [    0.099398] VFS: Disk quotas dquot_6.6.0
    [    0.099462] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.099825] FS-Cache: Loaded
    [    0.103016] CacheFiles: Loaded
    [    0.110883] NET: Registered PF_INET protocol family
    [    0.111331] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.115888] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.115961] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.115996] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.116201] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
    [    0.117167] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.117561] MPTCP token hash table entries: 4096 (order: 4, 98304 bytes, linear)
    [    0.117769] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.117834] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.118062] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.118785] RPC: Registered named UNIX socket transport module.
    [    0.118813] RPC: Registered udp transport module.
    [    0.118827] RPC: Registered tcp transport module.
    [    0.118841] RPC: Registered tcp-with-tls transport module.
    [    0.118856] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.118883] PCI: CLS 0 bytes, default 64
    [    0.119618] kvm [1]: KVM ncsnp disabled
    [    0.119645] kvm [1]: KVM dvmbm disabled
    [    0.119661] kvm [1]: IPA Size Limit: 44 bits
    [    0.120911] kvm [1]: vgic interrupt IRQ9
    [    0.120975] kvm [1]: Hyp mode initialized successfully
    [    1.254899] Initialise system trusted keyrings
    [    1.255260] workingset: timestamp_bits=42 max_order=20 bucket_order=0
    [    1.256031] NFS: Registering the id_resolver key type
    [    1.256067] Key type id_resolver registered
    [    1.256082] Key type id_legacy registered
    [    1.256118] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    1.256137] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    1.256807] Key type asymmetric registered
    [    1.256831] Asymmetric key parser 'x509' registered
    [    1.256904] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    1.257074] io scheduler mq-deadline registered
    [    1.257094] io scheduler kyber registered
    [    1.257139] io scheduler bfq registered
    [    1.258018] irq_brcmstb_l2: registered L2 intc (/soc/interrupt-controller@7ef00100, parent irq: 23)
    [    1.260667] pinctrl-bcm2835 fe200000.gpio: GPIO_OUT persistence: yes
    [    1.262963] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
    [    1.263033] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
    [    1.263089] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x067fffffff -> 0x0080000000
    [    1.263139] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x00ffffffff -> 0x0400000000
    [    1.264166] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
    [    1.264197] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    1.264220] pci_bus 0000:00: root bus resource [mem 0x600000000-0x67fffffff] (bus address [0x80000000-0xffffffff])
    [    1.264279] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
    [    1.264377] pci 0000:00:00.0: PME# supported from D0 D3hot
    [    1.267864] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    1.268019] pci_bus 0000:01: supply vpcie3v3 not found, using dummy regulator
    [    1.268165] pci_bus 0000:01: supply vpcie3v3aux not found, using dummy regulator
    [    1.268239] pci_bus 0000:01: supply vpcie12v not found, using dummy regulator
    [    1.377055] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
    [    1.377203] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
    [    1.377304] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
    [    1.377593] pci 0000:01:00.0: PME# supported from D0 D3hot
    [    1.387059] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
    [    1.387106] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
    [    1.387134] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
    [    1.387205] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    1.387226] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
    [    1.387465] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
    [    1.387620] pcieport 0000:00:00.0: PME: Signaling with IRQ 27
    [    1.387911] pcieport 0000:00:00.0: AER: enabled with IRQ 27
    [    1.394125] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
    [    1.396250] iproc-rng200 fe104000.rng: hwrng registered
    [    1.396549] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
    [    1.407337] brd: module loaded
    [    1.413629] loop: module loaded
    [    1.414254] Loading iSCSI transport class v2.0-870.
    [    1.418484] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
    [    1.615051] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
    [    1.616062] usbcore: registered new device driver r8152-cfgselector
    [    1.616134] usbcore: registered new interface driver r8152
    [    1.616194] usbcore: registered new interface driver lan78xx
    [    1.616257] usbcore: registered new interface driver smsc95xx
    [    1.661470] xhci_hcd 0000:01:00.0: xHCI Host Controller
    [    1.661519] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
    [    1.663206] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0300240000000890
    [    1.663982] xhci_hcd 0000:01:00.0: xHCI Host Controller
    [    1.664012] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
    [    1.664041] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
    [    1.664282] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
    [    1.664312] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.664333] usb usb1: Product: xHCI Host Controller
    [    1.664351] usb usb1: Manufacturer: Linux 6.6.0-132.0.0.17.oe2403sp3.raspi.aarch64-v8 xhci-hcd
    [    1.664372] usb usb1: SerialNumber: 0000:01:00.0
    [    1.664925] hub 1-0:1.0: USB hub found
    [    1.664988] hub 1-0:1.0: 1 port detected
    [    1.665559] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06
    [    1.665589] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.665611] usb usb2: Product: xHCI Host Controller
    [    1.665628] usb usb2: Manufacturer: Linux 6.6.0-132.0.0.17.oe2403sp3.raspi.aarch64-v8 xhci-hcd
    [    1.665650] usb usb2: SerialNumber: 0000:01:00.0
    [    1.666111] hub 2-0:1.0: USB hub found
    [    1.666164] hub 2-0:1.0: 4 ports detected
    [    1.667124] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
    [    1.667969] usbcore: registered new interface driver uas
    [    1.668060] usbcore: registered new interface driver usb-storage
    [    1.668624] mousedev: PS/2 mouse device common for all mice
    [    1.672140] sdhci: Secure Digital Host Controller Interface driver
    [    1.672172] sdhci: Copyright(c) Pierre Ossman
    [    1.672408] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.677971] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.678186] hid: raw HID events driver (C) Jiri Kosina
    [    1.678257] usbcore: registered new interface driver usbhid
    [    1.678264] usbhid: USB HID core driver
    [    1.680873] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    1.681419] NET: Registered PF_PACKET protocol family
    [    1.681472] Key type dns_resolver registered
    [    1.691627] registered taskstats version 1
    [    1.691793] Loading compiled-in X.509 certificates
    [    1.696685] Key type .fscrypt registered
    [    1.696713] Key type fscrypt-provisioning registered
    [    1.702534] fe215040.serial: ttyS0 at MMIO 0xfe215040 (irq = 36, base_baud = 62500000) is a 16550
    [    1.702659] serial serial0: tty port ttyS0 registered
    [    1.703731] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
    [    1.703900] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
    [    1.704326] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
    [    1.704338] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
    [    1.727837] uart-pl011 fe201000.serial: there is not valid maps for state default
    [    1.728135] uart-pl011 fe201000.serial: cts_event_workaround enabled
    [    1.728435] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 38, base_baud = 0) is a PL011 rev3
    [    1.728487] printk: console [ttyAMA0] enabled
    [    3.298607] of_cfs_init
    [    3.301173] of_cfs_init: OK
    [    3.304104] clk: Disabling unused clocks
    [    3.335559] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
    [    3.342894] Waiting for root device PARTUUID=d19beb23-02...
    [    3.378592] mmc1: new high speed SDIO card at address 0001
    [    3.426979] usb 1-1: new high-speed USB device number 2 using xhci_hcd
    [    3.442907] mmc0: new ultra high speed DDR50 SDXC card at address aaaa
    [    3.449864] mmcblk0: mmc0:aaaa SD64G 59.5 GiB
    [    3.456554]  mmcblk0: p1 p2
    [    3.459551] mmcblk0: mmc0:aaaa SD64G 59.5 GiB (quirks 0x00004000)
    [    3.481649] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
    [    3.489005] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
    [    3.585562] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
    [    3.593822] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [    3.601014] usb 1-1: Product: USB2.0 Hub
    [    3.606297] hub 1-1:1.0: USB hub found
    [    3.610369] hub 1-1:1.0: 4 ports detected
    [    3.664314] EXT4-fs (mmcblk0p2): recovery complete
    [    3.671467] EXT4-fs (mmcblk0p2): mounted filesystem 8ab8451f-caf0-4990-ae29-ec46feede294 ro with ordered data mode. Quota mode: none.
    [    3.683522] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [    3.694587] devtmpfs: mounted
    [    3.703695] Freeing unused kernel memory: 4928K
    [    3.708483] Run /sbin/init as init process
    [    4.149736] NET: Registered PF_INET6 protocol family
    [    4.155360] Segment Routing with IPv6
    [    4.159066] In-situ OAM (IOAM) with IPv6
    [    4.196406] systemd[1]: systemd v255-50.oe2403sp3 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 -TPM2 +BZIP2 +LZ4 +XZ +ZLIB -ZSTD -BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=legacy)
    [    4.229162] systemd[1]: Detected architecture arm64.
    [    4.267823] systemd[1]: Hostname set to <openEuler>.
    [    4.345773] uart-pl011 fe201000.serial: no DMA platform data
    [    4.492651] systemd[1]: /usr/lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
    [    4.619364] systemd[1]: Queued start job for default target Graphical Interface.
    [    4.675892] systemd[1]: Created slice Slice /system/getty.
    [    4.682819] systemd[1]: Created slice Slice /system/modprobe.
    [    4.689333] systemd[1]: Created slice Slice /system/serial-getty.
    [    4.696282] systemd[1]: Created slice Slice /system/sshd-keygen.
    [    4.702942] systemd[1]: Created slice User and Session Slice.
    [    4.708986] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    4.717185] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    4.725218] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
    [    4.734780] systemd[1]: Expecting device /dev/disk/by-partuuid/d19beb23-01...
    [    4.742025] systemd[1]: Expecting device /dev/ttyAMA0...
    [    4.747508] systemd[1]: Reached target Path Units.
    [    4.752463] systemd[1]: Reached target Remote File Systems.
    [    4.758200] systemd[1]: Reached target Slice Units.
    [    4.763258] systemd[1]: Reached target Swaps.
    [    4.771499] systemd[1]: Listening on Process Core Dump Socket.
    [    4.777696] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    4.784678] systemd[1]: Listening on Journal Socket (/dev/log).
    [    4.791061] systemd[1]: Listening on Journal Socket.
    [    4.800180] systemd[1]: Listening on udev Control Socket.
    [    4.805975] systemd[1]: Listening on udev Kernel Socket.
    [    4.811745] systemd[1]: Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
    [    4.855160] systemd[1]: Mounting POSIX Message Queue File System...
    [    4.865640] systemd[1]: Mounting Kernel Debug File System...
    [    4.873688] systemd[1]: Mounting Kernel Trace File System...
    [    4.883995] systemd[1]: Mounting Temporary Directory /tmp...
    [    4.893562] systemd[1]: Starting Create List of Static Device Nodes...
    [    4.910197] systemd[1]: Starting Load Kernel Module configfs...
    [    4.923679] systemd[1]: Starting Load Kernel Module drm...
    [    4.934830] systemd[1]: Starting Load Kernel Module fuse...
    [    4.941738] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [    4.954874] systemd[1]: systemd-journald.service: (This warning is only shown for the first unit using IP firewalling.)
    [    4.968264] systemd[1]: Starting Journal Service...
    [    4.976894] systemd[1]: Load Kernel Modules was skipped because no trigger condition checks were met.
    [    4.986931] fuse: init (API version 7.42)
    [    4.992266] systemd[1]: Starting Generate network units from Kernel command line...
    [    5.012042] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    5.034190] systemd[1]: Starting Apply Kernel Variables...
    [    5.041926] systemd-journald[135]: Collecting audit messages is disabled.
    [    5.049485] systemd[1]: Starting Coldplug All udev Devices...
    [    5.067356] systemd[1]: Mounted POSIX Message Queue File System.
    [    5.074174] systemd[1]: Mounted Kernel Debug File System.
    [    5.080364] systemd[1]: Mounted Kernel Trace File System.
    [    5.086370] systemd[1]: Mounted Temporary Directory /tmp.
    [    5.092838] systemd[1]: Finished Create List of Static Device Nodes.
    [    5.099911] systemd[1]: Started Journal Service.
    [    5.228524] EXT4-fs (mmcblk0p2): re-mounted 8ab8451f-caf0-4990-ae29-ec46feede294 r/w. Quota mode: none.
    [    5.320913] systemd-journald[135]: Received client request to flush runtime journal.
    [    5.695547] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
    [    5.729584] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
    [    5.736057] [vc_sm_connected_init]: start
    [    5.744678] mc: Linux media interface: v0.10
    [    5.744931] brcmstb-i2c fef04500.i2c:  @97500hz registered in polling mode
    [    5.758770] rpi-gpiomem fe200000.gpiomem: window base 0xfe200000 size 0x00001000
    [    5.767621] brcmstb-i2c fef09500.i2c:  @97500hz registered in polling mode
    [    5.767626] [vc_sm_connected_init]: installed successfully
    [    5.777220] rpi-gpiomem fe200000.gpiomem: initialised 1 regions as /dev/gpiomem
    [    5.838338] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
    [    5.859118] videodev: Linux video capture interface: v2.00
    [    5.873250] bcm2835_audio bcm2835_audio: card created with 8 channels
    [    5.893860] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [    5.922409] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
    [    5.948012] Bluetooth: Core ver 2.22
    [    5.948507] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
    [    5.963838] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
    [    5.977792] NET: Registered PF_BLUETOOTH protocol family
    [    5.979450] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.
    [    5.983475] Bluetooth: HCI device and connection manager initialized
    [    6.005547] Bluetooth: HCI socket layer initialized
    [    6.006761] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
    [    6.014678] Bluetooth: L2CAP socket layer initialized
    [    6.022666] Bluetooth: SCO socket layer initialized
    [    6.027537] rpivid feb10000.codec: Device registered as /dev/video19
    [    6.036114] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
    [    6.037967] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
    [    6.039649] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
    [    6.053001] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
    [    6.071527] Bluetooth: HCI UART driver ver 2.3
    [    6.073752] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
    [    6.076217] Bluetooth: HCI UART protocol H4 registered
    [    6.090496] Bluetooth: HCI UART protocol Three-wire (H5) registered
    [    6.093805] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    6.097069] Bluetooth: HCI UART protocol Broadcom registered
    [    6.108622] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator
    [    6.118571] Loaded X.509 cert 'benh@debian.org: 577e021cb980e0e820821ba7b54b4961b8b4fadf'
    [    6.127271] Loaded X.509 cert 'romain.perier@gmail.com: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328'
    [    6.136733] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    6.138423] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
    [    6.142909] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [    6.151542] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
    [    6.164766] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
    [    6.170648] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
    [    6.178469] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
    [    6.181773] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator
    [    6.186013] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
    [    6.195871] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
    [    6.201092] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
    [    6.201096] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
    [    6.201159] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
    [    6.217377] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
    [    6.229443] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
    [    6.243302] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
    [    6.243316] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
    [    6.257349] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
    [    6.266615] bcm2835-codec bcm2835-codec: Device registered as /dev/video31
    [    6.266738] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
    [    6.273546] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image
    [    6.273566] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
    [    6.294896] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
    [    6.302484] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
    [    6.310130] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
    [    6.317909] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
    [    6.527869] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4])
    [    6.535429] Registered IR keymap rc-cec
    [    6.539460] rc rc0: vc4-hdmi-0 as /devices/platform/soc/fef00700.hdmi/rc/rc0
    [    6.547594] input: vc4-hdmi-0 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input0
    [    6.560163] input: vc4-hdmi-0 HDMI Jack as /devices/platform/soc/fef00700.hdmi/sound/card1/input1
    [    6.561711] Bluetooth: hci0: BCM: chip id 107
    [    6.571573] vc4-drm gpu: bound fef00700.hdmi (ops vc4_hdmi_ops [vc4])
    [    6.573698] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
    [    6.581478] Registered IR keymap rc-cec
    [    6.588649] Bluetooth: hci0: BCM: features 0x2f
    [    6.589106] usbcore: registered new interface driver brcmfmac
    [    6.592516] rc rc1: vc4-hdmi-1 as /devices/platform/soc/fef05700.hdmi/rc/rc1
    [    6.609956] input: vc4-hdmi-1 as /devices/platform/soc/fef05700.hdmi/rc/rc1/input2
    [    6.616292] Bluetooth: hci0: BCM4345C0
    [    6.621773] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000
    [    6.628792] input: vc4-hdmi-1 HDMI Jack as /devices/platform/soc/fef05700.hdmi/sound/card2/input3
    [    6.629943] Bluetooth: hci0: BCM4345C0 'brcm/BCM4345C0.hcd' Patch
    [    6.639233] vc4-drm gpu: bound fef05700.hdmi (ops vc4_hdmi_ops [vc4])
    [    6.650552] vc4-drm gpu: bound fe004000.txp (ops vc4_txp_ops [vc4])
    [    6.657090] vc4-drm gpu: bound fe206000.pixelvalve (ops vc4_crtc_ops [vc4])
    [    6.657218] vc4-drm gpu: bound fe207000.pixelvalve (ops vc4_crtc_ops [vc4])
    [    6.657322] vc4-drm gpu: bound fe20a000.pixelvalve (ops vc4_crtc_ops [vc4])
    [    6.657395] vc4-drm gpu: bound fe216000.pixelvalve (ops vc4_crtc_ops [vc4])
    [    6.657516] vc4-drm gpu: bound fec12000.pixelvalve (ops vc4_crtc_ops [vc4])
    [    6.659192] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1
    [    6.699742] vc4-drm gpu: [drm] Cannot find any crtc or sizes
    [    6.720372] vc4-drm gpu: [drm] Cannot find any crtc or sizes
    [    6.727106] vc4-drm gpu: [drm] Cannot find any crtc or sizes
    [    6.927015] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2)
    [    6.939564] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Apr 15 2021 03:03:20 version 7.45.234 (4ca95bb CY) FWID 01-996384e2
    [    7.835445] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
    [    7.846494] bcmgenet fd580000.ethernet eth0: Link is Down
    [    7.861834] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
    [    8.389281] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
    [   10.161209] Bluetooth: hci0: BCM: features 0x2f
    [   10.178356] Bluetooth: hci0: BCM43455 37.4MHz Raspberry Pi 3+-0190
    [   10.184557] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0382
    [   10.420168] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   10.425550] Bluetooth: BNEP filters: protocol multicast
    [   10.430796] Bluetooth: BNEP socket layer initialized
    [   10.438992] Bluetooth: MGMT ver 1.22
    [   10.448894] NET: Registered PF_ALG protocol familyopenEuler 24.03 (LTS-SP3)
    Kernel 6.6.0-132.0.0.17.oe2403sp3.raspi.aarch64-v8 on an aarch64openEuler login:

    3.登录与配置

    • 使用默认的root的用户名和openeuler的密码进行登录。

      openEuler login: root
      Password:Welcome to 6.6.0-132.0.0.17.oe2403sp3.raspi.aarch64-v8
      System information as of time:  Thu Jan  1 08:02:46 AM CST 1970
      System load:    0.15
      Memory used:    2.1%
      Swap used:      0.0%
      Usage On:       2%
      Users online:   1[root@openEuler ~]#
      
    • 通过ip a命令显示全部网卡信息,其中wlan0为无线网卡。

      [root@openEuler ~]# ip a
      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00inet 127.0.0.1/8 scope host lovalid_lft forever preferred_lft foreverinet6 ::1/128 scope host noprefixroutevalid_lft forever preferred_lft forever
      2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000link/ether d8:3a:dd:5b:4a:ae brd ff:ff:ff:ff:ff:ff
      3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000link/ether 2a:20:f4:aa:af:95 brd ff:ff:ff:ff:ff:ff permaddr d8:3a:dd:5b:4a:af
      
    • 通过nmcli dev wifi命令显示全部可以连接的Wi-Fi 信息

      [root@openEuler ~]# nmcli dev wifi
      IN-USE  BSSID              SSID                   MODE   CHAN  RATE        SIGN>68:77:24:FB:8F:47  402                    Infra  11    270 Mbit/s  84  >F6:FC:49:3A:F5:14  --                     Infra  7     270 Mbit/s  70  >F4:FC:49:3A:F5:14  302                    Infra  7     270 Mbit/s  70  >68:77:24:FB:8F:49  402_5G                 Infra  153   270 Mbit/s  64  >
      
    • 通过nmcli dev wifi connect password 命令连接到wifi。

      nmcli dev wifi connect 402_5G password xxxx
      Device 'wlan0' successfully activated with 'd4c81041-a117-4c96-9d56-b93c79e1c83f'.
      
    • 再次通过ip a命令即可看到分配到的ip地址。

      [root@openEuler ~]# ip a
      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00inet 127.0.0.1/8 scope host lovalid_lft forever preferred_lft foreverinet6 ::1/128 scope host noprefixroutevalid_lft forever preferred_lft forever
      2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000link/ether d8:3a:dd:5b:4a:ae brd ff:ff:ff:ff:ff:ff
      3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000link/ether d8:3a:dd:5b:4a:af brd ff:ff:ff:ff:ff:ffinet 192.168.1.113/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0valid_lft 7062sec preferred_lft 7062secinet6 fe80::9e0:aca8:96a5:7b0f/64 scope link noprefixroutevalid_lft forever preferred_lft forever
      
    • 此时就可以通过ssh连接到树莓派了。

http://www.jsqmd.com/news/747368/

相关文章:

  • 【SCI一区算法】动麦优化算法(AOO)求解23个基准测试函数,出图超多附MATLAB代码
  • 序列模型
  • 10分钟搭建专业游戏编程环境:AstroNvim从安装到调试全指南
  • Clipper2与其他几何库对比:为什么选择Clipper2的7大理由
  • html-css-javascript-projects游戏开发实战:15个趣味JavaScript游戏项目
  • Maccy夜间模式终极指南:保护眼睛健康的5个简单配色方案
  • 如何快速评估Yuedu项目代码质量?5个实用行业标准全解析
  • Voyager开源贡献终极指南:从零开始的完整参与教程
  • 现代C++ UI库设计思想:Breeze Shell架构全解析
  • Docker-Android CI/CD终极指南:5步打造高效自动化测试流水线
  • 利用 Taotoken 多模型能力为不同业务场景选择最佳模型
  • VulnStack2靶场渗透后的思考:除了拿权限,我们更该关注哪些痕迹与防御点?
  • 别再手动去水加氢了!AutoDockTools保姆级预处理教程(含PubChem下载+OpenBabel转换)
  • 手把手教你用MATLAB读取McMaster IPIX雷达数据(附完整代码与数据集下载)
  • 从原子团簇到调参优化:Basin-Hopping算法27年演进史与Python实战
  • 专业级Windows风扇控制:Fan Control如何解决您的散热与噪音平衡难题
  • 终极Stellarium教学视频制作指南:7个专业技巧打造完美天文演示
  • 避开这3个坑!用Android Studio给讯飞AIUI机器人开发语音应用的完整流程
  • 如何在Spring Boot学习案例中探索量子计算模拟:初学者完整指南
  • 终极Android签名捕获方案:使用SignaturePad实现流畅签名体验
  • wemake-python-styleguide大型项目实战:10个终极技巧提升Python代码质量
  • 如何快速入门score_sde_pytorch:10分钟搭建你的第一个生成模型
  • OneDev物联网开发终极指南:嵌入式系统的CI/CD与OTA更新完整方案
  • Office Tool Plus多语言本地化终极指南:如何实现全球用户无缝交互体验
  • Broadcast Box快速入门:从零开始搭建你的第一个直播服务器
  • angular-calendar样式定制终极教程:从主题到细节的全面掌控
  • 终极指南:如何使用Android Signature Pad构建企业级电子签名系统
  • CentOS 7/8服务器网络配置:告别ifconfig,用nmcli搞定静态IP和DNS(附常用命令速查表)
  • 如何为复杂SPA应用生成完美骨架屏:page-skeleton-webpack-plugin多路由支持全攻略
  • 别再浪费AutoDL的算力了!手把手教你用nvidia-smi和代码调整把GPU利用率拉到90%+