Two files:
/etc/usb_modeswitch.d/rtl8821cu
/usr/share/usb_modeswitch/0bda:1a2b
TargetVendor=0x0bda
TargetProduct=0x1a2b
StandardEject=1
append followin lines to /lib/udev/rules.d/40-usb_modeswitch.rules
# Realtek rtl8821cu
# TargetVendor=0x0bda
# TargetProduct=0x1a2b
ATTR{idVendor}=="0bda", ATTR{idProduct}=="1a2b", RUN+="usb_modeswitch '/%k'"
hostapd.conf
interface=wlan1
ssid=ssid_nomap
wpa_passphrase=password
country_code=CN
driver=nl80211
wpa=2
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
macaddr_acl=0
logger_syslog=0
logger_syslog_level=4
logger_stdout=-1
logger_stdout_level=0
hw_mode=a
wmm_enabled=1
# N
ieee80211n=1
require_ht=1
ht_capab=[MAX-AMSDU-7935][HT40+][SHORT-GI-20][SHORT-GI-40][DSSS_CCK-40]
# AC
ieee80211ac=1
require_vht=1
ieee80211d=0
ieee80211h=0
vht_capab=[MAX-AMSDU-7935]ht_capab=[MAX-AMSDU-7935][HT40][SHORT-GI-40][DSSS_CCK-40]
#vht_oper_chwidth=1
channel=36
#vht_oper_centr_freq_seg0_idx=42
can you provide the files please or any source to download them ?