LinuxQuestions.org
Review your favorite Linux distribution.
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, 02: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, 02:25 AM   #2
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,277
Blog Entries: 3

Rep: Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841
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, 07: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, 07:54 PM   #4
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: Linux Mint
Posts: 822

Rep: Reputation: 232Reputation: 232Reputation: 232
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 07:55 PM.
 
Old 08-22-2016, 10:47 PM   #5
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,277
Blog Entries: 3

Rep: Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841
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, 02: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, 04:55 AM   #7
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,277
Blog Entries: 3

Rep: Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841
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 05:19 AM. Reason: Re-added request.
 
Old 08-25-2016, 12:28 AM   #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, 02:26 AM   #9
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,277
Blog Entries: 3

Rep: Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841
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 02: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 01:07 PM
Installing Edimax EW-7811Un on Raspberry Pi scubbo Linux - Hardware 1 09-05-2012 09:57 AM
Unable to compile C++ programs.make:g++ command not found error.Error 127 PrathuD Programming 3 03-16-2009 01:44 PM
edimax ew-7318usg openSuse 11 - make - problem buran Linux - Newbie 4 11-14-2008 07:15 PM

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

All times are GMT -5. The time now is 01:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration