Unix@nashikouen

teh place for hakin and computers. also site discussion.
Sort by:
[]
[Return][bottom]
Catalog
no subject Replies: 5
window maker looks awesome, but I have my doubts regarding its functionality. Could any window maker user share their experience with me?
no subject Replies: 4
What would be the optimal language to use if I'd want to automate the process of adding a new post to my html blog?
openwrt vs opensense Replies: 14
i am trying to buy a new router other then just using my openbsd server as a router. something brain dead easy but also super secure.

i already bought a router i can flash openwrt on but i wanted pfsense but wireless is poor.

openbsd is alright but i fail each time setting up a vpn and understanding pf other then simple things.

i already got a openwrt compatsvle router coming but i wanna know if there is a better solution
no subject Replies: 3
tried to make a thread on /main/ but it said "you must have a boardID" or something... site bug?
Cool tech youtube channels Replies: 11
Anyone know of any cool tech youtube channels? Like, working with things that don't get talked about much.

I really like clabretro. Tons of really cool hardware, all kind of Sun enterprise gear, ISP gear, servers, loads of stuff I'd love to try working with but I neither have the cash nor room (you need an entirely separate room for these becuase they're all hyper loud and they put out gobs of heat). Watching this reminds me of how I wish I had money back in 2005/6/7 to grab a bunch of cheap Sun and SGI gear from the dotcom crash instead of still being a schoolboy. (;´ω`)
https://www.youtube.com/@clabretro

I also like Usagi Electric, who works with a lot of very old computers. Proper old, he has a working Centurion minicomputer system, properly kitted out with disks and terminals, he has an ancient Bendix computer from the 50s that he's trying to get set up, he's building his own simple all vacuum tube computer. Just really coool stuff.
https://www.youtube.com/@UsagiElectric

Lastly, I like NCommander. Extremely deep technical dives into software, trying to get ancient source code building, ancient Unix stuff, OS/2 stuff, old NetWare. A lot of his stuff is streams sadly, but he does compile things into proper videos.
https://www.youtube.com/@NCommander
unused /unix/ logos Replies: 7
キタ━━━(゚∀゚)━━━!!
no subject Replies: 10
not sure if this is the right place for this but im assuming it fits becuz tech ^_^
i used 2 see a lot of people 'homebrew' 3ds and stuff and recently saw someone do it with a wii . sounds fun 2 be able to get all thr games + visual customization but it it worth it ?
i have two wiis , not sure if one works but if it does i would luv to maybe hak it . wouldn't want to use our 'main' wii though since it has been around for a really long time and i don't wanna mess it up lol
i know it is kind of the same 'moral' fiasco as emulating games, if it is right to pirate games i guess. but its not like they even produce wii or wii stuff anymore o_o
if u have done it / seen people do it what are your opinions on homebrewing stuff ? how hard is it ? im sure newer things r harder 2 work with than older devices , modern security and stuff
no subject Replies: 10
this guy looks like a downie

(USER WAS WARNED FOR THIS POST rule 8)
no subject Replies: 3
Has anyone here tried doing Linux from Scratch?
How did it go for you if you did?

https://www.linuxfromscratch.org/

I kind of want to give it a go to learn all about the nitty-gritty of what's under the hood in a Linux system. Seems like a fun project to follow, although it also seems like it'll be a ton of waiting for stuff to compile. (;´Д`)
Setups! Replies: 11
New board, woah!

What machines do you run, what do you run on 'em, that sort of thing.
More importantly than the specs, what do they do? What do you do on them?

Pretty normal gaming desktop for my main computer, Ryzen 5 3600X+RTX2060. It is running Windows 10 still because I am incredibly lazy and there are a handful of things I do that will definitely not be pleasant under Wine.
I suspect that I will probably actually escape to Linux as my daily driver again for the first time in over 10 years if I am forced to move to Windows 11, although it will be painful.
I use WSL pretty constantly to make up for Windows' shortcomings-- it is impressive just how many Windows-oriented shell scripts I have because batch scripting is insane and has no reason to be so.
It does normal gaming and web browsing tasks, and it SSH's into my side machine to make things more seamless. I often do a bunch of video conversions with ffmpeg so media can play nicely on my side machine.
I have a bunch of assorted USB HDDs and SSDs plugged in for storage. I actually think at least one of them is SATA and I probably should take it out of the enclosure and plug it in directly over SATA....

My side machine is a Pi 4, running Pi OS 12. Was unpleasant to upgrade (I in-place desktop Debian just fine, but the Pi OS team clearly is doing something different that makes it flaky in a way I do not feel like fixing) and I have a lot of stuff to do that I will probably never get around to doing, but that's life.
It plays music and assorted videos, and I use it as a very bootleg NAS. (^_^;)
Any assorted Linux development tasks that aren't terminal only, I do on it.
There are two USB disks plugged in for storage, one for the OS since running off of SD is awful, and one for videos and music.
I am deeply tempted to buy a Pi 5, but considering the use case, I want to wait for a Pi 500. The keyboard and all the stuff I have plugged into it is taking up valuable desk real estate.

I really should probably learn some web stuff, and use the Pi 4 to test it locally. Laziness...
Plan 9 Replies: 5
Has anyone here ever tried Plan 9?
It was designed by Bell Labs in the late 80s as a research successor to Unix.

GUI-driven, heavily networked, everything is a file but even more than Unix went at the time (IIRC, /proc on Linux was extremely inspired by Plan 9).
Running programs on different machines was a major feature, you'd have disk servers to store things and CPU servers to run tasks, and your local machine would render the interface and it'd all be seamless, even to the point where if you had programs for a different architecture, if you were connected to a CPU server that had that architecture, the program would run. I really wanted to try all the crazy networking stuff out, but I didn't have more computers to do it back when I tried running the OS for an extended period of time. Maybe I could get something going now, future project.

It's not something you can really run as a daily driver (the two things that affected me the most were no video playback and no proper browser, which were way more of an issue when I only had one computer), although the modern 9front distribution has made strides in keeping it working on modern hardware and adding useful software.

I like the window manager, Rio quite a bit. It's obnoxiously simple to the point of being extremely opaque to get started with. It's not complicated at all, but like everything else in the system, you need to read the manual to get to grips with it. It demands a 3-button mouse, which makes it a bit awkward at times and nearly impossible to use on most laptops without an external mouse... but it's very logical and clean.
Felt like riding a bike firing it up again and after a little wobbliness (in particular, resizing a window is weird, you select the resize command, select the window, and then draw the new size of the window)

Writing code for it is... different. I spent a little bit of time learning the system APIs ages ago, but the dev team really was quite dead set on not caring one whit about making it Unix-like (almost to the point of absurdity sometimes, there are several cases where Plan 9 uses the name of a Unix thing in an entirely different context despite it coming out of Bell Labs and worked on by major original Unix people), even if the system is absolutely a cousin to olschool Unix, so I was a little lost, and there isn't as much documentation as I am used to.
There is a compiler and system to assist in porting Unix stuff to Plan 9, and I used that quite a bit, but it absolutely felt like cheating.

I really like how clean the the shell syntax is, rc is just a really nice shell.
It's an absolute breath of fresh air vs Bourne and derivatives. You get to do a LOT just with shell scripting because everything truly is a file, so by just modifying various files on the system, you can do arbitrary system tasks. Move windows, read and change the text in a different window, establish network connections and send data, the system exposes a ton of stuff through the filesystem and it's super cool.
I think I remember using something that exposed IRC as part of the filesystem a while ago, but that was back when I had any IRC channels to go to. (;´д`)

The system also features Acme, a really powerful text editor system that wants to be a shell in its own right. It's also kind of opaque, based around a few very simple principles taken very, very far. Every single character in it is editable, down to the menubars.

I had a VM with 9front installed on one of my harddrives and I was hoping I'd have set up any of the stuff from my main install a few years ago, but it's pretty bare. Pic related, I'd downloaded shareware Doom and configured it last time I booted the VM, which was apparently in 2022.
unix books Replies: 14
what are some amazing unix books you own?
i believe my collection here is pretty strong.

i really onky ever read the openbsd books, c books, some 4.4 bsd and ed mastery.
do you guys have any recommendations of powerful unix books i should get?

its really hard to have time to read, i just was never good at english.
no subject Replies: 1
other then having sakura at my house 24/7 and ffmpeg scripts. what is good software that is unix like for home video cams. preferable with object detection and viewable on phone. i tried home assistant with motion eyes and it keep eating the dirt and dying.

i have a few ip cams that support standard nvr stuff.
no subject Replies: 9
HOW 2 BECOME HAX0R? TY.


cracking isn't as kewl as they say?
soldering and electronics Replies: 6
dose anyone know about soldering and electronics?

i am buying this stuff along with firmware extraction stuff. i want to get into hardware hacking and things

i know how to solder but i cant read a diagram. i think i understand how IC's work?

is there any thing you guys know or thought about with electronics
no subject Replies: 10
what terminal do you use? i've always used just teh default terminal that comes with a DE
war games Replies: 3
i think every one knows about bandit wargame.
https://overthewire.org/wargames/bandit/

is there any other war games like this that you know of?
nb4 ssh root@nsa.gov
no subject Replies: 2
have you guys read SICP yet.

i only ever watch the videos. its some of the most useful thing ever!! it help me make this new software
Utilities! Replies: 5
What utilities do you like that others mightn't know about? Ideally for the terminal, but anything is welcome.
All of these I've listed are for *nix.

I recently started using nnn as a secondary file manager since I have to deal with some folders with tens of thousands of files (music, videos, pictures), and waiting for other file managers (or even ls) to collate everything is awful. PCManFM is my normal desktop file manager, and while I like it, it absolutely hates my media folders because they're so full.
nnn is pretty much instant, and integrates pretty well into the desktop despite being a command line program.
Useful keys are ? (view other keybinds), ^H (rename), arrow keys (open/back for left/right, nav for up/down), and t (change sort order).

iotop is very useful, showing you what process is doing a bunch of disk I/O.
I use it when I'm doing a big file transfer to see how things are going with the rest of the system.
My Pi 4 is definitely I/O limited and I have too much plugged in over USB and I have too much running at once. It's also saved me quite a bit of trouble when some program has gone off the rails and is downloading something in the background because the process it spawned didn't die when the main program did.

fdupes searches for duplicate files in a given folder.
fdupes -d $target_folder
will do the trick for interactive deletion of duplicates. Dead useful when dealing with pictures. I have a small wrapper script on my machine that pops up a dialog with zenity to select a folder, then it opens an xterm window to ask for which filename to delete.

I feel like everyone should know about yt-dlp already, but if you don't... it lets you download videos/audio from wherever. Mostly YouTube, but it works with a lot of sites. If something needs you to be logged in to access, use the --cookies-from-browser firefox option (replace with chrome/chromium if you use that).
I have a bunch of convenience scripts since it's a bit of a hassle to remember how to invoke it for a given task other than "download the highest quality version from the site given". My Pi 4 does not enjoy trying to play 4K videos, for example.
useful shell/other scripts Replies: 13
What are some short scripts you use on your systems that might be useful for others?
Here's a couple on mine (edited for brevity):

[code]
#!/bin/sh
#get-ip.sh
#get this machine's local LAN address
#use "inet6.*wlan0" if you want the IPv6 address
ip address | grep "inet.*wlan0"
[/code]
ex: get-ip.sh

[code]
#!/bin/sh
#rand-vid.sh, needs mpv, I generally call this from the GUI
#play random videos from my videos folder
vidfolder="$HOME/Videos/" #change this to your videos folder
mpv --geometry=320x240 --shuffle --no-loop-file --loop-playlist --mute "$vidfolder"
[/code]
ex: rand-vid.sh

there are a few more useful ones I have, but they're really long now after bolting on a bunch of stuff
this one is super simplified from what's on disk, for example, there's proper argument handling there:

[code]
#!/bin/bash
#image-with-sound.sh image-file audio-file [framerate, default 10], needs ffmpeg
#combine an audio track with a still image
ffmpeg -r "${3:-10}" -loop 1 -i "$1" -i "$2" -acodec copy -vf scale=trunc"(in_w/2)*2:trunc(in_h/2)*2" -shortest "$1"-combined.mkv
[/code]
ex: image-with-sound.sh miku.png world-is-mine.mp3 5

I have a script that stacks images (useful for show screenshots) and it's hilariously long because of argument handling but the core is
[code]convert "$@" -gravity center "$stackmode" "$outputfile"[/code]
but it's like 70 lines above that lol
$stackmode can be either +append for horizontal layout or -append for vertical
$outputfile is just the target
mostly end up using vertical, so a ready-to use version is:

[code]
#!/bin/bash
#stack-imgs.sh files-to-stack ..., needs imagemagick
convert "$@" -gravity center -append "stacked-output.png"
[/code]
ex: stack-images.sh 1.png 2.png 3.png

(also remember nashi, don't just blindly copy scripts if you don't understand them)
no subject Replies: 3
UNIX FTW
no subject Replies: 5
what are we allowed to talk about here? programming? digital circuits? math? zoology??
Web Assembly Replies: 4
I was excited for WASM but the linear memory refuses to render any of my old C projects, I use too many pointers.

What are your opinions on web-assembly?
no subject Replies: 3
Windows Wins. And now that i haev found your board... everyhone who visits this page has got an automatic stealth download for Windows 11. Thank you and have a nice day.
no subject Replies: 2
hmm, i think this is the distro of our dear aroe-tan...
https://distrowatch.com/table.php?distribution=pear
kotatsuBBS Replies: 3
before i can make a official release of kotatsu BBS. i know i needed to knock all the teeth out of it and glue back in any broken giblits.

here was a list i have for needed stuff.
https://github.com/nashikouen/kotatsuBBS/issues/8
ban system is done.

as for slice of life it seems the features i need now is quoting and capcodes, i didnt think capcodes was as big of a deal as i thought.
[top]



- you are running KotatsuBBS. a clear and easy to read image board software -