Find the answer to your Linux question:
Results 1 to 3 of 3
I have Backtrack 3 on a hard drive on a laptop. Well, I noticed the day I poweroff" then turned it on, my network card wasn't working. I tried ./makedrv ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2009
    Posts
    12

    Everytime I reboot, rtl8185 doesnt work.


    I have Backtrack 3 on a hard drive on a laptop.

    Well, I noticed the day I poweroff" then turned it on, my network card wasn't working.

    I tried ./makedrv again and then ./wlan0up
    and it said driver existed. Well, obviously it exists.

    So, then I reformated and re installed kernel and then card. I'm afraid to turn it off because I don't want to do it again.

    Am I missing something? Do I need to edit a file to automatically start r8187 driver?

  2. #2
    Linux Guru bigtomrodney's Avatar
    Join Date
    Nov 2004
    Location
    Ireland
    Posts
    6,133
    Maybe the module isn't being loaded. You can put an entry for it in /etc/modules if it's not already there. If you installed it manually and missed this step this is most likely the problem.

    Check the list of currently listed modules now with lspsci, maybe pipe it out to a file. Then when you reboot repeat this and check to see what modules are missing (I'm guessing just r8187)

    Code:
    /sbin/lspci > ~/Desktop/modules1.txt
    <reboot>, then repeat outputting to a different file
    Code:
    /sbin/lspci > ~/Desktop/modules2.txt
    Compare the lists, if it's not loading then add it to /etc/modules.

  3. #3
    Just Joined!
    Join Date
    Jul 2009
    Posts
    12
    Okay. I did what you told me to and they both came out the same.
    The internet card did not load up at boot.

    Code:
    00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
    00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
    00:02.0 CardBus bridge: Texas Instruments PCI1251A
    00:02.1 CardBus bridge: Texas Instruments PCI1251A
    00:06.0 Multimedia audio controller: Cirrus Logic CS 4610/11 [CrystalClear SoundFusion Audio Accelerator] (rev 01)
    00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
    00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
    00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
    00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
    01:00.0 VGA compatible controller: Neomagic Corporation NM2200 [MagicGraph 256AV] (rev 20)
    06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8185 IEEE 802.11a/b/g Wireless LAN Controller (rev 20)
    Bottom one.
    Now what do I do? How do I start it?

    Everytime I reboot, my rtl8185 folder always deletes. It's in etc, and dev.

    Here's my log in terminal
    Code:
    bt rtl8185 # cd /etc/rtl8185/rtl8185_linux_26.1027.0823.2007
    bt rtl8185_linux_26.1027.0823.2007 # wireless.sh
    ./wireless.sh: line 1: cd: /root/rtl8185_linux_26.1027.0823.2007: No such file or directory
    ./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 /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/tmp
    make -C /lib/modules/2.6.21.5/build M=/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211 CC=gcc modules
    make[1]: Entering directory `/usr/src/linux-2.6.21.5'
      CC [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac.o
    /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac.c: In function 'ieee80211_softmac_init':
    /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac.c:2236: warning: assignment from incompatible pointer type
    /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac.c:2237: warning: assignment from incompatible pointer type
    /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac.c:2238: warning: assignment from incompatible pointer type
    /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac.c:2239: warning: assignment from incompatible pointer type
    /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac.c:2240: warning: assignment from incompatible pointer type
    /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac.c:2241: warning: assignment from incompatible pointer type
      CC [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_rx.o
      CC [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_tx.o
      CC [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_wx.o
      CC [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_module.o
      CC [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac_wx.o
      CC [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt.o
      CC [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.o
    /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c: In function 'ieee80211_ccmp_aes_encrypt':
    /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c:88: warning: passing argument 1 of 'crypto_cipher_encrypt_one' from incompatible pointer type
    /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c: In function 'ieee80211_ccmp_init':
    /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c:110: warning: assignment from incompatible pointer type
    /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c:127: warning: passing argument 1 of 'crypto_free_cipher' from incompatible pointer type
    /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c: In function 'ieee80211_ccmp_deinit':
    /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c:144: warning: passing argument 1 of 'crypto_free_cipher' from incompatible pointer type
    /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c: In function 'ieee80211_ccmp_set_key':
    /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c:422: warning: passing argument 1 of 'crypto_cipher_setkey' from incompatible pointer type
      CC [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_tkip.o
      CC [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_wep.o
      LD [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211-rtl.o
      LD [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt-rtl.o
      LD [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_wep-rtl.o
      LD [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_tkip-rtl.o
      LD [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp-rtl.o
      Building modules, stage 2.
      MODPOST 5 modules
      CC      /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211-rtl.mod.o
      LD [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211-rtl.ko
      CC      /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt-rtl.mod.o
      LD [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt-rtl.ko
      CC      /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp-rtl.mod.o
      LD [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp-rtl.ko
      CC      /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_tkip-rtl.mod.o
      LD [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_tkip-rtl.ko
      CC      /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_wep-rtl.mod.o
      LD [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_wep-rtl.ko
    make[1]: Leaving directory `/usr/src/linux-2.6.21.5'
    rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
    rm -rf /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/tmp
    make -C /lib/modules/2.6.21.5/build M=/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185 CC=gcc modules
    make[1]: Entering directory `/usr/src/linux-2.6.21.5'
      CC [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.o
    /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:82:1: warning: "rdtsc" redefined
    In file included from include/asm/processor.h:17,
                     from include/asm/thread_info.h:16,
                     from include/linux/thread_info.h:21,
                     from include/linux/preempt.h:9,
                     from include/linux/spinlock.h:49,
                     from include/linux/module.h:9,
                     from /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.h:27,
                     from /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:61:
    include/asm/msr.h:69:1: warning: this is the location of the previous definition
    /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c: In function 'rtl8180_init':
    /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:3159: warning: assignment from incompatible pointer type
    /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:3522: warning: passing argument 2 of 'request_irq' from incompatible pointer type
    /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c: At top level:
    /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:579: warning: 'r8180_get_wireless_stats' defined but not used
      CC [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_sa2400.o
      CC [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_93cx6.o
      CC [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_wx.o
      CC [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_max2820.o
      CC [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_gct.o
      CC [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_rtl8225.o
      CC [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_rtl8225z2.o
      CC [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_rtl8255.o
      LD [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.o
      Building modules, stage 2.
      MODPOST 1 modules
    WARNING: "ieee80211_softmac_stop_protocol_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "free_ieee80211_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_wx_get_wap_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_wake_queue_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_rx_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_wx_get_mode_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_is_shortslot" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_wx_set_freq_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_wx_get_name_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_wx_get_rate_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_wx_set_rate_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_ps_tx_ack" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_wx_get_freq_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_is_54g" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_stop_queue_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_wx_set_scan_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_wx_get_essid_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_wx_get_scan_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_wpa_supplicant_ioctl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_wx_set_mode_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_get_beacon" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_wx_set_rawtx_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_wx_set_encode_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_stop_protocol_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_wx_set_wap_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_wx_get_power_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_wx_get_encode_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_softmac_start_protocol_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_wlan_frequencies_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_wx_set_power_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "alloc_ieee80211_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_reset_queue" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_wx_set_essid_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
    WARNING: "ieee80211_start_protocol_rtl" [/etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko] undefined!
      CC      /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.mod.o
      LD [M]  /etc/rtl8185/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko
    make[1]: Leaving directory `/usr/src/linux-2.6.21.5'
    insmod: error inserting 'ieee80211_crypt-rtl.ko': -1 File exists
    insmod: error inserting 'ieee80211_crypt_wep-rtl.ko': -1 Unknown symbol in module
    insmod: error inserting 'ieee80211_crypt_tkip-rtl.ko': -1 Unknown symbol in module
    insmod: error inserting 'ieee80211_crypt_ccmp-rtl.ko': -1 Unknown symbol in module
    insmod: error inserting 'ieee80211-rtl.ko': -1 File exists
    insmod: error inserting 'r8180.ko': -1 File exists
    wlan0: ERROR while getting interface flags: No such device
    I know it's a lot im really sorry.

  4. $spacer_open
    $spacer_close

Posting Permissions

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