How can I get my wifi card TP-Link TL-WN722N to work in Kali-Linux VMware 12

483

Your USB wifi already listed through lsusb command the ID 2357:010c is IDvendor and the IDproduct of the TP-Link TL-WN722N USB wifi.

2 ways to install the driver :

The wired connection is required

1) open the terminal and run the following command:

apt-get update
apt-get upgrade
apt-get dist-upgrade
reboot

then

apt-get install dkms git
git clone https://github.com/lwfinger/rtl8188eu.git
dkms add ./rtl8188eu
dkms build 8188eu/1.0
dkms install 8188eu/1.0
modprobe 8188eu

2) by compiling the source

apt-get update
apt-get upgrade
apt-get dist-upgrade
reboot

Use the command apt-get install gcc make linux-headers-$(uname -r) to install the appropriate linux-headers pacakge , then run :

git clone https://github.com/lwfinger/rtl8188eu.git
cd rtl8188eu
make
make install
modprobe 8188eu
Share:
483
Frenchi In LA
Author by

Frenchi In LA

Updated on September 18, 2022

Comments

  • Frenchi In LA
    Frenchi In LA over 1 year

    I'm new in PL/SQL, and Got a code from an old program that check if a record exist in a table something like :

         oRetValue := ' ';
      SELECT f1
      INTO oRetValue
      FROM t1
      WHERE w1='w1' 
      AND code  = iCode;
    

    it was ok before, but now the application has more than 500 rows to verify. I'd like to pass a string with all the code separated by comma, and the procedure will loop and return all icode not found. Any help would be greatly appreciated.

    • William Robertson
      William Robertson over 7 years
      Splitting a string into separate values is going to be the hard part, as it's not native function in PL/SQL the way it is in JavaScript etc. Couldn't you use a collection?
    • Анатолий Предеин
      Анатолий Предеин over 7 years
      show your code to select with 'where comma separated string' clause
    • Frenchi In LA
      Frenchi In LA over 7 years
      Yes I can use collection. the call is coming from C# method, so I can make all kind of parameters.
    • Martin Schapendonk
      Martin Schapendonk over 7 years
      Throw them in a global temporary table and query select f1 from temp_table minus select f1 from t1 ...
    • phonetic_man
      phonetic_man over 7 years
      I would not recommend passing a comma separated string as an input parameter to the procedure. As Martin has suggested it would be better if you could insert the iCode values in a global temporary table. Also, in what format are you expecting the procedure output. Again here I would not recommend a comma separated string value. You procedure could insert the values which were not found in another global temporary table which you can use in your code.
    • William Robertson
      William Robertson over 7 years
      How do you want to 'return' these values? Should this be a function that returns a collection, or do you want to process each item further within the procedure?
    • Frenchi In LA
      Frenchi In LA over 7 years
      I opted for passing collection, then using for while. I'm looking for the way to pass an array from C# using OracleCommand.
  • Gary_W
    Gary_W over 7 years
    REGEX's of the format '[^,]+' (unfortunately commonly seen for parsing delimited lists) fail when there is a NULL element and should be avoided. Please see stackoverflow.com/questions/25648653/… for an alternative that handles NULLs.
  • Gary_W
    Gary_W over 7 years
    Oops meant to share this link which gives a better explanation of the regex: stackoverflow.com/a/31464699/2543416
  • Josco
    Josco over 6 years
    Thanks GAD3R.. but i am getting a certificate error while cloning. root@kali:~# git clone github.com/lwfinger/rtl8188eu.git Cloning into 'rtl8188eu'... fatal: unable to access 'github.com/lwfinger/rtl8188eu.git': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  • GAD3R
    GAD3R over 6 years
    @Josco see this answer stackoverflow.com/a/35824116/5848185
  • Mark Deven
    Mark Deven over 5 years
    never mind my sources file was empty (see this link if anyone else experiences this: unix.stackexchange.com/questions/465465/… )
  • GAD3R
    GAD3R over 5 years