Installation d'une clé wifi sous ubuntu 18.04

angeleandrieuxgallet -  
 angeleandrieuxgallet -
Hello,
could someone help me install a wifi key on Linux Ubuntu 18.04? I've searched a lot in forums but I lack the skills. My model is RTL8811/RTL8812

thank you very much!

Configuration: Linux / Firefox 84.0

8 answers

  1. jns55
     
    Hello,
    First, give the result of the command
    lsusb
    typed in the terminal.
    0
  2. angeleandrieuxgallet
     
    Hello!
    Here it is:
    Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
    Bus 001 Device 005: ID 0457:1026 Silicon Integrated Systems Corp.
    Bus 001 Device 002: ID 8087:8000 Intel Corp.
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 002 Device 004: ID 13d3:5195 IMC Networks
    Bus 002 Device 005: ID 13d3:3402 IMC Networks
    Bus 002 Device 002: ID 0bda:b812 Realtek Semiconductor Corp.
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    0
    1. jns55
       
      It's RTL8812BU...
      There are answers on the Ubuntu.fr forum, but the site isn't responding at the moment. Check back later maybe.
      You'll have to go through compiling the driver; I hope that doesn't scare you.
      https://forum.ubuntu-fr.org/viewtopic.php?id=2041060
      0
  3. angeleandrieuxgallet
     
    I'm not sure what compiling the driver means. I understood that I needed to install the ndiswrapper package? It's meant to make Windows .inf files compatible? I really don't know how to proceed, that's why I'm looking for help.
    0
    1. jns55
       
      Here is the solution provided on the link above:

      1: Fetch the driver from a git:

      mkdir ~/test_driver
      cd ~/test_driver
      git clone https://github.com/cilynx/rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959.git

      If an error occurs, do:

      sudo apt update
      sudo apt install git

      then rerun the last command from 1)


      2) Open a terminal in the folder created by git, it should normally be the only one in the test_driver folder

      Do

      sudo make backup_rtlwifi

      to perform a backup. Then retrieve this backup with:

      sudo cp /lib/modules/$(uname -r)/kernel/drivers/staging/backup_rtlwifi_driver.tar ~

      3)
      Perform the following operations (described in the git) while having a terminal open in the folder created by git

      VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf)
      sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER}
      sudo dkms add -m rtl88x2bu -v ${VER}
      sudo dkms build -m rtl88x2bu -v ${VER}
      sudo dkms install -m rtl88x2bu -v ${VER}
      sudo modprobe 88x2bu

      If the last command returns nothing, the driver is normally installed. A reboot may be necessary

      It's a bit complex, I agree, but there is no other solution.
      You can use copy/paste in the terminal for the lines one by one.
      Hoping that the compilation tools are already installed...
      0
  4. angeleandrieuxgallet
     
    Thank you very much. I had already executed all the initial commands. Error message so I did sudo update etc
    here is the result:
    jitsi-meet depends on jitsi-meet-prosody (= 1.0.4466-1); however:
    The package jitsi-meet-prosody is not yet configured.

    dpkg: error processing package jitsi-meet (--configure):
    dependency problems - left unconfigured
    dpkg: dependency problems prevent the configuration of jitsi-meet-turnserver:
    jitsi-meet-turnserver depends on jitsi-meet-prosody; however:
    The package jitsi-meet-prosody is not yet configured.

    dpkg: error processing package jitsi-meet-turnserver (--configure):
    dependency problems - left unconfigured
    No "apport" report was created because the error message indicates an error due to a previous failure.
    No "apport" report was created because the error message indicates an error due to a previous failure.
    Errors were encountered during the execution:
    jitsi-meet-prosody
    jitsi-meet
    jitsi-meet-turnserver
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    0
  5. informaticienNormand
     
    Hello,
    If I may give you some advice, don't try to get Wi-Fi with a USB stick; it won't work or at best will work but will slow down your PC. I rather recommend connecting your PC with a powerline adapter.

    Best regards
    0
    1. jns55
       
      If I can give you some advice, don't try to use Wi-Fi with a USB dongle; it won't work, or in the worst-case scenario, it will work but will slow down your PC.

      Where did you see that?
      USB Wi-Fi dongles contain the same chipsets as PCI Wi-Fi cards. They work just as well, and their speed is the same, often even higher than that of a powerline adapter. The only problem can come from the quality of the Wi-Fi signal emitted by the router, which can be affected by distance, walls, or floors. However, in terms of cost, it's not the same at all; a good powerline adapter costs 4 to 5 times the price of a good Wi-Fi dongle.
      0
      1. angeleandrieuxgallet > jns55
         
        I don't know, but since I've already bought 2 keys, I would prefer to try installing this one. Furthermore, I have an intellectual curiosity to understand how it works...
        Thank you
        0
  6. angeleandrieuxgallet
     
    ah... really? What is a powerline adapter?
    I was trying to install one because I'm renting an apartment where the router is on 5G and too far from my computer, so there's no way, it doesn't show up.
    0
  7. angeleandrieuxgallet
     

    angele@angele-S301LA:~$ mkdir ~/test_driver
    mkdir: unable to create directory «/home/angele/test_driver»: File exists
    angele@angele-S301LA:~$ cd ~/test_driver
    angele@angele-S301LA:~/test_driver$ git clone https://github.com/cilynx
    Cloning into 'cilynx'...
    remote: Not Found
    fatal: repository 'https://github.com/cilynx/' not found
    angele@angele-S301LA:~/test_driver$
    0
    1. angeleandrieuxgallet > zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention  
       
      Alright! Here’s the response
      angele@angele-S301LA:~/test_driver$ git clone https://github.com/cilynx/rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959
      fatal: destination path 'rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959' already exists and is not an empty directory.
      angele@angele-S301LA:~/test_driver$
      0
    2. zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention   6 501 > angeleandrieuxgallet
       
      So the directory already exists.
      You need to enter it with the command:
      cd rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959/

      And continue with the rest of the tutorial posted above, starting from
      sudo make backup_rtlwifi
      0
    3. angeleandrieuxgallet > zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention  
       
      I'm sorry, I don't understand anything...
      I ran the command:
      angele@angele-S301LA:~$ sudo make backup_rtlwifi
      [sudo] Password for angele:
      make: *** No rule to make target 'backup_rtlwifi'. Stop.
      angele@angele-S301LA:~$ sudo cp /lib/modules/$(uname -r)/kernel/drivers/staging/backup_rtlwifi_driver.tar ~
      angele@angele-S301LA:~$
      What should I do with this?
      0
    4. zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention   6 501 > angeleandrieuxgallet
       
      Apparently, this file does not exist in this new version.

      Move on to the next step:
      VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf)
      sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER}
      sudo dkms add -m rtl88x2bu -v ${VER}
      sudo dkms build -m rtl88x2bu -v ${VER}
      sudo dkms install -m rtl88x2bu -v ${VER}
      sudo modprobe 88x2bu
      0
  8. angeleandrieuxgallet
     
    Regarding the CPL, thank you for your proposal but I do not have access to the modem which is with my landlord, so that doesn't seem possible.
    0