Raspbian镜像无头烧录

2023-05-16

Raspbian镜像无头烧录

  • 1. 源由
  • 2. 需求
  • 3. 分析
  • 4. 步骤
    • 4.1 删除tf卡分区内容
    • 4.2 balena烧录镜像
    • 4.3 配置USB直接登录
    • 4.4 配置WiFi 2.4G网络登录
    • 4.5 修改登录账号密码
    • 4.6 数据同步和弹出tf卡
  • 5. 登录
    • 5.1 登录异常处理
    • 5.2 WiFi 2.4G网络登录
    • 5.3 USB直接登录
  • 6. 补充资料
    • 6.1 Advanced IP Scanner
    • 6.2 USB Ethernet/RNDIS Gadget Drivers
    • 6.3 USB配置ssh登录视频
    • 6.4 WiFi配置ssh登录视频
    • 6.5 WiFi网络扫描
  • 7. 参考资料

这里记录下关于Raspberry Pi Zero W采用Raspbian无头镜像烧录的过程,以及一些注意事项。

1. 源由

在实际嵌入式系统应用中,大部分情况没有显示器,甚至没有交互设备(鼠标/键盘等)。因此,需要尽快安装最简系统,并处于可用状态。

2. 需求

从源由的角度,我们这里如下技术需求:

  1. 最简系统安装
  2. 可用状态运行
  3. 无交互设备支持(显示器/鼠标/键盘等)

3. 分析

树莓派是一款开源软硬件支持的嵌入式系统。其性能也推陈出新,适用于非常多的场景。为了满足上面提及的技术需求,采取如下方式完成任务:

  • 刷写最新无桌面的raspbian镜像Raspberry Pi OS Lite, 2023-02-21-raspios-bullseye
  • 支持Remote NDIS (RNDIS),通过USB直接登录系统
  • 支持无线网络,通过WiFi 2.4G无线网络登录系统

4. 步骤

4.1 删除tf卡分区内容

daniel@daniel-ThinkPad-SL410:~$ df
Filesystem     1K-blocks     Used Available Use% Mounted on
udev             1950876        0   1950876   0% /dev
tmpfs             398272     3608    394664   1% /run
/dev/sda5      479078088 99783880 354884864  22% /
tmpfs            1991352        0   1991352   0% /dev/shm
tmpfs               5120        4      5116   1% /run/lock
tmpfs            1991352        0   1991352   0% /sys/fs/cgroup
/dev/loop1        224256   224256         0 100% /snap/gnome-3-34-1804/72
/dev/loop5        224256   224256         0 100% /snap/gnome-3-34-1804/77
/dev/loop7           128      128         0 100% /snap/bare/5
/dev/loop8        354688   354688         0 100% /snap/gnome-3-38-2004/119
/dev/loop0         56960    56960         0 100% /snap/core18/2679
/dev/loop2         56960    56960         0 100% /snap/core18/2697
/dev/loop9         83328    83328         0 100% /snap/gtk-common-themes/1534
/dev/loop3         64896    64896         0 100% /snap/core20/1822
/dev/loop6         64896    64896         0 100% /snap/core20/1778
/dev/loop11        47104    47104         0 100% /snap/snap-store/599
/dev/loop4        354688   354688         0 100% /snap/gnome-3-38-2004/115
/dev/loop10        93952    93952         0 100% /snap/gtk-common-themes/1535
/dev/loop12        47104    47104         0 100% /snap/snap-store/638
/dev/loop13        51072    51072         0 100% /snap/snapd/17950
/dev/loop14        51072    51072         0 100% /snap/snapd/18357
/dev/sda1         523248        4    523244   1% /boot/efi
tmpfs             398268       88    398180   1% /run/user/1000
/dev/sdb1         261108    51018    210090  20% /media/daniel/bootfs
/dev/sdb2        7343704  1329408   5683716  19% /media/daniel/rootfs
daniel@daniel-ThinkPad-SL410:~$ sudo umount /dev/sdb1
daniel@daniel-ThinkPad-SL410:~$ sudo umount /dev/sdb2
daniel@daniel-ThinkPad-SL410:~$ sudo fdisk /dev/sdb

Welcome to fdisk (util-linux 2.34).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): p
Disk /dev/sdb: 7.41 GiB, 7948206080 bytes, 15523840 sectors
Disk model: Storage Device
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: 0x9bd51a97

Device     Boot  Start      End  Sectors  Size Id Type
/dev/sdb1         8192   532479   524288  256M  c W95 FAT32 (LBA)
/dev/sdb2       532480 15523839 14991360  7.2G 83 Linux

Command (m for help): d
Partition number (1,2, default 2): 2

Partition 2 has been deleted.

Command (m for help): d
Selected partition 1
Partition 1 has been deleted.

Command (m for help): 1
1: unknown command

Command (m for help): w

The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.

4.2 balena烧录镜像

关于烧录软件其实挺多的,其中Raspberry Pi Imager是官方推荐的工具,确实有些配置选项可以在烧录工具中进行配置,但是有的时候也并不好使。因此这里采用了一款UI比较友好的工具balena。

在这里插入图片描述在这里插入图片描述在这里插入图片描述

在这里插入图片描述
在这里插入图片描述

4.3 配置USB直接登录

进入boot分区

daniel@daniel-ThinkPad-SL410:~$ df
Filesystem     1K-blocks     Used Available Use% Mounted on
udev             1950876        0   1950876   0% /dev
tmpfs             398272     3600    394672   1% /run
/dev/sda5      479078088 99785604 354883140  22% /
tmpfs            1991352    12720   1978632   1% /dev/shm
tmpfs               5120        4      5116   1% /run/lock
tmpfs            1991352        0   1991352   0% /sys/fs/cgroup
/dev/loop1        224256   224256         0 100% /snap/gnome-3-34-1804/72
/dev/loop5        224256   224256         0 100% /snap/gnome-3-34-1804/77
/dev/loop7           128      128         0 100% /snap/bare/5
/dev/loop8        354688   354688         0 100% /snap/gnome-3-38-2004/119
/dev/loop0         56960    56960         0 100% /snap/core18/2679
/dev/loop2         56960    56960         0 100% /snap/core18/2697
/dev/loop9         83328    83328         0 100% /snap/gtk-common-themes/1534
/dev/loop3         64896    64896         0 100% /snap/core20/1822
/dev/loop6         64896    64896         0 100% /snap/core20/1778
/dev/loop11        47104    47104         0 100% /snap/snap-store/599
/dev/loop4        354688   354688         0 100% /snap/gnome-3-38-2004/115
/dev/loop10        93952    93952         0 100% /snap/gtk-common-themes/1535
/dev/loop12        47104    47104         0 100% /snap/snap-store/638
/dev/loop13        51072    51072         0 100% /snap/snapd/17950
/dev/loop14        51072    51072         0 100% /snap/snapd/18357
/dev/sda1         523248        4    523244   1% /boot/efi
tmpfs             398268       88    398180   1% /run/user/1000
/dev/sdb1         261108    51018    210090  20% /media/daniel/bootfs
/dev/sdb2        1589576  1196192    294468  81% /media/daniel/rootfs
daniel@daniel-ThinkPad-SL410:~$ cd /media/daniel/bootfs

默认开启ssh远程登录

daniel@daniel-ThinkPad-SL410:/media/daniel/bootfs$ touch ssh

添加dtoverlay=dwc2config.txt文件

daniel@daniel-ThinkPad-SL410:/media/daniel/bootfs$ nano config.txt
daniel@daniel-ThinkPad-SL410:/media/daniel/bootfs$ tail config.txt
otg_mode=1

[all]

[pi4]
# Run as fast as firmware / board allows
arm_boost=1

[all]
dtoverlay=dwc2

添加modules-load=dwc2,g_etherrootwait

注意:添加内容前后均保持一个空格。

