我在用着 #虚空Linux。在我使用之前以太网。我从来没有用过无线的前...
# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp12s0: <BROADCAST,MULTICAST,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether d4:be:d9:71:98:bc brd ff:ff:ff:ff:ff:ff
3: wwp0s29u1u6i6: <BROADCAST,MULTICAST,NOARP,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT
group default qlen 1000
link/ether 06:0a:7e:d4:64:b6 brd ff:ff:ff:ff:ff:ff
所以我在这里创建了一个配置文件:
# touch /etc/wpa_supplicant/wpa_supplicant-wwp0s29u1u6i6.conf
# vi /etc/wpa_supplicant/wpa_supplicant-wwp0s29u1u6i6.conf
edition :
1. ctrl_interface=/run/wpa_supplicant
2. update_config=1
(save & exit)
完成编辑后,我将我的wifi名称和密码应用到配置文件中。
# wpa_passphrase <ssid> <pass> >> /etc/wpa_supplicant/wpa_supplicant-wwp0s29u1u6i6.conf
# vi /etc/wpa_supplicant/wpa_supplicant-wwp0s29u1u6i6.conf
ctrl_interface=/run/wpa_supplicant
update_config=1
network={
ssid="Wifi"
#psk="01632413440"
psk=84195e97272a26e42479c32d36e10eef82f347530aba8bd6ec2bc65dbe2fadd8
}
这里最后一个命令,
# wpa_supplicant -B -i wwp0s29u1u6i6 -c /etc/wpa_supplicant/wpa_supplicant-wwp0s29u1u6i6.conf
之后我得到了所有这些错误输出:
Successfully initialized wpa_supplicant
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wwp0s29u1u6i6 disabled_11b_rates=0
wwp0s29u1u6i6: Failed to initialize driver interface
**在这里我不知道该怎么办?请给我指示,
谢谢:)
答案1
尝试使用 weext 驱动程序
wpa_supplicant -B -i wwp0s29u1u6i6 -D wext -c /etc/wpa_supplicant/wpa_supplicant-wwp0s29u1u6i6.conf
https://wiki.archlinux.org/index.php/Wpa_supplicant#nl80211_driver_not_supported_on_some_hardware