Does AP w/ hostapd with official wifi dongle work?
#1
Hello,

I am seriously thinking to buy a rock64 with the official wifi dongle antenna :
https://www.pine64.org/?product=rock64-u...au-adapter

Can I build a stable WIFI AP in 5Ghz with this one and the rock64 ?
I am mainly worried about hostapd AP chipset support and kernel driver for the chipset RTL8812AU used by the adapter.

Thanks in advance !

Regards,
Arsiesys
  Reply
#2
(12-21-2017, 06:00 PM)Arsiesys Wrote: Hello,

I am seriously thinking to buy a rock64 with the official wifi dongle antenna :
https://www.pine64.org/?product=rock64-u...au-adapter

Can I build a stable WIFI AP in 5Ghz with this one and the rock64 ?
I am mainly worried about hostapd AP chipset support and kernel driver for the chipset RTL8812AU used by the adapter.

Thanks in advance !

Regards,
Arsiesys

Funny you should ask, as I spent quite some time trying to get an RTL8812AU dongle to work in AP mode just recently. It ought to work (does on Android without issues) but even after getting all the required patches and setting for hostapd I still didn't get it to work (even in 2.4Ghz). I tried it on the Rock64, as well as other boards and my stationary computer running linux with the same result. 
If you decide to proceed and try it out please do let me know. Also, I have now all the resources to get the driver to work, build custom rtl_hostapd and apply patches - so that would save you some time looking for all this info.
You can find me on IRC, Discord and Twitter


  Reply
#3
(12-22-2017, 07:27 AM)Luke Wrote:
(12-21-2017, 06:00 PM)Arsiesys Wrote: Hello,

I am seriously thinking to buy a rock64 with the official wifi dongle antenna :
https://www.pine64.org/?product=rock64-u...au-adapter

Can I build a stable WIFI AP in 5Ghz with this one and the rock64 ?
I am mainly worried about hostapd AP chipset support and kernel driver for the chipset RTL8812AU used by the adapter.

Thanks in advance !

Regards,
Arsiesys

Funny you should ask, as I spent quite some time trying to get an RTL8812AU dongle to work in AP mode just recently. It ought to work (does on Android without issues) but even after getting all the required patches and setting for hostapd I still didn't get it to work (even in 2.4Ghz). I tried it on the Rock64, as well as other boards and my stationary computer running linux with the same result. 
If you decide to proceed and try it out please do let me know. Also, I have now all the resources to get the driver to work, build custom rtl_hostapd and apply patches - so that would save you some time looking for all this info.

How did you finally manage to get the driver installed?  I'm interested in doing the same thing, and for a wireless dongle that is advertised to be compatible with the Rock64, I can find very little info on loading the drivers.  dmesg shows a Realtek wireless device, but I am unable to successfully load the drivers to use it.  I expected "modprobe rtlwifi" or something similar to work, but the driver is not listed under /lib/modules/kernel; at least no where I can find.
  Reply
#4
Code:
git clone https://github.com/gnab/rtl8812au.git
cd rtl8812au/
ARCH=arm64 make
sudo ARCH=arm64 make install

That builds the driver, so its pretty straightforward.

As for hostapd I suggest you read for a start:
https://forum.armbian.com/topic/144-prob...wusc036ac/
https://www.max2play.com/en/forums/topic...rtl8812au/

Please let me know if you get anywhere with hostapd using the rtl8812au
You can find me on IRC, Discord and Twitter


  Reply
#5
I was thinking of buying one of these to use on a CentOS 7 router/AP system I built running an x86 processor so this thread caught my eye.  Since I haven't bought it yet I can't test it myself, so maybe I could make the suggestion to try the driver from Larry Finger: https://github.com/lwfinger/rtl8812au.  He's worked on Realtek drivers for RedHat and CentOS that have fixed issues I've experienced with other chipsets.  Maybe try it and let us know if you can get the adapter into AP mode?
  Reply
#6
(01-16-2018, 07:39 PM)guy Wrote: I was thinking of buying one of these to use on a CentOS 7 router/AP system I built running an x86 processor so this thread caught my eye.  Since I haven't bought it yet I can't test it myself, so maybe I could make the suggestion to try the driver from Larry Finger: https://github.com/lwfinger/rtl8812au.  He's worked on Realtek drivers for RedHat and CentOS that have fixed issues I've experienced with other chipsets.  Maybe try it and let us know if you can get the adapter into AP mode?

Thanks guy. I kind of gave up on it - wasted too much time trying to get it to work. 

But if someone manages to get the dodgy Realtek drivers to work in AP mode and writes-up how they did it, I'd be happy to pick it up again and try.
You can find me on IRC, Discord and Twitter


  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 v2 - did not work song / audio sqw200zu 2 1,237 03-14-2024, 03:09 AM
Last Post: dmitrymyadzelets
  HDMI doesn't work on rock64 Noung1991 1 511 11-21-2023, 08:33 AM
Last Post: as365n4
Sad HDMI doesn't work on rock64 rock7 0 2,752 12-16-2019, 01:04 PM
Last Post: rock7
Bug mpph264enc output doesn't work on bionic rompelstompel 11 16,436 11-15-2019, 10:00 AM
Last Post: gounthar
  gstreamer unable to process dvbsrc from ATSC tuner dongle grkblood13 1 2,908 08-31-2019, 09:01 PM
Last Post: grkblood13
  Ayufan Debian Stretch Openmediavault 4 5G Wifi Not Connecting Poincare 0 2,231 03-26-2019, 07:28 PM
Last Post: Poincare
  Can't connect to wifi on a Rock64 SuperSaiyanCaleb 2 4,091 12-18-2018, 11:51 PM
Last Post: SuperSaiyanCaleb
Lightbulb Wifi problem Nether494 13 17,153 11-28-2018, 01:48 PM
Last Post: Nether494
  8812au wifi driver OS pane 9 10,725 11-19-2018, 02:46 AM
Last Post: pane
  Cannot make DAC Add-on Board work under debian szclsya 0 1,836 09-29-2018, 12:57 AM
Last Post: szclsya

Forum Jump:


Users browsing this thread: 1 Guest(s)