//linux下安装windows xp无线网卡驱动以及wps-supplicant文件的配置
tar -zxvf ndiswrapper-1.52.tar.gz
cd ndiswrapper-1.52   //改变到解压文件目录
//也可以使用.configure --prefix=‘/etc/local"来指定安装目录(此目录是自建)。
make   //编译
make install//安装,成功后会显示version:1.51
//获取该无线网卡的windows xp 驱动的**.inf文件,进入inf文件所在的文件夹
ndiswrapper -i * *.INF   //安装无线网卡驱动
ndiswrapper -| //显示**.INF驱动是否安装,driver installed
ndiswrapper -m //为wlan0编写别名,并写入内核模块
ndiswrapper -ma//为其他所有的wlan**编写别名
ndiswrapper mi // 安装windows 驱动,把.INF启动后模块自动加载
//底下的为查看以及配置文件
//配置 wpa_supplicant.conf文件
vi /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_inte***ce=/var/run/wpa_supplicant
ctrl_inte***ce_group=wheelnetwork={
ssid="any"
key_mgmt=NONE}
//配置wpa_supplicant文件
vi /etc/sysconfig/wpa_supplicant
wlan0 and wifi0
INTE**CES="-iwlan0 -wifi0"
INTE**CES="iwlan"
ndiswrapper and prism
DRIVERS="-Dndiswrapper -Dprism"
DRIVERS="-Dndiswrapper"
//以下步骤必须执行
AP:iwlist scanning //查看无线网络wlan0是否搜索到
//service network restart 重启网络