[Solved] Trying to Install driver for usb 3.0 wifi adapter

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
RenWA

[Solved] Trying to Install driver for usb 3.0 wifi adapter

Post by RenWA »

Installed Linux Mint Cinnamon 19 yesterday. Worked briefly (about 1 month) with Linux Mint 17 three years ago so I'm essentially a newbie.

Update 8/16/18: I scrounged around in a parts box and found an old D-link Wifi card and installed it on the motherboard. Immediately found my router when I booted up and I was wireless. So I don't need this usb device. I did that because further research indicated that others had not been able to get the Inamax device to work in other linux builds. I suspect that was the case with my build and perhaps will be with other Linux Mint 19s. In other words, avoid this card: Inamax AC 1200 USB 3.0 Adapter

This is my system:

Code: Select all

System:    Host: ren-GA-880GA-UD3H Kernel: 4.15.0-30-generic x86_64
           bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.8 (Gtk 3.22.30-1ubuntu1)
           Distro: Linux Mint 19 Tara
Machine:   Device: desktop Mobo: Gigabyte model: GA-880GA-UD3H v: x.x serial: N/A
           BIOS: Award v: FE date: 03/04/2011
CPU:       6 core AMD Phenom II X6 1090T (-MCP-) 
           arch: K10 rev.0 cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4a svm) bmips: 38572
           clock speeds: max: 3200 MHz 1: 1316 MHz 2: 803 MHz 3: 803 MHz
           4: 803 MHz 5: 803 MHz 6: 2769 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Hawaii XT / Grenada XT [Radeon R9 290X/390X]
           bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: AMD HAWAII (DRM 2.50.0 / 4.15.0-30-generic, LLVM 6.0.0)
           version: 4.5 Mesa 18.0.5 Direct Render: Yes
Audio:     Card-1 Advanced Micro Devices [AMD/ATI] Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X]
           driver: snd_hda_intel bus-ID: 01:00.1
           Card-2 Advanced Micro Devices [AMD/ATI] SBx00 Azalia (Intel HDA)
           driver: snd_hda_intel bus-ID: 00:14.2
           Sound: Advanced Linux Sound Architecture v: k4.15.0-30-generic
Network:   Card: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: ce00 bus-ID: 03:00.0
           IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 516.1GB (3.6% used)
           ID-1: /dev/sda model: WDC_WD5000AAVS size: 500.1GB
           ID-2: USB /dev/sdb model: Cruzer_U size: 16.0GB
Partition: ID-1: / size: 458G used: 16G (4%) fs: ext4 dev: /dev/sda1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 36.2C mobo: N/A gpu: 46.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 218 Uptime: 8 min Memory: 1139.7/16038.7MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56
_______

These are the instructions for installing the drivers in linux that came on the dvd:

Code: Select all

#!/bin/bash
# Auto install for 8192cu
# September, 1 2010 v1.0.0, willisTang
# 
# Add make_drv to select chip type
# Novembor, 21 2011 v1.1.0, Jeff Hung
################################################################################

echo "##################################################"
echo "Realtek Wi-Fi driver Auto installation script"
echo "Novembor, 21 2011 v1.1.0"
echo "##################################################"

################################################################################
#			Decompress the driver source tal ball
################################################################################
cd driver
Drvfoulder=`ls |grep .tar.gz`
echo "Decompress the driver source tar ball:"
echo "	"$Drvfoulder
tar zxvf $Drvfoulder

Drvfoulder=`ls |grep -iv '.tar.gz'`
echo "$Drvfoulder"
cd  $Drvfoulder

################################################################################
#			If makd_drv exixt, execute it to select chip type
################################################################################
if [ -e ./make_drv ]; then
	./make_drv
fi

################################################################################
#                       make clean
################################################################################
echo "Authentication requested [root] for make clean:"
if [ "`uname -r |grep fc`" == " " ]; then
        sudo su -c "make clean"; Error=$?
else
        su -c "make clean"; Error=$?
fi

################################################################################
#			Compile the driver
################################################################################
echo "Authentication requested [root] for make driver:"
if [ "`uname -r |grep fc`" == " " ]; then
	sudo su -c make; Error=$?
else	
	su -c make; Error=$?
fi
################################################################################
#			Check whether or not the driver compilation is done
################################################################################
module=`ls |grep -i 'ko'`
echo "##################################################"
if [ "$Error" != 0 ];then
	echo "Compile make driver error: $Error"
	echo "Please check error Mesg"
	echo "##################################################"
	exit
else
	echo "Compile make driver ok!!"	
	echo "##################################################"
fi

if [ "`uname -r |grep fc`" == " " ]; then
	echo "Authentication requested [root] for install driver:"
	sudo su -c "make install"
	echo "Authentication requested [root] for remove driver:"
	sudo su -c "modprobe -r ${module%.*}"
	echo "Authentication requested [root] for insert driver:"
	sudo su -c "modprobe ${module%.*}"
else
	echo "Authentication requested [root] for install driver:"
	su -c "make install"
	echo "Authentication requested [root] for remove driver:"
	su -c "modprobe -r ${module%.*}"
	echo "Authentication requested [root] for insert driver:"
	su -c "modprobe ${module%.*}"
fi
echo "##################################################"
echo "The Setup Script is completed !"
echo "##################################################"
________

So far:
I copied and pasted the driver folder in Home so that when I did the cd driver in the terminal it would find it.

Then I copied and pasted what I guessed were the relevant command lines from the above install instructions into the Terminal, which is essentially most everything after cd driver command, excluding anything between the ##### lines. At the end I got requests for various authentications requiring my password. They all fail. Here's what that looks like:

Code: Select all

ren@ren-GA-880GA-UD3H:~/driver$ Drvfoulder=`ls |grep .tar.gz`
ren@ren-GA-880GA-UD3H:~/driver$ echo "Decompress the driver source tar ball:"
Decompress the driver source tar ball:
ren@ren-GA-880GA-UD3H:~/driver$ echo "rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz" "$Drvfoulder
> tar zxvf $Drvfoulder
> 
> Drvfoulder=`ls |grep -iv '.tar.gz'`
> echo "$Drvfoulder"
> cd  $Drvfoulder
> if [ -e ./make_drv ]; then
> rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz ./make_drv
> fi
> echo "Authentication requested [root] for make clean:"
> if [ "`uname -r |grep fc`" == " " ]; then
>         sudo su -c "make clean"; Error=$?
> else
>         su -c "make clean"; Error=$?
> fi
> echo "Authentication requested [root] for make driver:"
> if [ "`uname -r |grep fc`" == " " ]; then
> rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz sudo su -c make; Error=$?
> else
> rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz su -c make; Error=$?
> fi
> module=`ls |grep -i 'ko'`
> echo "##################################################"
> if [ "$Error" != 0 ];then
> rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz echo "Compile make driver error: $Error"
> rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz echo "Please check error Mesg"
> rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz echo "##################################################"
> rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz exit
> else
> rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz echo "Compile make driver ok!!"
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz echo "Compile make driver okecho "rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz" "$Drvfoulder
tar zxvf $Drvfoulder

Drvfoulder=`ls |grep -iv '.tar.gz'`
echo "$Drvfoulder"
cd  $Drvfoulder
if [ -e ./make_drv ]; then
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz ./make_drv
fi
echo "Authentication requested [root] for make clean:"
if [ "`uname -r |grep fc`" == " " ]; then
        sudo su -c "make clean"; Error=$?
else
        su -c "make clean"; Error=$?
fi
echo "Authentication requested [root] for make driver:"
if [ "`uname -r |grep fc`" == " " ]; then
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz sudo su -c make; Error=$?
else
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz su -c make; Error=$?
fi
module=`ls |grep -i 'ko'`
echo "##################################################"
if [ "$Error" != 0 ];then
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz echo "Compile make driver error: $Error"
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz echo "Please check error Mesg"
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz echo "##################################################"
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz exit
else"
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz
tar zxvf rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz

Drvfoulder=
echo rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz
cd  rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz
if [ -e ./make_drv ]; then
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz ./make_drv
fi
echo Authentication requested [root] for make clean:
if [  ==   ]; then
        sudo su -c make clean; Error=1
else
        su -c make clean; Error=1
fi
echo Authentication requested [root] for make driver:
if [  ==   ]; then
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz sudo su -c make; Error=1
else
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz su -c make; Error=1
fi
module=
echo ##################################################
if [  != 0 ];then
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz echo Compile make driver error: 
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz echo Please check error Mesg
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz echo ##################################################
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz exit
else
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz echo Compile make driver okecho rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz
tar zxvf rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz

Drvfoulder=
echo rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz
cd  rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz
if [ -e ./make_drv ]; then
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz ./make_drv
fi
echo Authentication requested [root] for make clean:
if [  ==   ]; then
        sudo su -c make clean; Error=1
else
        su -c make clean; Error=1
fi
echo Authentication requested [root] for make driver:
if [  ==   ]; then
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz sudo su -c make; Error=1
else
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz su -c make; Error=1
fi
module=
echo ##################################################
if [  != 0 ];then
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz echo Compile make driver error: 
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz echo Please check error Mesg
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz echo ##################################################
rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333.tar.gz exit
else

ren@ren-GA-880GA-UD3H:~/driver$ echo "##################################################"
##################################################
ren@ren-GA-880GA-UD3H:~/driver$ fi
bash: syntax error near unexpected token `fi'
ren@ren-GA-880GA-UD3H:~/driver$ 
ren@ren-GA-880GA-UD3H:~/driver$ if [ "`uname -r |grep fc`" == " " ]; then
> echo "Authentication requested [root] for install driver:"
> sudo su -c "make install"
> echo "Authentication requested [root] for remove driver:"
> sudo su -c "modprobe -r ${module%.*}"
> echo "Authentication requested [root] for insert driver:"
> sudo su -c "modprobe ${module%.*}"
> else
> echo "Authentication requested [root] for install driver:"
> su -c "make install"
> echo "Authentication requested [root] for remove driver:"
> su -c "modprobe -r ${module%.*}"
> echo "Authentication requested [root] for insert driver:"
> su -c "modprobe ${module%.*}"
> fi
Authentication requested [root] for install driver:
Password: 
su: Authentication failure
Authentication requested [root] for remove driver:
Password: 
su: Authentication failure
Authentication requested [root] for insert driver:
Password: 
su: Authentication failure

_____

Mostly I'm just guessing so far. I have no idea what to do next. Would very much appreciate some hints.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 7 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
jimallyn
Level 19
Level 19
Posts: 9075
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: Trying to Install driver fir usb 3.0 wifi adapter

Post by jimallyn »

Welcome to the Linux Mint forums, RenWA! Usually, the drivers that come with devices like that are useless or hard to get going. There are a couple of wifi experts on the forums that will be able to tell you what to do, and I can darn near guarantee it will be easier than the instructions on the DVD. I don't see the wifi device listed in the info about your computer. Was it plugged in when you got that info? I would recommend that you plug it in, then open a terminal and enter inxi -Fxz and copy/paste whatever that spits out into your next post here. Next, enter lsusbinto the terminal, and copy/paste whatever that spits out into your next post. That will be most of the information the experts will need to get you going.
“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan
RenWA

Re: Trying to Install driver for usb 3.0 wifi adapter

Post by RenWA »

Thank you jimallyn.

I actually did that command to produce what you saw of my system in the first post. Yes, the device was plugged in. This to me is what appears to be the wifi network card in that output:
Network: Card: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: ce00 bus-ID: 03:00.0
The name it goes by where I bought it is:
Inamax USB Wifi Adapter, USB 3.) Wireless Network Dongle with 5dBi Antenna
.

This is what the driver folder I put in Home directory is called:
RTL88x2BU_WIFI_v5.1.7_19806
Here's the system again, this is what it looks like both with and without the usb wireless plugged in so you may be right that it's not showing up, therefore not being recognized:
System: Host: ren-GA-880GA-UD3H Kernel: 4.15.0-30-generic x86_64
bits: 64 gcc: 7.3.0
Desktop: Cinnamon 3.8.8 (Gtk 3.22.30-1ubuntu1)
Distro: Linux Mint 19 Tara
Machine: Device: desktop Mobo: Gigabyte model: GA-880GA-UD3H v: x.x serial: N/A
BIOS: Award v: FE date: 03/04/2011
CPU: 6 core AMD Phenom II X6 1090T (-MCP-)
arch: K10 rev.0 cache: 3072 KB
flags: (lm nx sse sse2 sse3 sse4a svm) bmips: 38572
clock speeds: max: 3200 MHz 1: 1363 MHz 2: 803 MHz 3: 803 MHz
4: 803 MHz 5: 930 MHz 6: 803 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] Hawaii XT / Grenada XT [Radeon R9 290X/390X]
bus-ID: 01:00.0
Display Server: x11 (X.Org 1.19.6 )
drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
Resolution: 1920x1080@60.00hz
OpenGL: renderer: AMD HAWAII (DRM 2.50.0 / 4.15.0-30-generic, LLVM 6.0.0)
version: 4.5 Mesa 18.0.5 Direct Render: Yes
Audio: Card-1 Advanced Micro Devices [AMD/ATI] Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X]
driver: snd_hda_intel bus-ID: 01:00.1
Card-2 Advanced Micro Devices [AMD/ATI] SBx00 Azalia (Intel HDA)
driver: snd_hda_intel bus-ID: 00:14.2
Sound: Advanced Linux Sound Architecture v: k4.15.0-30-generic
Network: Card: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: ce00 bus-ID: 03:00.0
IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 500.1GB (3.4% used)
ID-1: /dev/sda model: WDC_WD5000AAVS size: 500.1GB
Partition: ID-1: / size: 458G used: 16G (4%) fs: ext4 dev: /dev/sda1
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 40.2C mobo: N/A gpu: 54.0
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 216 Uptime: 8:40 Memory: 1740.3/16038.7MB
Init: systemd runlevel: 5 Gcc sys: 7.3.0
Client: Shell (bash 4.4.191) inxi: 2.3.56
And the output from that second command.


Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 002: ID 258a:0001
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 002 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 001 Device 004: ID 067b:2571 Prolific Technology, Inc.
Bus 001 Device 003: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 002: ID 0bda:b812 Realtek Semiconductor Corp.
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Locked

Return to “Beginner Questions”