nicholsonr
Posts: 18
Joined: Wed Jan 13, 2016 11:39 am

Re: Edimax EW7811UAC (RTL8812) - 802.11ac AP mode

Fri Feb 12, 2016 1:18 am

Clean Raspbian Jessie Install (full not lite).
Installed Mr EngMan's RTL8812AU driver for 4.1.13-v7+ (Pi 2B+) Build 826.
Rebooted the unit.

Code: Select all

sudo apt-get install wpasupplicant
Now I think the wpasupplicant was already installed as I had connected my Pi to a generic Wi-Fi 2.4ghz network in order to be able to download dependencies and packages. (so wpa_supplicant may already have been installed)
When I connected the generic Wi-Fi so I could SSH and install packages, I had used the GUI of the RasPi via HDMI output to my monitor and then entered the details at the top right of the screen into the Wi-Fi section.

Code: Select all

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
It will look like the following format, because I'd already connected my Pi to a network to download packages etc, the details of that SSID was in there, so I replaced it with the 5ghz network I wanted.

Code: Select all

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
        ssid="RogerPi5G"
        psk="Not Telling You"
        key_mgmt=WPA-PSK
}
In the above, the first 2 lines do not get touched from what I read somewhere. The rest you substitute in your SSID PSK = Passphrase and the security type.
Mine is WPA2-PSK but wpa_supplicant lists it as WPA-PSK.
Does any of this help?

polioman
Posts: 26
Joined: Tue Aug 25, 2015 1:33 pm

Re: Edimax EW7811UAC (RTL8812) - 802.11ac AP mode

Fri Feb 12, 2016 8:46 am

Thanks for your feedback.

I misunderstood what you were doing, I though you were using your wifi dongle as an AP, that's not the case :)

I have to read more carefully what people write :lol:

bandroidx
Posts: 2
Joined: Sun Mar 13, 2016 10:19 am

Re: Edimax EW7811UAC (RTL8812) - 802.11ac AP mode

Sun Mar 13, 2016 10:22 am

MrEngman wrote:I have a driver you can download and install using commands

Code: Select all

wget https://dl.dropboxusercontent.com/u/80256631/8812au-4.1.13-v7-826.tar.gz
tar xzf 8812au-4.1.13-v7-826.tar.gz
./install.sh
I also have the 8812au drivers for all other builds of raspbian 3.8, 4.0, 4.1 and 4.4 if you need any others, Just change the kernel version and build in the commands above to the values output by command uname -a.


MrEngman
Hi, thanks for your work on this, I am trying to install your driver on a freshly installed raspberry pi 2 raspbian install (fully updated) which is running 4.1.19-v7+ and I am getting the error:

8812au: disagrees about version of symbol module_layout


I downloaded your driver, edited the install.sh and changed the kernel= to 4.1.19-v7+ which is what my uname reports. Any ideas?

Thanks

bandroidx
Posts: 2
Joined: Sun Mar 13, 2016 10:19 am

Re: Edimax EW7811UAC (RTL8812) - 802.11ac AP mode

Sun Mar 13, 2016 10:47 am

Ok in the meantime I downgraded the kernel/firmware to 4.1.13-7 since that is what the module you posted is compiled for and it works! If you could make one for 4.1.19 the latest kernel when you get a chance that would be great!

MrEngman
Posts: 3722
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Edimax EW7811UAC (RTL8812) - 802.11ac AP mode

Sun Mar 13, 2016 5:32 pm

bandroidx wrote:Ok in the meantime I downgraded the kernel/firmware to 4.1.13-7 since that is what the module you posted is compiled for and it works! If you could make one for 4.1.19 the latest kernel when you get a chance that would be great!
Do NOT edit the install.sh file it will not help. You need to use the info from command uname -a to find the kernel version and build to download the right version of the driver for the kernel version you are using.

Using my standard naming format you can download and install using
wget https://dl.dropboxusercontent.com/u/80256631/8812au-kernel-build.tar.gz
tar xzf 8812au-kernel-build.tar.gz
./install.sh
replacing kernel and build with the values from the command uname -a.

As an example for a Pi 2 B using raspbian 4.1.18-v7+ #845 use commands
wget https://dl.dropboxusercontent.com/u/80256631/8812au-4.1.18-v7-845.tar.gz
tar xzf 8812au-4.1.18-v7-845.tar.gz
./install.sh
For the Pi A/A+/B/B+ the kernel version will not have -v7 like
wget https://dl.dropboxusercontent.com/u/80256631/8812au-4.1.18-845.tar.gz
tar xzf 8812au-4.1.18-845.tar.gz
./install.sh
Use command uname -a to find the kernel version and build for your kernel and substitute them in the commands above to download the correct driver version.

