免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2903 | 回复: 8
打印 上一主题 下一主题

在solaris 10下使用迅驰笔记本的WiFi [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-12-21 21:04 |只看该作者 |倒序浏览
opensolaris社区推出了基于无线芯片的驱动,现在终于可以在solaris 10下发挥迅弛的WIFI了,闲话少说,我们进入正题。
配置:Dell Inspiron 600M,无线模块为Intel Pro/Wireless 2200BG
操作系统:solaris 10 x86 GA
第一步:我们到opensolaris社区去下载几个驱动和工具http://opensolaris.org/os/community/laptop/wireless
在这个页面中有几个连结,请根据你所使用的无线模块来选择驱动下载,我的是Intel Pro/Wireless 2200BG,所以下载iwi驱动,另外,ipw支持Intel Pro/Wireless 2100 模块,如果你用的是PCMCIA卡的话,可以试试cardbus驱动,但是目前cardbus驱动支持的无线模块很少。除了iwi模块外,我们还需要一个配置工具wificonfig,如果你需要GUI配置的话,还要下Inetmenu工具。
第二步:安装驱动iwi
# gzip -dc iwi-0.1-pkg.tar.gz | tar xvf -
# pkgadd -d . SUNWiwi
安装成功后可以发现在/dev 目录下多了两个设备iwi 和iwi0,如果没有的话请重启系统
第三步:安装工具wificonfig
# gzip -dc wificonfig-0.1-pkg.tar.gz | tar xvf -
# pkgadd -d . SUNWwlanu
第四步:启用无线接口
# ifconfig iwi0 plumb
第五步:设置无线路由器
在这一步中,请根据你的实际情况设置无线路由器的参数,有几点要注意,无线路由器的验证方式要设置为none或者是WEP,并且不要选择共享密钥(目前驱动不支持这个选项),可以设置为自动或者是开放系统。我们以WGR614为例,把安全选项设置为WEP,安全加密认证类型设置为自动系统或者是开放系统,64位加密,wepkey1为FB3CB7CB32,启用dhcp服务器。
第六步:搜索信号
#wificonfig –i iwi0 scan
如果发现了信号,我们就可以看到如下所示的输出:
essid   bssid             type          encryption      signallevel
NETGEAR 00:90:4c:7e:00:29 access point  WEP             11
否则请检查你的网络配置和驱动是否正确安装
如果你的无线网络没有启用安全选项,直接执行
# ifconfig iwi0 dhcp
如果你已经启用了安全选项,请执行
# wificonfig -i iwi0 createprofile wifi essid=NETGEAR encryption=wep wepkey1= FB3CB7CB32(创建profile文件wifi,设置essid为NETGEAR,加密方式为wep,并且wep密钥为FB3CB7CB32)
# wificonfig -i iwi0 connect wifi(利用刚才建立的profile连接网络)
# ifconfig iwi0 dhcp
到此处大功告成!
但是目前还有一个问题没有解决,我们可以使用无线路由器分配的地址访问内部网络,但是却不能正确解析DNS,可以通过编辑文件/etc/resolv.conf,在里面添加nameserver 202.101.98.55(这是我的DNS服务器),修改文件/etc/nsswitch.conf,将  hosts:      files 这行替换成hosts:      files dns,保存退出就可以了。但是我总觉得这样来解决不能实现真正的dhcp,哪位大虾有好的方法请多多指教。
附录:
我们可以使用wificonfig来查看和配置参数
         # wificonfig -i iwi0 getparam
         bssid: 00:90:4c:7e:00:29
        essid: NETGEAR
        bsstype: BSS(AP)
        rates: 36
        authmode: opensystem
        encryption: WEP
        wepkeyindex: 1
        signal: 11
        radio: on
目前驱动只能支持开放系统opensystem,在bsstype中只支持BSS,暂时还不支持adhoc结构,我们可以修改相关参数
         # wificonfig -i iwi0 setparam encryption=wep
使用 wificonfig显示profile
#wificonfig –I iwi0 showprofile wifi
[wifi]
        essid=NETGEAR
        encryption=wep
        bssid=00:90:4c:7e:00:29
删除profile
#wificonfig –I iwi0 deleteprofile wifi
查看状态
#wificonfig –I iwi0 showstatus

论坛徽章:
0
2 [报告]
发表于 2005-12-23 07:27 |只看该作者
兄弟是在裸机上安装啊, 内存多大,运行速度如何?

论坛徽章:
0
3 [报告]
发表于 2005-12-23 07:54 |只看该作者
内存768M,如果不安装oracle和其他的开发平台速度还不错

论坛徽章:
0
4 [报告]
发表于 2006-04-03 14:50 |只看该作者
如果用WPA-PSK方式呢,怎么设置。

论坛徽章:
0
5 [报告]
发表于 2006-04-05 10:29 |只看该作者
现在还不支持WPA-PSK方式

论坛徽章:
0
6 [报告]
发表于 2006-04-05 13:38 |只看该作者
有没有试过wpa_supplicant

论坛徽章:
0
7 [报告]
发表于 2006-04-06 10:34 |只看该作者
还没有试过,但是在文档中好象没有提到支持wpa-supplicant,哪位如果试成功了发个帖子。solaris和linux的native wifi驱动全是从bsd的ipw移植过来的,还是bsd的驱动支持得好,我们只能慢慢等了。

论坛徽章:
0
8 [报告]
发表于 2006-10-07 14:51 |只看该作者
sorry to reply this old thread but i just cannot make the driver work
i've been trying the iwi driver on my two lap-tops(ibm tp x32 & ibm tp x40) and it just dont work for me
i'm new to the solaris system and my operating system is solaris 10 x86 GA, the wifi cards are intel 2200BG
i chose the driver iwi version 0.5
i followed the steps here
http://opensolaris.org/os/community/laptop/wireless/iwi/
after i installed the driver, i typed "ifconfig iwi0 plumb" in the terminal and it returned "ifconfig: plumb: iwi0: No such file or directory"
then i went to /dev, fount no iwi or iwi0 exists
now when restarting, during the progress of start-up, i see many errors saying things like "cannot find module xxx"

what can i do to setttle the problem?


no chs ime here in this OS, sorry

论坛徽章:
0
9 [报告]
发表于 2006-10-08 09:58 |只看该作者
原帖由 wlxwlx 于 2006-10-7 14:51 发表
sorry to reply this old thread but i just cannot make the driver work
i've been trying the iwi driver on my two lap-tops(ibm tp x32 & ibm tp x40) and it just dont work for me
i'm new to the ...

solaris 10 不支持iwi 0.3以上的版本,请下载0.3或之前的版本安装,如要使用0.4和0.5则需Nevada build 31+或更新版本.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP