git clone https://git.zhangyuqing.cn/zhangyuqing/linux-rtl8822cs-wifi export CONFIG_WIRELESS=y export CONFIG_CFG80211=y export CONFIG_MAC80211=y export CONFIG_CFG80211_WEXT=y export CONFIG_WLAN=y ...
互联网技术
Open the Promiscuous mode of interface
Toggling promiscuous mode will make a (wireless) NIC forward all traffic it receives to the OS for further processing. This is opposite to "normal mode" where a NIC will drop frames it is not inte...
How to mount a external disk by systemd
sudo vim /etc/systemd/system/backup.mount [Unit] Description=Backup Hard Driver mount After=network.target wpa_supplicant.service [Mount] What=/dev/disk/by-label/backup Where=/backup T...
How to create a systemd service for jar package
sudo groupadd -r appmgr sudo useradd -r -s /bin/false -g appmgr jvmapps id jvmapps [Unit] Description=Manage Java service After=network.target [Service] WorkingDirectory=/etc/aliyun-dr...
Convert cr2 photo to jgp in MacOS
No need for slow and heavy Photoshop scripts for this one, you can do easily do this right from your terminal window. This is possible using "sips", an image editing tool already avai...
Cannot edit/create page anymore after upgrading confluence
error:content_procedure_for_denormalised_permissions does not exist You can create the 5 missing procedures by executing this: Note1: It has to be executed by a privileged user (root) Not...
Clean log scripts for armbian
Below is the clean log script of ubuntu on armbian. #!/bin/sh #Check the Drive Space Used by Cached Files du -sh /var/cache/apt/archives #Clean all the log file #for logs in `find /var/log -t...
Comparison of unixbench running points of S905X3 and S905D
Hardware parameters: S905X3: 1.9GHZ + 4GRam + 64G EMMCS905D: 1.5GHZ + 2GRam + 128G EMMC Single core comparison: S905X3 S905D Multi-core comparison: S905X3 S905D:
How to install jupyter notebook on ubuntu 20.04
Base environment: ➜ ~ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal ➜ ~ python --version Python 3.8.5 ➜ ~...
How to control the fan speed on ubuntu 20.04
sudo apt-get install lm-sensors sudo apt-get install fancontrol sudo apt-get install sensors-applet sudo apt-get install hddtemp libpanel-applet3 libsensors-applet-plugin0 sensors-applet sudo add...
Auto connect the wifi network on Ubuntu 20.04
You need to create a wpa_supplicant-wlan0.conf. So use wpa_passphrase to generate one: wpa_passphrase MyNetwork SuperSecretPassphrase > /etc/wpa_supplicant/wpa_supplicant-wlan0.conf Enable i...
Increase the TMP partion spaces for pip3
sudo umount -l /tmp sudo mount -t tmpfs -o size=5G,mode=1777 overflow /tmp
Change dns server on ubuntu 20.04
sudo vim /etc/resolv.conf sudo systemctl disable --now systemd-resolved sudo vim /etc/NetworkManager/NetworkManager.conf repleace dns with none sudo systemctl restart NetworkManager sudo reboot