45fan.com - 路饭网

搜索: 您的位置主页 > 网络频道 > 阅读资讯:fc2对prism2芯片芯片无线网卡配置的方法

fc2对prism2芯片芯片无线网卡配置的方法

2016-09-06 16:57:42 来源:www.45fan.com 【

fc2对prism2芯片芯片无线网卡配置的方法

1.安装fc2(fc1,fc2内建队prism2的支持)

2。下hostapd-0.2.5.tar.gz等工具与驱动。http://hostap.epitest.fi/

3. tar zxvf hostapd-0.2.5.tar.gz

4. cd hostapd-0.2.5

5. vi Makefile ,修改: KERNEL_PATH = /usr/src/linux-2.6.5-1.358

6. 修改内核:cd /usr/src/linux-2.6.5-1.358

make oldconfig

vi Makefile , 去掉EXTRAVERSION中的“custom”

make modules

make

7. 编译:

cd hostapd-0.2.5

make

make install

8. cd /lib/modules/2.6.5-1.358/kernel/drivers/net/wireless

chmod u+x hostap*

9. reboot system

10. now config script:

1. initial.sh:

insmod /lib/modules/2.6.5-1.358/kernel/drivers/pcmcia/pcmcia_core.ko

insmod /lib/modules/2.6.5-1.358/kernel/drivers/pcmcia/yenta_socket.ko

insmod /lib/modules/2.6.5-1.358/kernel/drivers/pcmcia/ds.ko

service pcmcia restart

2. ap.sh:

ifconfig wlan0 192.168.0.55

iwconfig wlan0 mode managed essid 1 end off

ifconfig eth0 down

route add default gw 192.168.0.1 dev wlan0

3. msr.sh:

ifconfig eth0 down

ifconfig wlan0 192.168.2.55

iwconfig wlan0 mode ad-hoc essid msr enc off

iwconfig wlan0 channel 11

reout add default gw 192.168.2.11 dev wlan0

 

另:可以参考(没试过)http://oob.freeshell.org/nzwireless/hostap.html

 

本文地址:http://www.45fan.com/a/question/73325.html
Tags: 关于 fc2 prism2
编辑:路饭网
关于我们 | 联系我们 | 友情链接 | 网站地图 | Sitemap | App | 返回顶部