📌  相关文章
📜  ubuntu 18.04 上的互联网 wifi 速度慢 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:50.038000             🧑  作者: Mango

代码示例1
# 1st Solution: Fix the bug in Debian Avahi-daemon
sudo vim /etc/nsswitch.conf
# change hosts from files mdns4_minimal [NOTFOUND=return] dns to following
hosts:          files dns
# save and restart

# 2nd Solution: Disable IPv6 support
sudo su
echo "#disable ipv6" >> /etc/sysctl.conf
echo "net.ipv6.conf.all.disable_ipv6 = 1" >> /etc/sysctl.conf
echo "net.ipv6.conf.default.disable_ipv6 = 1" >> /etc/sysctl.conf
echo "net.ipv6.conf.lo.disable_ipv6 = 1" >> /etc/sysctl.conf
# Restart the computer