我有一个OVH服务器。
当我在上面安装Ubuntu 16.04或18.04或18.10时,互联网的下载速度为70 70Mbps,上传速度为4.16 70Mbps。
我已经在16.04,18.04和18.10搜索了很多,但是我失败了。
我试过在ubuntu 16.04上很慢的互联网连接和https://unix.stackexchange.com/questions/366220/ubuntu-16-04-minimal-extremely-slow-internet-connection,但是没有运气
我不想使用Ubuntu19.04,因为它非常新,而且还不是所有的东西都支持它。
谢谢!
发布于 2020-02-21 10:39:51
卸载networkmanager也起了作用,并配置了/etc/network/interfaces。特别是对于有线桌面,我发现这是最快和最可靠的,因为它不依赖于systemd。
sudo systemctl disable network-manager
sudo systemctl stop network-manager如果您想完全删除网络管理器:
sudo apt-get purge network-manager
sudo apt autoremove查查你的网卡(S)
ifconfig -a
sudo gedit /etc/network/interfaces基于2张网卡的示例:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
# Internet
auto enp5s0 (replace with your network card)
iface enp5s0 inet dhcp (replce with your network card)
netmask 255.255.255.0
gateway 192.168.xxx.xxx
# Server connection
auto enp4s0 (replace with your network card)
iface enp4s0 inet static (replace with your network card)
address 192.168.xxx.xxx
netmask 255.255.xxx.xxx
mtu 9000 (correct to server speed/ network cards and abillity of jumbo frames)重新启动或将网卡打开:
ifup <your network card> https://askubuntu.com/questions/1145149
复制相似问题