[*SOLVED]Stretch and Edimax 'EW-7811UTC' wifi dongle problem

Getting your soundcard to work, using Debian on non-i386 hardware, etc

[*SOLVED]Stretch and Edimax 'EW-7811UTC' wifi dongle problem

Postby consufed » 2017-11-10 23:19

Some 18 months ago I bought a EW-7811UTC and installed it under Jessie using the following:

Code: Select all
su
   apt-get update
   apt-get install linux-headers-generic build-essential git
   git clone https://github.com/gnab/rtl8812au.git
   cd ~/rtl8812au
   make
   make install
   modprobe 8812au


Great. Fantastic. Recently I upgraded successfully to Stretch, and the wifi dongle continued to work fine with no attention needed. Two days ago the system HDD failed and had to be replaced, so a fresh install of Stretch was done.
Unfortunately the above code no longer works, and I have no wifi.
I installed the "linux kernel headers", and downloaded a driver kit from the Edimax website.
On running the 'install.sh' supplied, I receive the following message:
make[1]: *** /lib/modules/4.9.0-4-amd64/build: No such file or directory.
Well, there is indeed no such directory. Searching on the error message returns nothing that helps, although I get that same error message on a number of different 'could work' drivers.
Last edited by consufed on 2017-11-12 14:25, edited 1 time in total.
consufed
 
Posts: 26
Joined: 2013-08-11 21:57

Re: Stretch and Edimax 'EW-7811UTC' wifi dongle problem

Postby stevepusser » 2017-11-11 00:31

There are no "linux-headers-generic" in the Debian repos--those are strictly Ubuntu packages. Please explain why you don't get an error when you run the command to install them--a Debian system will always error out if you try to install a package that's not in the available repos.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8905
Joined: 2009-10-06 05:53

Re: Stretch and Edimax 'EW-7811UTC' wifi dongle problem

Postby consufed » 2017-11-11 08:17

Would someone please explain or link to how to extract a specific device firmware from the realtek firmware package, or provide a link.
consufed
 
Posts: 26
Joined: 2013-08-11 21:57

Re: Stretch and Edimax 'EW-7811UTC' wifi dongle problem

Postby consufed » 2017-11-11 08:35

Steve Pusser wrote: "There are no "linux-headers-generic" in the Debian repos--those are strictly Ubuntu packages. Please explain why you don't get an error"

What? There was me thinking that Ubuntu was based on Debian and that there is some commonality. I'll delete that idea.
I did not imply there was no error.
But semantics doesn't get me any further. If you know of a method to extract a specific binary and get it in the right place, please elucidate or link. Thanks.
consufed
 
Posts: 26
Joined: 2013-08-11 21:57

Re: Stretch and Edimax 'EW-7811UTC' wifi dongle problem

Postby Head_on_a_Stick » 2017-11-11 09:40

Wikidevi seems to think the device is supported:

https://wikidevi.com/wiki/Edimax_EW-7811UTC

Have you installed the non-free firmware package that is required by your unfortunate choice of hardware?
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 6681
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Stretch and Edimax 'EW-7811UTC' wifi dongle problem

Postby stevepusser » 2017-11-11 23:44

consufed wrote:Steve Pusser wrote: "There are no "linux-headers-generic" in the Debian repos--those are strictly Ubuntu packages. Please explain why you don't get an error"

What? There was me thinking that Ubuntu was based on Debian and that there is some commonality. I'll delete that idea.
I did not imply there was no error.
But semantics doesn't get me any further. If you know of a method to extract a specific binary and get it in the right place, please elucidate or link. Thanks.


You need to explain exactly what commands you tried in Stretch and the way they failed. There is much in common between Debian and Ubuntu, but the kernel names are one of the differences. Don't assume any recipe for Ubuntu will work the same in Debian.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8905
Joined: 2009-10-06 05:53

Re: Stretch and Edimax 'EW-7811UTC' wifi dongle problem

Postby consufed » 2017-11-12 14:23

Having restored most of my system, I returned to crack the wifi problem.
I executed the following commands / actions line by line:
Code: Select all
   su
   apt-get update
   uname -r           #this gives the kernel version, e.g. 4.9.0-4-amd64
   -> install the corresponding kernel header for the version - I used synaptic <-
   git clone https://github.com/gnab/rtl8812au.git
   cd rtl8812au
   make
   make install
   modprobe 8812au


The wifi now works. Thanks for the spurring comments!
consufed
 
Posts: 26
Joined: 2013-08-11 21:57


Return to Hardware

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable