How to Speed up your connection internet on Linux Terminal | General Hacking | Crax

Welcome To Crax.Pro Forum!

Check our new Marketplace at Crax.Shop

   Login! SignUp Now!
  • We are in solidarity with our brothers and sisters in Palestine. Free Palestine. To learn more visit this Page

  • Crax.Pro domain has been taken down!

    Alternatives: Craxpro.io | Craxpro.com

How to Speed up your connection internet on Linux Terminal

How to Speed up your connection internet on Linux Terminal

LV
1
 

buterinmakeyouwet

Member
Joined
Jul 23, 2023
Threads
12
Likes
2
Awards
4
Credits
1,251©
Cash
0$
You can perform some network optimizations using the terminal on Linux to potentially improve your internet connection speed. Here are some commands and steps you can try:

  1. Flush DNS Cache:
    bash
    sudo systemd-resolve --flush-caches
  2. Change DNS Server (example: Google DNS):
    bash
    sudo nano /etc/resolv.conf
    Edit the file to include the following lines:
    nameserver 8.8.8.8
    nameserver 8.8.4.4
    Save and exit the file. Restart the network service:
    bash
    sudo systemctl restart NetworkManager
  3. TCP Window Scaling: Edit the sysctl.conf file:
    bash
    sudo nano /etc/sysctl.conf
    Add the following lines:
    net.ipv4.tcp_window_scaling = 1
    net.ipv4.tcp_timestamps = 1
    Save and apply the changes:
    bash
    sudo sysctl -p
  4. TCP Congestion Control (example: BBR):
    bash
    sudo nano /etc/sysctl.conf
    Add the following line:
    net.core.default_qdisc=fq
    net.ipv4.tcp_congestion_control=bbr
    Save and apply the changes:
    bash
    sudo sysctl -p
  5. Limit Resolving IPv6 Addresses: Edit the sysctl.conf file:
    bash
    sudo nano /etc/sysctl.conf
    Add the following line:
    arduino
    net.ipv6.conf.all.disable_ipv6 = 1
    net.ipv6.conf.default.disable_ipv6 = 1
    net.ipv6.conf.lo.disable_ipv6 = 1
    Save and apply the changes:
    bash
    sudo sysctl -p
  6. Use iperf to Test Network Speed: Install iperf if not already installed:
    bash
    sudo apt-get install iperf
    Run iperf as a server on one machine:
    bash
    iperf -s
    Test the network speed from another machine:
    bash
    iperf -c <server_ip>
Please note that these commands and changes might have varying effects depending on your network setup and conditions. It's recommended to apply them one at a time, monitor your network performance, and revert any changes if they do not yield the desired results or cause issues.

Nyas
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

Top Bottom