7

Recently I installed Ubuntu 16.04 but cant get the usb wifi adapter to work properly , can anyone help me?

When wifi adpater is plugged , the lsusb output:

Bus 001 Device 003: ID 2357:0109
Bus 001 Device 002: ID 0e0f:000b VMware, Inc. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
Bus 002 Device 004: ID 0e0f:0008 VMware, Inc. 
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

When wifi adapter is unplugged , the lsusb output:

Bus 001 Device 002: ID 0e0f:000b VMware, Inc. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 0e0f:0008 VMware, Inc. 
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
hellozee
  • 419

2 Answers2

7

I was going through the same problem. Here is how to solve it, even though it doesn't solve the nameless problem:

If you have wired internet available to your problem PC

  1. Follow this answer, which adds Pilot6's rtlwifi PPA to your sistem and installs the required rtl8192eu-dkms package.

If you have no internet access in your computer

  1. Find another computer with internet access to download the rtl8192eu-dkms package manually.
  2. Access https://launchpad.net/~hanipouspilot/+archive/ubuntu/rtlwifi
  3. Click on "View package details"
  4. Filter your Ubuntu codename (16.04 LTS is Xenial).
  5. Click on the triangle to open more options of "rtl8192eu-dkms - 4.4"
  6. Download rtl8192eu-dkms_4.4_all.deb.
  7. Transfer this file to your target PC
  8. Install the file on your target PC, either through the Software Center or the Terminal (by issuing dpkg -i <filename> in the appropriate folder).
  9. Re-plug your dongle.

Here's a screenshot to better show the location of the download link:

Source of image: https://launchpad.net/~hanipouspilot/+archive/ubuntu/rtlwifi/+packages?field.name_filter=&field.status_filter=published&field.series_filter=xenial

deb highlighted in blue

  • @DavidFoerster You are wrong. The system does see the device. It is 2357:0109 – Pilot6 Sep 15 '16 at 16:49
  • it does see the device , it just doesn't recognise it , installing the drive should add the required udev config to have lsusb identify it – Amias Sep 15 '16 at 16:50
  • This is a correct answer. You can use my PPA. See the last comment under your question. – Pilot6 Sep 15 '16 at 16:52
  • @Waldir Leoncio I do not have internet on my computer. I followed your answer up to #8 but it resulted in package dkms not installed . Any help? – user278121 Sep 29 '16 at 09:08
  • @user278121, what is the terminal command you issued and what was the output? – Waldir Leoncio Sep 29 '16 at 09:10
  • I copied the file rtl8192eu-dkms_4.4_all.deb in the Downloads folder of the target PC. cd into Downloads folder and ran this command: sudo dpkg -i rtl8192eu-dkms_4.4_all.deb – user278121 Sep 29 '16 at 09:14
  • Looks right. What was the output? Alternatively, try installing it by double-clicking on it. This should open the installer. – Waldir Leoncio Sep 29 '16 at 09:21
  • This was the output. `(Reading database ... 173068 files and directories currently installed.) Preparing to unpack rtl8192eu-dkms_4.4_all.deb ... Unpacking rtl8192eu-dkms (4.4) over (4.4) ... dpkg: dependency problems prevent configuration of rtl8192eu-dkms: rtl8192eu-dkms depends on dkms (>= 1.95); however: Package dkms is not installed.

    dpkg: error processing package rtl8192eu-dkms (--install): dependency problems - leaving unconfigured Errors were encountered while processing: rtl8192eu-dkms`

    – user278121 Sep 29 '16 at 09:40
  • When I tried double-clicking, the Software Center window appeared but clicking on the Install button from there didn't change anything on the screen. – user278121 Sep 29 '16 at 09:50
  • @user278121, well from "dependency problems" it seems like you're missing a package required by dkms to be installed. I'd recommend checking into that. Are you on 64 bits? – Waldir Leoncio Sep 29 '16 at 10:07
  • I installed the dkms package from https://launchpad.net/ubuntu/+source/dkms and then following your answer worked. The internet is now working fine. Thanks for all your help. – user278121 Sep 29 '16 at 10:15
  • @user278121. That is awesome, please remember to upvote! – Waldir Leoncio Sep 29 '16 at 10:17
  • @Pilot6 do you know of a working version for TL-WN823N US v3 by chance? These packages install but can't associate with a network. – emkman Jan 01 '19 at 01:04
6

The driver for this dongle can be installed by

sudo add-apt-repository ppa:hanipouspilot/rtlwifi
sudo apt update
sudo apt install rtl8192eu-dkms
Pilot6
  • 90,100
  • 91
  • 213
  • 324
  • Tested on 16.04 x64, kernel 4.4.0-36. It works great for me. My dongle: TP-LINK TL-WN823N(EU) "VER 2.0". – gorlok Sep 16 '16 at 23:43