@v0yAgEr Thanks a lot for your instruction! I'd been struggling to get TL-WN725N V2 to work on latest osmc (184.108.40.206). Finally, no more packets dropped, no more ssh disconnections!
@sam_nazarko TL-WN725N V2 or rtl8188eu wasn't present in latest OSMC (220.127.116.11) despite working partially out of the box. I'm not sure if OSMC project could use the 8188eu.ko file I'd compiled, Any case, the compiled *.ko file could be found at https://dl.dropboxusercontent.com/u/22713204/rtl8188eu_4.3.0-10-osmc%2B.tgz Anyone else struggling with TL-WN725N V2 on rbp2 could also download this and give it a try.
I'd slightly tweaked the install.sh follow examples from https://www.raspberrypi.org/forums/viewtopic.php?p=462982
*.ko file is compiled in 18.104.22.168-osmc-rbp2, and tested working on 22.214.171.124-osmc-rbp2 and 126.96.36.199-osmc-rbp2
similar code/instruction below if you want to compile yourself, I find the apt-get task extremely long due to slow sd-card write speed, it's a bit of pain if you want to compile yourself. However, code below is shortcut'd in some way, nevertheless the instruction from v0yAgEr should be referenced.
sudo apt-get update
sudo apt-get install build-essential git rbp2-headers-4.3.0-10-osmc rbp2-source-4.3.0-10-osmc
sudo tar xjf rbp2-source-4.3.0-10-osmc.tar.bz2
sudo cp -r rbp2-source-4.3.0-10-osmc/arch/arm/mach-bcm2709/include/mach rbp2-headers-4.3.0-10-osmc/arch/arm/include/
git clone https://github.com/lwfinger/rtl8188eu
make ARCH=arm KVER=4.3.0-10-osmc KSRC=/usr/src/rbp2-headers-4.3.0-10-osmc
sudo make ARCH=arm KVER=4.3.0-10-osmc KSRC=/usr/src/rbp2-headers-4.3.0-10-osmc install
sudo bash -c 'echo "options 8188eu rtw_power_mgnt=0 rtw_enusbss=0">/etc/modprobe.d/8188eu.conf'