19,613
社区成员
发帖
与我相关
我的任务
分享
sudo /etc/init.d/networking restart
* Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
* Reconfiguring network interfaces... ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
[ OK ]
怎么能解决这些问题呢?
auto wlan0
iface wlan0 inet dhcp
wpa-ssid my_ssid
wpa-ap-scan 1
pre-up /sbin/wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
post-down killall -q wpa_supplicant
1 ctrl_interface=/var/run/wpa_supplicant
2 ap_scan=1
3 network={
4 ssid="my_ssid"
5 scan_ssid=1
6 key_mgmt=WPA-PSK
7 pairwise=CCMP TKIP
8 psk="my_password"
9 }
10