Slow internet connection on Ubuntu 19.04

I can’t resolve it on my own and I can’t find any usable information so far so please help me.

I have an LTE router that serves as main gate of my network, then I have the second router that bridges connection to the first one, and PC wired to the second one. The altogether network setup working fine, even with another debian based system, but Ubuntu gives me just 20Kb/s instead of regular 1Mb/s. IpV6 already disabled, DNS already set to 8.8.8.8 and 8.8.4.4, is there anything else I can do? Please help, I need this to be resolved ASAP.

Using java stops internet access

Every time I attempt to use a java application that requires internet access the network stops working. I cannot ping local ips or the router. This only happens after using Java

If I run the network test command I get this error:

 network-test INFO: This system has exactly one default route INFO: Host localhost answers to ICMP pings INFO: Loopback interface is working properly INFO: The enp3s0 interface is up INFO: The enp3s0 interface has IP address 192.168.1.135 assigned INFO: The enp3s0 interface has tx and rx packets. WARN: Router 192.168.1.254 does not answer to ICMP pings ERR: We cannot retrieve a MAC address for router 192.168.1.254 WARN: The router 192.168.1.254 for the default route (in interface enp3s0) is not reachable ERR: The default route is not available 

Thanks for any help.

Browsers only using 1% of the internet capacity when downloading files

It just happened around yesterday, I tried to download some of the materials for my courses, but my browser only seem to be using 1% of my wifi capacity, more specifically it couldn’t even reach 1mb/s of download speed, I tested out another laptop, and it got 13mb/s of download speed. Any ideas?, Thanks !!

Share internet between ADSL router and SHDSL (Only data) router

I have 2 routers : 1-ADSL Router 2-SHDSL Router (No internet, Only data are transmitted through ISP to clients)

ADSL Router is used to connect to internet Main SHDSL Router is used to connect company branches together (Each branch has its SHDSL Router)

Here is the map for connection

Network map picture

Clients are able to ping each others (ADSL and SHDSL)

Now what I want to share the internet from one point to other points

How to do it?

Please have a look on the photo to understand exactly what I want

I could not describe my needs in text so I draw a picture which will help you to understand my needs.

Internet Business Startup Kit Advanced (eBook) for $2

Internet Business Startup Kit Advanced Many eager business owners fail to recognize that there are critical elements that must be done in order to have a successful business. This ebook will give you information you must know for setting a solid fundation for your own successful Internet business! You’ll Learn How To: Map out your business planBuild a strong foundationUtilize free tools for setup and trackingEnjoy the benefits of owning a businessProduct Terms [YES]Can be sold [YES]Can be used for personal use [YES]Can be packaged with other products [YES]Can modify/change the sales letter [YES]Can be added into paid membership websites [YES]Can put your name on the sales letter [YES]Can be offered as a bonus [YES]Can be used to build a list [YES]Can print/publish offline [YES]Can convey and sell Personal Use Rights [YES]Can convey and sell Resale Rights [YES]Can convey and sell Master Resale Rights [NO]Can modify/change the main product [NO]Can modify/change the graphics and ecover [NO]Can be given away for free [NO]Can be added to free membership websites [NO]Can convey and sell Private Label Rights

by: Omate
Created: —
Category: eBook
Viewed: 196


Internet only works for a minute or two then won’t work anymore

After a minute or so, the wifi stops working as in, it is still connected to the wifi but there is no data being transferred. This started happening when I upgraded the kernel to 4.17 (from 4.15) and it won’t even register my usb adapter when i run 4.17 but will only work for a minute or so. If I log into windows on the same system with the same wifi adapter everything works good. I have confirmed that this is not a problem with my general wifi because it works when I boot into windows on the same machine, and it also works on my laptop which is also running Ubuntu. Before this happened, it has been working with no hiccups for 5 months since I switched over on this pc.

I followed these commands to install my driver back when:

sudo git clone https://github.com/gnab/rtl8812au.git sudo cp -r rtl8812au  /usr/src/rtl8812au-4.2.2 sudo dkms add -m rtl8812au -v 4.2.2 sudo dkms build -m rtl8812au -v 4.2.2 sudo dkms install -m rtl8812au -v 4.2.2 

lsusb

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 002: ID 0bda:a811 Realtek Semiconductor Corp.  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 145f:01c1 Trust  Bus 001 Device 002: ID 0c45:5104 Microdia  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 

ifconfig

enp33s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500         ether 30:9c:23:03:94:d2  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  enx000f004aa319: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500         inet6 2600:1700:16e0:6d90:1522:cd74:5f8a:6dc3  prefixlen 64  scopeid 0x0<global>         inet6 2600:1700:16e0:6d90:be9b:318:b16d:dfcf  prefixlen 64  scopeid 0x0<global>         inet6 fe80::ae05:cd57:188b:30dd  prefixlen 64  scopeid 0x20<link>         ether 00:0f:00:4a:a3:19  txqueuelen 1000  (Ethernet)         RX packets 10399  bytes 13031066 (13.0 MB)         RX errors 0  dropped 1816  overruns 0  frame 0         TX packets 5708  bytes 760985 (760.9 KB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536         inet 127.0.0.1  netmask 255.0.0.0         inet6 ::1  prefixlen 128  scopeid 0x10<host>         loop  txqueuelen 1000  (Local Loopback)         RX packets 1011  bytes 93331 (93.3 KB)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 1011  bytes 93331 (93.3 KB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0 

sudo 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:21:00.0                                                logical name: enp33s0                                                     version: 15                                                               serial: 30:9c:23:03:94:d2                                                 size: 10Mbit/s                                                            capacity: 1Gbit/s                                                         width: 64 bits                                                            clock: 33MHz                                                              capabilities: pm msi pciexpress msix 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=half firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=MII speed=10Mbit/s                                     resources: irq:35 ioport:f000(size=256) memory:fe604000-fe604fff memory:fe600000-fe603fff   *-network                                                                      description: Wireless interface                                           physical id: 1                                                            bus info: usb@3:1                                                         logical name: enx000f004aa319                                             serial: 00:0f:00:4a:a3:19                                                 capabilities: ethernet physical wireless                                                                                                               configuration: broadcast=yes driver=rtl8812au multicast=yes wireless=IEEE 802.11bgn          

Can’t connect to LAN and internet at same time

I can’t connect to a local network with ethernet and internet through wifi at same time on macOS. The normal reordering solutions don’t work. Here is the first few lines of routing table:

➜ netstat -rn Routing tables  Internet: Destination        Gateway            Flags        Refs      Use   Netif Expire default            10.100.8.1         UGSc          165        0     en0 default            10.125.32.1        UGScI           8        0     en7 

The first entry is my WiFi network through which I can normally access internet, and second is the restricted local ethernet connection.

Mobile phone internet USB tethering very SLOW

I have galaxy s6 edge+ My download speeds on my phone is 33+mb/s with my mobile carrier. I connect the phone to my PC and use the internet from the phone with USB tethering enabled.

The download speed is now 30kb/s on my computer but still 33mb/s on my phone.

Why has the speed been very limited via USB tethering, and how can I fix this issue?

I have tried changing/updating the USB tehter driver via Device manager to the Microsoft:

Remote NDIS based Internet Sharing Device

and

Remote NDIS Compatible Device

neither helped.

iptables script breaking internet connection

Looking for some help in where I’m going wrong with an iptables script I’ve been using for a long time.

I was using this on Ubuntu Server 16.04 without any problems, I’ve upgraded to 19.04 (yes it’s a fresh install) and suddenly I have issues I can’t seem to overcome..

script: *filter  :INPUT DROP  :FORWARD DROP  :OUTPUT DROP  -A INPUT -s 192.168.1.1/24 -j ACCEPT  -A OUTPUT -d 192.168.1.1/24 -j ACCEPT  -A INPUT -s 127.0.0.1 -j ACCEPT  -A OUTPUT -d 127.0.0.1 -j ACCEPT  -A OUTPUT -d *VPN IP here* -p udp -j ACCEPT  -A INPUT -s *VPN IP Here* -p udp -j ACCEPT  -A INPUT -i tun0 -j ACCEPT  -A OUTPUT -o tun0 -j ACCEPT  COMMIT 

Without these rules in iptables, the VPN works perfectly on 19.04

As soon as I commit these rules to iptables, the internet shuts off as such, I can’t get a ip readback from curl ipecho.net/plain just says cant resolve hostname, yet however I can ping google (8.8.8.8) and it pings fine. I can’t even get any update list from ubuntu with apt-get update.

I’ve checked that the adapter names are correct and the VPN is tun0 so it’s not that.

The script is designed to kill the internet if something happens to the VPN connection (network cable unplugged, router reset etc downtime on the VPN server), however the VPN works and is connected so I’m not sure why it won’t work as intended.

As I say it worked perfectly on 16.04 however wont on 19.04. Confused.

Any help would be hugely appreciated.