daniel@daniel-ThinkPad-SL410:/media/daniel/bootfs$ nano cmdline.txt
daniel@daniel-ThinkPad-SL410:/media/daniel/bootfs$ cat cmdline.txt
console=serial0,115200 console=tty1 root=PARTUUID=34f4435e-02 rootfstype=ext4 fsck.repair=yes rootwait modules-load=dwc2,g_ether quiet init=/usr/lib/raspberrypi-sys-mods/firstboot

4.4 配置WiFi 2.4G网络登录

daniel@daniel-ThinkPad-SL410:/media/daniel/bootfs$ nano wpa_supplicant.conf
daniel@daniel-ThinkPad-SL410:/media/daniel/bootfs$ cat wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev

update_config=1

country=CN

network={

 ssid="your-network-ssid"

 psk="your-network-password"

}

4.5 修改登录账号密码

鉴于安全性考虑,树莓派增加了账户密码的配置过程。有交互界面的会很方便,但是作为无头烧录的情况,那么就需要在配置文件里面修改。

daniel@daniel-ThinkPad-SL410:/media/daniel/bootfs$ echo 'mypassword' | openssl passwd -6 -stdin
$6$2S.7faFHMW1PFgOo$NoxP.CYxGLT1iWskjCSWxlJ5LiNy2pD4bSY.TaUUPoPk5cJS4hOLlkrlBq0IAtoKDR0moyTVwwGy8WrcgaDFJ1
daniel@daniel-ThinkPad-SL410:/media/daniel/bootfs$ nano userconf
daniel@daniel-ThinkPad-SL410:/media/daniel/bootfs$ cat userconf
daniel:$6$2S.7faFHMW1PFgOo$NoxP.CYxGLT1iWskjCSWxlJ5LiNy2pD4bSY.TaUUPoPk5cJS4hOLlkrlBq0IAtoKDR0moyTVwwGy8WrcgaDFJ1
$6$2S.7faFHMW1PFgOo$NoxP.CYxGLT1iWskjCSWxlJ5LiNy2pD4bSY.TaUUPoPk5cJS4hOLlkrlBq0IAtoKDR0moyTVwwGy8WrcgaDFJ1

此时,系统登录账号密码就被配置为

  • 账号:daniel
  • 密码:mypassword

4.6 数据同步和弹出tf卡

daniel@daniel-ThinkPad-SL410:/media/daniel/bootfs$ sync
daniel@daniel-ThinkPad-SL410:/media/daniel/bootfs$ cd
daniel@daniel-ThinkPad-SL410:~$ df
Filesystem     1K-blocks     Used Available Use% Mounted on
udev             1950876        0   1950876   0% /dev
tmpfs             398272     3592    394680   1% /run
/dev/sda5      479078088 99785780 354882964  22% /
tmpfs            1991352    12720   1978632   1% /dev/shm
tmpfs               5120        4      5116   1% /run/lock
tmpfs            1991352        0   1991352   0% /sys/fs/cgroup
/dev/loop1        224256   224256         0 100% /snap/gnome-3-34-1804/72
/dev/loop5        224256   224256         0 100% /snap/gnome-3-34-1804/77
/dev/loop7           128      128         0 100% /snap/bare/5
/dev/loop8        354688   354688         0 100% /snap/gnome-3-38-2004/119
/dev/loop0         56960    56960         0 100% /snap/core18/2679
/dev/loop2         56960    56960         0 100% /snap/core18/2697
/dev/loop9         83328    83328         0 100% /snap/gtk-common-themes/1534
/dev/loop3         64896    64896         0 100% /snap/core20/1822
/dev/loop6         64896    64896         0 100% /snap/core20/1778
/dev/loop11        47104    47104         0 100% /snap/snap-store/599
/dev/loop4        354688   354688         0 100% /snap/gnome-3-38-2004/115
/dev/loop10        93952    93952         0 100% /snap/gtk-common-themes/1535
/dev/loop12        47104    47104         0 100% /snap/snap-store/638
/dev/loop13        51072    51072         0 100% /snap/snapd/17950
/dev/loop14        51072    51072         0 100% /snap/snapd/18357
/dev/sda1         523248        4    523244   1% /boot/efi
tmpfs             398268       92    398176   1% /run/user/1000
/dev/sdb1         261108    51022    210086  20% /media/daniel/bootfs
/dev/sdb2        1589576  1196192    294468  81% /media/daniel/rootfs
daniel@daniel-ThinkPad-SL410:~$ sudo umount /dev/sdb1
daniel@daniel-ThinkPad-SL410:~$ sudo umount /dev/sdb2

