linksys wpc11 version4 的无线网卡在Freebsd下…

2009-05-13 02:07:23来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折


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
    特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

  • 上一篇:在vmware4 下安裝 FreeBSD4.9 及設置上網.

    下一篇:freebsd上mod_fastcgi for apache 2.2.0补丁