Unix@nashikouen

teh place for hakin and computers. also site discussion.
[Catalog]
submition rules
  • Allowed file types are: .jpg, .png, .gif, .webp, .mp4, .mov, .webm, .mp3, .wav, .ogg, .flac, .swf, .swf
  • maximum files: 3
  • maximum upload size: 40.00 MB
  • duplicate files are not allowed
  • posts will be displayed in UTC time
  • max comment size is 8048 characters
  • tripcodes are enabled
  • BBCode is enabled
  • [ download ] 18.13 KB (300x300) 1725921928711.png

    tried to make a thread on /main/ but it said "you must have a boardID" or something... site bug?

    do ctrl shift r?
    it works for me... that is weird

    sorry i am lazy with my bad software...

    [ download ] 110.39 KB (828x1792) computer-tree.jpg

    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
    6 posts omitted. Click Reply to view.

    still can't get over how neat clabretro's stuff is
    just really interesting enterprise hardware
    like this system from the mid 00s that lets you slice up the machine with some hardware VM setup
    https://www.youtube.com/watch?v=J1NxcgasTIU

    I'd love even a little bit of kit to mess with, but the sheer loudness of enterprise gear that you stick in an air-conditioned and soundproofed room is certainly a damper

    https://www.youtube.com/@UniversalTech277

    キタ━━━(・∀・)━━━!!

    this jew is pretty good and showing stuff i never seen
    https://www.youtube.com/@nirlichtman

    [ download ] 110.16 KB (720x480) FOTMAI2FK27ENVT.png

    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
    5 posts omitted. Click Reply to view.

    also i booted it up yesterday (just plugged it up with the main cables because i don't actually know what im doing) and it works just fine ^_^ connected it to the web , and there was already the homebrew channel on it so i struggled with it for no reason without realizing that . i need a flash drive to give it the ISOs for games, but i think it works !!! will update .... hopefully i can pick one up while im out and about and my friends are coming over so we can find some games

    >>181
    sending teh internet police to get ya for pirated gaems!!!1

    (you will be fine pirate them all!!!)

    >>182
    LOL when i was a kid learning about emulators this scared the shit out of me . i think most if not all wii games are considered abandonware now though . . .

    it got me too... one thing i did learn tho, is some company will release software that cracked or noticed a cracked product id when you run the software with internet and send scary letters in the mail.

    i have heard you can just ignore the letters and you will be fine? but just always run with out internet.

    https://www.youtube.com/watch?v=2SDMie8dbsg


    this guy looks like a downie

    (USER WAS WARNED FOR THIS POST rule 8)
    5 posts omitted. Click Reply to view.

    tbh idc as long as it not just all slang.. if it was something i can tell was on purpose. or you speak r8 like you breath. then i would thrown out ban. bc i also spit out r8 bc i was born after year 2000 i understand

    I didn't know downie was rule 8 breaking

    It's not rule 8 at all, WTF (;゚∇゚)

    It's just slang for "person with down's syndrome", and has been around since before most users here were born

    i have seen this discursion before with pop-tan on heyuri. he was using the word gooning as it has been slang way before most of us been alive. but just the way its used now as a buzz word maed it not relly allowed.

    [ download ] 15.84 KB (192x75) lfs-logo.png

    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. (;´Д`)

    i have never but i heard from some oldies that was required to get there job

    There's not a lot of videos about it. I remember a young guy on YT who looked as you would have expected showing off his totally pimped out LFS install. When I mean pimped out, it was pimped out. More people should do showcases like that. If you don't want to do full LFS, there are other distros that are above Gentoo in difficulty like Nutyx.

    [ download ] 408.28 KB (400x400) matrix-rain.gif

    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...
    6 posts omitted. Click Reply to view.

    >>10

    GET!!!!!

    I am the owner of a Dragonbox Pyra which is an obscure Linux handheld. I only browse the web on it with Vivaldi.

    If you want the Pi 5 but in a keyboard case with an actual quality keyboard, get the Commodore 64x case. You can put a Pi in it.

    >>126
    >I am the owner of a Dragonbox Pyra which is an obscure Linux handheld.

    POST PICS

    HE NEVAR DELIVER!

    [ download ] 81.64 KB (1024x768) 9front.png

    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.

    >>25
    i have not used it and some one was trying to get me to use it one time, i heard things where to much like a file, like mouse movement and positioning? its like dragonfly bsd but on crack right?

    computing like that is always been my dream, i know so many ppl say on tech youtube that you just cant split up things like that and more cores dose not = better performance. that having a cluster super computer cant make graphics and gaming better. it just seems dumb, if we can have 1gbs network speeds and can already program multiple cores then clustering should be a possibility, maybe i am talking out my ass and don't know low level all that well

    >>27
    So, as a product of the late-80s/early-90s, Plan 9's design is more thin-client style. You'd have some beefy servers or whatever in the back, and cheap workstations would be scattered around to connect and run tasks. Due to the fact that the system tries to ensure that everything you have access to is in the filesystem across machines, this means you can connect to whatever CPU server you want on the network and your whole environment just works.

    You could reasonably do a lot of over-the-network processing between multiple machines, but it wouldn't be quite as seamless as just adding more machines to the pool and they get handled in an completely transparent SMP sort of fashion. That would be super cool, but I really don't know how feasible such a system is across the network, even between machines right next to each other, let alone across an office or across the Internet.

    Each CPU server runs its own processes and doesn't share memory space. They can (and generally do) share a filesystem namespace, and it would be more than reasonable for each to send data via that so you could handle IPC/workload distribution.
    Since EVERYTHING is a file, regardless of whether it hits the disk (and often, it doesn't -- network connections are made by manipulating the filesystem), this is extremely easy.
    To do distributed computing on Plan 9, you'd have a program on your terminal that checks for other CPU servers mapped on the network and asks them to start their copy of the program, then it transfers work to those copies, which would report back. Plan 9's design makes this significantly easier to write vs other platforms, but you'd still need to write it yourself as far as I'd know.

    Also sadly, I was wrong about seamless program execution between architectures -- apparently, Plan 9 actually makes it so that binaries in their respective architecture's bin folder are mapped into /bin based on which machine is running them.
    Still cool, and it works in a really seamless fashion since the CPU server running the program gets to see the filesystem from your machine's perspective (for the most part), but not as cool as automatically running it on another machine if this one couldn't.

    You can get by with 9front if most of what you do on a daily basis is textual manipulation. The only thing I can think of that's cooler than Plan 9 is Lisp machines, but you can't use those in the modern day.

    [ download ] 77.32 KB (1200x897) tomoyo security.jpg

    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.


    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
    1 posts omitted. Click Reply to view.

    I really need to sit down and practice soldering.
    All of my builds are horrific and use tons and tons of copper tape everywhere and crimped connections.
    There are multiple places where I've superglued wires onto pins. I am a monster... m(_ _)m

    I also do need a vent sucker thing so I can not breathe flux fumes nonstop when I do attempt soldering.

    diagrams shouldn't be too bad? you mostly just need to find a chart of common component symbols
    diagrams with ICs are generally pretty easy to follow since it's just a rectangle with named pins going to other parts, I usually need to look up other things
    some of the symbols in this picture you won't ever really see, there are a few you'll see constantly

    what about resistors and other things? i don't understand color codes when looking for a specific resisters.

    i assume most things would be at 5/3.3 volts for the entirety of a board?

    >>115
    >what about resistors and other things? i don't understand color codes when looking for a specific resisters.

    I don't get color codes either, I look it up every time.
    https://www.digikey.com/en/resources/conversion-calculators/conversion-calculator-resistor-color-code

    >i assume most things would be at 5/3.3 volts for the entirety of a board?

    yeah
    if you're interfacing to a device that isn't the same voltage (I use Pi Picos a bunch, which are 3.3v, but a lot of stuff I'd want to interface with is 5v), you'll need level shifters
    something like this:
    https://www.sparkfun.com/products/12009

    alot of my things came in the mail.. this universal chip programer thingy came with a good luck charm ヽ(゚ρ゚)ノ

    [ download ] 11.94 KB (806x537) terminal.jpg

    what terminal do you use? i've always used just teh default terminal that comes with a DE
    5 posts omitted. Click Reply to view.

    >>94
    I probably should switch from xterm just to have truecolor support (xterm munges truecolor commands into using its 256 color palette), but then it never comes up, everything I use only needs the base 8/16 colors anyway.

    >>105
    I think this got fixed some time ago, just set the xterm*directColor X-resource to true.

    I use urxvt and xterm. urxvt is basically a more customizable version of xterm based on my experience

    >>107
    Oh wow, it did!
    Thanks!


    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

    is hack the box and try hack me any good? i wanted to try it but it seems to gay and collects info

    >hack the box

    i tried that, it's alright i guess...

    [ download ] 236.83 KB (1080x1092) kof-computer-lab.jpg

    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.

    >>82
    nice microwave picture.

    one thing i stopped using was nvim to program in. nvim is good and all to go in ssh and edit configs or a file you have. but even bloating it to hell with plugins that wipe your ass it still dose not beat using vscode for coding.

    i am sure every one knows about ani-cli to stream anime from the terminal. uses yt-dlp and mpv.

    another one i used witch i cant seem to get compiled is sherlock for hunting down people's accounts

    microwave > computar

    >>83
    Never did end up becoming a vim guy.
    I don't quiiite like using VSCode since it genuinely feels like it's doing too much magic behind the scenes (I don't know how to explain it better), but it is just dead useful. Certain things, it's my go-to tool just because of how well it integrates, but if I don't actually need that kind of deep integration, I'm not touching it.

    >VSCode

    atom was and more-or-less still is my go-to text editor


    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)
    8 posts omitted. Click Reply to view.

    >>69
    i don't really know the difference between unix shells.
    OpenBSD uses ksh. I just use redirecting IO and pipes. any other features i don't really care about

    >>69
    bash is a bit bloated but I constantly use bashisms and install on any systems I use that don't have it
    but it is a huge attack surface because it does so much

    >>70
    >i don't really know the difference between unix shells.

    A lot of them are compatible with sh (the Bourne shell), but add features..
    bash is the "Bourne Again SHell" (note the caps), which bolts on tons and tons of features.
    In general, they're basically different scripting languages with their own featuresets, but work around the basic shell concepts of running commands and piping data around.

    There are shells that aren't sh compatible, like fish (which I've been meaning to give a chance since it's supposed to be very easy and clean, I just am stuck forever in bash land since it's very widely available, very featureful, and for years had a pretty good chance of being the default).

    I specialize in one liners so I will post some of those:

    Find all video files recursively in a directory

    find . -type f -exec bash -c '[[ "$( file -bi "$1" )" == video/* ]]' bash {} \; -print

    (run it inside your eroge directory for hours of fun!)

    Play all flash files in a directory in a random order, with 'q' to quit and any key to play the next one

    while read flash; do flashplayer "$flash"; read -n 1 < /dev/tty; [ "$REPLY" == "q" ] && break; done < <(ls -- *.swf | shuf)

    (can be adapted to any kind of file!)

    Those were the ones I could find from scrolling through my bash history for a few mins.

    [ download ] 11.01 KB (682x494) freebsd.png

    UNIX FTW

    test


    #!/bin/bash
    #stack-imgs.sh files-to-stack ..., needs imagemagick
    convert "$@" -gravity center -append "stacked-output.png"

    test
    test2

    [ download ] 427.83 KB (685x657) birds.png

    what are we allowed to talk about here? programming? digital circuits? math? zoology??

    yes :D anything technology computer/logical related.
    if you wanna share math problomes that is totally cool!
    idk about zoolgy but if you think it fits then yeah!
    this is also site discution as i assume this would be small slow board

    >>6
    video games ? (..◜ᴗ◝..)
    if i would like to share/discuss some PSx games and emulator stuffs, this would b the best board , right ?

    /main/ would be better for game stuff. i assume ppl who come here always stop by /main/

    if it was game programing, unix games, wine, etc. then here

    I think the admin said it would just be a general technology board, just with the name "unix". But I think what >>31 says kinda makes sense too

    Delete Post: []
    Password:
    <<back ] [ 1 ] [ 2 ] [ 3 ] [ next ] >>



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