我正在尝试使用我的覆盆子pi。我做了sudo apt-get update && sudo apt-get upgrade
,现在wifi停止工作了。
如果这不是问题,我也插上了相机。
dmesg
并未显示有关wlan0的任何信息。
如果我sudo ifdown wlan0 && sudo ifup wlan0
我得到了这个:
ifdown: interface wlan0 not configured
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Failed to bring up wlan0.
我没有触及/ etc / network / interfaces文件,因此它默认为:
interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
iface eth0 inet manual
auto wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
任何想法应该是什么错误?
修改
此外,如果我执行ifconfig,wlan0
不存在
答案 0 :(得分:0)
如果有帮助,这里有一个工作配置,如果没有有线连接,pi3可以自动使用无线连接:
ObjectMapper