@Zador - you are HERO !!!
yes, that did the trick ! I managed to compile the driver successfully after that (it did not work as i have v2 of TP-Link TL-WN823N) which is 8912eu not 8192cu). Found several versions on github for 8192eu ... couldn't compile any of them due to missing include (error on implicit declaration of ipv6 checksum) - (probably because kernel is bit old - 3.14.xx ). Anyhow, for anyone googling - solution is 2-fold:
1. edit core/rtw_br_ext.c (thats where compile error happens)
2. around line 51 where it says #include <net/checksum.h> ... add line below that which says: #include <net/ip6_checksum.h>
3. compile will finish now (make ARCH=arm64)
4. sudo make install
Second issue i had then was that interface was not called 'wlan0' but 'esxAABBCCDDEEFF0123' which is esx+mac-address of wifi adapter.
Not sure if there is CLEAN way around this ... after some googling i had to add these 2 lines to the file /etc/udev/rules.d/10-network.rules (had to create the file):
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="18:a6:f7:18:61:42", NAME="wlan0"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="18:a6:f7:18:61:42",KERNEL=="enx18a6f7186142", NAME="wlan0"
Lastly, of course, in '/etc/network/interfaces' i uncommented lines for wlan0 interface and changed SSID and passcode.
@Zador, 2 quick questions:
1. saw couple of minutes ago that there is new update: linux-headers-odroidc2 (ubuntu is what i used as armbian build). Is that the same thing you shared via dropbox in the post above ? if yes -
2. is there anything you'd recommend to get in a more standardized way to 'wlan0' name for the wireless interface ?
Thanks again !!!