|
|

楼主 |
发表于 2006-4-30 19:19:52
|
显示全部楼层
“封装格式不兼容”是什么意思啊
最近发现wpa_gui命令出来的配置wpa_supplicant的图形界面什么都不显示,也不能添加网络,原来是它需要先运行wpa_supplicant,但不知为什么,先运行wpa_supplicant再wpa_gui(运行结果见附件),从wpa_gui里对配置做的改动根本就无法保存,这又是怎么回事呢?
下面我就只用的wpa_supplicant
我把wpa_supplicant的配置文件改成这样了
/etc/wpa_supplicant/wpa_supplicant.conf
# IEEE 802.1X with dynamic WEP keys using EAP-PEAP/MSCHAPv2
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="example 802.1x network"
key_mgmt=IEEE8021X
eap=MD5 #PEAP
phase2="auth=MSCHAPV2"
identity="我的帐号"
password="我的密码"
ca_cert="/etc/cert/ca.pem"
}
运行结果:
[root@ChenJianpeng ~]# wpa_supplicant -i eth0 -c /etc/wpa_supplicant/wpa_supplicant.conf
ioctl[SIOCSIWPMKSA]: Invalid argument
ioctl[SIOCSIWMODE]: Invalid argument
Could not configure driver to use managed mode
ioctl[SIOCGIWRANGE]: Operation not supported
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
ioctl[SIOCSIWSCAN]: Operation not supported
Failed to initiate AP scan.
ioctl[SIOCGIWSCAN]: Operation not supported
ioctl[SIOCSIWSCAN]: Operation not supported
Failed to initiate AP scan.
ioctl[SIOCGIWSCAN]: Operation not supported
ioctl[SIOCSIWSCAN]: Operation not supported
Failed to initiate AP scan.
ioctl[SIOCGIWSCAN]: Operation not supported
ioctl[SIOCSIWSCAN]: Operation not supported
Failed to initiate AP scan.
ioctl[SIOCGIWSCAN]: Operation not supported
ioctl[SIOCSIWSCAN]: Operation not supported
Failed to initiate AP scan.
ioctl[SIOCGIWSCAN]: Operation not supported
ioctl[SIOCSIWSCAN]: Operation not supported
Failed to initiate AP scan.
ioctl[SIOCGIWSCAN]: Operation not supported
ioctl[SIOCSIWSCAN]: Operation not supported
Failed to initiate AP scan.
剩下的就是一直重复下去,运行dhclient eth0 也不行
另外xsupplicant也还是搞不定,郁闷中………… |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|