运行:
wpa_supplicant -D wext -iwlan0 -c/etc/wpa_supplicant.conf &
udhcpc -iwlan0 &
输出:
udhcpc: SIOCGIFINDEX: No such device
Successfully initialized wpa_supplicant
rfkill: Cannot get wiphy information
Could not read interface wlan0 flags: No such device
WEXT: Could not set interface 'wlan0' UP
wlan0: Failed to initialize driver interface
离线
运行:
wpa_supplicant -D wext -iwlan0 -c/etc/wpa_supplicant.conf &
udhcpc -iwlan0 &输出:
udhcpc: SIOCGIFINDEX: No such device
Successfully initialized wpa_supplicant
rfkill: Cannot get wiphy information
Could not read interface wlan0 flags: No such device
WEXT: Could not set interface 'wlan0' UP
wlan0: Failed to initialize driver interface
是内核不支持sta模式么?
离线
驱动有问题吧? 有没有 wlan0 设备?
没有wlan0 设备,但开启ap模式就有wlan0 设备,如何开启sta模式呢
离线
zhuacai 说:路人甲 说:驱动有问题吧? 有没有 wlan0 设备?
没有wlan0 设备,但开启ap模式就有wlan0 设备,如何开启sta模式呢
运行什么命令?
找到原因了,原来是供电不足,有时启动不了wifi
离线