debian网络wpa_supplicant配置错误

debian网络wpa_supplicant配置错误

我对 Debian Jessie 进行了基本安装。我想通过 wifi 连接电脑。首先我下载了wireless-tools​​ 和wpa_supplicant它的依赖项。我还更改了 / 中的文件,etc/network/interfaces以便它可以连接到我的家庭 WiFi 网络。我尝试过ifup wlan0,但没有成功。

错误:dbus: could not request service name: org.freedesktop.DBus.Error.AccessDenied Connection ":1.4"is not allowed to own the service "fi.w1.wpasupplicant1" due to security policies in the configuration file

我以root身份做了所有事情。

文件:/etc/network/interfaces

source /etc/network/interfaces.d/*
auto wlan0
iface wlan0 inet dhcp
    wpa-ssid wifi-network
    wpa-psk lame-password

文件:/etc/wpa_supplicant/wpa_supplicant.conf

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel

network {
    ssid="wifi-name"
    scan_ssid=1
    key_mgmt=WPA-PSK
    psk="lame-password"
}

相关内容