linux driver: wireless network adaptor DWL-G650+

本文介绍了在Linux系统下安装和配置无线网卡DWL - G650 + 的ACX100驱动的详细步骤,包括识别设备、移除旧驱动、验证构建环境、编译安装驱动和固件等,还说明了网络启动、停止及相关参数如ESSID、CHAN、WEP密钥、DHCP设置等的配置方法。
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=...
    

root@NGIS:~# lspci -vvv -s 0000:04:00.1 | grep -i "lnkcap\|lnksta" LnkCap: Port #0, Speed 5GT/s, Width x4, ASPM L0s L1, Exit Latency L0s <1us, L1 <2us LnkSta: Speed 5GT/s, Width x4 LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1- root@NGIS:~# lspci -vvv -s 0000:04:00.1 04:00.1 Ethernet controller: Beijing Wangxun Technology Co., Ltd. WX1860A2 Gigabit Ethernet Controller (rev 01) Subsystem: Beijing Wangxun Technology Co., Ltd. Dual-Port Ethernet Network Adaptor SF200T Physical Slot: 1 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 32 bytes Interrupt: pin B routed to IRQ 46 NUMA node: 0 Region 0: Memory at fbb00000 (64-bit, non-prefetchable) [size=128K] Region 4: Memory at fbb40000 (64-bit, non-prefetchable) [size=16K] Expansion ROM at fba00000 [disabled] [size=512K] Capabilities: [40] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold-) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+ Address: 0000000000000000 Data: 0000 Masking: 00000000 Pending: 00000000 Capabilities: [70] Express (v2) Endpoint, MSI 00 DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, L1 unlimited ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+ SlotPowerLimit 0W DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq- RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset- MaxPayload 128 bytes, MaxReadReq 256 bytes DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend- LnkCap: Port #0, Speed 5GT/s, Width x4, ASPM L0s L1, Exit Latency L0s <1us, L1 <2us ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+ LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 5GT/s, Width x4 TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Not Supported, TimeoutDis+ NROPrPrP- LTR- 10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix- EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- TPHComp+ ExtTPHComp- AtomicOpsCap: 32bit- 64bit- 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis+ LTR- 10BitTagReq- OBFF Disabled, AtomicOpsCtl: ReqEn- LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [b0] MSI-X: Enable+ Count=9 Masked- Vector table: BAR=4 offset=00000000 PBA: BAR=4 offset=00002000 Capabilities: [d0] Vital Product Data Product Name: WX GbE Family Controller Read-only fields: [PN] Part number: SF200T [SN] Serial number: [RV] Reserved: checksum good, 4 byte(s) reserved End Kernel driver in use: ngbe Kernel modules: ngbe
12-23
oot@admin123-NF5280M6:~# sudo dpkg --configure -a dpkg: dependency problems prevent configuration of libgck-2-2:amd64: libgck-2-2:amd64 depends on libglib2.0-0t64 (>= 2.79.0); however: Package libglib2.0-0t64 is not installed. dpkg: error processing package libgck-2-2:amd64 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libgcr-4-4:amd64: libgcr-4-4:amd64 depends on libgck-2-2 (= 4.2.0-5); however: Package libgck-2-2:amd64 is not configured yet. libgcr-4-4:amd64 depends on libglib2.0-0t64 (>= 2.79.0); however: Package libglib2.0-0t64 is not installed. dpkg: error processing package libgcr-4-4:amd64 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of gnome-settings-daemon: gnome-settings-daemon depends on libasound2t64 (>= 1.0.16); however: Package libasound2t64 is not installed. gnome-settings-daemon depends on libcanberra-gtk3-0t64 (>= 0.25); however: Package libcanberra-gtk3-0t64 is not installed. gnome-settings-daemon depends on libcanberra0t64 (>= 0.16); however: Package libcanberra0t64 is not installed. gnome-settings-daemon depends on libcups2t64 (>= 1.6.0); however: Package libcups2t64 is not installed. gnome-settings-daemon depends on libgck-2-2 (>= 3.2.2); however: Package libgck-2-2:amd64 is not configured yet. gnome-settings-daemon depends on libgcr-4-4 (>= 3.8.0); however: Package libgcr-4-4:amd64 is not configured yet. gnome-settings-daemon depends on libgeocode-glib-2-0 (>= 3.26.3); however: Package libgeocode-glib-2-0 is not installed. gnome-settings-daemon depends on libglib2.0-0t64 (>= 2.79.0); however: Package libglib2.0-0t64 is not installed. gnome-settings-daemon depends on libgnome-desktop-3-20t64 (>= 3.34.2); however: Package libgnome-desktop-3-20t64 is not installed. gnome-settings-daemon depends on libgtk-3-0t64 (>= 3.21.5); however: Package libgtk-3-0t64 is not installed. gnome-settings-daemon depends on libgweather-4-0t64 (>= 4.1); however: Package libgweather-4-0t64 is not installed. gnome-settings-daemon depends on libpolkit-gobject-1-0 (>= 0.114); however: Version of libpolkit-gobject-1-0:amd64 on system is 0.105-33. dpkg: error processing package gnome-settings-daemon (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libpython3.12-minimal:amd64: libpython3.12-minimal:amd64 depends on libssl3t64 (>= 3.0.0); however: Package libssl3t64 is not installed. dpkg: error processing package libpython3.12-minimal:amd64 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of thunderbird-locale-en: thunderbird-locale-en depends on thunderbird (>= 2:1snap1-0ubuntu3); however: Version of thunderbird on system is 1:128.12.0+build1-0ubuntu0.22.04.1. dpkg: error processing package thunderbird-locale-en (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of gir1.2-gcr-4:amd64: gir1.2-gcr-4:amd64 depends on libgcr-4-4 (= 4.2.0-5); however: Package libgcr-4-4:amd64 is not configured yet. dpkg: error processing package gir1.2-gcr-4:amd64 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of gir1.2-gck-2:amd64: gir1.2-gck-2:amd64 depends on libgck-2-2 (= 4.2.0-5); however: Package libgck-2-2:amd64 is not configured yet. dpkg: error processing package gir1.2-gck-2:amd64 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of gnome-shell: gnome-shell depends on gir1.2-gcr-4; however: Package gir1.2-gcr-4:amd64 is not configured yet. gnome-shell depends on gir1.2-gnomebg-4.0; however: Package gir1.2-gnomebg-4.0 is not installed. gnome-shell depends on gir1.2-gnomebluetooth-3.0 (>= 42.3); however: Version of gir1.2-gnomebluetooth-3.0:amd64 on system is 42.0-5. gnome-shell depends on gir1.2-gnomedesktop-4.0 (>= 40); however: Package gir1.2-gnomedesktop-4.0 is not installed. gnome-shell depends on gir1.2-gweather-4.0 (>= 4.1); however: Package gir1.2-gweather-4.0 is not installed. gnome-shell depends on gir1.2-mutter-14 (>= 46.0); however: Package gir1.2-mutter-14 is not installed. gnome-shell depends on gir1.2-nma4-1.0; however: Package gir1.2-nma4-1.0 is not installed. gnome-shell depends on gir1.2-soup-3.0; however: Package gir1.2-soup-3.0 is not installed. gnome-shell depends on gir1.2-webkit-6.0; however: Package gir1.2-webkit-6.0 is not installed. gnome-shell depends on gnome-settings-daemon (>= 40~); however: Package gnome-settings-daemon is not configured yet. gnome-shell depends on gnome-shell-common (= 46.0-0ubuntu6~24.04.12); however: Version of gnome-shell-common on system is 42.9-0ubuntu2.3. gnome-shell depends on libatk-bridge2.0-0t64 (>= 2.5.3); however: Package libatk-bridge2.0-0t64 is not installed. gnome-shell depends on libatk1.0-0t64 (>= 1.12.4); however: Package libatk1.0-0t64 is not installed. gnome-shell depends on libecal-2.0-3 (>= 3.45); however: Package libecal-2.0-3 is not installed. gnome-shell depends on libedataserver-1.2-27t64 (>= 3.45); however: Package libedataserver-1.2-27t64 is not installed. gnome-shell depends on libgcr-4-4 (>= 3.8.0); however: Package libgcr-4-4:amd64 is not configured yet. gnome-shell depends on libgjs0g (>= 1.73.1); however: Version of libgjs0g:amd64 on system is 1.72.4-0ubuntu0.22.04.4. gnome-shell depends on libglib2.0-0t64 (>= 2.79.0); however: Package libglib2.0-0t64 is not installed. gnome-shell depends on libgnome-desktop-4-2t64 (>= 40); however: Package libgnome-desktop-4-2t64 is not installed. gnome-shell depends on libgtk-4-1 (>= 4.12.0); however: Version of libgtk-4-1:amd64 on system is 4.6.9+ds-0ubuntu0.22.04.2. gnome-shell depends on libical3t64 (>= 3.0.0); however: Package libical3t64 is not installed. gnome-shell depends on libmutter-14-0 (>= 46.0); however: Package libmutter-14-0 is not installed. gnome-shell depends on libpipewire-0.3-0t64 (>= 0.3.10); however: Package libpipewire-0.3-0t64 is not installed. dpkg: error processing package gnome-shell (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of gnome-shell-extension-appindicator: gnome-shell-extension-appindicator depends on gnome-shell (>= 45~); however: Package gnome-shell is not configured yet. gnome-shell-extension-appindicator depends on gnome-shell (<< 47~); however: Package gnome-shell is not configured yet. dpkg: error processing package gnome-shell-extension-appindicator (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of openssl: openssl depends on libssl3t64 (>= 3.0.9); however: Package libssl3t64 is not installed. dpkg: error processing package openssl (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of gnome-shell-extension-desktop-icons-ng: gnome-shell-extension-desktop-icons-ng depends on gir1.2-gnomeautoar-0.1; however: Package gir1.2-gnomeautoar-0.1 is not installed. gnome-shell-extension-desktop-icons-ng depends on gnome-shell (>= 45~); however: Package gnome-shell is not configured yet. gnome-shell-extension-desktop-icons-ng depends on gnome-shell (<< 47~); however: Package gnome-shell is not configured yet. dpkg: error processing package gnome-shell-extension-desktop-icons-ng (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libatk-adaptor:amd64: libatk-adaptor:amd64 depends on libatk-bridge2.0-0t64 (>= 2.52.0-1build1); however: Package libatk-bridge2.0-0t64 is not installed. libatk-adaptor:amd64 depends on libglib2.0-0t64 (>= 2.62); however: Package libglib2.0-0t64 is not installed. dpkg: error processing package libatk-adaptor:amd64 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of python3.12-minimal: python3.12-minimal depends on libpython3.12-minimal (= 3.12.3-1ubuntu0.9); however: Package libpython3.12-minimal:amd64 is not configured yet. dpkg: error processing package python3.12-minimal (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: libgck-2-2:amd64 libgcr-4-4:amd64 gnome-settings-daemon libpython3.12-minimal:amd64 thunderbird-locale-en gir1.2-gcr-4:amd64 gir1.2-gck-2:amd64 gnome-shell gnome-shell-extension-appindicator openssl gnome-shell-extension-desktop-icons-ng libatk-adaptor:amd64 python3.12-minimal
最新发布
12-24
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值