As an alternative you can download a script I have that will download the correct driver for the wifi module you use. Download from https://dl.dropboxusercontent.com/u/802 ... ifi.tar.gz. Unzip using command tar xzf install-wifi.tar.gz. Run command ./install-wifi -h for the help information.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

User avatar
Onira
Posts: 233
Joined: Tue Oct 02, 2012 6:24 pm
Location: Poland

Re: Edimax EW7811UAC (RTL8812) - 802.11ac AP mode

Wed Sep 07, 2016 9:46 am

Code: Select all

$ sudo ./install-wifi

Your current kernel revision = 4.4.19+
Your current kernel build    = #907

Checking for a wifi module to determine the driver to install.

Your wifi module is Bus 001 Device 006: ID 7392:a812 Edimax Technology Co., Ltd 

And it uses the 8812au driver.

Checking for a new 8812au wifi driver module for your current kernel.
There is a driver module available for this kernel revision.
Downloading the 8812au driver.
Installing the 8812au driver.

Error: could not insert module 8812au.ko: Unknown symbol in module
[email protected] ~ $ uname -a
Linux raspberrypi1 4.4.19+ #907 Tue Sep 6 13:45:45 BST 2016 armv6l GNU/Linux
$
I guess there is no module for the latest kernel...
Cogito ergo sum

MrEngman
Posts: 3722
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Edimax EW7811UAC (RTL8812) - 802.11ac AP mode

Wed Sep 07, 2016 10:02 am

Onira wrote:

Code: Select all

$ sudo ./install-wifi

Your current kernel revision = 4.4.19+
Your current kernel build    = #907

Checking for a wifi module to determine the driver to install.

Your wifi module is Bus 001 Device 006: ID 7392:a812 Edimax Technology Co., Ltd 

And it uses the 8812au driver.

Checking for a new 8812au wifi driver module for your current kernel.
There is a driver module available for this kernel revision.
Downloading the 8812au driver.
Installing the 8812au driver.

Error: could not insert module 8812au.ko: Unknown symbol in module
[email protected] ~ $ uname -a
Linux raspberrypi1 4.4.19+ #907 Tue Sep 6 13:45:45 BST 2016 armv6l GNU/Linux
$
I guess there is no module for the latest kernel...
Yes there is, you just installed it.

Reboot your Pi to get it running.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

User avatar
Onira
Posts: 233
Joined: Tue Oct 02, 2012 6:24 pm
Location: Poland

Re: Edimax EW7811UAC (RTL8812) - 802.11ac AP mode

Wed Sep 07, 2016 10:39 am

there was no wlan0 after several reboots so I bumped back to 4.4.12 and its working
Cogito ergo sum

MrEngman
Posts: 3722
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Edimax EW7811UAC (RTL8812) - 802.11ac AP mode

Wed Sep 07, 2016 11:55 am

Onira wrote:there was no wlan0 after several reboots so I bumped back to 4.4.12 and its working
Strange. I have it running on my Pi B+ with 4.4.19+ #907. The 8812au driver for Pi 2,3 also runs OK on my Pi 2 B with 4.4.19-v7+ #907.

Code: Select all

[email protected]:~ $ uname -a
Linux Pi-64GB-1 4.4.19+ #907 Tue Sep 6 13:45:45 BST 2016 armv6l GNU/Linux
[email protected]:~ $ ifconfig
eth0      Link encap:Ethernet  HWaddr b8:27:eb:xx:yy:zz
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:2208 errors:0 dropped:248 overruns:0 frame:0
          TX packets:605 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:150760 (147.2 KiB)  TX bytes:94690 (92.4 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 74:da:38:xx:yy:zz
          inet addr:192.168.16.13  Bcast:192.168.16.255  Mask:255.255.255.0
          inet6 addr: fe80::1b44:620e:1dde:4e4e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1734 errors:0 dropped:223 overruns:0 frame:0
          TX packets:188 errors:0 dropped:1 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:210342 (205.4 KiB)  TX bytes:33392 (32.6 KiB)

[email protected]:~ $ lsmod
Module                  Size  Used by
8812au               1759475  0
cfg80211              499234  1 8812au
rfkill                 21397  2 cfg80211
joydev                  9194  0
snd_bcm2835            23131  0
snd_pcm                95473  1 snd_bcm2835
sg                     20799  0
snd_timer              22460  1 snd_pcm
snd                    68368  3 snd_bcm2835,snd_timer,snd_pcm
bcm2835_gpiomem         3823  0
bcm2835_wdt             4133  0
uio_pdrv_genirq         3718  0
uio                    10230  1 uio_pdrv_genirq
evdev                  11650  3
ipv6                  367575  24

MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

User avatar
Onira
Posts: 233
Joined: Tue Oct 02, 2012 6:24 pm
Location: Poland

Re: Edimax EW7811UAC (RTL8812) - 802.11ac AP mode

Wed Sep 07, 2016 4:47 pm

I'm sorry but I didn't mention
I use it on RPI1/B/256MB :oops:
Cogito ergo sum

MrEngman
Posts: 3722
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Edimax EW7811UAC (RTL8812) - 802.11ac AP mode

Wed Sep 07, 2016 8:11 pm

Onira wrote:I'm sorry but I didn't mention
I use it on RPI1/B/256MB :oops:
Hi Onira,

Just tried it on my Pi 1 B 256MB and it's working OK. Same SD card I used on the B+ and 2 B. Currently connected to my Pi 1 B from my laptop via SSH and wifi.

I'm using an Edimax EW-7811UTC and it's connected to my wifi AP using 5GHz band. I have also used it using 2.4GHz band with no apparent problems.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

mwitten
Posts: 2
Joined: Sat Dec 31, 2016 2:51 pm

Re: Edimax EW7811UAC (RTL8812) - 802.11ac AP mode

Sat Dec 31, 2016 3:00 pm

Hello, and appreciate your supporting this!

How often are the builds updated? Just installed some new Pi's, and the build number is
4.4.38-v7+ #938

and does not appear to be in your dropbox.. (4.4.38-v7-938)

https://dl.dropboxusercontent.com/80256 ... 938.tar.gz

Can a slightly older version be used? Is there a way to get a list of what you have in that dropbox?

Thanks!

MrEngman
Posts: 3722
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Edimax EW7811UAC (RTL8812) - 802.11ac AP mode

Sat Dec 31, 2016 3:41 pm

mwitten wrote:Hello, and appreciate your supporting this!

How often are the builds updated? Just installed some new Pi's, and the build number is
4.4.38-v7+ #938

and does not appear to be in your dropbox.. (4.4.38-v7-938)

https://dl.dropboxusercontent.com/80256 ... 938.tar.gz

Can a slightly older version be used? Is there a way to get a list of what you have in that dropbox?

Thanks!
It should be available. I am using it on a Pi 2. https://dl.dropboxusercontent.com/u/802 ... 938.tar.gz

Try

Code: Select all

wget https://dl.dropboxusercontent.com/u/80256631/8812au-4.4.38-v7-938.tar.gz
tar xzf 8812au-4.4.38-v7-938.tar.gz
./install.sh
I have a new wifi install script as the way the new kernels are formatted stops the older scripts working but not sure its fully working yet but you can try it if you want. Install using commands

Code: Select all

sudo wget https://dl.dropboxusercontent.com/u/80256631/install-wifi -O /usr/bin/install-wifi
sudo chmod +x /usr/bin/install-wifi
Run the script using command

Code: Select all

sudo install-wifi
Details on how to use it can be found using command

Code: Select all

sudo install-wifi -h

MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

mwitten
Posts: 2
Joined: Sat Dec 31, 2016 2:51 pm

Re: Edimax EW7811UAC (RTL8812) - 802.11ac AP mode

Sun Jan 01, 2017 12:40 am

Shoot. Checked it many times, but still missed the "u" in the URL.

Many thanks!!!

-Mike

Jasimo
Posts: 51
Joined: Mon Apr 27, 2015 11:50 am

Re: Edimax EW7811UAC (RTL8812) - 802.11ac AP mode

Wed Jul 12, 2017 7:15 am

Sorry to post in this thread, but maybe someone can help me.
I´am using a "TP-Link WL-USB Archer T4U" with the RTL8812 chipset on my Raspberry Pi2. I installed it with the Script from MrEngman described in this thread and got success.
My wifi is using the same SSID for 2,4Ghz and 5 Ghz, is there a way to force the RTL8812 to use the 5Ghz network?

Return to “Networking and servers”