5. 登录

准备如下动作:

  • 确保AutoLab配置的路由器处于正常工作状态
  • 确保ubuntu laptopn开机,系统正常
  • 将tf卡插入Raspberry Pi Zero W
  • 采用usb直接与Raspberry Pi Zero W连接供电

等待一段时间(2~3分钟),在【Settings】-【Network】下出现【USB Ethernet】连接项。
在这里插入图片描述
如果ssid和密码配置正确的话,路由器管理页面会看到树莓派已经wifi 2.4G动态获得了ip地址。
在这里插入图片描述

5.1 登录异常处理

如果之前登陆过,可能会有IDENTIFICATION 问题,会拒绝登录。

daniel@daniel-ThinkPad-SL410:~$ ssh daniel@raspberrypi.local
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@       WARNING: POSSIBLE DNS SPOOFING DETECTED!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The ECDSA host key for raspberrypi.local has changed,
and the key for the corresponding IP address 192.168.68.245
has a different value. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
Offending key for IP in /home/daniel/.ssh/known_hosts:1
  remove with:
  ssh-keygen -f "/home/daniel/.ssh/known_hosts" -R "192.168.68.245"
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:eCOHphYnkQDz3KuYx1MpK5Y0z4jjFyBeoTRY2dZ9Ii0.
Please contact your system administrator.
Add correct host key in /home/daniel/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /home/daniel/.ssh/known_hosts:3
  remove with:
  ssh-keygen -f "/home/daniel/.ssh/known_hosts" -R "raspberrypi.local"
ECDSA host key for raspberrypi.local has changed and you have requested strict checking.
Host key verification failed.

强制更新下ssh-keygen

daniel@daniel-ThinkPad-SL410:~$ ssh-keygen -f "/home/daniel/.ssh/known_hosts" -R "raspberrypi.local"
# Host raspberrypi.local found: line 3
/home/daniel/.ssh/known_hosts updated.
Original contents retained as /home/daniel/.ssh/known_hosts.old

5.2 WiFi 2.4G网络登录

这个是优选的方式,此时登录的IP地址是’192.168.68.245’

daniel@daniel-ThinkPad-SL410:~$ ssh daniel@raspberrypi.local
The authenticity of host 'raspberrypi.local (192.168.68.245)' can't be established.
ECDSA key fingerprint is SHA256:eCOHphYnkQDz3KuYx1MpK5Y0z4jjFyBeoTRY2dZ9Ii0.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'raspberrypi.local' (ECDSA) to the list of known hosts.
Warning: the ECDSA host key for 'raspberrypi.local' differs from the key for the IP address '192.168.68.245'
Offending key for IP in /home/daniel/.ssh/known_hosts:1
Are you sure you want to continue connecting (yes/no)? yes
daniel@raspberrypi.local's password:
Linux raspberrypi 5.15.84+ #1613 Thu Jan 5 11:58:09 GMT 2023 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

5.3 USB直接登录

关闭路由器,并对【USB Ethernet】进行配置

在这里插入图片描述
在这里插入图片描述

此时,可以看到登录的IP地址是’169.254.78.153’

daniel@daniel-ThinkPad-SL410:~$ ssh daniel@raspberrypi.local
Warning: Permanently added the ECDSA host key for IP address '169.254.78.153' to the list of known hosts.
daniel@raspberrypi.local's password: 
Linux raspberrypi 5.15.84+ #1613 Thu Jan 5 11:58:09 GMT 2023 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

6. 补充资料

6.1 Advanced IP Scanner

Advanced IP Scanner,可以扫描网络设备发现树莓派。

在这里插入图片描述

通常我们这里采用 ssh pi@raspberrypi.local方式,IP地址也没有这么重要。

6.2 USB Ethernet/RNDIS Gadget Drivers

下载:USB Ethernet/RNDIS Gadget Drivers

在这里插入图片描述

6.3 USB配置ssh登录视频

RaspberryPi Zero | USB and SSH Setup | Ethernet over USB | Windows/Mac

6.4 WiFi配置ssh登录视频

Raspberry Pi Networking Primer -Headless Wi-Fi Configuration for wpa-supplicant.

6.5 WiFi网络扫描

pi@piCamera:~ $ sudo iwlist wlan0 scanning | egrep 'Cell |Encryption|Quality|Last beacon|ESSID'
          Cell 01 - Address: B8:F8:83:6E:16:9F
                    Quality=70/70  Signal level=-21 dBm
                    Encryption key:on
                    ESSID:"AutoConnect"
                    Extra: Last beacon: 10ms ago
          Cell 02 - Address: D0:C7:C0:5C:CE:50
                    Quality=70/70  Signal level=-22 dBm
                    Encryption key:on
                    ESSID:"AutoLab"
                    Extra: Last beacon: 10ms ago
          Cell 03 - Address: 8C:A6:DF:2D:E2:E6
                    Quality=38/70  Signal level=-72 dBm
                    Encryption key:on
                    ESSID:"zjt"
                    Extra: Last beacon: 10ms ago
          Cell 04 - Address: 60:3A:7C:77:22:F1
                    Quality=43/70  Signal level=-67 dBm
                    Encryption key:on
                    ESSID:"suncheng"
                    Extra: Last beacon: 10ms ago
          Cell 05 - Address: 62:3A:7C:27:22:F1
                    Quality=41/70  Signal level=-69 dBm
                    Encryption key:on
                    ESSID:""
                    Extra: Last beacon: 10ms ago
          Cell 06 - Address: 10:55:E4:D2:C3:3E
                    Quality=48/70  Signal level=-62 dBm
                    Encryption key:on
                    ESSID:"201"
                    Extra: Last beacon: 10ms ago
          Cell 07 - Address: F6:6D:2F:20:E0:39
                    Quality=46/70  Signal level=-64 dBm
                    Encryption key:on
                    ESSID:""
                    Extra: Last beacon: 10ms ago
          Cell 08 - Address: F4:6D:2F:30:E0:39
                    Quality=45/70  Signal level=-65 dBm
                    Encryption key:on
                    ESSID:"Suzuki"
                    Extra: Last beacon: 10ms ago
          Cell 09 - Address: 44:22:95:C9:CF:46
                    Quality=54/70  Signal level=-56 dBm
                    Encryption key:on
                    ESSID:"CMCC-pf4h"
                    Extra: Last beacon: 10ms ago
          Cell 10 - Address: 14:B8:37:8F:A0:A8
                    Quality=41/70  Signal level=-69 dBm
                    Encryption key:on
                    ESSID:"ChinaNet-xinu"
                    Extra: Last beacon: 10ms ago
          Cell 11 - Address: A4:39:B3:0B:16:47
                    Quality=35/70  Signal level=-75 dBm
                    Encryption key:on
                    ESSID:"Xiaomi_4ADB"
                    Extra: Last beacon: 10ms ago
          Cell 12 - Address: 14:57:9F:09:16:60
                    Quality=34/70  Signal level=-76 dBm
                    Encryption key:on
                    ESSID:"ChinaNet-HjdH"
                    Extra: Last beacon: 10ms ago

7. 参考资料

【1】Introduction to Remote NDIS (RNDIS)
【2】ssh-into-pi-zero-over-usb
【3】Setting up a Raspberry Pi - Headless
【4】ISO 3166-1 (Codes for the representation of names of countries and their subdivisions – Part 1: Country codes)
【5】An update to Raspberry Pi OS Bullseye
【6】How do I scan for Wireless Access Points?

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Raspbian镜像无头烧录 的相关文章

  • Raspbian镜像无头烧录

    Raspbian镜像无头烧录 1 源由2 需求3 分析4 步骤4 1 删除tf卡分区内容4 2 balena烧录镜像4 3 配置USB直接登录4 4 配置WiFi 2 4G网络登录4 5 修改登录账号密码4 6 数据同步和弹出tf卡 5 登
  • wfb-ng Release 23.01镜像无头烧录&配置(1)

    64 TOC wfb ng Release 23 01镜像无头烧录 amp 配置 1 最近打算搭一个数字图传系统 xff0c 并进行一些简单测试 xff0c 在刚开始烧录阶段就遇到各种问题 当然 xff0c 主要的问题就是不熟悉 xff0c
  • raspbian-buster安装php7.3

    安装php sudo apt get install php7 3 fpm php7 3 curl php7 3 gd php7 3 mbstring php7 3 mysql php7 3 imap php7 3 opcache php7
  • 如何通过命令行/shell脚本从etc/wpa_supplicant/wpa_supplicant.conf删除网络配置文件

    我的 etc wpa supplicant wpa supplicant conf 中保存了多个 wifi 网络 ssid 如下所示 我们可以从此 wpa supplicant conf 中删除特定网络吗 例如 在下面的网络中 可以通过 s
  • 安装 mongodb 版本 >3 树莓派 2

    是否可以在树莓派上安装大于 3 2 的 mongodb 版本 并在树莓派上安装 RASPBIAN JESSIE LITE 我使用本教程只成功获得了 2 1 版本 http www widriksson com install mongodb
  • 如何修复raspbian上mysql中的“未知变量datadir”错误?

    我想保护 USB 记忆棒上的数据库 而不是我的 Raspberry Pi 首先我做了 mysql服务停止 mkdir media pi EMTEC mysql 纳米 etc mysql my cnf 并更改 datadir media pi
  • Bluez bluetoothctl 扫描与 hcitool 扫描

    我在 Raspberry Pi Buster 和 Stretch 上运行 bluez 5 50 我有一个 ble 传感器设备 仅当按下传感器设备上的按钮时才会公布数据 因此 广告是异步的 并且中间没有定期广告 并且所有数据包都是唯一的 没有
  • IOError: [Errno 输入溢出] -9981

    我试图在 Raspberry Pi B 型板上的 Raspbian 上执行 PyAudio python 捕获程序 但出现错误 Traceback most recent call last File home pi pythonsound
  • Gstreamer 与 gst-omx Raspberry Pi

    我按照本教程使用 gst omx 编译了 gstreamer http www onepitwopi com raspberry pi gstreamer 1 2 on the raspberry pi http www onepitwop
  • Pygame.movi​​e 丢失[重复]

    这个问题在这里已经有答案了 我目前正在使用 RPi 3B 最新的 Raspbian Jessie 进行一个小项目 其中涉及播放短的 mp4 文件 由于 Pygame 似乎支持播放 mpg 文件 因此我将视频转换为该格式 然而 当我尝试导入电
  • 为什么在 docker 中拉取镜像时出现此错误

    我尝试使用以下方法提取图像 docker pull ghcr io linuxserver nextcloud latest 但我收到此错误消息 来自守护进程的错误响应 获取 https ghcr io v2 拨打 tcp 在 1 53 上
  • 更改树莓派蓝牙设备名称?

    我正在尝试将树莓派的蓝牙名称更改为其他名称 IP 地址 以便当我扫描并配对我的 Android 设备时 它将将此 IP 视为设备名称 它工作过一次 但随后又返回显示为 raspberrypi 0 我已经尝试了 hciconfig set n
  • 没有名为 future 的模块

    我正在 python 中运行一个电报机器人 并且在 raspbian pi3 上使用 python3 6 以下是我的进口 from future import absolute import division print function
  • 如何在 debian 树莓派上安装 geos

    您好 我正在尝试在运行 rasbian wheezy 的树莓派上安装 geos 以便我可以在我的 python 脚本中包含 shapely 模块 我尝试使用 git clone git git debian org git pkg gras
  • 有没有模拟Raspberry Pi的Vagrant盒子?

    我正在考虑评估使用 Raspberry Pi 对 ARM 芯片进行编程的工具链 并且我想运行一个模拟 Raspberry 环境的 Vagrant 盒子 有谁知道是否有类似的东西可用 我已经在网上搜索了解决方案 但我可能向谷歌提出了错误的问题
  • 无需登录即可启动Raspberry Pi [关闭]

    Closed 这个问题不符合堆栈溢出指南 help closed questions 目前不接受答案 我想问你是否有任何方法可以启动树莓派 使用Raspbian 而无需登录和密码并直接进入GUI 以 Windows 为例 拉斯布比喘息 以下
  • 如何在 Raspbian Jessie 上安装 Python 3.5

    我需要在 Rasbian Raspberry Pi 的 Debian 上安装 Python 3 5 目前仅支持 3 4 版本 对于我想要编译的源 我必须安装 sudo apt get install y python3 python emp
  • Raspbian 的软浮动版本无法启动

    我在这里下载了 Raspbian 的硬浮动图像 http www raspberrypi org downloads http www raspberrypi org downloads 我将推荐的硬浮动映像复制到 SD 卡上 并且 Ras
  • 树莓派和 GitLab

    有什么办法可以运行 GitLab http gitlab org gitlab ce http gitlab org gitlab ce 和 GitLab CI http gitlab org gitlab ci http gitlab o
  • 使用 libx264 为 Raspberry pi 编译 Xuggler 时的问题 #2

    我正在尝试编译Xuggler http www xuggle com xuggler 对于 Raspberry Pi 在 Debian 操作系统上运行 又名 Raspbian 我遵循了可用的 基本构建说明 here http www xug

随机推荐

  • 传感模块:MATEKSYS Optical Flow & LIDAR 3901-L0X

    传感模块 xff1a MATEKSYS Optical Flow amp LIDAR 3901 L0X 1 模块介绍2 规格参数3 使用方法Step1 接线方式Step2 安装方式Step3 使用范围 4 存在问题 思考 4 1 MATEK
  • iNavFlight之MSP v2 Sensor报文格式

    iNavFlight之MSP v2 Sensor报文格式 1 MSP v2传感报文介绍2 MSP v2协议格式3 MSP v2传感代码流程4 MSP v2 传感器4 1 光流传感报文 MSP2 SENSOR RANGEFINDER4 2 测
  • 自制肥鲨HDO2电源降压延长线,支持3S~6S动力电池

    自制肥鲨HDO2电源降压延长线 xff0c 支持3S 6S动力电池 1 问题源由2 破题思路2 1 10元大钞搞定2 2 两个毛爷爷搞定 3 解决方案4 最终延长线产出4 1 裸照4 2 成品 5 花絮6 参考资料 1 问题源由 源由 xf
  • java中for、foreach、stream性能比较

    在开发中循环遍历一个数组经常会用到 xff0c jdk8推出了一些新特性 xff0c 对循环做了比较 xff0c 通过代码亲测 xff0c 记录一下 xff01 1 for循环 public static void main String
  • 自制肥鲨HDO2电源升压延长线

    自制肥鲨HDO2电源升压延长线 1 问题源由2 解决方案3 材料准备4 最终延长线产出4 1 裸照4 2 成品 5 参考资料 1 问题源由 之前我们介绍了 自制肥鲨HDO2电源降压延长线 xff0c 支持3S 6S动力电池 xff0c 主要
  • iNavFlight之RC遥控MSP协议

    iNavFlight之RC遥控MSP协议 1 RC摇杆MSP协议2 地面站配置 amp MSP遥控器2 1 iNav地面站 配置2 2 iNav地面站 MSP遥控器 3 RC摇杆总体逻辑框架3 1 摇杆信息获取3 2 摇杆信息处理3 3 摇
  • iNavFlight之RC遥控CRSF协议

    iNavFlight之RC遥控CRSF协议 1 遥控器电传框架设计1 1 场景分析1 2 逻辑框架1 2 1 电传信息获取1 2 2 电传信息处理1 2 3 电传初始化 1 3 模块化设计 2 CRSF电传报文2 1 CRSF电传报文格式2
  • iNavFlight之电传MAVLink协议

    iNavFlight之电传MAVLink协议 1 业务逻辑框架2 MAVLink电传报文2 1 MAVLink电传报文格式2 2 iNav支持地面站报文 接收 2 3 iNav支持飞控报文 发送 3 MAVLink报文处理4 参考资料 本章
  • PX4模块设计之四十七:mavlink模块

    PX4模块设计之四十七 xff1a mavlink模块 1 mavlink模块简介2 模块入口函数mavlink main3 mavlink模块重要函数3 1 Mavlink start3 2 Mavlink task main3 3 Ma
  • SVN工程转Git工程&Github托管

    SVN工程转Git工程 amp Github托管 1 介绍2 autoAudioTest之SVN转Github步骤Step 1 工作环境 ubuntu Step 2 安装升级必要软件Step 3 转换脚本Step 4 检查软件运行环境Ste
  • iNav飞控AOCODARC-F7MINI固件编译

    iNav飞控AOCODARC F7MINI固件编译 1 编译目标 xff08 AOCODARC F7MINI xff09 2 编译步骤Step 1 软件配置环境准备Step 2 获取开源代码Step 3 构建命令介绍Step 4 厂家目标板
  • BetaFlight飞控AOCODARC-F7MINI固件编译

    BetaFlight飞控AOCODARC F7MINI固件编译 1 编译目标 xff08 AOCODARC F7MINI xff09 2 编译步骤Step 1 软件配置环境准备Step 2 获取开源代码Step 3 构建命令介绍Step 4
  • Google AIY Vision Kit安装及国内配置

    Google AIY Vision Kit安装及国内配置 1 AIY Vision Kit组装环节Step 1 xff1a 收集其他附件选择1 xff1a 使用AIY项目应用程序选择2 xff1a 使用显示器 鼠标和键盘 Step 2 xf
  • WiFi monitor模式的配置和运行检查(Ubuntu系统)

    WiFi monitor模式的配置和运行检查 1 WiFi monitor模式介绍2 WiFi monitor模式查看Step1 xff1a 确保计算机上有安装硬件WiFi无线网卡Step2 xff1a 安装必要的工具Step 3 xff1
  • github上的源码编译成.hpi插件

    目录 1 xff0c vim安装 安装 Maven 编译源码生成 hpi 2 xff0c windos 安装idea 安装maven idea设置maven 将github上的源码拉进并编译 成功 近期做jenkins监控github xf
  • BetaFlight统一硬件资源简单配置修改

    BetaFlight统一硬件资源简单配置修改 1 源由2 资源配置注意事项3 资源配置文件修改验证步骤Step 1 xff1a 确认硬件修改内容Step 2 xff1a 资源配置文件修改Step 3 xff1a 验证配置文件Step 4 x
  • SSH远程登录RaspberryPi命令行响应缓慢问题

    SSH远程登录RaspberryPi命令行响应缓慢问题 1 问题2 分析3 解决3 1 去掉PAM部分鉴权模块3 2 去掉sshd的DNS设置3 3 无线WiFi信号优化方法一 xff1a ifconfig操作方法二 xff1a 内核自动检
  • ESP32-FPV-Camera介绍和使用

    ESP32 FPV Camera介绍和使用 1 编译目标2 编译步骤Step 1 软件配置环境准备Step 2 获取开源代码Step 3 2 4G WiFi频段选择Step 4 要确保2 4G WiFi网卡处于Monitor状态Step 5
  • DIY-BETAFPV和DIY(ESP-01F+E19-900M20S2模块)915MHz信号测试对比

    DIY BETAFPV和DIY xff08 ESP 01F 43 E19 900M20S2模块 xff09 915MHz信号测试对比 1 前提条件2 实测效果2 1 起点附近 xff08 距离3m左右 xff09 2 2 30m米距离 xf
  • Raspbian镜像无头烧录

    Raspbian镜像无头烧录 1 源由2 需求3 分析4 步骤4 1 删除tf卡分区内容4 2 balena烧录镜像4 3 配置USB直接登录4 4 配置WiFi 2 4G网络登录4 5 修改登录账号密码4 6 数据同步和弹出tf卡 5 登