💾 Archived View for bbs.geminispace.org › u › oldernow › 12776 captured on 2023-12-28 at 15:59:56. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
So we have ourselves another Monday.
Last night I seeming fixed an issue on my Chromebook that's been nagging away for something like half a year. I don't even know what lingo to use to describe it. But if you're familiar with a Chromebook, you might be familiar with its "crosh" shell (which surfaces a command line interface to do things one apparently can't do on the Chromebook graphically (NOTE: accessed via Ctrl-Alt-t)) and its "Terminal" app (which presents a Linux environment).
Anyway, about half a year ago it was suddenly taking "half of forever" to connect to sites via the likes of ssh/sftp, which of course can play into maintaining a gemlog if/when you don't host yourself. And then recently I noticed using the slrn newsreader also incurred a disturbingly long startup during the authentication phase... and, well, I've been wanting to explore USENET again, and sitting around waiting for *minutes* to finally see username/password prompts quickly became intolerable.
So I tried a bit of "ping" and "tracepath", and those were showing similar delays "just to get going", as it were.
Lo and behold, ping/tracepath behaved differently in crosh than in Terminal (they ran at reasonable/expected speeds), leading me to believe there had to be something in the networking stack of Terminal leading to my pain.
Anyhow, more browsing, more disappointment over finding anything/everything *but*... when I was suddenly reading from someone about disabling IPv6 possibly helping in some situations.
So I tried it.
And, boom, the problem was gone!
Here's what worked (the first and last lines are merely to look at network interface info, issued *twice* to compare before/after the effective lines):
sudo ip a sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1 sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1 sudo ip a
Dec 18 · 10 days ago · 👍 stack, Minko_Ikana