LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-22-2016, 01:14 AM   #1
w8y1001
LQ Newbie
 
Registered: Jan 2016
Posts: 9

Rep: Reputation: Disabled
Edimax EW-7811Un compile make drive error: 1


i bought an Edimax EW-7811Un WiFi USB adaptor and the install guide says "For driver compilation and installation ... you can just run install.sh script and then control Wi-Fi with utilities such as Network Manager."
i put in the terminal "sh /home/user/EW-7811Un_Linux_driver_v1.0.0.5/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/install.sh". it prompts me for my password, then tells me in the output

su: Authentication failure
##################################################
Compile make driver error: 1
Please check error Mesg
##################################################

my problem is that i don't know what that error means or how to fix it. does this have to do with user privelages? i'm running Linux Mint.
 
Old 08-22-2016, 01:25 AM   #2
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Hi...

Try using "sudo" (in front of the command) instead. You may also need to make the "install.sh" executable, if you haven't already. Please see the information here or here.

Regards...
 
Old 08-22-2016, 06:27 PM   #3
w8y1001
LQ Newbie
 
Registered: Jan 2016
Posts: 9

Original Poster
Rep: Reputation: Disabled
@ ardvark71

i made the file executable, then used the sudo command to run the script. it gave me

Sorry, user user is not allowed to execute '/bin/sh /home/user/EW-7811Un_Linux_driver_v1.0.0.5/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/install.sh' as root

so i logged in as the admin who can use sudo, and used sudo to run the script. i recieved this in the output:

Authentication requested [root] for make clean:
/home/user/EW-7811Un_Linux_driver_v1.0.0.5/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/install.sh: 38: [: unexpected operator
Cannot execute /sbin/nologin
Authentication requested [root] for make driver:
/home/user/EW-7811Un_Linux_driver_v1.0.0.5/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/install.sh: 48: [: unexpected operator
Cannot execute /sbin/nologin
##################################################
Compile make driver error: 127
Please check error Mesg
##################################################

what do?
 
Old 08-22-2016, 06:54 PM   #4
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: Pop!_OS
Posts: 945

Rep: Reputation: 297Reputation: 297Reputation: 297
Curious here, have you plugged it in just to see if it is recognized? I have an Edimax (not sure the model off the top of my head) and I just plugged it in and there it was, up and running. From what I saw it should just work for you.

Last edited by jkirchner; 08-22-2016 at 06:55 PM.
 
Old 08-22-2016, 09:47 PM   #5
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by w8y1001 View Post
what do?
Hi...

In case your adapter is not recognized and working as jkirchner has suggested, you can try the solution here, which may be easier.

Regards...
 
Old 08-24-2016, 01:15 AM   #6
w8y1001
LQ Newbie
 
Registered: Jan 2016
Posts: 9

Original Poster
Rep: Reputation: Disabled
@ jkirchner

yes, the USB was recognized by the OS, but it wouldn't do anything.


@ ardvark71

alright, that seems to have done it. i initially did all of the steps in the link except for "apt-get update" first, and it didn't work.
i see in the install guide that it recommends disabling any other existing wireless network adaptors installed on my computer for it to function correctly. do they mean disabling the Intel AC 3160 chip my computer came with?
 
Old 08-24-2016, 03:55 AM   #7
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by w8y1001 View Post
i see in the install guide that it recommends disabling any other existing wireless network adaptors installed on my computer for it to function correctly. do they mean disabling the Intel AC 3160 chip my computer came with?
Hi...

Yes, that's correct. If you need help with that, please let us know.

Either way, let us know how it goes.

Regards...

Last edited by ardvark71; 08-24-2016 at 04:19 AM. Reason: Re-added request.
 
Old 08-24-2016, 11:28 PM   #8
w8y1001
LQ Newbie
 
Registered: Jan 2016
Posts: 9

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by ardvark71 View Post
Hi...

Yes, that's correct. If you need help with that, please let us know.

Either way, let us know how it goes.

Regards...
i think i successfully disabled the original chipset with the procedure here: http://unix.stackexchange.com/questi...work-interface. my wireless network panel lists the original chipset with the words "device not managed", and it connects with the new WiFi USB automatically now. thanks so much for the help
 
Old 08-25-2016, 01:26 AM   #9
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by w8y1001 View Post
i think i successfully disabled the original chipset with the procedure here: http://unix.stackexchange.com/questi...work-interface. my wireless network panel lists the original chipset with the words "device not managed", and it connects with the new WiFi USB automatically now. thanks so much for the help
You're welcome, glad you got it working!

http://yoursmiles.org/tsmile/salut/t9307.gif

If you would, please mark this thread as "SOLVED" by clicking on "Thread Tools" directly above your initial post. Thanks!

Regards...

Last edited by ardvark71; 08-25-2016 at 01:32 AM. Reason: Deleted attachment.
 
  


Reply

Tags
compile, drive, edimax, error, make


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
I can't install driver for edimax EW-7811Un USB wireless adapter parker.hugh Linux - Newbie 43 02-17-2014 12:07 PM
Installing Edimax EW-7811Un on Raspberry Pi scubbo Linux - Hardware 1 09-05-2012 08:57 AM
Unable to compile C++ programs.make:g++ command not found error.Error 127 PrathuD Programming 3 03-16-2009 12:44 PM
edimax ew-7318usg openSuse 11 - make - problem buran Linux - Newbie 4 11-14-2008 06:15 PM

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

All times are GMT -5. The time now is 01:07 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