Monday, 30 April 2018

TP-LINK AC1300 setup for Linux OS Ubuntu




root@Microknoppix:/home/knoppix#
root@Microknoppix:/home/knoppix#
root@Microknoppix:/home/knoppix# cd /media
root@Microknoppix:/media# cd ..
root@Microknoppix:/# ls -alh|more
total 60K
drwxr-xr-x  19 root root  600 Apr 30 10:15 .
drwxr-xr-x  19 root root  600 Apr 30 10:15 ..
lrwxrwxrwx   1 root root   12 Apr 30 06:15 bin -> /UNIONFS/bin
lrwxrwxrwx   1 root root   13 Apr 30 06:15 boot -> /UNIONFS/boot
drwx------   2 root root   40 Apr 30 10:15 .cache
drwxr-xr-x  24 root root  20K Apr 30 10:15 dev
lrwxrwxrwx   1 root root   12 Apr 30 06:15 etc -> /UNIONFS/etc
drwxr-xr-x   4 root root   60 Apr 30 10:15 home
-rwxrwxrwx   1 root root  46K Sep 18  2017 init
drwxr-xr-x  22 root root 4.0K Jan 14  2017 KNOPPIX
drwxr-xr-x   6 root root 2.0K Sep 11  2017 KNOPPIX1
lrwxrwxrwx   1 root root   12 Apr 30 06:15 lib -> /UNIONFS/lib
lrwxrwxrwx   1 root root   14 Apr 30 06:15 lib64 -> /UNIONFS/lib64
lrwxrwxrwx   1 root root   15 Apr 30 06:15 libx32 -> /UNIONFS/libx32
drwxr-xr-x   6 root root  120 Apr 30 10:15 media
drwxr-xr-x   2 root root   40 May  8  2008 mnt
drwxrwxrwx   6 root root 4.0K Dec 31  1969 mnt-system
drwxr-xr-x   2 root root   40 May  8  2008 mnt-user
drwxr-xr-x   2 root root   40 May  8  2008 modules
lrwxrwxrwx   1 root root   12 Apr 30 06:15 opt -> /UNIONFS/opt
dr-xr-xr-x 265 root root    0 Apr 30 06:15 proc
drwxr-xr-x   7 root root  160 Apr 30 10:15 ramdisk
root@Microknoppix:/# chmod 777 media
root@Microknoppix:/# ls -alh|more
total 60K
drwxr-xr-x  19 root root  600 Apr 30 10:15 .
drwxr-xr-x  19 root root  600 Apr 30 10:15 ..
lrwxrwxrwx   1 root root   12 Apr 30 06:15 bin -> /UNIONFS/bin
lrwxrwxrwx   1 root root   13 Apr 30 06:15 boot -> /UNIONFS/boot
drwx------   2 root root   40 Apr 30 10:15 .cache
drwxr-xr-x  24 root root  20K Apr 30 10:15 dev
lrwxrwxrwx   1 root root   12 Apr 30 06:15 etc -> /UNIONFS/etc
drwxr-xr-x   4 root root   60 Apr 30 10:15 home
-rwxrwxrwx   1 root root  46K Sep 18  2017 init
drwxr-xr-x  22 root root 4.0K Jan 14  2017 KNOPPIX
drwxr-xr-x   6 root root 2.0K Sep 11  2017 KNOPPIX1
lrwxrwxrwx   1 root root   12 Apr 30 06:15 lib -> /UNIONFS/lib
lrwxrwxrwx   1 root root   14 Apr 30 06:15 lib64 -> /UNIONFS/lib64
lrwxrwxrwx   1 root root   15 Apr 30 06:15 libx32 -> /UNIONFS/libx32
drwxrwxrwx   6 root root  120 Apr 30 10:15 media
drwxr-xr-x   2 root root   40 May  8  2008 mnt
drwxrwxrwx   6 root root 4.0K Dec 31  1969 mnt-system
drwxr-xr-x   2 root root   40 May  8  2008 mnt-user
drwxr-xr-x   2 root root   40 May  8  2008 modules
lrwxrwxrwx   1 root root   12 Apr 30 06:15 opt -> /UNIONFS/opt
dr-xr-xr-x 265 root root    0 Apr 30 06:15 proc
drwxr-xr-x   7 root root  160 Apr 30 10:15 ramdisk
root@Microknoppix:/# cd media
root@Microknoppix:/media#
root@Microknoppix:/media#
root@Microknoppix:/media#
root@Microknoppix:/media# ls -alh|more
total 4.0K
drwxrwxrwx  6 root    root     120 Apr 30 10:15 .
drwxr-xr-x 19 root    root     600 Apr 30 10:15 ..
drwxr-xr-x  2 knoppix knoppix   40 Apr 30 10:15 sda1
drwxr-xr-x  2 knoppix knoppix   40 Apr 30 10:15 sda2
drwxr-xr-x  3 root    root    4.0K Apr 30 10:07 sda3
drwxr-xr-x  2 knoppix knoppix   40 Apr 30 10:15 sr0
root@Microknoppix:/media# chmod 777 sda3
root@Microknoppix:/media# ls -alh|more
total 4.0K
drwxrwxrwx  6 root    root     120 Apr 30 10:15 .
drwxr-xr-x 19 root    root     600 Apr 30 10:15 ..
drwxr-xr-x  2 knoppix knoppix   40 Apr 30 10:15 sda1
drwxr-xr-x  2 knoppix knoppix   40 Apr 30 10:15 sda2
drwxrwxrwx  3 root    root    4.0K Apr 30 10:07 sda3
drwxr-xr-x  2 knoppix knoppix   40 Apr 30 10:15 sr0
root@Microknoppix:/media# cd sda3
root@Microknoppix:/media/sda3# ls -alh
total 20K
drwxrwxrwx 3 root root 4.0K Apr 30 10:07 .
drwxrwxrwx 6 root root  120 Apr 30 10:15 ..
drwx------ 2 root root  16K Apr 30 10:07 lost+found
root@Microknoppix:/media/sda3#
root@Microknoppix:/media/sda3#
root@Microknoppix:/media/sda3#
root@Microknoppix:/media/sda3# git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
Cloning into 'rtl8812AU_8821AU_linux'...
remote: Counting objects: 1578, done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 1578 (delta 4), reused 4 (delta 4), pack-reused 1565
Receiving objects: 100% (1578/1578), 3.58 MiB | 1.15 MiB/s, done.
Resolving deltas: 100% (976/976), done.
root@Microknoppix:/media/sda3# pwd
/media/sda3
root@Microknoppix:/media/sda3#
root@Microknoppix:/media/sda3#
root@Microknoppix:/media/sda3#
root@Microknoppix:/media/sda3#
root@Microknoppix:/media/sda3# ls -alh
total 24K
drwxrwxrwx 4 root root 4.0K Apr 30 10:23 .
drwxrwxrwx 6 root root  120 Apr 30 10:15 ..
drwx------ 2 root root  16K Apr 30 10:07 lost+found
drwxr-xr-x 9 root root 4.0K Apr 30 10:23 rtl8812AU_8821AU_linux
root@Microknoppix:/media/sda3# cd rtl8812AU_8821AU_linux
root@Microknoppix:/media/sda3/rtl8812AU_8821AU_linux#
root@Microknoppix:/media/sda3/rtl8812AU_8821AU_linux#
root@Microknoppix:/media/sda3/rtl8812AU_8821AU_linux#
root@Microknoppix:/media/sda3/rtl8812AU_8821AU_linux#
root@Microknoppix:/media/sda3/rtl8812AU_8821AU_linux#
root@Microknoppix:/media/sda3/rtl8812AU_8821AU_linux#
root@Microknoppix:/media/sda3/rtl8812AU_8821AU_linux# ls -alh
total 164K
drwxr-xr-x 9 root root 4.0K Apr 30 10:23 .
drwxrwxrwx 4 root root 4.0K Apr 30 10:23 ..
-rw-r--r-- 1 root root   64 Apr 30 10:23 clean
drwxr-xr-x 2 root root 4.0K Apr 30 10:23 contrib
-rw-r--r-- 1 root root  570 Apr 30 10:23 CONTRIBUTORS.md
-rwxr-xr-x 1 root root  412 Apr 30 10:23 contributors.sh
drwxr-xr-x 3 root root 4.0K Apr 30 10:23 core
-rw-r--r-- 1 root root  207 Apr 30 10:23 dkms.conf
-rw-r--r-- 1 root root 1.2K Apr 30 10:23 fetch.sh
drwxr-xr-x 8 root root 4.0K Apr 30 10:23 .git
-rw-r--r-- 1 root root  323 Apr 30 10:23 .gitignore
drwxr-xr-x 8 root root 4.0K Apr 30 10:23 hal
-rw-r--r-- 1 root root   52 Apr 30 10:23 ifcfg-wlan0
drwxr-xr-x 4 root root  12K Apr 30 10:23 include
-rw-r--r-- 1 root root  110 Apr 30 10:23 Kconfig
-rw-r--r-- 1 root root  18K Apr 30 10:23 LICENSE
-rw-r--r-- 1 root root  511 Apr 30 10:23 .mailmap
-rw-r--r-- 1 root root  48K Apr 30 10:23 Makefile
-rw-r--r-- 1 root root  707 Apr 30 10:23 Makefile.dkms
drwxr-xr-x 3 root root 4.0K Apr 30 10:23 os_dep
drwxr-xr-x 2 root root 4.0K Apr 30 10:23 platform
-rw-r--r-- 1 root root 1.6K Apr 30 10:23 README.md
-rw-r--r-- 1 root root  423 Apr 30 10:23 runwpa
-rw-r--r-- 1 root root  294 Apr 30 10:23 wlan0dhcp
root@Microknoppix:/media/sda3/rtl8812AU_8821AU_linux#
root@Microknoppix:/media/sda3/rtl8812AU_8821AU_linux#
root@Microknoppix:/media/sda3/rtl8812AU_8821AU_linux#
root@Microknoppix:/media/sda3/rtl8812AU_8821AU_linux# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.12.7-64/build M=/media/sda3/rtl8812AU_8821AU_linux  modules
make[1]: Entering directory '/usr/src/linux-headers-4.12.7-64'
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_cmd.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_security.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_debug.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_io.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_ioctl_query.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_ioctl_set.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_ieee80211.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_mlme.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_mlme_ext.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_wlan_util.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_vht.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_pwrctrl.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_rf.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_recv.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_sta_mgt.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_ap.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_xmit.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_p2p.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_tdls.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_br_ext.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_iol.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_sreset.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_btcoex.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_beamforming.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_odm.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/efuse/rtw_efuse.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/os_dep/osdep_service.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/os_dep/linux/os_intfs.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/os_dep/linux/usb_intf.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/os_dep/linux/usb_ops_linux.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/os_dep/linux/ioctl_linux.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/os_dep/linux/xmit_linux.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/os_dep/linux/mlme_linux.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/os_dep/linux/recv_linux.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/os_dep/linux/ioctl_cfg80211.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/os_dep/linux/rtw_cfgvendor.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/os_dep/linux/wifi_regd.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/os_dep/linux/rtw_android.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/os_dep/linux/rtw_proc.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/hal_intf.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/hal_com.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/hal_com_phycfg.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/hal_phy.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/hal_dm.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/hal_btcoex.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/hal_hci/hal_usb.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/led/hal_usb_led.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/HalPwrSeqCmd.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/rtl8812a/Hal8812PwrSeq.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/rtl8812a/Hal8821APwrSeq.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/rtl8812a/rtl8812a_xmit.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/rtl8812a/rtl8812a_sreset.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/rtl8812a/rtl8812a_hal_init.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/rtl8812a/rtl8812a_phycfg.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/rtl8812a/rtl8812a_rf6052.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/rtl8812a/rtl8812a_dm.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/rtl8812a/rtl8812a_rxdesc.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/rtl8812a/rtl8812a_cmd.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/rtl8812a/usb/usb_halinit.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/rtl8812a/usb/rtl8812au_led.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/rtl8812a/usb/rtl8812au_xmit.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/rtl8812a/usb/rtl8812au_recv.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/rtl8812a/usb/usb_ops_linux.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/rtl8812a/rtl8812a_mp.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/efuse/rtl8812a/HalEfuseMask8812A_USB.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/efuse/rtl8812a/HalEfuseMask8821A_USB.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/phydm_debug.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/phydm_AntDiv.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/phydm_AntDect.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/phydm_interface.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/phydm_HWConfig.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/phydm.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/HalPhyRf.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/phydm_EdcaTurboCheck.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/phydm_DIG.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/phydm_PathDiv.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/phydm_RaInfo.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/phydm_DynamicBBPowerSaving.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/phydm_PowerTracking.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/phydm_DynamicTxPower.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/PhyDM_Adaptivity.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/phydm_CfoTracking.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/phydm_NoiseMonitor.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/phydm_ACS.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/rtl8812a/HalHWImg8812A_FW.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/rtl8812a/HalHWImg8812A_MAC.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/rtl8812a/HalHWImg8812A_BB.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/rtl8812a/HalHWImg8812A_RF.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/rtl8812a/HalPhyRf_8812A.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/rtl8812a/phydm_RegConfig8812A.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/rtl8812a/phydm_RTL8812A.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/rtl8821a/HalHWImg8821A_FW.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/rtl8821a/HalHWImg8821A_MAC.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/rtl8821a/HalHWImg8821A_BB.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/rtl8821a/HalHWImg8821A_RF.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/rtl8821a/HalPhyRf_8821A.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/rtl8821a/phydm_RegConfig8821A.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/rtl8821a/phydm_RTL8821A.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/hal/OUTSRC/rtl8821a/PhyDM_IQK_8821A.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/platform/platform_ops.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_mp.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_mp_ioctl.o
  CC [M]  /media/sda3/rtl8812AU_8821AU_linux/core/rtw_bt_mp.o
  LD [M]  /media/sda3/rtl8812AU_8821AU_linux/rtl8812au.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /media/sda3/rtl8812AU_8821AU_linux/rtl8812au.mod.o
  LD [M]  /media/sda3/rtl8812AU_8821AU_linux/rtl8812au.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.12.7-64'
root@Microknoppix:/media/sda3/rtl8812AU_8821AU_linux#
root@Microknoppix:/media/sda3/rtl8812AU_8821AU_linux# make install
install -p -m 644 rtl8812au.ko  /lib/modules/4.12.7-64/kernel/drivers/net/wireless/
/sbin/depmod -a 4.12.7-64
root@Microknoppix:/media/sda3/rtl8812AU_8821AU_linux#



After compiling the Linux driver for TPLINK AC1300 as shown above , then insert the TPLINK AC1300 in any of the available USB slots , either  USB 2.0  or  USB 3.0 ,  then it should work and it should be able to connect to any Wireless Home Router and we should be able to connect to the Internet  at  802.11 ac  speed .

Saturday, 7 April 2018

Listening to music 1




Song and music for the day ........... 

            It is  Keroncong  Time  [ 1 2 3 4 5 6  ]