Ubuntu режет скорость интернета

ubuntu server 12.04 кто то режет скорость

Собственно проблема такая: server 12.04 , стоит lamp, ssh, proftpd.
Кто то режет скорость сам так и не нашёл, в каком плане режет : хоть по ssh закачка/скачка файлов в том числе wget хоть по ftp , хоть через веб интерфейс ограничена 2 мб/с. С начало грешит на конфиг proftpd отключил шейпер и тд не помогло.
А потом оказывается все системы режется. Подул на tc но там в нём не разобрался. Собственно вопрос может кто знает в чём причина неизвестного шейпера.
На других форумах спрашивал 0 ответ, сразу привожу данные дополнительные:

iptables-save
# Generated by iptables-save v1.4.12 on Sun Apr 20 23:00:00 2014
*filter
:INPUT ACCEPT [1125739:836482440]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [1199664:1183735515]
:fail2ban-apache — [0:0]
:fail2ban-dovecot — [0:0]
:fail2ban-proftpd — [0:0]
:fail2ban-ssh — [0:0]
:fail2ban-ssh-ddos — [0:0]
:ispmgr_allow_ip — [0:0]
:ispmgr_allow_sub — [0:0]
:ispmgr_deny_ip — [0:0]
:ispmgr_deny_sub — [0:0]
-A INPUT -p tcp -m multiport —dports 25,465,143,220,993,110,995 -j fail2ban-dovecot
-A INPUT -p tcp -m multiport —dports 21,20,990,989 -j fail2ban-proftpd
-A INPUT -p tcp -m multiport —dports 80,443 -j fail2ban-apache
-A INPUT -p tcp -m multiport —dports 2012 -j fail2ban-ssh-ddos
-A INPUT -p tcp -m multiport —dports 2012 -j fail2ban-ssh
-A INPUT -j ispmgr_deny_ip
-A INPUT -j ispmgr_allow_ip
-A INPUT -j ispmgr_allow_sub
-A INPUT -j ispmgr_deny_sub
-A INPUT -j LOG
-A FORWARD -j LOG
-A fail2ban-apache -j RETURN
-A fail2ban-dovecot -j RETURN
-A fail2ban-proftpd -j RETURN
-A fail2ban-ssh -j RETURN
-A fail2ban-ssh-ddos -j RETURN
COMMIT
# Completed on Sun Apr 20 23:00:00 2014

Читайте также:  Мтс личный кабинет проверить скорость интернета

lshw -c network
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:01:00.0
logical name: eth0
version: 07
serial: b8:97:5a:32:50:02
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full
firmware=rtl8168e-3_0.0.4 03/27/12 ip=xx.xxx.xxx.xx latency=0 link=yes multicast=yes port=MII speed=100Mbit/s resources: irq:46 ioport:e000(size=256)
memory:e0004000-e0004fff memory:e0000000-e0003fff

ifconfig -a
eth0 Link encap:Ethernet HWaddr b8:97:5a:32:50:02
inet addr:xx.xxx.xxx.xx Mask:255.255.255.240
inet6 addr: fe80::ba97:5aff:fe32:5002/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1137507 errors:0 dropped:0 overruns:0 frame:0
TX packets:1133036 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:740061337 (740.0 MB) TX bytes:1156847663 (1.1 GB)

lo
Link encap:Локальная петля (Loopback)
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:159093 errors:0 dropped:0 overruns:0 frame:0
TX packets:159093 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:142670472 (142.6 MB) TX bytes:142670472 (142.6 MB)

iperf —
0.0-12.5 sec 3.00 MBytes 2.01 Mbits/sec хоть у сервера хоть у клиента.

Источник

Ubuntu — низкая скорость интернета

enp2s0: flags=4099 mtu 1500 ether f4:b5:20:03:9c:ae txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73 mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 1000 (Локальная петля (Loopback)) RX packets 10714 bytes 1031770 (1.0 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 10714 bytes 1031770 (1.0 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Читайте также:  Установить через интернет ворд

wlxd037456036dc: flags=4163 mtu 1500 inet 192.168.31.69 netmask 255.255.255.0 broadcast 192.168.31.255 inet6 fe80::30e2:60f8:3c6c:6385 prefixlen 64 scopeid 0x20 ether d0:37:45:60:36:dc txqueuelen 1000 (Ethernet) RX packets 827038 bytes 1158283513 (1.1 GB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 404133 bytes 40370979 (40.3 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

и еще *-network
описание: Ethernet interface продукт: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller производитель: Realtek Semiconductor Co., Ltd. физический ID: 0 сведения о шине: pci@0000:02:00.0 логическое имя: enp2s0 версия: 15 серийный №: f4:b5:20:03:9c:ae capacity: 1Gbit/s разрядность: 64 bits частота: 33MHz возможности: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation конфигурация: autonegotiation=on broadcast=yes driver=r8169 firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=MII ресурсы: IRQ:16 ioport:e000(размер=256) память:dfe04000-dfe04fff память:dfe00000-dfe03fff *-network описание: Беспроводной интерфейс физический ID: 1 сведения о шине: usb@1:3 логическое имя: wlxd037456036dc серийный №: d0:37:45:60:36:dc возможности: ethernet physical wireless конфигурация: broadcast=yes driver=rtl8xxxu driverversion=5.4.0-42-generic firmware=N/A ip=192.168.31.69 link=yes multicast=yes wireless=IEEE 802.11

Источник

Ubuntu 20.04 Network Performance Extremely Slow

I just upgraded from Ubuntu 18.04 to 20.04 on one of the Dell XPS 13 machines, and the network performance is abhorrent. Internet speed is very fast from a google speed test (>300Mb/s for both upload and download). However, whenever I try to browse a website or even run sudo apt update the connection will often time out. My internet is very fast on all other devices and I really don’t know how to debug this problem.

sudo lshw -class network -short && nmcli device status 
H/W path Device Class Description ============================================================== /0/100/1c.6/0 wlp2s0 network Wi-Fi 6 AX200 /3 br-96f5b790e29e network Ethernet interface /4 br-15e76fb81c05 network Ethernet interface /5 docker0 network Ethernet interface DEVICE TYPE STATE CONNECTION wlp2s0 wifi connected CSA HQ br-15e76fb81c05 bridge connected br-15e76fb81c05 br-96f5b790e29e bridge connected br-96f5b790e29e docker0 bridge connected docker0 p2p-dev-wlp2s0 wifi-p2p disconnected -- lo loopback unmanaged -- gpd0 tun unmanaged -- 

Solution:

It seems like this is a pretty common problem, and one without a definitive cause. For me, it was because Ubuntu resets the TLP configuration, and the power management went back to «on». I disabled Wi-Fi power management directly by editing:

sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf 

Then changed the value from 3 to 2, saved changes and rebooted. I actually got this solution from Reddit and this worked for my case specifically but it seems like it could be caused by a bunch of other things. Read all the proposed solutions below!

Читайте также:  Интернет усилитель беспроводной сети

Источник

Оцените статью
Adblock
detector