我正在使用运行Debian Jessie的Raspberry Pi 2,并且在设置我的Wi-Fi连接后遇到问题/etc/network/interfaces
:
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
# uncomment the next 4 lines and set the correct wpa-ssid (network ssid) and
auto lo
iface lo inet loopback
iface eth0 inet manual
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
和wpa_supplicant.conf
:
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="Abass"
psk="AMSH19691977"
}
然后运行wpa_cli reconfigure
。我收到错误,Failed to connect to non-global ctrl_ifname: (null) error: No such file or directory
因此需要帮助。我该如何解决?
sleep 5
之后插入systemctl restart dhcpcd
,因为dhcp.service抱怨启动请求重复的速度太快