u/lukmly013 💾 (lemmy.sdf.org)

I like computers, trains, space, radio-related everything and a bunch of other tech related stuff. User of GNU+Linux.
I am also dumb and worthless.
My laptop is HP 255 G7 running Manjaro and Linux Mint.
I own RTL-SDRv3 and RSP1 clone.

SDF Unix shell username: user224

  • 3 Posts
  • 202 Comments
Joined 2Y ago
cake
Cake day: Jun 17, 2023

help-circle
rss

I see you attempted spoiler.

Spoiler name

Like this

:::spoiler Spoiler name
Like this
:::

Welp, that was my only reason to specifically get a ThinkPad. I got to use one at school and quickly got used to it. I wanted to keep that experience, so I bought a ThinkPad. I’ve used the TrackPad precisely 0 times, I have it permanently disabled. If I run out of space for stickers, I’ll put them over the TrackPad as well.

I’d say the TrackPoint, once you get used to it, becomes an extension of the finger.

Only annoying thing is the occasional drift.


A bit unrelated, but if you have DD-WRT on WiFi router with USB, you can install Entware. There’s also a few games.

I used to play Tetris (vitetris) on my old WiFi router. I also tried to compile doom_ascii for MIPS, but I wasn’t successful and gave up. That was 5 months ago, so I basically forgot everything I tried already.
I have also tried to compile it directly on the WiFi router, but it kept crashing even when I killed all running services (including SSH and Telnet so I had to use console, at least it’s 115,200 baud) that weren’t necessary. I think 32MB of RAM was my problem.
Anyway, I doubt it would run on it anyway, but at least I tried.

List of games available (at least for MIPS): angband, cavezofphear, crawl, gnuchess, minesweep-rs, nethack, rcon, sudoku-tui, superstartrek, tty-solitaire, vitetris, zork.

Edit: Hmm, it seems at least very few Netgear switches may be supported by OpenWRT (e.g.: https://openwrt.org/toh/netgear/gs308t_1). Maybe there is potential to actually play games on that switch!


Forcing it into recovery -> Power Off -> Booting up normally again

This freed up 8MB from somewhere, otherwise, I guess I’d have to do a hard reset.



Just in case: If your storage is completely full all of a sudden, check /var/log/nginx if you haven’t pointed the logs elsewhere.

I know I was pretty confused to find my storage absolutely full, then I found the multi-GB error.log file. When a network interface it was listening on disappeared it filled with errors as such:

2024/12/10 07:57:06 [alert] 20420#20420: accept4() failed (22: Invalid argument)
2024/12/10 07:57:06 [alert] 20420#20420: accept4() failed (22: Invalid argument)
2024/12/10 07:57:06 [alert] 20420#20420: accept4() failed (22: Invalid argument)
2024/12/10 07:57:06 [alert] 20420#20420: accept4() failed (22: Invalid argument)
2024/12/10 07:57:06 [alert] 20420#20420: accept4() failed (22: Invalid argument)
2024/12/10 07:57:06 [alert] 20420#20420: accept4() failed (22: Invalid argument)

(I just reproduced that now on-demand, thus the date.)

There’s a tool called logrotate to take care of logs, but I just did the stupid and lazy thing…

error_log /dev/null;

Well, in case you get the idea to run NGINX in Termux, and then later you find your phone hot, stuck in a bootloop, it’s possible the error.log filled the storage causing Android to crash because it now can’t even write system files.
Not that I would have done such thing…


Check out KolibriOS. It’s a tiny modern operating system written in assembly.

https://en.wikipedia.org/wiki/KolibriOS


This is not a suggestion, it’s probably fairly stupid, but it’s what I’ve been using.

I’ve been using a convertible ThinkPad L390 Yoga as eBook reader as well. I never considered a 2-in-1 laptop, but it was cheap and I heard the Yoga versions have better colors (display). I thought I’d never actually use it in tablet mode, that my touchscreen would be unused, free of smudges. Hell, I didn’t know what I was missing, it’s awesome.
I’ve been using it to read eBooks, in portrait orientation as a tablet.

Software wise, Arch Linux (btw), KDE Plasma 6, Arianna eBook program.
Not optimal to be honest, Plasma 6 has some annoying bugs, and Arianna is broken as of recently. I suspect some depency issue, but anyway, for the time being I use the Flatpak Arianna package.

But I do like the experience. If I need to check some word in dictionary I can do it on the same device. Plasma 6 has touchscreen gestures, for example I use sliding from right to switch between windows. So, Arianna and Firefox with Wiktionary open at once, reading the book, unknown word, long press it, copy, slide from right, Firefox window, paste into Wiktionary, boom!
And to save extra power I use Bluetooth for network connection rather than WiFi. 1Mbps is plenty for dictionary searches.

Oh, important to me, when turned around there’s a deactivated keyboard on the other side that I can fidget with while reading. I feel like it helps keep me from getting distracted by something else. Just mashing the keys with my right hand fingers and clicking the trackpad with left.

Disadvantages of this:
Hardware wise, it’s a 1.5kg 13.3 inch eBook, so… perhaps not your glass of water (I don’t drink coffee ¯⁠\⁠_⁠(⁠ツ⁠)⁠_⁠/⁠¯).

(No need to read further, this is specific to software I run on it.)

Software wise, well, you can choose different software, but bugs. Visual glitches like the taskbar switching to floating when using virtual keyboard or the window occasionally staying retracted from where the keyboard was (fixed by toggling affected window out and back into fullscreen) are okay.
What’s worse, inactive window translucency can get stuck, i.e.: if the window gets stuck translucent even in foreground, and you close it, it’s now permanently on screen as ghost window and you’ll have to log out and log in again.
Worst, toggling Bluetooth (usually when done quickly after log in) may crash the system partially. The GUI completely freezes, tty works, but reboot won’t fully work. It will get stuck mid-way, so I recommend logging in as root, enabling magic sysrq (echo 1 > /proc/sys/kernel/sysrq), issuing reboot, let it freeze, then Alt+SysRq+REISUO (one by one while holding down Alt and SysRq keys) to shutdown.

(Bluetooth service cannot be stopped or killed, nor plasmashell)

P.S.: Use Wayland with touchscreens. X11 has no touchscreen support, it just emulates a mouse pointer which is suboptimal.




Mind explaining why use the content warning for this?

I get it when it’s used in some larger text perhaps with possibly triggering content, but this seems unnecessary. These domains don’t link to anything else than cock.li and airmail.cc either.
Warnings that are overused loose value.


I too have no idea what this is about. I never used tailscale, and I have no idea what immich is.

But perhaps your problem is that the app expects to be on the root? Perhaps that could be a problem. Can you instead do another sub-domain level like immich.pcname.tail$$$$$.ts.net? Or does the app (immich) allow you to set URL root?

Anyway, seems that may indeed be the issue, and also that tailscale cannot do those sub-domains as I thought based on the discussion I found. It seems this is the same issue: https://github.com/immich-app/immich/discussions/1679

And someone probably has a solution: https://gist.github.com/aveexy/4b2b22b2198636b0a91c7c142ec11b37

Again, I have no idea what Immich even is in the first place, Tailscale, I just know it exists. Consider me about as useful as AI, I just did some googling, with only prior info being that I had to set base URL in both kiwix-serve and Navidrome for them to work properly under a directory or whatever the part after slash is called.


I am sure you still have same number of those more advanced users, but now far more people have access to computers because they are cheaper and easier to use. That may be about it.



Hear me out, the entire universe is most likely temporary, so technically all the code you write is in fact temporary.



Check Sweet Home 3D for visualizations. Though it’s probably not what you’re looking for.


Nah, stick to VPNs. Don’t overload Tor with pirate media. Tor network isn’t meant for large data transfers like that.



Is it not in your distro’s repo? I am pretty sure I’ve used handbrake from Arch repo just fine.


I mean, it is old. Can’t blame it.


You think that’s bad until a HP laptop deletes your boot entries because you’ve used an external drive to boot up once and it doesn’t provide you a way to add them back from within UEFI settings so you just have to manually navigate to the correct .efi file and then add the boot entries back from within OS but oh wait you need to come back to UEFI to put them into correct order.

Also applicable if you forgot to unlock DriveLock before going into UEFI.




Because the post was removed. But the reason is right there:

Edit: Nevermind, you should still be able to see your own posts if you are logged in.


By the way, with some not so ancient devices you can search for the firmware here: https://software.cisco.com/download/home and at least get MD5 and SHA-512 hashes to verify the files you downloaded.

Not the case with this AP though.

Edit: Oh, I almost forgot. Also the exact filename. Makes it easy finding it online.


attack

They just pull out of those states. How is that an attack?


Good idea.

You can still get the newest DD-WRT builds even on the WRT54G.
That is a Wi-Fi router from 2002.

Of course, the features are sort of limited. I tried the VPN build (on WRT54GL), but I couldn’t get the OpenVPN client to connect. I found some thread mentioning it may be missing something, but I don’t know if that’s the issue.

Anyway, without overclocking I’d expect like 2Mbps. I mean, it barely handles HTTPS. Just trying to load the WebUI maxes out the CPU for several seconds if trying to use HTTPS.
Perhaps it’s not missing anything software-wise, but it’s just so slow it times out during handshake.
So I just put the std build on it in case it will be useful at some point.


My lazy way is NGINX with autoindex.

If it’s to go over untrusted network (e.g.: internet, school network) I use SSH for port forwarding. Lazy encryption.

Something like this works just fine:

worker_processes 1;
daemon off;
events {
}
http {
        default_type application/octet-stream;
        server {
                root /storage/emulated/0/sharedfile;
                listen 127.0.0.1:30000;
                location / {
                      autoindex on;
                }
        }

}

sharedfile is a directory with the files.
On remote machine if I am not mistaken

ssh -L 127.0.0.1:8080:127.0.0.1:30000 username@host

Then just access it in web browser on 127.0.0.1:8080 or whatever port you chose.
In PuTTY you can find this under “Tunnels”.

Of course, you need to have SSH server set up as well.


Nah, screw that.
Time to distribute stuff as a VM image.


Hmm, I just realized I paid more per envelope than per blank DVD.

Well, I was just thinking that I’d rather give them out for free, or the price of DVD + Case. So I thought I could save on cases by putting them in envelopes, but then I realized I paid 10¢ per SL DVD of which I have like 50 left and 23¢ per C5 envelope.
Kinda wild.

Although they are fairly low quality.


Oh, stuff in Android folder?

That’s been restricted since I think Android 11.
You can still access it using a computer with MTP.

Though there may be some better solution I don’t know of.


You mean directories starting with a .?

Depends on the file manager, nothing to do with Android. Which file manager do you use?






Goodbye ads isn’t even the default filter. This doesn’t have much to do with NextDNS.
It’s just one of the 3rd party filters.


Streaming is a continuous service. If you want that, you may actually want to consider one of the commercial options.

You could download the music and self-host a Navidrome server or something similar.
You could even do it like me and have Navidrome server in your pocket. It’s natively available in Termux, so I can stream music from my phone on LAN.

But that depends on your library size.
Also… many memory cards seem to have terrible random access speed (and sadly that’s something you can’t know before buying it), so the initial scan may take a few minutes.


First of all a disclaimer: I am not upset about the removal of manual server selection as this is a free service. They don't need to provide such services at all, so something is better than nothing. What happened: This morning I opened the ProtonVPN app on my phone and got greeted with a message stating free accounts can now only use automatic server selection and addition of free servers in Poland and Romania. However, I also noticed split-tunelling is now paywalled as well. Now, this is rather weird. Split-tunelling is already in the app and is something that works only on the client side, thus not putting any extra load on the servers. Quite the contrary, actually, as it allows some apps to not use the VPN, thus use less bandwidth. The automatic-selection-only allows for better load balancing, so that makes sense. Now to the workaround. They still allow manual OpenVPN and Wireguard setup even for free accounts, at least for now. To do so, login to ProtonVPN and go to [account](https://account.protonvpn.com/account). There's OpenVPN credentials which are used for OpenVPN authentication. Then go to [downloads](https://account.protonvpn.com/downloads), select appropriate options including the specific server and download the ovpn config file. Client: [OpenVPN for Android](https://github.com/schwabe/ics-openvpn) This app also supports split tunneling (edit config -> Allowed apps). ProtonVPN has an [article on how to set up this app](https://protonvpn.com/support/android-vpn-setup/), but it's really just importing the config and adding your OpenVPN ProtonVPN credentials which you grabbed before.
fedilink

[Solved] Is there some way to play DVD ripped into .iso file in VLC (desktop) directly from a network (HTTP)? (It works on VLC for Android (mostly), but not desktop)
(I deeply apologize if this isn't the right community. It felt like the closest match.) I like to keep all the menus and extras exactly as-is. So I just copy the whole DVDs into ISO files. These are then nicely playable in VLC. However, wouldn't it be convenient to just have them in one location available over network? Just using NGINX with ``autoindex on`` sounded like a simple solution as VLC can stream from HTTP. However, this doesn't seem to work with desktop version of VLC. On Android VLC app, it works as I expected. I click on "New stream", enter e.g. ``http://192.168.44.1:8080/interstellar.iso``, hit enter, and it opens the "DVD" with menus and everything (only works if the DVD has intro before menu, which is most DVDs anyway). But on desktop, it tries to play it as video, which obviously fails since that's not what it is. It just tries to play the first video in the file, and gives it some false timestamp, e.g.: 82 hours. The only ideas I had was to try ``vlc dvd://"http://192.168.44.1:8080/interstellar.iso"`` which unsurprisingly couldn't load anything. Then I tried the ``--dvd=`` option which should set default DVD device or file, like so: ``vlc dvd:// --dvd=http://192.168.44.1:8080/interstellar.iso`` but that also didn't find anything. Is there some way to force VLC to play the fed network stream as a DVD? If the Android app can do it, there's probably some way to do the same on desktop. Thanks.
fedilink

Unfortunately what seems to be the cached version of lemmy.fmhy.ml is now slowly disappearing from Cloudflare. Those 2 comments have now been lost as well along with most of the content.
fedilink