mvirts

@mvirts@lemmy.world

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

mvirts,

Agreed, this wifi stick was mega cheap on AliExpress so I went for it. I may take a look at the PCB in detail if removing it restores order to my PC. Yes, desktop PC (still hanging on to 2012 hardware woohoo!)

mvirts,

I think You’re right, it is a mediatek chip and I used to add the USB device id manually to load the module, but with nixos 23.11 it started working automatically. I’m also running a preemptable kernel… Probably related now that I think about it :P

I should track down the firmware, that was one of the things I was looking into when setting up the device id hack.

I think this happened once before after uptime of about a week… But I didn’t get any information from that crash. Also, I’m remembering that some configurations were failing to see this wifi device and falling back to wired so maybe this has been a hidden problem since the new nixos release…

Thanks to everyone for your thoughts, it’s very helpful.

mvirts,

Lol I checked the system journal but forgot to check if the dmesg los is being written 😹 thanks for the reminder, going to take a look later today

mvirts,

I’m sure it’ll be fine, just keep running the old version 🙃

I'm so frustrated rn.

I have been distro hopping for about 2 weeks now, there’s always something that doesn’t work. I thought I would stick with Debian and now I haven’t been able to make my printer work in it, I think I tried in another distro and it just worked out of the box, but there’s always something that’s broken in every distro....

mvirts,

Seconded. Just don’t run it on incompatible hardware, okay? 😹

mvirts,

So done, except when my employer uses windows 😹

mvirts,

I would recommend using a native 2fa app for Ubuntu. This answer askubuntu.com/a/1460646 recommends keepassxc, which is also a password manager that I personally use for passwords but I’ve not used its 2fa function. I also found this app gitlab.gnome.org/World/Authenticator

Do you mount an embedded Linux file system to the workstation and use your host scripts or do you SSH/SCP and deal with the limited shell commands?

I’m playing with a couple of routers and comparing proprietary to open source on the same hardware. I miss my .bashrc functions and aliases… and compgen, tree, manpages, detailed help, etc; the little things that get annoying when they are missing....

I feel like breaking my windows install was a rite of passage

Lately ive noticed that i was wanting to do certain things on Windows that just seemed much easier and more intuitive on Linux, based in the OS specific solutions i would see to problems i encountered. And i was more frequently using software where Windows support seemed like an after thought....

mvirts,

Sounds like you may have accidentally been installing an ssh server on zorin.

What would be the best way for me to recover data from my old laptop's hard drive, which seems to have a bad superblock?

I got an external hard drive enclosure for the purpose of recovering some of the files from my old laptops hard drive. The hard drive and all of it’s partitions show up in both disks and gparted but it wont mount. When I tried to mount it manually, it gave the error message stating that it can’t read the superblock. I’ve...

mvirts, (edited )

The quick and dirty way I’ve used is…

Use the nbd system (network block devices) and qemu to create a qcow2 image with your defective device as the base device. Serve this qcow2 image with qemu-nbd and attach it as a NBD device locally. Then run fsck or testdisk on the NBD device. This will let you repair the filesystem Linux sees without writing to the disk. Testdisk can scan for any filesystems left on the device if the partitions no longer match filesystems.

Also, if all else fails use photorec to slice the file types you need.

Also, ddrescue can try to read any actually failing sectors and work out what they contain, but puts a lot of stress on the device.

Beware, any method that puts more wear on the disk should not be used unless you’re willing to accept the risk that the drive could get worse.

mvirts,

Also our big moon has to deal with sharing space with our horde of trophy trash moons

mvirts,

The messages you’re getting sound like they’re from the bootloader, so I think secure boot is not causing the problem… Linux should print some stuff right away when it loads, maybe check the architecture of the kernel you’re trying to boot, even an error immediately after loading the kernel should print something unless the architecture is so different that it’s just feeding the CPU bad instructions… Not sure how the bootloader would get installed correctly in that situation though. Is this after installation? Does the system boot from a live USB or cdrom?

Is there any future for the GTK-based Desktop Environments? (ludditus.com)

This article was written in the sense of bashing gnome but yet some points seem to be valid. It explains the history of gtk 1 to 4 and the influence of gnome in gtk. I’m not saying gnome is bad here, instead I find this an interesting to read and I’m sharing it.

mvirts,

If you love gtk2 so much why don’t you marry it?

:P I love developing with Qt but Ill take gnome over KDE most days.

mvirts, (edited )

Yes. But since we’re in Linux land, you may be able to replay the journal and un-dirty your disk by mounting with the ntfs3 driver listed here docs.kernel.org/filesystems/ntfs3.html, or you could try using ‘ntfsfix -d [your device]’ from the ntfs-3g package to clear the journal and the dirty bit, although whatever the last operation was on the filesystem may be left in an incomplete state since the journal is not replayed.

I haven’t done it in a while, but with virtualbox I have used direct disk access by creating a special vmdk with vboxmanage to give a VM access to real partitions.

Broke a partition. Is there any way of saving it?

While I was switching distros, I accidentally broke a partition. I’m almost certain that all the data is there, but it doesn’t have a filesystem (I used ext4). Is there anything I can do to fix it, similar to changing the file extension without changing the contents. PS: It’s a data partition. I was trying to resize it,...

mvirts,

Seconded. This is one of the things testdisk is built for, searching for lost filesystems and adding partition table entries to recover them.

AMD+Wayland+dual monitor = Screen flickering

So…I have an…interesting behavior I’ve never had before with an Nvidia or integrated intel chipsets…I have now my AMD card plugged both to a normal HDMI monitor, and then to another HDMI TV. Both work well. However, when I turn the TV off… The monitor will start flickering. About three flickers every minute or so....

mvirts,

If you disable the TV display first, then turn it off, does the flickering happen?

How do y'all deal with programs not supported on Linux?

I’ve been seeing all these posts about Linux lately, and looking at them, I can honestly see the appeal. I’d love having so much autonomy over the OS I use, and customize it however I like, even having so many options to choose from when it comes to distros. The only thing holding me back, however, is incompatibility issues....

mvirts,

First start using ardour gimp inkscape libreoffice and blender on windows, then dual boot or use a VM to install Linux and start challenging yourself to use it for real stuff when you can. You may eventually realize you’re using Linux much more than Windows, like when you boot into Windows and every time require a bunch of updates. Eventually your windows will be so out of date you remove it entirely or start using a windows vm.

mvirts,

ubuntu-mate.community/t/…/26220

Maybe this? I think spdif is a more relevant search term, toslink didn’t seem to turn up much.

mvirts,

Yes… Unless you are using stuff that’s not packaged and don’t know what you’re doing hacking nix derivations 😹 heck of a way to learn though.

mvirts,

I would not be surprised if those 7 wires are 3 power (blk gry wht) and 4 USB. Maybe it’s actually 2 serial data lines, control and text? Maybe try to trace out the PCB and get any identifying marks from the ICs? If one is a microcontroller or ram or rom or a USB controller that would go a long way in getting it reverse engineered. For real though, they probably are using standards like i2c or USB or rs232, no sense reinventing what works

What is this "220?" component and how do I determine a compatible replacement?

I purchased an e-bike which was advertised as just needing the batteries replaced. The li-ion batteries had been sitting dead for months. Once I got the battery removed it was clear that was not the case. You can see the hole where the plastic melted from this component overheating on the board. The burnt one is the same as...

mvirts,

Clearly R27 is installed backwards 😹 oh yeah also you can guess that they’re resistors because the label (screen print) uses an R to identify them

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #