LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-20-2020, 06:49 PM   #1
jude7
Member
 
Registered: Apr 2020
Posts: 66

Rep: Reputation: Disabled
installing wifi usb dongle


I have a desktop with Mint 18.2 Cinnamon, and no wifi on the mobo, an MSI B75MA-P45.

I purchased this USB/WiFi dongle:

https://www.ebay.com/itm/1200Mbps-Lo...72.m2749.l2649

The installation disk has a "Linux" folder on it, and the "Start Guide" there advises (in broken english) to use the "install.sh" item to accomplish the install. There is a fragmented, seemingly incomplete "procedure" apparently assuming the user is a pro.

Trying the "install.sh" item, I get a reply in the terminal to the effect "command not recognized", and I think "install.sh" might be a Fedora command, as that is the only distribution explicitly mentioned.

There are folders with names that don't quite match what's in the Guide, so it is not possible to follow the procedure, spotty as it seems to be. I think the software was changed or updated, but the manual was not...

Clearly, this dongle can work with Linux, but how?

System details;

Mint Cinnamon 18.2

MSI B75MA-P45 mobo

i7-3770 CPU, 3.4 Ghz

16Gb RAM @ 1600 Mhz

64Gb SSD for the OS

1Tb Data HDD

Radeon HD5850 Video Bd, 1Gb

Last edited by jude7; 06-20-2020 at 06:59 PM.
 
Old 06-20-2020, 06:59 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,389
Blog Entries: 28

Rep: Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164
"install.sh" is most likely a BASH script.

Check to make sure it is executable; you can do this using this command:

Code:
ls -l /path/to/install.sh
(The odds are that it is not executable out of the box.)

Also, depending on where it resides, it may not be in your path, so you may have to use the full path to the file to run it.

You might also try running it like this:

Code:
sh path/to/install.sh
See man sh for more.
 
1 members found this post helpful.
Old 06-20-2020, 07:17 PM   #3
jude7
Member
 
Registered: Apr 2020
Posts: 66

Original Poster
Rep: Reputation: Disabled
hey thanks frankbell.

I'll get back to you after I try these (first have to get back to base w/ your post screencapped )
 
Old 06-21-2020, 03:36 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
I wouldn't even touch the software that came with it and try to find the device driver in my distros repositories instead.

To find out what sort of dongle you have there, something like
Code:
sudo lsusb -v
should help.
 
Old 06-22-2020, 06:25 PM   #5
jude7
Member
 
Registered: Apr 2020
Posts: 66

Original Poster
Rep: Reputation: Disabled
OK, thanks for that.

I will try that command asap, and get back to you.

Nice to know The supplied driver likely a dead end.....
 
Old 06-22-2020, 06:57 PM   #6
jude7
Member
 
Registered: Apr 2020
Posts: 66

Original Poster
Rep: Reputation: Disabled
Hey Frankbaell,

I tried your two suggested commands, unfortunately, they didn't seem to get the machine to do much.

see attachments for screen caps of terminal, "Driver's" "Linux" sub folder contents, and "install.sh" code.
Attached Thumbnails
Click image for larger version

Name:	1.) Path to install.sh.png
Views:	9
Size:	130.1 KB
ID:	33487   Click image for larger version

Name:	2.) WiFi Dongle Install.sh code (1of2).png
Views:	15
Size:	67.3 KB
ID:	33488   Click image for larger version

Name:	3.) WiFi Dongle Install.sh  Code (2of2).png
Views:	12
Size:	86.7 KB
ID:	33489   Click image for larger version

Name:	4.) WiFi Dongle RTL8188 Linux Sub Folder.png
Views:	11
Size:	60.9 KB
ID:	33490  
 
Old 06-22-2020, 07:11 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
path to install was a general term you have to use your own path. Anyway you don't start off by trying to install software.

Start with the above command and report about lsusb (while the usb stick is inserted). List usb is the command.

It is very possible that the usb chipset in this is already one that is supported by default.

Also might turn out to be a poor selection. https://unix.stackexchange.com/quest...stalling-error

Last edited by jefro; 06-22-2020 at 07:22 PM.
 
1 members found this post helpful.
Old 06-22-2020, 07:11 PM   #8
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,753

Rep: Reputation: 2224Reputation: 2224Reputation: 2224Reputation: 2224Reputation: 2224Reputation: 2224Reputation: 2224Reputation: 2224Reputation: 2224Reputation: 2224Reputation: 2224
You need to replace”/path/to/“ with the actual path to the script…Looks like it’s starts with RTL8...but It’s not clear where that directory.

Last edited by scasey; 06-22-2020 at 07:15 PM.
 
1 members found this post helpful.
Old 06-22-2020, 07:48 PM   #9
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,398

Rep: Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595
The install script is dated 2010/2011, the driver that currently comes installed in the kernel may work.
plug in the usb wifi dongle, open a terminal
Code:
sudo modprobe rtl8192cu
to load the driver.
you may also have to install linux-firmware-nonfree or maybe firmware-realtek

Last edited by colorpurple21859; 06-22-2020 at 08:27 PM.
 
1 members found this post helpful.
Old 06-23-2020, 06:05 PM   #10
jude7
Member
 
Registered: Apr 2020
Posts: 66

Original Poster
Rep: Reputation: Disabled
Colorpurple;

Tried your idea, and now at least, I get the "WiFi" section in the "Network Connections" window, which did not happen before.

I still do not get the "Wireless" list of available connections, so it looks as if the driver in the kernel is only partly functional with the dongle.

see attachment
 
Old 06-23-2020, 06:13 PM   #11
jude7
Member
 
Registered: Apr 2020
Posts: 66

Original Poster
Rep: Reputation: Disabled
Ondoho:

I used your command and got about 4-6 screens of data in the terminal.

see attachment for the part that seems to pertain to the dongle.
Attached Thumbnails
Click image for larger version

Name:	sudo lsusb -v Readout of WiFi Adapter.png
Views:	16
Size:	221.3 KB
ID:	33498  
 
Old 06-23-2020, 11:14 PM   #12
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,398

Rep: Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595
this website https://github.com/pvaret/rtl8192cu-fixes suggest using the rtl8xxxu driver


Code:
sudo modprobe -r rtl8192cu
sudo modprobe rtl8xxxu
may have to do this according to the link to create a config file in /etc/modprobe.d
Code:
sudo echo options rtl8xxxu ht40_2g=1 dma_aggregation=1 | sudo tee /etc/modprobe.d/rtl8xxxu.conf
 
1 members found this post helpful.
Old 06-24-2020, 03:01 AM   #13
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by jude7 View Post
Ondoho:

I used your command and got about 4-6 screens of data in the terminal.

see attachment for the part that seems to pertain to the dongle.
You want the ID XXXX:XXXX on the first line.
 
1 members found this post helpful.
Old 06-24-2020, 01:04 PM   #14
jude7
Member
 
Registered: Apr 2020
Posts: 66

Original Poster
Rep: Reputation: Disabled
Thanks again to colorpurple and ondoho. I will try to thoroughly exhaust these suggestions before posting on this again.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
3g dongle connected via ppp daemon unable to send AT commnads to the dongle jarzi Linux - Networking 4 08-07-2015 04:45 AM
how to connect to internet via usb dongle (MPS internet dongle) on Fedora 16 O.S danibhai Linux - Newbie 1 07-30-2012 11:03 AM
3com USB wifi dongle problem will2b Linux - Hardware 1 06-16-2007 12:23 PM
Looking to get a (small) USB WiFi 54g dongle that works with wpa tkip. TrueVox Linux - Hardware 0 08-07-2006 08:55 PM
how do I make a driver for a wifi usb dongle lightningcount Linux - Newbie 1 04-04-2004 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration