linux driver: wireless network adaptor DWL-G650+

wireless network adaptor DWL-G650+
visit here for more information: http://www.houseofcraig.net/acx100_howto.php

1. use "lspci -n" to identify your device
    look at the last line: 3 combinations listed below at it's end:
    * 104c:8400 (acx100)
    * 104c:8401 (acx100)
    * 104c:9066 (acx111)
2. finding and remove the old driver
    use "find /lib/modules/`uname -r` -name "*acx*" " to find old driver
    use "ind /lib/modules/`uname -r` -name "*acx*" -exec mv {} /root / "
    then use " depmod -a " to update the module dependencies
    at last, you can use " ls -ltr /root " to verify the old driver is removed
3. verify the building environment
    gcc --version
    make --version
    ls /lib/modules/`uname -r`/build/include/linux/version.h
    use " iwconfig ", it should display as follow:  "lo  no wireless extensions."
    use "ls -l /lib/modules/`uname -r`/build/.config " to verify the .config exists.
4. unpack acx100-0.2.0pre8_plus_fixes_45.tar.bz2 and compile it as common application install.
5. install the acx100-0.2.0pre8_plus_fixes_45 driver using make install
6. install firmware. using " tar Pjxf /home/your_normal_username/acx_firmware.tar.bz2 " to install firmware.
    using " ls /usr/share/acx " to verify it installs ok or not. if ok, it should display:
     " root@Slack91:/home/craig/acx100-0.2.0pre8_plus_fixes_43# ls /usr/share/acx
ACX100_USB.bin  RADIO0d.BIN  RADIO11.BIN  RADIO15.BIN  TIACX111.BIN  WLANGEN.BIN "
7. edit the file named "start_net" in acx100-0.2.0pre8_plus_fixes_45/scripts as follow instructions(find it in the end.) or just read the comments carefully. and the modify them.
8. use ./start_net to start the network and ./stop_net to stop the network.

9. if there is a /etc/rc.d/rc.local or /etc/rc.d/boot.local
    then type " echo -e '/n#Bring acx100 device up/ncd /home/your_normal_username/acx100-0.2.0pre8_plus_fixes_45/scripts/n./start_net/n' >> /etc/rc.d/rc.local "
    else if no /etc/rc.d/rc.local or /etc/rc.d/boot.local file exists, but /etc/init.d/local exists, type " echo -e '/n#!/bin/sh/n#Bring acx100 device up/ncd /home/your_normal_username/acx100-0.2.0pre8_plus_fixes_45/scripts/n./start_net/n' > /etc/init.d/local "
    Then, make the newly-created file executable with: chmod +x /etc/init.d/local. One more step is required to get your newly created "local" file into the startup system, type: " update-rc.d local defaults 99"
    



The items: ESSID and CHAN should be set to match your wireless router or access point's station name and channel. If your wireless router or access point is 22Mbps (or more) capable, then once things are working, you can go back and set the rate higher, or you can just let auto-rate do it for you. for initial testing you should leave it at 11M. If you're trying to connect to a wireless Access Point or router (infrastructure mode) then set MODE=Managed, otherwise set to "Auto" or "Ad-hoc" depending. I recommend you leave the rest of the lines alone for now.

Next, you'll want to set the WEP key correctly, (acx111 WEP support is not yet implemented) if your wireless router or access point is using WEP encryption, which is something you would have had to set up when you installed your wireless router or access point, so I'm assuming you know what the WEP key is ;-). To use WEP, place your key between the quotes on the KEY="" line. Note that if you're using an ASCII key (a text-based, "pass phrase" type of WEP key), you'll need to preface it with the characters s:, so the line would look like this: KEY="s:passphrase". Only ASCII keys should be prefaced this way, hex keys should be entered between the quotes as-is.

Finally, if you want your card to get it's IP address "automatically" from your router or access point, (this is the same as "obtain an address automatically" in Windows) Then set the next line to USE_DHCP=1. For those connecting to wireless Access Points or routers, I recommend you set this to 1 and use DHCP. The script will attempt to find and use whatever dhcp client is installed on your system.

If you are not using DHCP on your wireless network, then you'll need to set USE_DHCP=0, and instead edit the IP, NETMASK and GATEWAY lines to suit your network, typically you can leave the NETMASK as-is. Additionally, if not using DHCP, you'll need to edit /etc/resolv.conf and add a line like this to it: nameserver 192.168.0.1, again using the actual IP address of your wireless router or access point.

If you are not using DHCP, and don't want the script to attempt to set the default gateway, then be sure to comment out the GATEWAY= line like this: #GATEWAY=...
    

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值