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

  • 5 Posts
  • 193 Comments
Joined 2 years ago
cake
Cake day: June 17th, 2023

help-circle




  • 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!






  • 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…