The Linux Thread - The Autist's OS of Choice

  • Want to keep track of this thread?
    Accounts can bookmark posts, watch threads for updates, and jump back to where you stopped reading.
    Create account
Just checking, but this isn't just a modem where Lan1 is your primary intenet connection and the other lan ports are if you're subscribed to additional services from your ISP such as IPTV or VOIP?
 
View attachment 7781379
I think all this shit is message from god that i should just fuck off to Win10 but even then i had same problem that i fixed somehow but i forgot how.....
Did you not install any networking programs?

Not sure what cachyos installs for you.

If it doesn't have dhcpcd. It could have some kind of set up with connman, or network manager, and dhcpclient, wpa_supplicant. Maybe iwd. Normally dhcpcd would get pulled in by most things during an installation. Since I've never tried instally cachyos I really don't know if you need to actually check a box, to have it install a networking set up for you. Or if it does it automatically no matter what. You are going to have to look for what you have on your system. Maybe look at the arch wiki to get an idea of what programs you should be looking for.

Or like they said reinstall. This time make sure you install something to manage your network. NetworkManager is the easiest. And likely what you want.


He has the debilitating autism. He would've gotten farther trying to push the merge as a bugfix.

It sucks because bcachefs is pretty cool, much like reiser4 was back in the day, but whoops
I think he did try saying it was a bugfix. But Linus saw that it was a lot more than a bugfix. From what I recall, he did something similar before, but the "bugfixes" were gradually just turning into late commits. And he has already caused problems with missing the merge window in the past.

You're right definitely extreme autism.
 
Great Moments in Shell Scripting (Link):
Bash:
# delete only when it is empty directory
if [ $( find ${MOUNTPOINT} | head | wc -l | bc ) -eq 1 ]
then
  rm -r "${MOUNTPOINT}"
fi
 
Well just managed to fix it i unplugged all shit from router then plugged and unpluged until i got net which was at Lan 4 so i guess in future if any of you have same problem like me just do that (thought i swear to god i already tried this but maybe it just didnt auto connect so i got no net ?) but eh who cares it is fixed. Also i seen that CachyOS has Cloudfare as sponsor and that aint it chief so anny recs for mongoloids like me ? (i tried Mint but the perfomance was awfull for some reason)
 
Last edited:
Great Moments in Shell Scripting (Link):
Bash:
# delete only when it is empty directory
if [ $( find ${MOUNTPOINT} | head | wc -l | bc ) -eq 1 ]
then
  rm -r "${MOUNTPOINT}"
fi
1755264434903.webp
Reminded me of this
 
That’s the kind of feature I would consider extenuating circumstances at a murder trial.
 
Found another program that suggests the "just run this script off the Internet as root" nonsense again. Ollama. At least they point you at the source but it's pretty ugly for a shell script.
This is pretty standard these days. "Pipe curl to sh" is a security horror but they do it anyway.
 
And usually scipts like these just download a tarball and extract it into /usr/local/bin, which makes me wonder... why not just make a self-extracting archive? It would also save everyone the headache of making sure that some specific packages that you decided to use in the script are available.
 
And usually scipts like these just download a tarball and extract it into /usr/local/bin, which makes me wonder... why not just make a self-extracting archive? It would also save everyone the headache of making sure that some specific packages that you decided to use in the script are available.
Often they determine what package manager system you have then add the correct repository to your sources list. At least that's how Brave works.

It could be solved by a universal package that lists repositories for all distros
 
And usually scipts like these just download a tarball and extract it into /usr/local/bin, which makes me wonder... why not just make a self-extracting archive? It would also save everyone the headache of making sure that some specific packages that you decided to use in the script are available.
Looking at the script, it makes sure you're running Linux or WSL2, sets up an ollama user, adds ollama to systemd as a service, probes your GPU and sees if it's AMD or NVIDIA, installs CUDA or ROCm accordingly or sets it to CPU-only if you don't have a supported GPU. So, yeah, it's pretty involved.

My two main issues with the script is that it doesn't see if mktemp exited successfully and also is pretty naive at checking NVIDIA/AMD (most consumer grade AMD cards out there in the wild don't support ROCm.)
 
Ollama is likely packaged by your distro. They probably should have that as the first instruction.
https://gpo.zugaina.org/app-misc/ollama -- Two Gentoo overlays are listed here but only one is seen in eselect repository, and that's the one packaging 0.5.x when latest stable is 0.11.x. It's server-first shitware that thinks it's sane to install a systemd service in order to use a piece of software. Much better to just DIY my build.

But yeah, might be packaged by other distroes. And that's what they ought to point at. But distroes update slow, and LLM tech is quick-moving. Ollama's front end is written in Go.
 
And usually scipts like these just download a tarball and extract it into /usr/local/bin, which makes me wonder... why not just make a self-extracting archive? It would also save everyone the headache of making sure that some specific packages that you decided to use in the script are available.
And they could make it a standard format. So everyone will all do it the same, and have the same requirements to make them work.

It will be like an archive, that's an image of an app. Maybe they could name it appimage.

Piping head into wc into bc cannot simply be due to not having any bashisms, can it? Is this some kind of final form of POSIX shell autism?
I'm sure there is another way they could have done it in posix sh. I don't want to bother thinking about how I would try doing it. Even though more strict posix shells won't have some of the nice things bash has, they aren't THAT limited.
 
Back
Top Bottom