linux

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

JustEnoughDucks, (edited ) in What am I doing wrong?
@JustEnoughDucks@feddit.nl avatar

Hey, just to let you know, software raid nowadays is quite a bit better for home NAS that hardware raid. I would suggest using ZFS and zpools as a software raid.

arstechnica.com/…/zfs-101-understanding-zfs-stora…

If you are already past that point though. As far as sharing, if you are just using it as a small home server or NAS and want things simple, you could just use TrueNAS. It would make things much easier.

If you are running your main computer and sharing the files, I would suggest trying NFS instead of Samba. Samba shares are notoriously unreliable and buggy. Windows has NFS support for a while now for your other machines blog.netwrix.com/…/mounting-nfs-client-windows/

h3ndrik, (edited )

100% agree. Software RAID is the thing you want as a consumer. Doesn’t need to be ZFS. mdraid is another good and well tested option for the traditional way of using RAID.

Damaskox, in Alright, I'm gonna "take one for the team" -- what is with the "downvote-happy" users lately?
@Damaskox@kbin.social avatar

something completely insignificant like internet points

Nothing has any value until someone gives value to something.
I give value to my reputation points - it's a force that drives me further into coming up with and posting content 😁 And sometimes I enjoy comparing my points to someone else!
I started fediverse with Lemmy but moved to kbin pretty much because of the reputation system being here.

Don't get me wrong though - I don't care that much about downvoting and I don't let it affect negatively on my behavior. At the end of the day, regarding other people in the Internet has more value to me than Internet points 😌

tiny_electron, in Video editor for Linux?

Pitivi is really nice

azvasKvklenko, in Video editor for Linux?

Kdenlive is preety good now

K_REY_C, in Bluetooth dongle recommendation

No clue about Bluetooth 5.x, but your no hassle bet is always to start at ThinkPenguin. www.thinkpenguin.com/…/networking-gear-gnu-linux

rinzler, in GNOME's Dynamic Triple Buffering "Ready To Merge"

Some gnome changes totally break an smol distro that i was using after that i change to kde until they find a stable point to all extensions

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

I vote down stuff I don’t want to read. Nothing more than that.

bizdelnick, in What am I doing wrong?

The main thing you are doing wrong is reading howto articles in the web. Most of them are written by newbies who did the thing they describe for the first time, got something likely working and want to describe this for themselwes an for the other world. This does not mean they did everything right, and howtos usually contain numerous mistakes. Better read official documentation. This will take longer time but you will understand what you do. I don’t know if Mint has GUI tools to configure samba server. I would better edit config file manually, it is more or less simple.

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, (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.

progandy, (edited )

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?

Baritone5371, (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!

_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.

_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

flashgnash, (edited ) in Easiest way to switch distros

If you want to automate your system install Nix is a good one to look at, nowadays when I use a new system/wipe an existing one I can just install NixOS drop my config, sign into the things that need signing into and go

Obviously doesn’t work as well if you’re trying other distros but you can still use it on them

Pantherina, in Easiest way to switch distros

I would try the Distro on an external SSD first maybe?

PopOS is way more modern that Mint, so you may have negative effects from switching

SnokenKeekaGuard, (edited ) in Is linux good for someone tech illererate.
@SnokenKeekaGuard@lemmy.dbzer0.com avatar

Ok i’m reading up on this sub and not arch seems to be the consensus for a newbie. I want to download smth and just have it there without thinking bout it the way it is with windows. Not a hobby that i spend hours on.

Apparently theres many versions of linux you can get?

jvrava9,
@jvrava9@lemmy.dbzer0.com avatar

Linux Mint is very easy with GUI’s for everything you need and the UI is pretty similar out of the box. Try it out on a live usb before making the switch.

SnokenKeekaGuard,
@SnokenKeekaGuard@lemmy.dbzer0.com avatar

Thanks. Just opened the linuxmint website and it looks promising

Flaky,
@Flaky@iusearchlinux.fyi avatar

Yeah, don’t use Arch if you’re new to Linux and not tech-literate. You seem pretty interested in Linux Mint from other comments here, I’d say give that a go.

SnokenKeekaGuard,
@SnokenKeekaGuard@lemmy.dbzer0.com avatar

Considering the nature of this converstaion, i love your instance name lol

PotatoesFall,

i gotta join in with the other Linux Mint voices here. It’s very user friendly. You just need to know:

  • the desktop environment is called Cinnamon. this will help you google stuff.
  • the system package manager is called APT, and if you just use the update manager you won’t have to interact with it directly, but it’s good to know.
  • in the software center many apps have the options sytem package or flatpak. system package means it goes through APT, flatpak is a sandbox system that is good for isolating your apps from your system. imo always choose flatpak, except for steam.
Tippon, in Is linux good for someone tech illererate.

Probably the most important thing to ask before you do anything is, do you have someone who can fix the computer if you screw it up? Installing Linux means removing Windows, so if you get half way through and get stuck, you’re going to be left with a computer that doesn’t work. Will you be able to recover it, or have someone who can?

Once you’re on the desktop, most of what you do is going to be very similar to Windows, except most of the programs will have different names. I would imagine that the vast majority of people can use Linux once it’s installed, especially if they’re in your situation, where they’re not used to computers and don’t have any habits from Windows.

SnokenKeekaGuard, (edited )
@SnokenKeekaGuard@lemmy.dbzer0.com avatar

Oh my thats an issue. I don’t know anyone who uses linux. In my country everyone just has pirated windows as I do. Thanks for the warning.

neidu,

Create a linux mint install USB. When you boot from it, you’ll be in a fully functional linux OS, without installing anything. This way you can try it out before making a commitment.

Although a recurring recommendation is to install linux on a second PC to try it for a while.

SnokenKeekaGuard,
@SnokenKeekaGuard@lemmy.dbzer0.com avatar

This sounds good. Thanks

Tippon,

It doesn’t have to be someone who knows Linux, you just need to be able to get back to a working computer. If it means going back to Windows until you know more, that’s fine, just keep learning :)

d3Xt3r, (edited )

Are you sure about that? Most countries around the world have a Linux user group of some sort. Find out what your local group is called, get in touch and I’m sure you’ll be able to find someone who’ll be more than happy to help.

fedoraproject.org/wiki/LinuxUserGroups

If your country isn’t on the above page then Google for (your country name) “Linux User Group”

nossaquesapao, in Is linux good for someone tech illererate.

It can be a great experience. I used to work in a program for teaching informatics to people who didn’t have access to technology, and we used linux. The results were great. Most people who came from a phone-only background would feel more comfortable with gnome as a gui, so I’d recommend a gnome-based distro for you, like ubuntu, pop os or fedora. Don’t think too much about the distr, just pick one and give it a try. And don’t forget to post your experience here later.

Good luck!

SnokenKeekaGuard,
@SnokenKeekaGuard@lemmy.dbzer0.com avatar

Thank you. I’m now worried about what tippon said and am 50-50 on trying it again lol.

nossaquesapao,

But you don’t have to remove windows. You can install linux in another partition and have an option to choose which system you want to boot. If I remember well, the ubuntu installer has an option t do that automatically ( I will check for you later) . You can also install linux to an external usb media for testing and insert it every time you want to give it a try (usually, pressing f12 or other vendor-specific combination at boot time allows you to choose boot media)

Edit: found this nice tutorial with images: tomshardware.com/…/dual-boot-linux-and-windows-11

SnokenKeekaGuard,
@SnokenKeekaGuard@lemmy.dbzer0.com avatar

Oh I really appreciate that thanks.

BestBouclettes, (edited ) in Is linux good for someone tech illererate.

I think it depends on what you plan to use it for.
If it’s just browsing the web or basic usage (email, watching videos, etc.) it’s perfect for a tech illiterate person. You have distros that just work, like Mint, or Pop!_Os (compared to distros like Debian that can require a bit of tinkering, or Arch/Gentoo where you need to tinker a lot more). I’m not certain but I think these distros work well for gaming as well.
If you have specific needs for software like the Adobe suite, Excel or audio/video software, it’s still possible but definitely less accessible.

As far as the difference between Linux and Windows, I’m not sure you’d notice much if you stay at the surface. The main difference is the fact that you actually own your system and you can literally do what you want with it (even irreversibly break it).

0ops,

This is pretty much my take. For tech newbies that essentially only need a browser, linux mint is great. On the other extreme, if you want to tinker, get your hands dirty, then you probably already know what distro you want.

It’s toughest for the people in between who need some more advanced os functionality or need programs that aren’t natively supported, but otherwise don’t want to know more about their os than they have to. Not because Linux doesn’t have that advanced functionality (and more!) or because there aren’t alternatives and workarounds for those programs, but because of the learning curve.

For someone already tech illiterate, the learning curve is almost a moot point. For the tinkerer, it’s practically a feature. But for the people in between, it can a real obstacle.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #