网络相关:
安装WiFi驱动,连接WiFi
sudo apt-get install linux-headers-amd64
make
sudo bash install-driver.sh
uname -a
sudo apt-get install linux-headers-6.1.0-11-amd64
sudo bash install-driver.sh
ip addr
lsusb
lsmod
find / -name 8821
cat /etc/modprobe.d/8821cu.conf
find / -name 8821*ko 2>/dev/null
sudo modprobe 8821cu
ip addr
nmcli device
dkms
apt-search dkms
sudo apt-get install dkms
sudo bash install-driver.sh
连接WiFi:
nmcli device wifi list
nmcli device wifi connect MYSOFT
sudo nmcli device wifi connect MYSOFT
sudo nmcli device wifi connect MYSOFT password
sudo nmcli device wifi connect MYSOFT password 'mysoft.cn'
nmcli connection
cd
sudo firewall-cmd --list-all
sudo firewall-cmd --list-all-zones
ip addr
sudo nmcli connection
sudo nmcli connection modify MYSOFT connection.zone external
sudo nmcli connection up MYSOFT
ip addr
sudo firewall-cmd --list-all
sudo firewall-cmd --list-all-zones
ip addr
ip route
traceroute www.baidu.com
sudo nmcli connection modify MYSOFT ipv4.routes '113.140.66.0/24 192.16
sudo nmcli connection up MYSOFT
ip route
标签:sudo,nmcli,ip,WiFi,connection,驱动,MYSOFT,连接
From: https://www.cnblogs.com/zttong/p/17862533.html