[SOLVED] compile error when installing USB wifi adapter on Linux Mint

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
Stan4me
Level 1
Level 1
Posts: 5
Joined: Sat Mar 03, 2018 6:50 am

[SOLVED] compile error when installing USB wifi adapter on Linux Mint

Post by Stan4me » Sat Mar 03, 2018 7:09 am

Hello,
I am trying to install wifi Adapter dongle (this one) with the install.sh executable provided on CD-Rom.
I have copied the CD-Rom files in my documents and run the install.sh
result is here :
...lot of lines similar to the next ones...
rtl8821AU_WiFi_linux_v5.2.6.2_23547.20170814_COEX20170206-6760/platform/platform_ops.c
rtl8821AU_WiFi_linux_v5.2.6.2_23547.20170814_COEX20170206-6760
Authentication requested [root] for make clean:
install.sh: 38: [: unexpected operator
Mot de passe :
su : Échec d'authentification
Authentication requested [root] for make driver:
install.sh: 48: [: unexpected operator
Mot de passe :
su : Échec d'authentification
##################################################
Compile make driver error: 1
Please check error Mesg
##################################################

can you please tell me what could be wrong?
(the driver folder in CD-rom is rtl8821AU_WiFi_linux_v5.2.6.2_23547.20170814_COEX20170206-6760)
Last edited by Stan4me on Mon Mar 05, 2018 3:20 pm, edited 1 time in total.

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

Re: compile error when installing USB wifi adapter on Linux Mint

Post by JeremyB » Sat Mar 03, 2018 7:17 am

Do you have internet available on the computer?
Post results for

Code: Select all

lsusb

Stan4me
Level 1
Level 1
Posts: 5
Joined: Sat Mar 03, 2018 6:50 am

Re: compile error when installing USB wifi adapter on Linux Mint

Post by Stan4me » Sat Mar 03, 2018 10:07 am

Yes I have wired internet

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

Re: compile error when installing USB wifi adapter on Linux Mint

Post by JeremyB » Sat Mar 03, 2018 10:10 am

Post results from terminal for lsusb as I bet I can find source code on github that will compile

Stan4me
Level 1
Level 1
Posts: 5
Joined: Sat Mar 03, 2018 6:50 am

Re: compile error when installing USB wifi adapter on Linux Mint

Post by Stan4me » Sat Mar 03, 2018 11:57 am

Hello,
The result is here :
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0d8c:0014 C-Media Electronics, Inc.
Bus 001 Device 002: ID 062a:4101 Creative Labs Wireless Keyboard/Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

my wifi key is on the USB 3.0

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

Re: compile error when installing USB wifi adapter on Linux Mint

Post by JeremyB » Sat Mar 03, 2018 2:08 pm

Can you plug it into a different port and run the lsusb command again?

Stan4me
Level 1
Level 1
Posts: 5
Joined: Sat Mar 03, 2018 6:50 am

Re: compile error when installing USB wifi adapter on Linux Mint

Post by Stan4me » Sun Mar 04, 2018 1:18 pm

Hello,
Sorry for my late reply. I have updated my Linux Mint with the last packages (including level 4 packages).
The results with wifi device on USB2 :
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0bda:a811 Realtek Semiconductor Corp.
Bus 001 Device 002: ID 062a:4101 Creative Labs Wireless Keyboard/Mouse
Bus 001 Device 006: ID 0d8c:0014 C-Media Electronics, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
on USB3 :
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0bda:a811 Realtek Semiconductor Corp.
Bus 001 Device 002: ID 062a:4101 Creative Labs Wireless Keyboard/Mouse
Bus 001 Device 006: ID 0d8c:0014 C-Media Electronics, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
removed:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 012: ID 0d8c:0014 C-Media Electronics, Inc.
Bus 001 Device 010: ID 062a:4101 Creative Labs Wireless Keyboard/Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Conclusion : the device is detected as Realtek Semiconductor Corp

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

Re: compile error when installing USB wifi adapter on Linux Mint

Post by JeremyB » Sun Mar 04, 2018 1:51 pm

Code: Select all

sudo apt-get install git build-essential linux-headers-generic dkms

Code: Select all

git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git

Code: Select all

cd rtl8812AU_8821AU_linux

Code: Select all

sudo make -f Makefile.dkms install
Reboot

Stan4me
Level 1
Level 1
Posts: 5
Joined: Sat Mar 03, 2018 6:50 am

Re: compile error when installing USB wifi adapter on Linux Mint

Post by Stan4me » Mon Mar 05, 2018 3:18 pm

Dear Jeremy,
You are wonderful!
I can see the wifi network now.
I was able to connect to internet.
I mark this post as solved
thank you again

Post Reply

Return to “Wireless”