linksys wpc11 version4 的无线网卡在Freebsd下…
2009-05-13 02:07:23来源:未知 阅读 ()
http://sig9.com/articles/realtek-ndis-freebsd
Realtek 8180 wireless and FreeBSD
By vishnu
This is a short howto on how to get your Realtek 8180 (chipset) based wireless cards working with FreeBSD. I had an LG 2100P, and using the ndis emulation present in the 5.3 BSD kernel, I had no trouble getting the card to work. It's a mini-howto, and I've tried to reduce the steps as much as possible.
Download the latest Windows drivers for your chipset from the
Realtek website
. The link changes often, so I'm not providing a direct link here.
Set up FreeBSD. Once you've got the system working and able to boot, proceed with the next steps.
Get familiar with the ports collection
, and it's helpful if you
update the ports database
too.
Make the ndis kernel module (/usr/src/sys/modules/ndis)
Now you have to make the if_ndis kernel module. To do this, cp over your .sys and .inf files from the driver zip you downloaded to the if_ndis kerenel module directory (/usr/src/sys/modules/if_ndis). Now cd to the directory, and do this in a shell:
ndiscvt -i .inf -s .sys -o ndis_driver_data.h
Then, make and install the if_ndis module.
That's it. To test the configuration, load the kernel modules dynamically so:
kld_load ndis kld_load if_ndis
An ndis0 device should show up in ifconfig.
If it does, try assigning a static ip and pinging your router. If that works, and you use DHCP to assign ips from your router, you can add the line...
ifconfig_ndis0="DHCP"
...to your /etc/rc.conf to get dhcp working on ndis0. To load the kernel modules at next boot, add the lines...
ndis_load="YES" if_ndis_load="YES"
...to /boot/loader.conf.
You may have to set the ssid earlier by using a line such as...
ifconfig ndis0 ssid
... in a startup script somewhere in /etc (I named mine /etc/start.if_ndis0) to get dhcp to work correctly.
That's it. Please post any feeback in the comments.
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/11057/showart_72156.html
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
- Freebsd oracle 10g 2009-05-13
- FreeBSD下nginx+fast-cgi+mysql+zend的实现 2009-05-13
- gd 安装报错.求助 2009-05-13
- virtualbox for freeBSD 2009-05-13
- 从网上下载的packages为什么本地安装不了?[已解决!] 2009-05-13
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash