How to install a Wlan Adapter Driver?

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Pepmint
Level 1
Level 1
Posts: 40
Joined: Wed Jul 23, 2014 5:35 am

How to install a Wlan Adapter Driver?

Postby Pepmint » Tue May 09, 2017 1:27 pm

Hi,
I got a USB Wlan Adapter TP-Link Archer T4U. The driver is for the Kernel 2.6.18~3.19.3. It is a Zip archive. That should be extracted? I did that-but I do not know how to continue.
Your advice is welcome, thanks! Just in case: Mint is installed on a stick (root(/) and swap area.
PS: XFCE 18.1
Last edited by Pepmint on Tue Jul 18, 2017 5:40 am, edited 2 times in total.

User avatar
richyrich
Level 18
Level 18
Posts: 8677
Joined: Mon May 04, 2009 8:31 pm

Re: How to install a Wlan Adapter Driver?

Postby richyrich » Tue May 09, 2017 2:24 pm

Mint 18.1 has kernel 4.4 so it will never work for you. Please use this terminal command to show a summary of your system and hardware, this will help other members who are experienced with wireless to be able to help you. Copy/Paste the complete output back here in a reply.
PS: Make sure the usb wireless adapter is plugged in when you run the command.

inxi -FxzNn

Pepmint
Level 1
Level 1
Posts: 40
Joined: Wed Jul 23, 2014 5:35 am

Re: How to install a Wlan Adapter Driver?

Postby Pepmint » Thu May 11, 2017 11:53 am

I expected that, unfortunately. Manufacturers are selling outdated stuff. At least I learned an important cmd! Probably no workaround? Here the output:

Code: Select all

System:    Host: m-HP Kernel: 4.4.0-53-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Xfce 4.12.3 (Gtk 2.24.28) Distro: Linux Mint 18.1 Serena
Machine:   System: LENOVO product: 6475DN6 v: ThinkPad T400
           Mobo: LENOVO model: 6475DN6
           Bios: LENOVO v: 7UET94WW (3.24 ) date: 10/17/2012
CPU:       Dual core Intel Core2 Duo P8600 (-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 ssse3 vmx) bmips: 9575
           clock speeds: max: 2401 MHz 1: 1600 MHz 2: 1600 MHz
Graphics:  Card: Intel Mobile 4 Series Integrated Graphics Controller
           bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1440x900@60.00hz
           GLX Renderer: Mesa DRI Mobile Intel GM45 Express
           GLX Version: 2.1 Mesa 11.2.0 Direct Rendering: 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.4.0-53-generic
Network:   Card-1: Intel 82567LM Gigabit Network Connection
           driver: e1000e v: 3.2.6-k port: 1840 bus-ID: 00:19.0
           IF: enp0s25 state: down mac: <filter>
           Card-2: Intel PRO/Wireless 5100 AGN [Shiloh] Network Connection
           driver: iwlwifi bus-ID: 03:00.0
           IF: wlp3s0 state: down mac: <filter>
Drives:    HDD Total Size: 30.8GB (50.6% used)
           ID-1: USB /dev/sda model: Ultra size: 30.8GB
Partition: ID-1: / size: 21G used: 6.8G (36%) fs: ext4 dev: /dev/sda1

           ID-2: swap-1 size: 8.75GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 36.0C mobo: 32.0C
           Fan Speeds (in rpm): cpu: 1907
Info:      Processes: 203 Uptime: 3 min Memory: 316.7/3846.0MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.461) inxi: 2.2.35
Last edited by Moem on Thu May 11, 2017 12:10 pm, edited 1 time in total.
Reason: Added [code] tags, which leave the formatting of your output intact. Makes it easier to read.

User avatar
richyrich
Level 18
Level 18
Posts: 8677
Joined: Mon May 04, 2009 8:31 pm

Re: How to install a Wlan Adapter Driver?

Postby richyrich » Thu May 11, 2017 12:59 pm

Actually I don't think it is showing your TP-Link Archer T4U at all, it IS showing an internal Intel wireless card . . ? :?
Card-2: Intel PRO/Wireless 5100 AGN [Shiloh] Network Connection
driver: iwlwifi bus-ID: 03:00.0

With the usb dongle plugged in, please use this command to allow us to see the usb devices:

lsusb

JeremyB
Level 17
Level 17
Posts: 7225
Joined: Fri Feb 21, 2014 8:17 am

Re: How to install a Wlan Adapter Driver?

Postby JeremyB » Thu May 11, 2017 1:03 pm

Why does the internal card show that it is down? Does

Code: Select all

rfkill list all

Reveal anything?

Pepmint
Level 1
Level 1
Posts: 40
Joined: Wed Jul 23, 2014 5:35 am

Re: How to install a Wlan Adapter Driver?

Postby Pepmint » Thu May 11, 2017 1:17 pm

The adapter was not plugged in. Tomorrow I will check that, with your cmds.

User avatar
jimallyn
Level 16
Level 16
Posts: 6547
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: How to install a Wlan Adapter Driver?

Postby jimallyn » Thu May 11, 2017 4:52 pm

You will often find that the manufacturer's drivers are worthless. And often the drivers you need are built into the kernel and there's no need to install any other drivers. You might try looking in Driver Manager and see if it offers you a different driver. If not, there are almost always ways to get your wifi going. And you already have one of the local wifi experts on the case.
Image

“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

Pepmint
Level 1
Level 1
Posts: 40
Joined: Wed Jul 23, 2014 5:35 am

Re: How to install a Wlan Adapter Driver?

Postby Pepmint » Sat May 13, 2017 10:26 am

Here the outputs, adapter plugged in:

Code: Select all

 ~ $ lsusb
Bus 002 Device 002: ID 0781:5581 SanDisk Corp. Ultra
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 002: ID 24ae:1100 
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 17ef:1004 Lenovo Integrated Webcam
Bus 001 Device 007: ID 2357:010d 
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


Code: Select all

[img][code]
 ~ $ rfkill list all
0: tpacpi_bluetooth_sw: Bluetooth
   Soft blocked: yes
   Hard blocked: yes
1: phy0: Wireless LAN
   Soft blocked: yes
   Hard blocked: yes[/code][/img]

Screenshot_2017-05-13_16-12-15.png
Driver Manager

JeremyB
Level 17
Level 17
Posts: 7225
Joined: Fri Feb 21, 2014 8:17 am

Re: How to install a Wlan Adapter Driver?

Postby JeremyB » Sat May 13, 2017 2:12 pm

See if the rfkill results change if you enable the wireless using the button shown in
https://lnv.i.lithium.com/t5/image/serv ... B183?v=1.0
And also do

Code: Select all

rfkill unblock all


If the rfkill results all show no then the internal wifi should work. If you want to still use the USB

Code: Select all

sudo apt-get install git build-essential

Code: Select all

git clone https://github.com/jeremyb31/rtl8812AU.git

Code: Select all

cd rtl8812AU

Code: Select all

make

Code: Select all

sudo make install


Reboot and the USB should work

Pepmint
Level 1
Level 1
Posts: 40
Joined: Wed Jul 23, 2014 5:35 am

Re: How to install a Wlan Adapter Driver?

Postby Pepmint » Sun May 14, 2017 12:11 pm

Is the photo showing the wlan switch? At first glance it looks like a T400...mine has the switch on the front edge. I do not use the internal wifi because the machine gets a much stronger signal with the stick and cable under Win 8.1. In that case the internal wifi is switched off. MInt works with the internal wifi, but not with the stick, not just a novelty. I want to improve the wlan as in Win. When applying the code, is the internal wifi still usable?

JeremyB
Level 17
Level 17
Posts: 7225
Joined: Fri Feb 21, 2014 8:17 am

Re: How to install a Wlan Adapter Driver?

Postby JeremyB » Sun May 14, 2017 6:25 pm

If the switch is set to disable, ALL wireless is disabled, even the USB

You can disable the internal with

Code: Select all

echo "blacklist iwlwifi" | sudo tee /etc/modprobe.d/blacklist-iwlwifi.conf


Reboot

Pepmint
Level 1
Level 1
Posts: 40
Joined: Wed Jul 23, 2014 5:35 am

Re: How to install a Wlan Adapter Driver?

Postby Pepmint » Thu May 25, 2017 12:35 pm

Unbelievable-it worked! Thanks a lot! Now I would like to know why. What is that code doing under the hood? I looked up all cmds, but could not look up

Code: Select all

FxzNn
, where is it listed?

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

Re: How to install a Wlan Adapter Driver?

Postby JerryF » Thu May 25, 2017 2:46 pm

Pepmint wrote:Unbelievable-it worked! Thanks a lot! Now I would like to know why. What is that code doing under the hood? I looked up all cmds, but could not look up

Code: Select all

FxzNn
, where is it listed?

FxzNn are options for the inxi command.

If you type a command such as inxi and --help, it will show you what options are available.

Code: Select all

inxi --help

Also, man is very useful too. It is short for manual and gives you a page(s) about commands. You can scroll down while in man

Code: Select all

man inxi
Don't forget to edit your original post and add [SOLVED] to the beginning of the Subject line if your problem has been fixed.
My main language is English. I speak very little Portuguese, and a whole lot of gibberish.

Pepmint
Level 1
Level 1
Posts: 40
Joined: Wed Jul 23, 2014 5:35 am

How to install a Wlan Adapter Driver?

Postby Pepmint » Tue Jul 18, 2017 3:36 am

If the Wlan adapter is broken, how do I delete the driver? Generally, what kind of installation is that:

Code: Select all

 sudo apt-get install git build-essential

Code: Select all

git clone https://github.com/jeremyb31/rtl8812AU.git
, compared with the Software Manager?


Return to “Hardware Support”

Who is online

Users browsing this forum: Bing [Bot] and 6 guests