💾 Archived View for altesq.net › ~masqq › gemlog › 2022-07-10.gmi captured on 2022-07-16 at 13:44:05. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

Limiting bandwidth speed

Part of my old computing challenge is to limit my bandwidth speed. I chose 1mb/s download and 500kb/s upload, as I can do everything I usually do, although with a bit more waiting and patience.

We are used for everything to load instantly on the internet, which facilitates the big tech corporations interests, by making it possible for them to make addictive products or use techniques like infinite scrolling. Besides, not having everything load instantly can make you grow patience and it gives you time to think think before doing something on the internet, or gives you the nostalgic feeling of the internet before the 2010s. Most web programs are so heavy they don't load with the speed

caps I've put, so I suggest to you that if it a program doesn't load with this speed, it should be removed from your workflow. Not everyone has access to good internet speed, and this facilitates discriminating against those that cannot afford or don't have at all high internet speed, because they cannot load all the bloat of today's web pages. We've become entitled to having everything instantly delivered to us, which is a form of instant gratification.

$ git clone https://github.com/magnific0/wondershaper
$ cd wondershaper
# wondershaper -a <adapter> -d 1000 -u 500

The above command caps the internet to 1mb/s download and 500kb/s upload. To find your adapter, execute `ip a` and look for something beginning either with `enp` or `eth` if you use ethernet, or `wlan` if you use Wi-Fi.

# wondershaper -c -a <adapter>

The above command removes the cap from your adapter.

If you want to make it auto start at boot, it features a systemd script, you have to install it first. Replace neovim with your favorite editor, and edit the wondershaper.conf file with your desired parameters.

# make install
# nvim /etc/systemd/wondershaper.conf
# systemctl enable --now wondershaper

Home