Results 1 to 7 of 7

Thread: rt73.ko fail to build

Hybrid View

  1. #1
    Just burned their ISO
    Join Date
    Jan 2013
    Posts
    6

    Default rt73.ko fail to build

    I am using Backtrack 5 r3 in VMware fusion.

    I am facing a problem that I cannot install the rt73 driver for my usb wireless adapter (D-Link DWL-G122)

    Here is the output when I typed iwconfig

    root@bt:~# iwconfig
    lo no wireless extensions.

    wlan0 unassociated Nickname:"rtl_wifi"
    Mode:Auto Access Point: Not-Associated Sensitivity:0/0
    Retry:off RTS thr:off Fragment thr:off
    Encryption key:off
    Power Management:off
    Link Quality:0 Signal level:0 Noise level:0
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0

    eth0 no wireless extensions.

    However I cannot gain any internet access via this usb even I typed the correct password for my wifi

    Then I followed the instructions on the aircrack-ng.org to install rt73 driver but sadly fail.

    Output of preparing the kernel sources

    root@bt:~# prepare-kernel-sources[*] Kernel source seems to be available
    HOSTCC scripts/basic/fixdep
    HOSTCC scripts/kconfig/conf.o
    HOSTCC scripts/kconfig/zconf.tab.o
    HOSTLD scripts/kconfig/conf
    scripts/kconfig/conf --silentoldconfig Kconfig
    HOSTCC scripts/mod/mk_elfconfig
    MKELF scripts/mod/elfconfig.h
    HOSTCC scripts/mod/file2alias.o
    HOSTCC scripts/mod/modpost.o
    HOSTCC scripts/mod/sumversion.o
    HOSTLD scripts/mod/modpost
    HOSTCC scripts/selinux/genheaders/genheaders
    HOSTCC scripts/selinux/mdp/mdp
    HOSTCC scripts/kallsyms
    HOSTCC scripts/conmakehash
    HOSTCC scripts/bin2c
    HOSTCC scripts/recordmcount
    CHK include/linux/version.h
    CHK include/generated/utsrelease.h
    CC arch/x86/kernel/asm-offsets.s
    GEN include/generated/asm-offsets.h
    CALL scripts/checksyscalls.sh[*] tada!
    root@bt:~# cd /usr/src/linux
    root@bt:/usr/src/linux# cp -rf include/generated/* include/linux/

    Output of rt73 installation

    root@bt:~# wget http://homepages.tu-darmstadt.de/~p_...-3.0.3.tar.bz2
    --2013-01-09 17:02:15-- http://homepages.tu-darmstadt.de/~p_...-3.0.3.tar.bz2
    Resolving homepages.tu-darmstadt.de... 130.83.58.90
    Connecting to homepages.tu-darmstadt.de|130.83.58.90|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 247228 (241K) [application/x-tar]
    Saving to: `rt73-k2wrlz-3.0.3.tar.bz2'

    100%[======================================>] 247,228 60.4K/s in 4.0s

    2013-01-09 17:02:20 (60.4 KB/s) - `rt73-k2wrlz-3.0.3.tar.bz2' saved [247228/247228]

    root@bt:~# tar -xjf rt73-k2wrlz-3.0.3.tar.bz2
    root@bt:~# cd rt73-k2wrlz-3.0.3/Module/
    root@bt:~/rt73-k2wrlz-3.0.3/Module# make
    make[1]: Entering directory `/usr/src/linux-source-3.2.6'

    WARNING: Symbol version dump /usr/src/linux-source-3.2.6/Module.symvers
    is missing; modules will have no dependencies and modversions.

    Building modules, stage 2.
    MODPOST 0 modules
    make[1]: Leaving directory `/usr/src/linux-source-3.2.6'
    rt73.ko failed to build!
    make: *** [module] Error 1
    root@bt:~/rt73-k2wrlz-3.0.3/Module#

    I saw some guys said rt73 has already been installed in Backtrack 5 and they can use it without installing any drivers but I don't know why my usb doesn't work. Can anyone help me? Or should I buy other usb with other chipset?

  2. #2
    Very good friend of the forum maverik35's Avatar
    Join Date
    Sep 2009
    Location
    Debian land
    Posts
    734

    Default Re: rt73.ko fail to build

    The DWL-G122 has some rev and each one has different chipset:
    DWL-G122 rev A2 = chipset Intersil
    DWL-G122 rev B1 = Ralink 2571
    DWL-G122 rev C1 = Ralink 2571W
    DWL-G122 rev D1 = marvel
    DWL-G122 rev F1 = Realtek

    You need to be more specific..Also post the driver used by kernel and the device discovered by udev (lspci | grep -i network)

    Luck.

  3. #3
    Just burned their ISO
    Join Date
    Jan 2013
    Posts
    6

    Default Re: rt73.ko fail to build

    Thanks for reminding me there are different versions of my usb.

    It should be rev F1 and I was cheated by the seller who claimed that it is rev C1. So, is my usb compatible?

    Besides, there is no output of the command "lspci | grep -i network". Is it normal? I don't even have a directory "drivers" in /usr/src.

  4. #4
    Very good friend of the forum maverik35's Avatar
    Join Date
    Sep 2009
    Location
    Debian land
    Posts
    734

    Default Re: rt73.ko fail to build

    Sorry, I forgot it was usb device, very sorry, it should be: lsusb | grep -i network.

    Post output..

  5. #5
    Just burned their ISO
    Join Date
    Jan 2013
    Posts
    6

    Default Re: rt73.ko fail to build

    I have typed this command but there is still no output.

    wlan0 is still shown when I type ifconfig -a and iwconfig

  6. #6
    Very good friend of the forum maverik35's Avatar
    Join Date
    Sep 2009
    Location
    Debian land
    Posts
    734

    Default Re: rt73.ko fail to build

    Strange, type lsusb and see if device is listed.

    The F1 version has a realtek chipset, please read here: http://www.wikidevi.com/wiki/D-Link_DWL-G122_rev_F1 and it has a RTL8188SU chipset.

    According to the link above, you can use 2 drivers: the open driver (r8712u) or the propietary from realtek (http://www.realtek.com.tw/downloads/...true#RTL8188SU)

    But you need to make sure if it is F1 revision. Again, try: lsusb and see if device is listed.
    Last edited by maverik35; 01-11-2013 at 10:40 AM.

  7. #7
    Just burned their ISO
    Join Date
    Jan 2013
    Posts
    6

    Default Re: rt73.ko fail to build

    Here is the output

    Bus 002 Device 004: ID 0e0f:0008 VMware, Inc.
    Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
    Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 004: ID 2001:3306 D-Link Corp.
    Bus 001 Device 002: ID 05ac:8509 Apple, Inc.
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    the device "D-Link Crop" is listed

    I am sure it is F1 revision as I have installed it in my windows 8 and saw the name of this device

    By the way, can this usb be used in aircrack-ng as these 2 drivers are not listed in aircrack-ng.org?

Similar Threads

  1. wlan0/eth0/network/dhcp Fail Fail Fail
    By DavidOfLondon in forum Beginners Forum
    Replies: 3
    Last Post: 09-01-2010, 08:51 AM
  2. How can I start the rt73 k2wrlz - IEEE802.11 rt73 drivers ??
    By tiziano1111 in forum Beginners Forum
    Replies: 1
    Last Post: 05-09-2010, 03:38 PM
  3. rt73.ko failed to build?
    By imported_slasher in forum OLD Newbie Area
    Replies: 6
    Last Post: 08-05-2009, 05:25 AM
  4. rt73 drivers / "/lib/modules/2.6.21.5/build"
    By Danboy in forum OLD BT3final Support
    Replies: 7
    Last Post: 06-08-2009, 09:33 PM
  5. BT3 Final + WUSB54GC + rt73 == Fail
    By horizonprotocol in forum OLD Newbie Area
    Replies: 2
    Last Post: 08-01-2008, 04:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •