USB Wifi Card doesn't work

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.
Locked
bhola_singh

USB Wifi Card doesn't work

Post by bhola_singh »

Hello,

I just installed linux mint on an old HP G60 533CL laptop, completely replacing Windows 7. My linux instance can connect over ethernet cable, however, neither the internal wifi card (BIOS error at start up saying "Can't load HP wifi module 701) nor an external USB wifi adapter (link below)( work.

https://www.amazon.com/gp/product/B01LE ... UTF8&psc=1#

This item does have a linux driven in the installation folder but the drive installation instructions or options are scary to say the least. ANy wisdom on the best/hassle free usb wifi card for linux mint and how to set it up?

Thanks!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
JerryF
Level 16
Level 16
Posts: 6570
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: USB Wifi Card doesn't work

Post by JerryF »

Please post the result of the following Terminal command and place the results between [code][/code] tags. It's one of the buttons above where you type your post and looks like </>.

Code: Select all

inxi -Fxz
This will give us some information about your computer.
bhola_singh

Re: USB Wifi Card doesn't work

Post by bhola_singh »

Thank you Jerry.

I found another post that suggested running the following code

Code: Select all

sudo apt install git dkms build-essential
git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
cd rtl8812AU_8821AU_linux
sudo make -f Makefile.dkms install
This produced the following output, seems like a success

Code: Select all


make[1]: Entering directory '/home/asit/rtl8812AU_8821AU_linux'
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-36-generic/build M=/home/asit/rtl8812AU_8821AU_linux clean
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-36-generic'
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-36-generic'
make[1]: Leaving directory '/home/asit/rtl8812AU_8821AU_linux'
mkdir -p '/usr/src/rtl8812au-4.3.14'
cp -r dkms.conf Kconfig Makefile.dkms Makefile platform core hal include os_dep '/usr/src/rtl8812au-4.3.14'
cp Makefile '/usr/src/rtl8812au-4.3.14/Makefile'
sed 's/#MODULE_VERSION#/4.3.14/' dkms.conf > '/usr/src/rtl8812au-4.3.14/dkms.conf'
dkms add -m rtl8812au -v 4.3.14 2>/dev/null || true

Creating symlink /var/lib/dkms/rtl8812au/4.3.14/source ->
                 /usr/src/rtl8812au-4.3.14

DKMS: add completed.
dkms build -m rtl8812au -v 4.3.14

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j2 KERNELRELEASE=4.15.0-36-generic KVER=4.15.0-36-generic.................................................
cleaning build area...

DKMS: build completed.
dkms install -m rtl8812au -v 4.3.14

rtl8812au:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.15.0-36-generic/kernel/drivers/net/

depmod.............

DKMS: install completed.

Here is the output of the inxi command

Code: Select all

System:    Host: linuxmint Kernel: 4.15.0-36-generic x86_64
           bits: 64 gcc: 7.3.0
           Desktop: Xfce 4.12.3 (Gtk 2.24.31) Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: Hewlett-Packard product: HP G60 Notebook PC v: 0392120000200C10000020000 serial: N/A
           Mobo: Hewlett-Packard model: 3612 v: 09.67 serial: N/A
           BIOS: Hewlett-Packard v: F.65 date: 12/15/2010
Battery    BAT0: charge: 52.7 Wh 100.0% condition: 52.7/57.7 Wh (91%)
           model: DP-SD144F EV06047 status: Full
CPU:       Dual core Pentium T4300 (-MCP-) 
           arch: Penryn rev.10 cache: 1024 KB
           flags: (lm nx sse sse2 sse3 ssse3) bmips: 8378
           clock speeds: max: 2100 MHz 1: 1241 MHz 2: 1433 MHz
Graphics:  Card: Intel Mobile 4 Series Integrated Graphics Controller
           bus-ID: 00:02.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.11hz
           OpenGL: renderer: Mesa DRI Mobile Intel GM45 Express
           version: 2.1 Mesa 18.0.5 Direct Render: Yes
Audio:     Card Intel 82801I (ICH9 Family) HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.15.0-36-generic
Network:   Card: Realtek RTL8101/2/6E PCIE Fast/Gigabit Ethernet controller
           driver: r8169 v: 2.3LK-NAPI port: 2000 bus-ID: 01:00.0
           IF: enp1s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 320.1GB (5.3% used)
           ID-1: /dev/sda model: Hitachi_HTS54503 size: 320.1GB
Partition: ID-1: / size: 293G used: 16G (6%) fs: ext4 dev: /dev/sda1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 62.0C mobo: 62.0C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 172 Uptime: 6 min Memory: 1733.2/3848.7MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 

Here is the output of lsusb command

Code: Select all


Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 04f2:b091 Chicony Electronics Co., Ltd Webcam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

User avatar
JerryF
Level 16
Level 16
Posts: 6570
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: USB Wifi Card doesn't work

Post by JerryF »

So it seems that your internal wifi card is being recognized, but your USB isn't.

I found the following page. It may help:

https://rehmann.co/blog/drivers-wifi-us ... -windows/
bhola_singh

Re: USB Wifi Card doesn't work

Post by bhola_singh »

Looks like that page is working on a package rtl8812au in git. Whereas, in my driver installation commands I did some of the steps that were similar but the package was different i.e. rtl8812AU_8821AU_linux.git

Would I need to modify the commands the following commands with the package name I used or do I just run these commands as it is?

Code: Select all

sudo apt purge rtl8812au-dkms
sudo apt install git
git clone https://github.com/gnab/rtl8812au.git
sudo cp -r rtl8812au /usr/src/rtl8812au-4.2.2
sudo dkms add -m rtl8812au -v 4.2.2
sudo dkms build -m rtl8812au -v 4.2.2
sudo dkms install -m rtl8812au -v 4.2.2
User avatar
JerryF
Level 16
Level 16
Posts: 6570
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: USB Wifi Card doesn't work

Post by JerryF »

bhola_singh wrote: Thu Oct 18, 2018 3:03 pm Looks like that page is working on a package rtl8812au in git. Whereas, in my driver installation commands I did some of the steps that were similar but the package was different i.e. rtl8812AU_8821AU_linux.git

Would I need to modify the commands the following commands with the package name I used or do I just run these commands as it is?

Code: Select all

sudo apt purge rtl8812au-dkms
sudo apt install git
git clone https://github.com/gnab/rtl8812au.git
sudo cp -r rtl8812au /usr/src/rtl8812au-4.2.2
sudo dkms add -m rtl8812au -v 4.2.2
sudo dkms build -m rtl8812au -v 4.2.2
sudo dkms install -m rtl8812au -v 4.2.2
Unfortunately, I don't know. Linux drivers are definitely not my strong point. I wish I could help. :(
bhola_singh

Re: USB Wifi Card doesn't work

Post by bhola_singh »

Thank you for your help.

How do I move this topic to the Network forum?
JeremyB
Level 21
Level 21
Posts: 13848
Joined: Fri Feb 21, 2014 8:17 am

Re: USB Wifi Card doesn't work

Post by JeremyB »

bhola_singh wrote: Thu Oct 18, 2018 4:43 pm Thank you for your help.

How do I move this topic to the Network forum?
You can't, but I can move it
Was the USB wifi plugged in when you ran the lsusb command as all I see in the lsusb and inxi is the ethernet device
bhola_singh

Re: USB Wifi Card doesn't work

Post by bhola_singh »

Yes, the USB adapter was plugged in when I ran the lsusb command
JeremyB
Level 21
Level 21
Posts: 13848
Joined: Fri Feb 21, 2014 8:17 am

Re: USB Wifi Card doesn't work

Post by JeremyB »

All I saw from the results was a web cam, no sign on any USB wifi device
bhola_singh

Re: USB Wifi Card doesn't work

Post by bhola_singh »

So, it's an issue with the USB port? Just FYI, a few days ago, when this laptop was running Windows, I got a notification of "Power surge in a USB port..." or something like that.

I ignored it and it worked fine for a bit. Is there any troubleshooting or drivers I need to install if it's a USB issue?
Locked

Return to “Networking”