LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-18-2019, 07:13 PM   #1
easyLove
LQ Newbie
 
Registered: Feb 2019
Posts: 2

Rep: Reputation: Disabled
Post TP-Link drivers directory


Hi,

I've just change to Linux and still have the problems with it.
I need to install drivers for my TP-Link adapter and have an instruction. Step to says that I need to:
"
Use Terminal to go to the driver directory and run the following commands to compile the
driver.
$ make clean
$ make
After compiling, you can see a name of the chip.ko file is stored in the directory of the
driver."

I used "which gcc" to locate that "driver directory" > /usr/bin/gcc

When I use cd /usr/bin/gcc it says:
"bash: cd: /usr/bin/gcc: Not a directory"

I need to go there to make this step and after that it's even worse.

To finish this I need:

Here we show the 88x2bu.ko wireless driver loading process as an example. Run the following command to load the driver.

$ sudo cp 88x2bu.ko /lib/modules/[kernel version]/kernel/drivers/net/wireless/ #[kernel
version] is the directory name of the system kernel version
$ sudo depmod –a
$ sudo modprobe 88x2bu

Or directly use insmod to load the driver.
$ sudo insmod 88x2bu.ko

After loading the driver, run the following command to check if the driver is successfully loaded.
$ lsmod


Please help me out, case I struggle with this more than an hour and Google doesn't answer my question.
 
Old 02-18-2019, 07:59 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
We need to see a link to the instructions.
Presuming step 1 is an unzip of the downloaded package, you need to cd into the directory (aka folder) it created - probably rtl88...
Same applies of you got it from github.
Note this is the driver directory, not gcc or any of the other build tools.

For [kernel version] run this and replace the [kernel version] with whatever is returned.
Code:
uname -r
 
Old 02-19-2019, 02:48 AM   #3
easyLove
LQ Newbie
 
Registered: Feb 2019
Posts: 2

Original Poster
Rep: Reputation: Disabled
Of course, here it is link to "how to" form TP:
https://static.tp-link.com/2018/2018...or%20Linux.pdf


Then I found a video on YT where I used commands \:

Commands used in this tutorial:

sudo apt update && sudo apt upgrade
sudo apt install -y build-essential git aircrack-ng
git clone -b master https://github.com/quickreflex/rtl818...
cd rtl8188eu
make all
sudo make install
reboot
sudo airmon-ng check kill
iwconfig
sudo iwconfig [interface] mode monitor
sudo airodump-ng [interface]


but this is Monitor mode, for cracking stuff, but what I need is to install drivers. This from YT was installed on my computer as "rtl8188eus" < How I can remove it from my computer.
 
  


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
[SOLVED] Hard Link a desktop directory to another Drive's directory beefman Linux - Newbie 14 04-01-2018 09:31 AM
Physical link vs Relative link vs Symbolic link hack3rcon Linux - Newbie 13 01-13-2018 10:48 AM
Drivers, Drivers, Drivers!!! cjparad Ultra X 0 06-09-2009 04:08 PM
skge: eth0: Link is up... Link is down... Link is up.... sugar2 Linux - Hardware 5 07-03-2007 03:52 PM
need to link a home directory to an apache directory Melsync Linux - Server 3 09-30-2006 05:08 AM

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

All times are GMT -5. The time now is 07:39 AM.

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