最近,我很难在我的Raspberry 4(Ubuntu20.04)上获得一个工作的WiFi。我在网上找到了这个帮助我解决这个问题的教程。
诀窍是在/etc/cloud/cloud.cfg.d/命名为99-禁用-Networkconfig.cfg中创建一个文件。
文件的内容就是这一行:
network: {config: disabled}虽然这在我的RPi4上有效,但我不明白在这个特定文件夹中这样一个文件的目的是什么。另外,我不理解文件中的行。
发布于 2021-05-07 20:31:26
让我从我的角度告诉你。在我的系统中,在/etc/netplan中有一个名为50-cloud-init.yaml的文件
其中的注释块如下:
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}我猜,创建99-disable-network-config.cfg会让进程读取它,并阻止创建yaml文件。
https://askubuntu.com/questions/1310496
复制相似问题