Linux 网络设置记录
Tcping
1 | yum install -y tcptraceroute bc |
BestTrace
1 | # 获取安装列表 |
SpeedTest
1 | wget --no-check-certificate -O speedtest https://raw.github.com/sivel/speedtest-cli/master/speedtest.py |
1 | ./speedtest --server id |
Country | Provider | Host | ID |
---|---|---|---|
China | China Mobile Group Zhejiang Co.,Ltd | ltetest1.139site.com:8080 | 4647 |
China | China Telecom ZheJiang Branch | 122.229.136.10:8080 | 7509 |
China | Hangzhou , Zhejiang Unicom | 101.71.241.238:8080 | 5300 |
China | wang su | speedtest.tkfl.cc:8080 | 26308 |
China | 5UFVPN | cn_hz1.we.tm:8080 | 8173 |
China | ZheJiang Mobile XiHu | ltetest6.139site.com:8080 | 12278 |
1 | ./speedtest --list|grep 'China' |
关闭 IPV6
1 | $ ifconfig |
DNS 修改
查看 DNS
1 | cat /etc/resolv.conf |
- 方法一
1 | # 添加配置 dns=done |
- 方法二
1 | # 查看当前启动的连接 |