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

Edimax EW7811UAC (RTL8812) - 802.11ac AP mode

Wed Jan 27, 2016 1:36 pm

Hi,

I have to use an Edimax EW-7811AUC wifi dongle to work as an AP. It uses a Realtek chip : RTL8812au. I under Raspbian Jessie on a Raspberry Pi 2.

I was able to make it work in b/g mode on 2,4GHz and a mode on 5GHz bands. I need it to work in 8022.11ac mode and I can't find how. I was using Raspbian Jessie with kernel 4.1.10 and a driver found on GitHub (https://github.com/abperiasamy/rtl8812AU_8821AU_linux) which is recommended on wikidevi.

I'm now using Raspbian with kernel 4.1.13-v7+ #826 and I'm not able to load this driver, it says

Code: Select all

modprobe: ERROR: could not insert '8812au': Exec format error
when I try to load the driver. Dmesg says

Code: Select all

disagrees about version of symbol module_layout
.
Someone on GitHub said that, in his case, it was caused by the missing Module.symvers file in kernel source (https://github.com/abperiasamy/rtl8812A ... /issues/84 last comment).

I've seen that MrEngman and diederik worked on a quite recent driver (https://github.com/diederikdehaas/rtl8812AU) and tried it also without more success.

For each driver, I can follow instructions with success, I've got 3 warnings when I make it manually :

Code: Select all

  CC [M]  /usr/src/rtl8812AU_8821AU_linux-1.0/core/rtw_mp_ioctl.o
  LD [M]  /usr/src/rtl8812AU_8821AU_linux-1.0/8812au.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: "_raw_spin_unlock" [/usr/src/rtl8812AU_8821AU_linux-1.0/8812au.ko] undefined!
WARNING: "__rcu_read_unlock" [/usr/src/rtl8812AU_8821AU_linux-1.0/8812au.ko] undefined!
WARNING: "__rcu_read_lock" [/usr/src/rtl8812AU_8821AU_linux-1.0/8812au.ko] undefined!
  CC      /usr/src/rtl8812AU_8821AU_linux-1.0/8812au.mod.o
Any help would be nice.
Last edited by polioman on Wed Jan 27, 2016 4:13 pm, edited 1 time in total.

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

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

Wed Jan 27, 2016 1:55 pm

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
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

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

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

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

Wed Jan 27, 2016 4:12 pm

Thank you MrEngman for your work. I'm writing a new µSD card in order to have a clean OS. I forgot to mention that I use a RPi 2, I edit my first post.

I've got few questions :
Do you have a wifi dongle based on RTL8821au? If yes, could test it with hostapd with your driver?
Where did you find this driver? Is it the one from diederik? Is it based on 4.3.14 from Realtek?

Thanks again.

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

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

Wed Jan 27, 2016 11:19 pm

polioman wrote:Thank you MrEngman for your work. I'm writing a new µSD card in order to have a clean OS. I forgot to mention that I use a RPi 2, I edit my first post.

I've got few questions :
Do you have a wifi dongle based on RTL8821au? If yes, could test it with hostapd with your driver?
Where did you find this driver? Is it the one from diederik? Is it based on 4.3.14 from Realtek?

Thanks again.
The driver is v4.3.14_13455.20150212_BTCOEX20150128-51.

I currently have it working with an Edimax EW-7811UTC and an ASUS USB-AC56, both connected to RPi 2 B's and using 802.11AC.


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

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

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

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

Thu Jan 28, 2016 8:31 am

You set on of them in AP in 80211ac?

Can you post your hostapd.conf file?
Did you use hostapd from repo or you compiled it from source or is it one from Realtek?

If you were able to do that, you could save my day (and more) :)

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

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

Thu Jan 28, 2016 9:38 am

polioman wrote:You set on of them in AP in 80211ac?

Can you post your hostapd.conf file?
Did you use hostapd from repo or you compiled it from source or is it one from Realtek?

If you were able to do that, you could save my day (and more) :)
I have not used hostapd as I do not want to change my kernel set up.



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

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

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

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

Thu Jan 28, 2016 11:50 am

MrEngman wrote: I have not used hostapd as I do not want to change my kernel set up.
Why should you change your kernel set up? Unless you compiled it for a precise purpose, I don't understand.

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

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

Thu Jan 28, 2016 12:29 pm

polioman wrote:
MrEngman wrote: I have not used hostapd as I do not want to change my kernel set up.
Why should you change your kernel set up? Unless you compiled it for a precise purpose, I don't understand.
Alright, I don't want to change my SD card set up then.

Anyway, so why don't you download the driver and test it yourself? Presumably you will need the hostapd that is included with Realtek drivers.



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

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

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

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

Fri Jan 29, 2016 9:16 am

MrEngman wrote: Alright, I don't want to change my SD card set up then.
Ok, no problem, I didn't understand your previous post in that way.
Anyway, so why don't you download the driver and test it yourself? Presumably you will need the hostapd that is included with Realtek drivers.
Yes, I'll do that today since I didn't have time yesterday.

Thanks for your quick answers.

Edit : It works with a simple hostapd.conf file not with my file with AC conf :( IT seems to not understand syntax in my conf file.

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

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

Mon Feb 01, 2016 3:58 pm

It sees that hostapd from Realtke does not support 802.11ac mode, at best 802.11n (it's an old version).

I was able to make it work with hostapd from repo and activate 802.11ac conf, my phone tells me my bandwidth is 54Mbits/s though :/

Code: Select all

### hostapd configuration file
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
interface=wlan0
bridge=br0
### IEEE 802.11
ssid=AP
hw_mode=a
channel=48
max_num_sta=128
auth_algs=1
### DFS
country_code=FR
ieee80211d=1
ieee80211h=0
### IEEE 802.11ac
ieee80211ac=1
vht_oper_chwidth=0
vht_capab=[MAX-MPDU-11454][RXLDPC][TX-STBC-2BY1][RX-STBC-1]
vht_oper_centr_freq_seg0_idx=48
###WMM conf
[..]
### TX queue parameters
[...]
Now, I have to do the same for TP Link WN725 in 802.11n mode.

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

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

Mon Feb 08, 2016 11:09 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 All

I have downloaded the driver quoted by MrEngman (I have the 4.1.13-v7+ build #826) and run the install commands as per in the quote. The Wi-Fi dongle doesn't appear to power up however not even after a reboot.
The Wi-Fi dongle I'm using is the TP-LINK T4U AC1200 Dual-band dongle that uses RTL8812.
Any tips/suggestions/advice?

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

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

Mon Feb 08, 2016 11:30 am

The driver should support the T4U.

What is the output of commands

Code: Select all

lsusb
lsmod
ifconfig

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

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

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

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

Mon Feb 08, 2016 1:59 pm

I don't know how much power this dongle require but you could try to add in /boot/config.txt

Code: Select all

max_usb_current=1
.

I had same issue on another raspberry, don't know why since it is working with a clone of my first SD card.

If it can help, here is the error I got in dmesg :

Code: Select all

disagrees about version of symbol module_layout

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

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

Mon Feb 08, 2016 4:27 pm

polioman wrote:I don't know how much power this dongle require but you could try to add in /boot/config.txt

Code: Select all

max_usb_current=1
.

I had same issue on another raspberry, don't know why since it is working with a clone of my first SD card.

If it can help, here is the error I got in dmesg :

Code: Select all

disagrees about version of symbol module_layout
That would appear to indicate you used the wrong driver version for the version of OS you were using.


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

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

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

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

Tue Feb 09, 2016 2:09 am

MrEngman wrote:The driver should support the T4U.

What is the output of commands

Code: Select all

lsusb
lsmod
ifconfig

MrEngman
I've tried the above, here are my results.

Code: Select all

[email protected]:~ $ lsusb
Bus 001 Device 004: ID 2357:0101
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[email protected]:~ $ lsmod
Module                  Size  Used by
evdev                  10226  0
8812au               1673620  0
cfg80211              419759  1 8812au
rfkill                 16659  2 cfg80211
snd_bcm2835            19739  3
snd_pcm                74833  1 snd_bcm2835
bcm2835_gpiomem         3023  0
snd_timer              18164  1 snd_pcm
snd                    52116  9 snd_bcm2835,snd_timer,snd_pcm
uio_pdrv_genirq         2966  0
uio                     8228  1 uio_pdrv_genirq
i2c_dev                 6040  0
fuse                   81721  3
ipv6                  341380  32
[email protected]:~ $ ifconfig
eth0      Link encap:Ethernet  HWaddr b8:27:eb:a3:55:05
          inet addr:192.168.0.250  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::ef0:989a:fc04:506f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:682 errors:0 dropped:0 overruns:0 frame:0
          TX packets:419 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:63967 (62.4 KiB)  TX bytes:63187 (61.7 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:256 errors:0 dropped:0 overruns:0 frame:0
          TX packets:256 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:20736 (20.2 KiB)  TX bytes:20736 (20.2 KiB)

wlan0     Link encap:Ethernet  HWaddr f4:f2:6d:12:05:25
          inet6 addr: fe80::7ab8:22eb:76:f70b/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:19 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Device 004 I assume to be the T4U, I plugged it in after the Pi booted this morning and it lit up, but nothing else.
In the Raspbian GUI there it says wlan0 not associated and doesn't allow me to select a network to attempt a connection.
eth0 is my SSH connection to the PI.

Also thank you for taking the time to assist newbs like me :)

Edit: The wlan0 interface MAC Address above matches the T4U Wi-Fi Dongle after I plugged it into my Windows PC and ran an ipconfig /all

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

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

Tue Feb 09, 2016 3:25 am

Device 4 is the T4U. Unfortunately I don't have a T4U but I use the driver with several other adapters without problems.

The wifi adapter is being recognised and so the driver, 8812au, is loaded. However the output of ifconfig shows all packets have been dropped. Not sure why that is happening, but it could be a power supply issue. Using a powered hub to connect the wifi to the Pi would be a useful check to see if the problem is power related if you have one you can try.

Do you see the red PWR led turning off at all or flashing? Or a small square coloured icon near the top right of the screen in the GUI. This would indicate you have a power supply problem.

The command dmesg will list the boot up text messages and will show info about the wifi. Any errors referencing the wifi or the 8812au driver?


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

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

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

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

Tue Feb 09, 2016 4:53 am

Hi MrEngman,

So there doesn't appear to be any power issues looking at the Pi's LED's.
The WiFi dongle flashes for a while then stops,
dmesg shows the following;

Code: Select all

[   63.484192] usb 1-1.4: Product: 802.11n NIC
[   63.484208] usb 1-1.4: Manufacturer: Realtek
[   63.484223] usb 1-1.4: SerialNumber: 123456
[   63.677215] RTL871X: module init start
[   63.677260] RTL871X: rtl8821au v4.3.14_13455.20150212_BTCOEX20150128-51
[   63.677274] RTL871X: build time: Nov 13 2015 22:27:53
[   63.677287] RTL871X: rtl8821au BT-Coex version = BTCOEX20150128-51
[   64.001470] RTL871X: rtw_ndev_init(wlan0)
[   64.004184] usbcore: registered new interface driver rtl8821au
[   64.004210] RTL871X: module init ret=0
[   64.948057] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   69.862510] RTL871X: rtw_set_802_11_connect(wlan0)  fw_state=0x00000008
[   70.076844] RTL871X: start auth
[   70.909841] RTL871X: rtw_set_802_11_connect(wlan0)  fw_state=0x00000008
[   71.107539] RTL871X: start auth
[   76.088056] RTL871X: rtw_set_802_11_connect(wlan0)  fw_state=0x00000008
[   76.125251] RTL871X: start auth
[   77.974513] RTL871X: rtw_set_802_11_connect(wlan0)  fw_state=0x00000008
[   78.166689] RTL871X: start auth
[   83.817951] RTL871X: rtw_set_802_11_connect(wlan0)  fw_state=0x00000008
[   83.901126] RTL871X: start auth
[   87.826851] RTL871X: nolinked power save enter
[   94.698176] RTL871X: nolinked power save leave
[   95.371673] RTL871X: rtw_set_802_11_connect(wlan0)  fw_state=0x00000008
[   95.581567] RTL871X: start auth
[   99.377323] RTL871X: nolinked power save enter
[  106.318248] RTL871X: nolinked power save leave
[  111.096734] RTL871X: nolinked power save enter
[  116.739813] RTL871X: nolinked power save leave
[  121.552011] RTL871X: rtw_set_802_11_connect(wlan0)  fw_state=0x00000008
[  121.789759] RTL871X: start auth
[  125.557015] RTL871X: nolinked power save enter
[  132.541963] RTL871X: nolinked power save leave
[  133.216150] RTL871X: nolinked power save enter

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

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

Tue Feb 09, 2016 10:57 am

nicholsonr wrote:Hi MrEngman,

So there doesn't appear to be any power issues looking at the Pi's LED's.
The WiFi dongle flashes for a while then stops,
dmesg shows the following;

Code: Select all

[   63.484192] usb 1-1.4: Product: 802.11n NIC
[   63.484208] usb 1-1.4: Manufacturer: Realtek
[   63.484223] usb 1-1.4: SerialNumber: 123456
[   63.677215] RTL871X: module init start
[   63.677260] RTL871X: rtl8821au v4.3.14_13455.20150212_BTCOEX20150128-51
[   63.677274] RTL871X: build time: Nov 13 2015 22:27:53
[   63.677287] RTL871X: rtl8821au BT-Coex version = BTCOEX20150128-51
[   64.001470] RTL871X: rtw_ndev_init(wlan0)
[   64.004184] usbcore: registered new interface driver rtl8821au
[   64.004210] RTL871X: module init ret=0
[   64.948057] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   69.862510] RTL871X: rtw_set_802_11_connect(wlan0)  fw_state=0x00000008
[   70.076844] RTL871X: start auth
[   70.909841] RTL871X: rtw_set_802_11_connect(wlan0)  fw_state=0x00000008
[   71.107539] RTL871X: start auth
[   76.088056] RTL871X: rtw_set_802_11_connect(wlan0)  fw_state=0x00000008
[   76.125251] RTL871X: start auth
[   77.974513] RTL871X: rtw_set_802_11_connect(wlan0)  fw_state=0x00000008
[   78.166689] RTL871X: start auth
[   83.817951] RTL871X: rtw_set_802_11_connect(wlan0)  fw_state=0x00000008
[   83.901126] RTL871X: start auth
[   87.826851] RTL871X: nolinked power save enter
[   94.698176] RTL871X: nolinked power save leave
[   95.371673] RTL871X: rtw_set_802_11_connect(wlan0)  fw_state=0x00000008
[   95.581567] RTL871X: start auth
[   99.377323] RTL871X: nolinked power save enter
[  106.318248] RTL871X: nolinked power save leave
[  111.096734] RTL871X: nolinked power save enter
[  116.739813] RTL871X: nolinked power save leave
[  121.552011] RTL871X: rtw_set_802_11_connect(wlan0)  fw_state=0x00000008
[  121.789759] RTL871X: start auth
[  125.557015] RTL871X: nolinked power save enter
[  132.541963] RTL871X: nolinked power save leave
[  133.216150] RTL871X: nolinked power save enter
Not sure what this indicates. Hopefully someone else will be able to help as I am just leaving to fly to Dubai for 4 weeks.


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

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

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

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

Wed Feb 10, 2016 2:28 am

Hi MrEngman,

Hope you have a nice trip!
Good news, Unsure how but, I managed to get it working via command line :)
Also thank you for the driver file as this literally saved my ass.
It's now connected via the 5ghz frequency Wi-Fi I'm broadcasting and transferring accordingly :)

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

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

Wed Feb 10, 2016 2:40 pm

MrEngman wrote:That would appear to indicate you used the wrong driver version for the version of OS you were using.
Since it is a copy of a working OS, I don't undrestood why it didn't work.

nicholsonr wrote:It's now connected via the 5ghz frequency Wi-Fi I'm broadcasting and transferring accordingly :)
You said you're connected on 5GHz band but what bandwidth do you have?
Could you post your hostapd conf file?

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

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

Thu Feb 11, 2016 3:13 am

I have the specific 5ghz SSID Broadcasting under a different name to my 2.4ghz on the same router so I can confirm it is connected like that.
As to expected bandwidth I can't say, due to the USB2.0 hub also sharing the transfer rate of my 2x4TB drives I have connected (which use their own powered hub type of docking station).

With the Wi-Fi dongle I average 6.5 megabytes per second in transfer rate writing to the drives, as opposed to about 4 or so when I was using the ethernet connection.
Taking this into consideration I can't say 100% for sure if this is the limitations of the bus speed or not.
My iwconfig command (I think it was this one) or one of them, showed my adapter as being connected via 802.11AC though.
Where is the hostapd file located and I'll post the contents for you

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

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

Thu Feb 11, 2016 3:22 am

Looks like I'm using wpa_supplicant, not hostapd

Code: Select all

[email protected]:/etc/wpa_supplicant $ iwconfig
wlan0     IEEE 802.11AC  ESSID:"RogerPi5G"  Nickname:"<[email protected]>"
          Mode:Managed  Frequency:5.785 GHz  Access Point: 60:E3:27:AD:A5:0F
          Bit Rate:867 Mb/s   Sensitivity:0/0
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=78/100  Signal level=100/100  Noise level=0/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

[email protected]:/etc/wpa_supplicant $ ifconfig
wlan0     Link encap:Ethernet  HWaddr f4:f2:6d:12:05:25
          inet addr:192.168.0.250  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::7ab8:22eb:76:f70b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:554 errors:0 dropped:1 overruns:0 frame:0
          TX packets:701 errors:0 dropped:3 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:75607 (73.8 KiB)  TX bytes:120331 (117.5 KiB)

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

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

Thu Feb 11, 2016 8:55 am

nicholsonr wrote:Looks like I'm using wpa_supplicant, not hostapd
wpa_supplicant is a software which provide WEP, WPA and WP2 support, is goes alongside of hostapd.

Can you show me result of this command?

Code: Select all

ps -ef | grep -v "\["
I've got this :

Code: Select all

UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 Feb10 ?        00:00:09 /sbin/init
root       111     1  0 Feb10 ?        00:00:03 /lib/systemd/systemd-journald
root       114     1  0 Feb10 ?        00:00:00 /lib/systemd/systemd-udevd
root       542     1  0 Feb10 ?        00:00:00 /usr/sbin/sshd -D
root       545     1  0 Feb10 ?        00:00:00 /usr/sbin/cron -f
root       550     1  0 Feb10 ?        00:00:00 /usr/sbin/syslog-ng -F
root       555     1  0 Feb10 ?        00:00:00 /usr/sbin/ntpd -f /etc/openntpd/ntpd.conf
ntpd       556   555  0 Feb10 ?        00:00:11 /usr/sbin/ntpd -f /etc/openntpd/ntpd.conf
root       571     1  0 Feb10 ?        00:00:00 /lib/systemd/systemd-logind
message+   573     1  0 Feb10 ?        00:00:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
nobody     600     1  0 Feb10 ?        00:00:00 /usr/sbin/thd --daemon --triggers /etc/triggerhappy/triggers.d/ --socket /var/run/thd.socket --pidfile /var/run/thd.pid --user nobody /dev/input/event0 /dev/input/event1
dnsmasq    621     1  0 Feb10 ?        00:00:00 /usr/sbin/dnsmasq -x /var/run/dnsmasq/dnsmasq.pid -u dnsmasq -r /var/run/dnsmasq/resolv.conf -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service --trust-anchor=.,19036,8,2,49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE32F24E8FB5
nobody     632     1  0 Feb10 ?        00:00:08 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --config /etc/openvpn/client.conf
root       722     1  0 Feb10 tty1     00:00:00 /bin/login --
root       724     1  0 Feb10 ttyAMA0  00:00:00 /sbin/agetty --keep-baud 115200 38400 9600 ttyAMA0 vt102
root       911     1  0 Feb10 ?        00:00:00 /lib/systemd/systemd --user
root       917   911  0 Feb10 ?        00:00:00 (sd-pam)
root       925   722  0 Feb10 tty1     00:00:00 -bash
root      1064     1  0 Feb10 ?        00:00:00 /usr/sbin/dhcpd -q -cf /etc/dhcp/dhcpd.conf -pf /var/run/dhcpd.pid wlan0
root      1098     1  0 Feb10 ?        00:00:00 /usr/sbin/hostapd -B -dd /etc/hostapd/hostapd_edimax.conf
root      1100     1  0 Feb10 ?        00:00:00 /usr/local/bin/hostapd_tplink -B -dd /etc/hostapd/hostapd_tplink.conf
root      1274     1  0 Feb10 ?        00:00:05 //sbin/chilli /etc/chilli.conf
root      1362     1  0 Feb10 ?        00:00:00 mini-httpd -C /etc/mini-httpd_3g.conf
root      1364     1  0 Feb10 ?        00:00:00 mini-httpd -C /etc/mini-httpd_blacklist.conf
root     29794   542  0 08:17 ?        00:00:00 sshd: [email protected]/0
root     29804 29794  0 08:17 pts/0    00:00:00 -bash
root     29857 29804  0 08:20 pts/0    00:00:00 ps -ef
But I don't have WPA key yet.

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

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

Thu Feb 11, 2016 10:38 am

My Wi-Fi network I'm broadcasting is using WPA2-PSK
Here's the results of the command you requested:

Code: Select all

[email protected]:~ $ ps -ef | grep -v "\["
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  7 07:05 ?        00:00:04 /sbin/init
root       106     1  1 07:05 ?        00:00:00 /lib/systemd/systemd-journald
root       109     1  0 07:05 ?        00:00:00 /lib/systemd/systemd-udevd
root       289     1  0 07:05 ?        00:00:00 /sbin/mount.ntfs-3g /dev/sdb1 /m                                               edia/HDD2 -n -o rw
root       291     1  0 07:05 ?        00:00:00 /sbin/mount.ntfs-3g /dev/sda2 /m                                               edia/HDD1 -n -o rw
root       438     1  0 07:05 ?        00:00:00 /usr/sbin/cron -f
root       441     1  0 07:05 ?        00:00:00 /lib/systemd/systemd-logind
message+   447     1  0 07:05 ?        00:00:00 /usr/bin/dbus-daemon --system --                                               address=systemd: --nofork --nopidfile --systemd-activation
root       451     1  0 07:05 ?        00:00:00 /sbin/dhcpcd -q -b
nobody     464     1  0 07:05 ?        00:00:00 /usr/sbin/thd --daemon --trigger                                               s /etc/triggerhappy/triggers.d/ --socket /var/run/thd.socket --pidfile /var/run/                                               thd.pid --user nobody /dev/input/event*
avahi      488   446  0 07:05 ?        00:00:00 avahi-daemon: chroot helper
root       520     1  0 07:05 ?        00:00:00 /usr/sbin/rsyslogd -n
root       530     1  0 07:05 ?        00:00:00 /sbin/wpa_supplicant -s -B -P /r                                               un/wpa_supplicant.wlan0.pid -i wlan0 -D nl80211,wext -c /etc/wpa_supplicant/wpa_                                               supplicant.conf
root       542     1  0 07:05 ?        00:00:00 /usr/sbin/sshd -D
root       563     1  0 07:05 ?        00:00:00 /usr/sbin/lightdm
root       607     1  0 07:05 tty1     00:00:00 /bin/login -f
root       608     1  0 07:05 ?        00:00:00 /sbin/agetty --keep-baud 115200                                                38400 9600 ttyAMA0 vt102
ntp        609     1  0 07:05 ?        00:00:00 /usr/sbin/ntpd -p /var/run/ntpd.                                               pid -g -u 107:112
root       644   609  0 07:05 ?        00:00:00 /usr/sbin/ntpd -p /var/run/ntpd.                                               pid -g -u 107:112
root       665   563  1 07:05 tty7     00:00:00 /usr/bin/X :0 -seat seat0 -auth                                                /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
root       673   563  0 07:05 ?        00:00:00 lightdm --session-child 13 16
pi         684     1  0 07:05 ?        00:00:00 /lib/systemd/systemd --user
pi         689   684  0 07:05 ?        00:00:00 (sd-pam)
pi         693   673  1 07:05 ?        00:00:00 /usr/bin/lxsession -s LXDE-pi -e                                                LXDE
pi         721   693  0 07:05 ?        00:00:00 /usr/bin/ssh-agent /usr/bin/dbus                                               -launch --exit-with-session x-session-manager
pi         724     1  0 07:05 ?        00:00:00 /usr/bin/dbus-launch --exit-with                                               -session x-session-manager
pi         725     1  0 07:05 ?        00:00:00 /usr/bin/dbus-daemon --fork --pr                                               int-pid 5 --print-address 7 --session
pi         731     1  0 07:05 ?        00:00:00 /usr/lib/gvfs/gvfsd
pi         739     1  0 07:05 ?        00:00:00 /usr/lib/gvfs/gvfsd-fuse /run/us                                               er/1000/gvfs -f -o big_writes
pi         755   607  1 07:05 tty1     00:00:00 -bash
pi         770   693  1 07:05 ?        00:00:00 openbox --config-file /home/pi/.                                               config/openbox/lxde-pi-rc.xml
pi         774   693  0 07:05 ?        00:00:00 lxpolkit
root       776     1  0 07:05 ?        00:00:00 /usr/sbin/nmbd -D
pi         779   693  3 07:05 ?        00:00:01 lxpanel --profile LXDE-pi
pi         786   693  2 07:05 ?        00:00:00 pcmanfm --desktop --profile LXDE                                               -pi
pi         791     1  0 07:05 ?        00:00:00 /usr/bin/ssh-agent -s
root       795     1  0 07:05 ?        00:00:00 /usr/lib/policykit-1/polkitd --n                                               o-debug
pi         804     1  2 07:05 ?        00:00:00 /usr/lib/gvfs/gvfs-udisks2-volum                                               e-monitor
root       806     1  1 07:05 ?        00:00:00 /usr/lib/udisks2/udisksd --no-de                                               bug
root       828     1  0 07:05 ?        00:00:00 /usr/sbin/smbd -D
root       834   828  0 07:05 ?        00:00:00 /usr/sbin/smbd -D
pi         877     1  0 07:05 ?        00:00:00 /usr/lib/gvfs/gvfs-goa-volume-mo                                               nitor
pi         881     1  0 07:05 ?        00:00:00 /usr/lib/gvfs/gvfs-mtp-volume-mo                                               nitor
pi         885     1  0 07:05 ?        00:00:00 /usr/lib/gvfs/gvfs-afc-volume-mo                                               nitor
pi         890     1  0 07:05 ?        00:00:00 /usr/lib/gvfs/gvfs-gphoto2-volum                                               e-monitor
pi         900     1  0 07:05 ?        00:00:00 /usr/lib/menu-cache/menu-cached                                                /tmp/.menu-cached-:0-pi
pi         903     1  0 07:05 ?        00:00:00 /usr/lib/gvfs/gvfsd-trash --spaw                                               ner :1.1 /org/gtk/gvfs/exec_spaw/0
pi        1046   997  0 07:05 ?        00:00:00 sshd: [email protected]/0
pi        1049  1046  2 07:05 pts/0    00:00:00 -bash
pi        1137  1049  0 07:06 pts/0    00:00:00 ps -ef

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

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

Thu Feb 11, 2016 3:44 pm

Interesting. Can you explain how you did to make your setup working?

I'm curious and if it can help me solve 1 or 2 of my issues I would be very happy :D

Return to “Networking and servers”