LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Edimax EW-7811Un compile make drive error: 1 (https://www.linuxquestions.org/questions/linux-newbie-8/edimax-ew-7811un-compile-make-drive-error-1-a-4175587598/)

w8y1001 08-22-2016 01:14 AM

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.

ardvark71 08-22-2016 01:25 AM

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...

w8y1001 08-22-2016 06:27 PM

@ 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?

jkirchner 08-22-2016 06:54 PM

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.

ardvark71 08-22-2016 09:47 PM

Quote:

Originally Posted by w8y1001 (Post 5594554)
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...

w8y1001 08-24-2016 01:15 AM

@ 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?

ardvark71 08-24-2016 03:55 AM

Quote:

Originally Posted by w8y1001 (Post 5595221)
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...

w8y1001 08-24-2016 11:28 PM

Quote:

Originally Posted by ardvark71 (Post 5595255)
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

ardvark71 08-25-2016 01:26 AM

Quote:

Originally Posted by w8y1001 (Post 5595687)
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...


All times are GMT -5. The time now is 02:26 PM.