Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32

Thread: Help with Realtek 8185

  1. #1
    Just burned his ISO
    Join Date
    Mar 2008
    Posts
    16

    Default Help with Realtek 8185

    I have an Alienware Aurora m9700 with a realtek 8185 54M Wireless adapter. BT3 does not recognize the adapter. I haven't been able to find any info on setting it up to work in BT. The biggest problem I'm having right now is that I used to have a dell with an intel wireless adapter and BT picked it up without any extra configuration. For the realtek adapter do I need to manually install the drivers? And if so, here's the noob question of the day, could someone walk me through the process? And last, does the 8185 support injection?

    Thanx in advance

  2. #2

    Default

    You do need to manually install the drivers. The device does support injection. Take a look here: http://forums.remote-exploit.org/showthread.php?t=12439
    I'll be posting the drivers and the instructions this afternoon (I have the same card).

    -Stephen

  3. #3
    Just burned his ISO
    Join Date
    Mar 2008
    Posts
    16

    Default

    Thank you Stephen. I've been looking into this for the past 2 weeks at least trying to get it to work. Now, I really hate to come across as a complete fool, but I'm relatively new at Linux also. I've dabbled with Ubuntu, OpenSUSE, and Fedora, but I haven't gotten into it very far, so if it isn't too much trouble maybe you could make your instructions relatively noob friendly that would be great

    -Eric

  4. #4

    Default

    Don't worry, everyone has to start off somewhere. But yes, I will make the instructions relatively simple for you, as most of the work has been done in my script. Check that thread I linked you to later on in the day.

    -Stephen

  5. #5
    Just burned his ISO
    Join Date
    Mar 2008
    Posts
    16

    Default

    Awesome, I really appreciate the help

  6. #6

    Default

    Quote Originally Posted by phoenix910 View Post
    OK, here it is:
    Download the tar.gz file from here:
    http://www.4shared.com/file/39843919...ified=76240773
    This is an archive of the 8185 drivers, which work for the 8185 obviously, but also for the 8187. Download it to your /root/ folder. Then open up a console and type:
    tar xfz wireless.tar.gz
    ./wireless.sh

    This will install the drivers for you and start your device. These definitely work for the PCI versions, and assuming they would be the same for USB, but if not, give me a hollar. After those two have completed, do the usual and type:
    iwconfig #to find out wireless interface names
    airmon-ng stop wlan0 #this is the probably interface name
    airmon-ng start wlan0 #again, same thing

    And then you should be ready to go.

    -Stephen
    There you go, in case you were too lazy to look at the other one :P

    -Stephen

  7. #7
    Just burned his ISO
    Join Date
    Mar 2008
    Posts
    16

    Default

    Thanks for the quick reply. After following your instructions, I'm not sure if it's something I did wrong but this what I get from the console:

    bt ~ # tar xfz wireless.tar.gz
    bt ~ # ./wireless.sh
    ./ieee80211/
    ./ieee80211/ieee80211_module.c
    ./ieee80211/ieee80211_rx.c
    ./ieee80211/tags
    ./ieee80211/Makefile
    ./ieee80211/ieee80211_crypt_tkip.c
    ./ieee80211/ieee80211_softmac.c
    ./ieee80211/readme
    ./ieee80211/ieee80211_crypt_ccmp.c
    ./ieee80211/ieee80211.h
    ./ieee80211/ieee80211_tx.c
    ./ieee80211/ieee80211_softmac_wx.c
    ./ieee80211/ieee80211_crypt.h
    ./ieee80211/ieee80211_wx.c
    ./ieee80211/license
    ./ieee80211/ieee80211_crypt_wep.c
    ./ieee80211/ieee80211_crypt.c
    rtl8185/
    rtl8185/README.adhoc
    rtl8185/r8180_sa2400.h
    rtl8185/Makefile
    rtl8185/copying
    rtl8185/README.master
    rtl8185/r8180.h
    rtl8185/install
    rtl8185/r8180_max2820.h
    rtl8185/r8180_max2820.c
    rtl8185/r8180_rtl8225.h
    rtl8185/r8180_wx.h
    rtl8185/authors
    rtl8185/tags
    rtl8185/r8180_pm.c
    rtl8185/r8180_hw.h
    rtl8185/r8180_gct.c
    rtl8185/r8180_gct.h
    rtl8185/r8180_rtl8225.c
    rtl8185/readme
    rtl8185/r8180_93cx6.h
    rtl8185/ieee80211.h
    rtl8185/license
    rtl8185/r8180_pm.h
    rtl8185/changes
    rtl8185/r8180_rtl8225z2.c
    rtl8185/r8180_wx.c
    rtl8185/r8180_rtl8255.c
    rtl8185/r8180_93cx6.c
    rtl8185/r8180_sa2400.c
    rtl8185/r8180_core.c
    rtl8185/r8180_rtl8255.h
    rtl8185/ieee80211_crypt.h
    rm -f *.mod.c *.mod *.o .*.cmd *.ko
    rm -rf /root/rtl8185_linux_26.1027.0823.2007/ieee80211/tmp
    make -C /lib/modules/2.6.21.5/build M=/root/rtl8185_linux_26.1027.0823.2007/ieee80211 CC=gcc modules
    make: *** /lib/modules/2.6.21.5/build: No such file or directory. Stop.
    make: *** [modules] Error 2
    rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
    rm -rf /root/rtl8185_linux_26.1027.0823.2007/rtl8185/tmp
    make -C /lib/modules/2.6.21.5/build M=/root/rtl8185_linux_26.1027.0823.2007/rtl8185 CC=gcc modules
    make: *** /lib/modules/2.6.21.5/build: No such file or directory. Stop.
    make: *** [modules] Error 2
    insmod: can't read 'ieee80211_crypt-rtl.ko': No such file or directory
    insmod: can't read 'ieee80211_crypt_wep-rtl.ko': No such file or directory
    insmod: can't read 'ieee80211_crypt_tkip-rtl.ko': No such file or directory
    insmod: can't read 'ieee80211_crypt_ccmp-rtl.ko': No such file or directory
    insmod: can't read 'ieee80211-rtl.ko': No such file or directory
    insmod: can't read 'r8180.ko': No such file or directory
    wlan0: ERROR while getting interface flags: No such device
    bt ~ # iwconfig
    lo no wireless extensions.

    eth0 no wireless extensions.

    bt ~ # airmon-ng start wlan0


    Interface Chipset Driver


    I checked and rechecked and the device is a realtek 8500l 54m wireless network adapter. Any help?

  8. #8

    Default

    OK, well, yes, something has gone wrong. Before we proceed, is it USB or PCI or PCMCIA? Try again, but download drivers from here:
    http://www.opendrivers.com/driver/23...-download.html
    And follow the install instructions within the downloaded file. Should be fairly similar, but just in case. If you have trouble with that, let me know.

    From the read me to build:
    --This driver supports RealTek RTL8187 Wireless LAN driver for Linux kernel 2.6.x.
    //-----------------------------------------------------------------------------
    // Files description.
    //-----------------------------------------------------------------------------
    1. Module source code:
    ./stack.tar.gz
    ./drv.tar.gz

    2. Script ot build the modules
    ./build

    3. Script to load/unload modules
    ./load
    ./unload

    4. Supplicant source code:
    ./wpa_supplicant-0.3.8.tar.gz

    5. Example of supplicant configuration file:
    ./wpa1.conf


    //-----------------------------------------------------------------------------

    // Build source code and insert modules.

    //-----------------------------------------------------------------------------

    1. Unpack source code:
    tar -zxvf stack.tar.gz
    tar -zxvf drv.tar.gz

    2. Build and insert modules:
    cd ieee80211/
    make clean;make
    insmod ieee80211_crypt.ko
    insmod ieee80211_crypt_wep.ko
    insmod ieee80211_crypt_tkip.ko
    insmod ieee80211_crypt_ccmp.ko
    insmod ieee80211-r8180.ko
    cd -
    cd beta-8187/
    make clean;make
    insmod r8187.ko


    //-----------------------------------------------------------------------------
    // Remove modules.
    //-----------------------------------------------------------------------------

    1. Remove related modules:
    rmmod r8187.ko
    rmmod ieee80211-r8180.ko
    rmmod ieee80211_crypt_ccmp.ko
    rmmod ieee80211_crypt_tkip.ko
    rmmod ieee80211_crypt_wep.ko
    rmmod ieee80211_crypt.ko

    //-----------------------------------------------------------------------------
    // Enable the device.
    //-----------------------------------------------------------------------------

    1. Make sure RTL8187 dongle is plugged.
    2. Enalbe the device:
    ifconfig wlan0 up

    //-----------------------------------------------------------------------------
    // Disable the device.
    //-----------------------------------------------------------------------------

    1. Disable the device:
    ifconfig wlan0 down

    //-----------------------------------------------------------------------------
    // Join a BSS and set up IP address.
    //-----------------------------------------------------------------------------

    1. Scan BSS available:
    iwlist wlan0 scan
    2. Join a BSS:
    iwconfig wlan0 essid SSID_TO_JOIN
    3. Set up IP address of the device:
    ifconfig wlan0 IP_ADDRESS

    //-----------------------------------------------------------------------------
    // WPA supplicant
    //-----------------------------------------------------------------------------

    1. Unpack source code of WPA supplicant:
    tar -zxvf wpa_supplicant-0.3.8.tar.gz
    cd wpa_supplicant-0.3.8

    2. Create .config file:
    cp defconfig .config

    3. Edit .config file, uncomment the following line:
    #CONFIG_DRIVER_IPW=y.

    4. Build WPA supplicant:
    make

    5. Edit wpa_supplicant.conf to set up SSID and its passphrase.
    For example, the following setting in "wpa1.conf" means SSID to join is "BufAG54_Ch6"
    and its passphrase is "87654321".

    network={
    ssid="BufAG54_Ch6"
    proto=WPA
    key_mgmt=WPA-PSK
    pairwise=CCMP TKIP
    group=CCMP TKIP WEP104 WEP40
    psk="87654321"
    priority=2
    }

    6. Execute WPA supplicant (Assume 8187 and related modules had been loaded):
    ./wpa_supplicant -D ipw -c wpa1.conf -i wlan0 &
    -Stephen

  9. #9
    Just burned his ISO
    Join Date
    Mar 2008
    Posts
    16

    Default

    It is a PCI card, apparently my keyboard hung on my last post because it shouldve said Realtek RTL8185 54mbps wireless lan adapter..and not whatever the heck I ended up typing, I will give those drivers a shot and let you know how it went

  10. #10
    Just burned his ISO
    Join Date
    Mar 2008
    Posts
    16

    Default

    Ok, I've downloaded the driver and unpacked it, when i try to make the first module i get the following:

    Code:
    bt rtl8187 # cd ieee80211/
    bt ieee80211 # make clean;make
    rm -f *.mod.c *.mod *.o .*.cmd *.ko
    rm -rf /root/rtl8187/ieee80211/tmp
    make -C /lib/modules/2.6.21.5/build M=/root/rtl8187/ieee80211 modules
    make: *** /lib/modules/2.6.21.5/build: No such file or directory.  Stop.
    make: *** [modules] Error 2
    bt ieee80211 # insmod ieee80211_crypt.ko
    insmod: can't read 'ieee80211_crypt.ko': No such file or directory
    bt ieee80211 #
    Is there a reason why I'm unable to build the files. This is the same error I get when I use the script that you sent. I apologize if I'm being a pain.

Page 1 of 4 123 ... LastLast

Posting Permissions

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