Results 1 to 5 of 5

Thread: Plz Help ! Cannot install Realtek 8191SU USB Wireless lan driver

  1. #1
    Join Date
    2014-Aug
    Posts
    1

    Unhappy Plz Help ! Cannot install Realtek 8191SU USB Wireless lan driver

    When i tries to do "sudo make" command in terminal it shows
    Code:
    make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.14-kali1-amd64/build M=/root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405  modules
    make[1]: Entering directory `/usr/src/linux-headers-3.14-kali1-amd64'
      CC [M]  /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.o
    In file included from /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:23:0:
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/osdep_service.h: In function ‘_init_timer’:
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/osdep_service.h:151:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    In file included from /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:23:0:
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/osdep_service.h: In function ‘thread_enter’:
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/osdep_service.h:393:2: error: implicit declaration of function ‘daemonize’ [-Werror=implicit-function-declaration]
    In file included from /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_ht.h:25:0,
                     from /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h:67,
                     from /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:24:
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h: In function ‘get_da’:
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:350:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:350:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:353:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:353:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:356:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:356:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:359:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:359:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h: In function ‘get_sa’:
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:374:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:374:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:377:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:377:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:380:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:380:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:383:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:383:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h: In function ‘get_hdr_bssid’:
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:397:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:397:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:400:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:400:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:403:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:403:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    In file included from /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h:70:0,
                     from /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:24:
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_cmd.h: At top level:
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_cmd.h:107:25: error: field ‘event_tasklet’ has incomplete type
    In file included from /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h:72:0,
                     from /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:24:
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_xmit.h:355:24: error: field ‘xmit_tasklet’ has incomplete type
    In file included from /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h:73:0,
                     from /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:24:
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_recv.h:205:24: error: field ‘recv_tasklet’ has incomplete type
    In file included from /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h:73:0,
                     from /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:24:
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_recv.h: In function ‘rxmem_to_recvframe’:
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_recv.h:435:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_recv.h:435:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c: In function ‘_init_cmd_priv’:
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:93:75: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:101:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c: In function ‘_init_evt_priv’:
    /root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:135:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    cc1: some warnings being treated as errors
    make[4]: *** [/root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.o] Error 1
    make[3]: *** [_module_/root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405] Error 2
    make[2]: *** [sub-make] Error 2
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-3.14-kali1-amd64'
    make: *** [modules] Error 2
    What should i do ?
    Please help me !

  2. #2
    Join Date
    2014-Jul
    Posts
    9
    Hi

    Sorry if I am trolling on your post but are you using any virtualision for you Kali installation or are you installaing directly on to a pc? I have the exact same usb and it works fine. I have a windows 7 host and Kali as guest with vmware workstation 10 and my virtulisation platform. I don't think it supports aircrack-ng but I am still looking into this.
    Last edited by Kazuya; 2014-09-12 at 09:40.

  3. #3
    Join Date
    2014-Jun
    Location
    Greece
    Posts
    133
    Hi there!

    Maybe I'm wrong but I thing Kazuya is right. Realtek 8191SU it should supported by Kali. You don't have to compile anything. Only the firmware it's required and it's present. What dmesg / iwconfig / lsusb show you?
    Security always begins with personal responsibility. - quietman7

  4. #4
    Join Date
    2014-Jul
    Posts
    9
    Firmware? where do I get that please supply link if possible

    dmesg

    [ 481.204253] r8712u: module is from the staging directory, the quality is unknown, you have been warned.
    [ 481.208686] r8712u: Staging version
    [ 481.208766] r8712u: register rtl8712_netdev_ops to netdev_ops
    [ 481.208779] usb 2-1: r8712u: USB_SPEED_HIGH with 4 endpoints
    [ 481.224479] usb 2-1: r8712u: Boot from EFUSE: Autoload OK
    [ 495.600544] usb 2-1: r8712u: CustomerID = 0x0000
    [ 495.600556] usb 2-1: r8712u: MAC Address from efuse = 00:02:72:92:04:cf
    [ 495.600562] usb 2-1: r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
    [ 495.601258] usbcore: registered new interface driver r8712u
    [ 495.710731] usb 2-1: firmware: direct-loading firmware rtlwifi/rtl8712u.bin
    [ 496.703463] r8712u 2-1:1.0 wlan0: 1 RCR=0x153f00e
    [ 496.711066] r8712u 2-1:1.0 wlan0: 2 RCR=0x553f00e
    [ 496.868237] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

    root@kali:~# iwconfig
    eth0 no wireless extensions.

    lo no wireless extensions.

    wlan0 unassociated Nickname:"rtl_wifi"
    Mode:Managed 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

    root@kali:~# lsusb
    Bus 002 Device 002: ID 0bda:8172 Realtek Semiconductor Corp. RTL8191SU 802.11n WLAN Adapter
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
    Bus 001 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
    Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

    Yes I am aware the the wireless card does not have an IP that is cause I have MAC address filtering on the wifi. I just want to get started on wifi cracking on my network but first I have to lock it down as much as possible to see how far I can get with trying to compromise it. Is this me jumping the gun by doing so?

  5. #5
    Join Date
    2014-Jun
    Location
    Greece
    Posts
    133
    Quote Originally Posted by Kazuya View Post
    Firmware? where do I get that please supply link if possible
    ....
    [ 495.600544] usb 2-1: r8712u: CustomerID = 0x0000
    [ 495.600556] usb 2-1: r8712u: MAC Address from efuse = 00:02:72:92:04:cf
    [ 495.600562] usb 2-1: r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
    [ 495.601258] usbcore: registered new interface driver r8712u
    [ 495.710731] usb 2-1: firmware: direct-loading firmware rtlwifi/rtl8712u.bin
    [ 496.703463] r8712u 2-1:1.0 wlan0: 1 RCR=0x153f00e
    [ 496.711066] r8712u 2-1:1.0 wlan0: 2 RCR=0x553f00e
    ........
    You don't have to download anything. It's already loaded and present. You can find it by doing:
    Code:
    locate rtl8712u.bin
    BTW if I/m not mistaken Realtek 8191SU doesn't support monitor mode. So, you couldn't use aircrack suite or something that requires injection.
    Last edited by Nick_the_Greek; 2014-09-15 at 15:30.
    Security always begins with personal responsibility. - quietman7

Similar Threads

  1. Can't install wi-fi driver for Realtek RTL8111/8168/8411
    By explorer in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2022-03-05, 18:06
  2. How do I install Realtek firmware for wireless?
    By Y4kuzi in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2014-07-01, 06:48
  3. Unable to get the realtek 8191su in Monitor Mode
    By flyinghaggis in forum TroubleShooting Archive
    Replies: 12
    Last Post: 2014-01-31, 08:49

Posting Permissions

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