There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

dr_jekell , in Looking for Linux SFF PC Post
@dr_jekell@lemmy.world avatar

For anyone looking for a basic PC have a look at off lease PC’s.

Most of the PC’s will be business class PC so even if they are several years old they still have several years more life left in them.

luthis , in Easiest way to switch distros

How did you get on with this? I was looking to do this myself.

It’s that one step closer to having a customised disposable distro

nik282000 , in Switching to Debian on my gaming pc
@nik282000@lemmy.ca avatar

Late to the thread but I would say yeah, Debian is good for gaming. The only place I have issued is with VR, otherwise it’s been smooth sailing for the past 3 years.

lemmyvore , in Switching to Debian on my gaming pc

Linux Mint Debian Edition (LMDE 6) might also be a good fit for you.

recarsion , (edited ) in My Experience Of Linux Gaming (Switching from Windows)

Assetto Corsa works? I haven’t managed to get it running at all yet (unlike ACC which works beautifully), did you do any tweak?

Ultimatenab OP ,

I only launched the vanilla version but I haven’t installed connect manager and the near 200gb of as ones yet.

Nibodhika , in Is linux good for someone tech illererate.

Linux and Windows are very similar, but they have some very important differences. My recommendation to you would be to install a VM and try to use Linux, if your computer can’t handle a VM or you want a closer experience at running Linux, you can create a Live USB with a program called Rufus, it should even allow you to set some permanence so you don’t have to redo everything every time you boot it. Running Linux from the USB will let you use the system without altering anything, and you’ll have an install button that will have a graphical interface to install Linux on your system should you want to.

doctorn , in Switching to Debian on my gaming pc
@doctorn@r.nf avatar

Last time I tried this myself I could play a lot, but never the ones I wanted and ended up switching back anyway. Ever since I’ve just always been running a linux and a windows PC, each to its best use.

I must stress however this experience of mine was over a decade ago and I have heard there’s been a lot of improvement on the subject, with steamdeck becoming a thing and alike, so I have no up-to-date experience in what runs and what doesn’t anymore. What I cán tell you however is that whichever Windows-only game did play (using Wine back then, dunno how it’s done these days) always played at least 2-5x better than on the actual Windows it was made for. 😅

So good luck and I would love some information as to your eventual result!

possiblylinux127 , in Easiest way to switch distros

I’m pretty sure there’s a easier way. I don’t know what that way is but you likely don’t need Ansible

GustavoM , in Easiest way to switch distros
@GustavoM@lemmy.world avatar

You could make a live distro image(s) of your choice and use em on a pendrive with ventoy installed. (It’s a bit tricky tho.)

thayer , (edited ) in Bluetooth dongle recommendation

It seems that BT 5.3 in USB format is a challenge to find, let alone support under Linux. If 5.0 is acceptable, the TP Link UB500 uses an RTL8761B chipset which has been supported since around kernel 5.16.

I have a few UB500 and UB400 adapters and both have worked OOTB without issue under Fedora.

Pantherina , in Privacy DNS Chooser Script v1.0 "Snow Breeze"

Cool project! Do you know Captive portals? Because there you need to use DHCP DNS a lot, and turn off dnssec and dot afaik

Baritone5371 OP , (edited )

Hello! That's something that I should keep an eye on! When speaking about Captive Portals, I just assume everyone uses 4G/5G (which doesn't require these portals to be used) instead of open networks. My script already has DNSSEC disabled since it has caused some problems during testing. BTW, just a question : Are these portals very common? I haven't seen one since years now.

Pantherina ,

In Germany every public wifi, train (ICE windows block cell internetand they are currently lasering small waves in them), hotels, cafes, private wifis even if you are a guest.

Because of “data protection” everyone needs to accept TOS so every network has them.

No idea where you live but cell data is often expensive.

I just use the MullvadVPN app, my systemd-resolved is plain and insecure and Mullvad does all the secure DNS stuff. Obviously sucks and is not scalable at all.

Systemd implementing a switch that could then be integrated into GUIs, like KDE6’s captive portal opener, is crucial. So for the portals you would make the DNS insecure, log in and secure it again. Best automatically.

Baritone5371 OP , (edited )

Ok. I will see that! If you have a GitHub account. You can make an issue right now, so tracking the issue would be better for me. Or I could do that myself.

Edit : I have made a prototype that I could release it soon as an alpha. When it gets released, your goal is to test in a place where captive portals are present. Sadly, the script won't be automatic but requires user interaction.

Edit 2 : it is now available as alpha on the releases page.

Pantherina ,

Cool!

Baritone5371 OP , (edited )

I have edited the release page for the alpha. I have modified the file to correct a bug and add the deletion of the backup file when the operation is finished and also restart systemd-resolved service.

_s10e ,

Have you looked into how existing software handles captive portals. I believe, both Ubuntu (or Gnome or Network-Manager) and Firefox do check for such portals and detect real internet access. (They simple poll some URL detectportal.vendor.com and check for the expected return code. Portals usually redirect.)

Now I’m thinking, what if this check could trigger a change to the DNS configuration. That is use DoT when internet is available, otherwise fall back to DHCP announced DNS

Pantherina ,

That is neat! It is a specific response so it should work.


<span style="color:#323232;">#!/bin/bash
</span><span style="color:#323232;">
</span><span style="color:#323232;"># Function to set insecure DNS
</span><span style="color:#323232;">function insecure-dns() {
</span><span style="color:#323232;">  # Backup the original resolved.conf file
</span><span style="color:#323232;">  cp /etc/systemd/resolved.conf /etc/systemd/resolved.conf.bak
</span><span style="color:#323232;">
</span><span style="color:#323232;">  # Modify resolved.conf to disable custom DNS, DoT, and DNSSEC
</span><span style="color:#323232;">  sed -i 's/^DNS=.*/#DNS=/; s/^Domains=.*/#Domains=/; s/^DNSOverTLS=.*/#DNSOverTLS=/; s/^DNSSEC=.*/#DNSSEC=/' /etc/systemd/resolved.conf
</span><span style="color:#323232;">
</span><span style="color:#323232;">  # Restart systemd-resolved
</span><span style="color:#323232;">  systemctl restart systemd-resolved
</span><span style="color:#323232;">}
</span><span style="color:#323232;">
</span><span style="color:#323232;"># Function to set secure DNS
</span><span style="color:#323232;">function secure-dns() {
</span><span style="color:#323232;">  # Restore the original resolved.conf file
</span><span style="color:#323232;">  mv /etc/systemd/resolved.conf.bak /etc/systemd/resolved.conf
</span><span style="color:#323232;">
</span><span style="color:#323232;">  # Restart systemd-resolved
</span><span style="color:#323232;">  systemctl restart systemd-resolved
</span><span style="color:#323232;">}
</span><span style="color:#323232;">
</span><span style="color:#323232;">while true; do
</span><span style="color:#323232;">  response=$(curl -sI captive.test.com | head -n 1 | cut -d' ' -f2)
</span><span style="color:#323232;">
</span><span style="color:#323232;">  if [ "$response" == "200" ]; then
</span><span style="color:#323232;">    insecure-dns
</span><span style="color:#323232;">    xdg-open captive.test.com
</span><span style="color:#323232;">    sleep 30
</span><span style="color:#323232;">    # something to wait until window is closed, otherwise spam!
</span><span style="color:#323232;">  else
</span><span style="color:#323232;">    secure-dns
</span><span style="color:#323232;">  fi
</span><span style="color:#323232;">
</span><span style="color:#323232;">  sleep 5
</span><span style="color:#323232;">done
</span>

This should work. What would be needed is to track the process of the login and only continue when the window is closed again.

progandy ,

No need for a systemd switch. It should work with a dedicated “portal” browser that bypasses the global dns and has a built-in resolver using the dns from dhcp.

Pantherina , (edited )

Yes if that works for sure. Problem here is that GNOME and KDE use different webengines, so yay no standards. Firefox doesnt support that I think?

I use a seperate firefox profile with a shortcut like


<span style="color:#323232;">blabla desktop entry
</span><span style="color:#323232;">Name=Captive Portal
</span><span style="color:#323232;">Exec=mullvad-exclude firefox -P captive http://captive.kuketz.de
</span>

I wanted to do something with mullvad-exclude but that didnt work for some reason, as when excluding it I think it had no internet?

_s10e ,

That was also my question. A broader question is how to access services on the local network that are announced through local DNS? Like your router’s web interface or any similar device.

Can you have split routing? Most queries go to our preferred DNSoverTLS endpoint, but some go to DNS53 on the local network.

This would also solve the captive portal if the host used to detect captive portals is always resolved locally.

Pantherina ,

Yes I think you can exclude local IPs in systemd-resolved

darkfiremp3 , in CentOS Stream for a private KDE Desktop?

I would avoid centos stream like the plague. It seems a half supported thing that most of the industry has left.

faethon , in Debian Bug report logs: #1057843 - linux: ext4 data corruption in 6.1.64-1
@faethon@lemmy.world avatar

Does this affect ubuntu and raspberry os releases as well? Since these are based on debian?

bamboo , (edited )

Unlikely as they both have their own kernels.

Edit: actually raspberry pi uses a 6.1 kernel it seems so this might affect them. But they aren’t using the Debian package directly.

Helix , in Alright, I'm gonna "take one for the team" -- what is with the "downvote-happy" users lately?

Who cares, I don’t display them and am happier than you while doing it

someguy3 , in Alright, I'm gonna "take one for the team" -- what is with the "downvote-happy" users lately?

Lemmy is a fickle place.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines