linux

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

SteveTech, in need help fixing a hardware problem using linux

I do kinda agree with the others that this is a power issue, but I was thinking it wouldn’t harm to run a memtest, maybe whatever part of RAM the iGPU is mapped to is dying or something like that.

danielfgom, (edited ) in Alright, I'm gonna "take one for the team" -- what is with the "downvote-happy" users lately?
@danielfgom@lemmy.world avatar

I typically never downvote anyone. I’ll up upvote a post if it’s saying what I was already going to say.

I don’t even check vote counts, not my own nor others. I’m just here to share opinions, others and mine.

I couldn’t give a dime as to whether people up or downvote me.

I don’t think it’s a healthy system. And I agree, as Linux users we should support community and different opinions, not squash them. The disagreements can often lead to a better solution for all.

makunamatata,

Same here. Does not make a difference, and it is amazing that people’s egos are hurt or happy about it somehow. But upvotes and downvotes is what drives all other social media: egos want more likes, more subscribes, more “friends”, they want that tribal approval. I find the fediverse to be less infected with FOMO. Drama doesn’t go long around here, doesn’t stick because there are no stupid algorithms feeding more FUD. I am starting to believe that this is where the top 1% of the social media hang out and chill. Here there are people that stick around for interesting conversations as opposed to “look at me”.

Strit, in Kernel 6.6.6 is out 😈
@Strit@lemmy.linuxuserspace.show avatar

It’s a fancy number, but the release only fixes some wifi regressions. Nothing wild.

Cwilliams,

My friend has been complaining about this! Glad to see it fixed

soupcat,

I had been trying out Linux and finally decided to install it to my ssd. The timing ended up such that I got the wifi issues on the new install but not my old one, and they basically make the OS unusable. I didn’t realise any of this and am new so did heaps of reinstalling and searching trying to figure out what had gone wrong since it was all fine when it was installed on my HDD.

I finally found some forum posts and bug reports about this after wasting a day assuming it was something I’d done wrong 😂.

Gonna stick to lts kernel from now on I think. 6.6.6 seemed pretty fitting to me, even if it was 6.6.5 that actually broke it.

luthis,

Yeah, metal as fuck WiFi regressions!

debounced,
@debounced@kbin.run avatar

6.6.5 has been a massive pain in the ass with the MTK wifi in my asus g14. very happy this got released quickly, no more deadlocks!

NeoNachtwaechter, in What is the point of dbus?

Sometimes you want loose coupling.

walden, (edited ) in [Request] Where to start with dot files?

Dot (.) files are hidden files/folders. Config files, for the most part, are located in the users home/.config folder. You should be spending very little time, if any, in that folder.

berg,

You should be spending very little time, if any, in that folder.

I know what you mean, but man if this isn’t the exact opposite of me. If the program doesn’t store its config here I’m close to crusading.

~/.config really makes life a lot easier when backing up your dotfiles.

Atemu,
@Atemu@lemmy.ml avatar

You should be spending very little time, if any, in that folder.

Hahaha, tell that to lemmy.ml/c/unixporn

FlexibleToast, in eGPU docks?

I used one with Fedora for a while. The problem I had is whenever it would randomly disconnect, Fedora could not handle it gracefully. It would lock up the system and require a hard reboot. Windows has been a bit more graceful about things. I’m hoping the next generation or maybe oculink will be better.

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

One of the most common I downvote comments is including things like "Edit: why all the downvotes?" in topics that aren't about the voting system (instinctually downvoted this topic, but un-downvoted), . But also just downvote things things are spammy, *phobic, defending genocides, etc.

gerdesj,

How should someone who expresses an opinion - that receives downvotes - request feedback?

WalrusDragonOnABike, (edited )

Most of the time, it feels like people are just saying "yall are just mad cause I'm right" but using different words because its often obvious why: an unpopular opinion or believed to be objectively false. These comments already have plenty of replies explaining why their comment is bad in some way. The only cases where there should be confusion about why is is if you are posting in a community that gets the same comments all the time and so its spam and you don't know it, or you said something that is being misinterpreted but for whatever reason you are unable to tell why and you haven't gotten any replies already (but for some reason are paying close attention to your internet points).

cybersandwich,

It’s the Internet. People who participate in good faith discussions probably aren’t downvoting willy nilly. Everyone else isn’t going to be swayed or give meaningful feedback anyway.

Downvoted get abused a lot where they exist. People dog pile pretty quickly. It seems like an image human characteristic. It’s just a fickle mob. The smaller the community, where members know each other by handle, are usually the best for actual discussions.

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

That’s probably the reason why instances like lemmy.blahaj.zone, pricefield.org, and reddthat.com chose to disable them. They aren’t constructive and more importantly they lead to people using them instead of reporting, which is really bad when it comes to enforcing rule violations.

roguetrick,

Don't worry about it. If you were really wrong someone would chomp at the bit to reply to you about how wrong you are. If they're not, you either have an unpopular or popular enough to be spam, opinion.

RandoCalrandian,
@RandoCalrandian@kbin.social avatar

The downvote is the feedback

If people are downvoting and not commenting there is probably an obvious reason why.

Usually you just said some type of heresy in that community, like going to a NASA forum and saying it’s idiotic to still be trying for manned space missions to the moon or elsewhere.

It’s so anathema to the community they don’t even want to engage in a discussion about it, they just want to say “you’re wrong/I don’t like this” and move on.

Far more civil than how religions used to deal with heretics, imo

sour, (edited )
@sour@kbin.social avatar

probably

fallacy of relative privation

bizdelnick, in What is the point of dbus?

Multicast.

TheCaconym, (edited ) in (solved) I can't get my linux system to run properly

What’s the browser you’re using ? and also please do:

glxinfo|egrep -i “^direct”

You’re looking for a line that says “direct rendering”; specifically whether or not it says “yes”. This will help pinpoint if you’re actually using your GPU or some onboard chipset instead.

With that being said, even assuming you use the latter, stuttering video playback in the browser is weird; if using firefox, out of curiosity: try to disable or enable hardware rendering (options > advanced > general), and try again. Switch it back to what it was when your test is done.

aniki,

glxinfo|egrep -i “^direct”

Does that come with base SUSE? They might need to install it, but it’s in the default repo for Arch so I assume it’s in the base repo for yast as well.

Ekis, in Is linux good for someone tech illererate.

Based on my own experience as well as taking into account the suggestions of other people, here are the top three Linux distros for beginners:

These are basically just “install-and-go” distros; no need for advanced setup.

governorkeagan,

+1 for Pop!_OS, it’s not given me any issues at all! Zorin OS, looks really good as well, especially if you want a more Windows (visually) experience

jmf, in (solved) I can't get my linux system to run properly

what are you using as a hypervisor? if it is virtualbox you will struggle to get smooth video playback, its gpu support is very poor. vmware is much better. yes yes it is proprietary but so is virtualbox with extensions which is the only way to make it kinda usable lol

governorkeagan,

OP is running on bare metal. They used the VM for testing and have now moved on from that

gens, in What is the point of dbus?

Because not using OOP is hard for gui devs.

danielfgom, in KDE's Nate Graham On X11 Being A Bad Platform & The Wayland Future
@danielfgom@lemmy.world avatar

Undoubtedly Wayland is the way forward and I think it’s a good thing. However I wouldn’t piss all over X because it served us well for many years. My LMDE 6 still runs X and probably will for the next 2 years at least because both the Mint Team and Debian team don’t rush into things. They are taking it slow, testing Wayland to make sure no-one’s system breaks when they switch to Wayland.

This is the best approach. Eventually it will all be Wayland but I never understood why this is such an issue. Like any tech it’s progress, no need for heated debates. It’s just a windowing system after all.

rasensprenger, in (solved) I can't get my linux system to run properly

This may be a stupid question but is your video cable plugged into the gpu or into the motherboard?

Iapar,

Great question! I fuck that up every time.

0x4F50,

My brother and a friend built his computer and couldn’t figure this out. He called me a couple days later to vent some frustration and I said exactly the same thing.

“I know this is a stupid question, but is your Dport plugged into the mobo or the dedicated graphics card?”

“…”

🤦‍♂️

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

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