Installing New WiFi USB

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
frostymusic
Level 5
Level 5
Posts: 502
Joined: Fri Jul 06, 2018 8:21 pm
Location: East Coast Canada

Re: Installing New WiFi USB

Post by frostymusic »

Hi Pierre, it was a "drivers included" but had to be compiled.

terry@terry-MS-7A39:~$ modprobe -c | grep -i 818b; rfkill list
alias pci:v000010ECd0000818Bsv*sd*bc*sc*i* rtl8192ee
alias usb:v0BDAp818Bd*dc*dsc*dp*icFFiscFFipFFin* rtl8xxxu
alias usb:v10C4p818Bd*dc*dsc*dp*ic*isc*ip*in* cp210x
alias vmbus:31600b0e13523449818b38d90ced39db hv_utils
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
terry@terry-MS-7A39:~$

I am starting over from scratch on this one.
frostymusic
Level 5
Level 5
Posts: 502
Joined: Fri Jul 06, 2018 8:21 pm
Location: East Coast Canada

Re: Installing New WiFi USB

Post by frostymusic »

Hi Pjtor

After following your instructions these are the results.

Code: Select all

terry@terry-MS-7A39:~$ mokutil --sb-state
SecureBoot disabled
Platform is in Setup Mode
terry@terry-MS-7A39:~$ sudo apt-get install git linux-headers-generic build-essential dkms
[sudo] password for terry:  
Reading package lists... Done
Building dependency tree       
Reading state information... Done
dkms is already the newest version (2.3-3ubuntu9.5).
git is already the newest version (1:2.17.1-1ubuntu0.4).
linux-headers-generic is already the newest version (4.15.0.62.64).
linux-headers-generic set to manually installed.
Suggested packages:
  g++-multilib g++-7-multilib gcc-7-doc libstdc++6-7-dbg libstdc++-7-doc
The following NEW packages will be installed:
  build-essential g++ g++-7 libstdc++-7-dev
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 9,049 kB of archives.
After this operation, 40.7 MB of additional disk space will be used.
Get:1 http://mirror.csclub.uwaterloo.ca/ubuntu bionic-updates/main amd64 libstdc++-7-dev amd64 7.4.0-1ubuntu1~18.04.1 [1,468 kB]
Get:2 http://mirror.csclub.uwaterloo.ca/ubuntu bionic-updates/main amd64 g++-7 amd64 7.4.0-1ubuntu1~18.04.1 [7,574 kB]
Get:3 http://mirror.csclub.uwaterloo.ca/ubuntu bionic-updates/main amd64 g++ amd64 4:7.4.0-1ubuntu2.3 [1,568 B]
Get:4 http://mirror.csclub.uwaterloo.ca/ubuntu bionic/main amd64 build-essential amd64 12.4ubuntu1 [4,758 B]
Fetched 9,049 kB in 1s (9,201 kB/s)         
Selecting previously unselected package libstdc++-7-dev:amd64.
(Reading database ... 342660 files and directories currently installed.)
Preparing to unpack .../libstdc++-7-dev_7.4.0-1ubuntu1~18.04.1_amd64.deb ...
Unpacking libstdc++-7-dev:amd64 (7.4.0-1ubuntu1~18.04.1) ...
Selecting previously unselected package g++-7.
Preparing to unpack .../g++-7_7.4.0-1ubuntu1~18.04.1_amd64.deb ...
Unpacking g++-7 (7.4.0-1ubuntu1~18.04.1) ...
Selecting previously unselected package g++.
Preparing to unpack .../g++_4%3a7.4.0-1ubuntu2.3_amd64.deb ...
Unpacking g++ (4:7.4.0-1ubuntu2.3) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../build-essential_12.4ubuntu1_amd64.deb ...
Unpacking build-essential (12.4ubuntu1) ...
Setting up libstdc++-7-dev:amd64 (7.4.0-1ubuntu1~18.04.1) ...
Setting up g++-7 (7.4.0-1ubuntu1~18.04.1) ...
Setting up g++ (4:7.4.0-1ubuntu2.3) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.4ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
terry@terry-MS-7A39:~$ git clone https://github.com/clnhub/rtl8192eu-linux.git
Cloning into 'rtl8192eu-linux'...
remote: Enumerating objects: 635, done.
remote: Total 635 (delta 0), reused 0 (delta 0), pack-reused 635
Receiving objects: 100% (635/635), 2.43 MiB | 9.00 MiB/s, done.
Resolving deltas: 100% (224/224), done.
terry@terry-MS-7A39:~$ cd rtl8192eu-linux
terry@terry-MS-7A39:~/rtl8192eu-linux$ sudo dkms add .

Creating symlink /var/lib/dkms/rtl8192eu/1.0/source ->
                 /usr/src/rtl8192eu-1.0

DKMS: add completed.
terry@terry-MS-7A39:~/rtl8192eu-linux$ sudo dkms install rtl8192eu/1.0

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' all KVER=4.15.0-54-generic.........................
Signing module:
 - /var/lib/dkms/rtl8192eu/1.0/4.15.0-54-generic/x86_64/module/8192eu.ko
Secure Boot not enabled on this system.
cleaning build area...

DKMS: build completed.

8192eu.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.15.0-54-generic/kernel/drivers/net/wireless//

depmod...

Backing up initrd.img-4.15.0-54-generic to /boot/initrd.img-4.15.0-54-generic.old-dkms
Making new initrd.img-4.15.0-54-generic
(If next boot fails, revert to initrd.img-4.15.0-54-generic.old-dkms image)
update-initramfs......

DKMS: install completed.
terry@terry-MS-7A39:~/rtl8192eu-linux$ echo "blacklist rtl8xxxu" | sudo tee /etc/modprobe.d/rtl8xxxu.conf
blacklist rtl8xxxu
terry@terry-MS-7A39:~/rtl8192eu-linux$ 
User avatar
Pjotr
Level 24
Level 24
Posts: 20133
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Installing New WiFi USB

Post by Pjotr »

Reboot and test.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
frostymusic
Level 5
Level 5
Posts: 502
Joined: Fri Jul 06, 2018 8:21 pm
Location: East Coast Canada

Re: Installing New WiFi USB

Post by frostymusic »

Rebooted....

Where do I find the device? I am on Ethernet now, does the wi-fi kick in when Ethernet is disabled?
frostymusic
Level 5
Level 5
Posts: 502
Joined: Fri Jul 06, 2018 8:21 pm
Location: East Coast Canada

Re: Installing New WiFi USB

Post by frostymusic »

JeremyB

Code: Select all

terry@terry-MS-7A39:~$ modprobe -c | grep -i 818b; rfkill list
alias pci:v000010ECd0000818Bsv*sd*bc*sc*i* rtl8192ee
alias usb:v0BDAp818Bd*dc*dsc*dp*icFFiscFFipFFin* rtl8xxxu
alias usb:v10C4p818Bd*dc*dsc*dp*ic*isc*ip*in* cp210x
alias vmbus:31600b0e13523449818b38d90ced39db hv_util
frostymusic
Level 5
Level 5
Posts: 502
Joined: Fri Jul 06, 2018 8:21 pm
Location: East Coast Canada

Re: Installing New WiFi USB

Post by frostymusic »

Pierre,

I bought a cheap one hoping it would work.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Installing New WiFi USB

Post by JeremyB »

What about

Code: Select all

modinfo 8192eu; dkms status
frostymusic
Level 5
Level 5
Posts: 502
Joined: Fri Jul 06, 2018 8:21 pm
Location: East Coast Canada

Re: Installing New WiFi USB

Post by frostymusic »

Results

Code: Select all

terry@terry-MS-7A39:~$ modinfo 8192eu; dkms status
modinfo: ERROR: Module 8192eu not found.
rtl8192eu, 1.0, 4.15.0-54-generic, x86_64: installed
virtualbox, 5.2.32, 4.15.0-62-generic, x86_64: installed
Locked

Return to “Networking”