A person with way too many hobbies, but I still continue to learn new things.

  • 7 Posts
  • 135 Comments
Joined 1 year ago
cake
Cake day: June 7th, 2023

help-circle



  • Then it could still be the power supply or motherboard. It takes a lot to override the hardware power switch and the power supply itself is usually one of the biggest culprits to random lockups. Beyond that I can’t offer much, I don’t know of any way to test the components unless you could afford thousands of dollars for specialized equipment. I’ve always had multiple machines available to swap parts so I don’t have a different strategy for troubleshooting.


  • Certainly seems like a hardware issue, but there’s no easy answer to this one. It could be your power supply, motherboard, CPU, memory, even the video card. The power-button issue makes me lean towards power supply or motherboard though (assuming you’ve verified the power button works after a fresh boot).

    If you have other parts on hand (even from another running system) you could swap components until you identify the culprit. If you find it’s your power supply, make sure you replace it with a decent quality one, NOT one of those $25 units you find everywhere, or you’ll have even more problems followed by a rapid failure in another year.



  • I’ve never used TrueNAS, but my experience with ZFS is that it could care less what order the drives are detected by the operating system. You could always shut down the machine, swap two drives around, boot back up, and see if the pool comes back online. If it fails, shut it back down and put the drives in their original locations.

    If you are moving your data to new (larger) drives, before anything else you should take the opportunity to play with the new drives and find the ZFS settings that work well. I think recordsize is autodetected these days, but maybe for your use things like dedup, atime, and relatime can be turned off, and do you need xattr? If you’re using 4096 block sizes did you partition the drives starting at sector 2048? Did you turn off compression if you don’t need it? Also consider your hardware, like if you have multiple connection ports, can you get a speed increase by spreading out the drives so you don’t saturate any particular channel?

    Newer hardware by itself can make a huge difference too. My last upgrade took me from PCIe x4 to x16 slots, allowing me to upgrade to SAS3 cards, and overall went from around 70MB/s to 460MB/s transfer speeds with enough hardware to manage up to 40 drives. Turns out the new configuration also uses much less power, so a big win all around.




  • I was considering POE as an option, and this camera does have an ethernet port (although I can’t tell yet if that’s only for configuration or if the video will also stream over it directly). I don’t really need a constant stream and this camera also provides motion options so maybe it would only send video as needed (although during a heavy storm all of the cameras would probably fire at once).


  • I played with Zoneminder years ago but would like to get something set up for home security. I have a full internal network plus servers and about 60TB of free storage space so there’s really no limitations to what I could set up. Ideally I’d like to just hit a local IP from a cell phone to check the cameras (and remote access isn’t really needed), so that’s where I was trying to go with my previous questions.

    The software side seems easy enough, but finding compatible IP cameras has been stumping me. I see the Reolink 4K TrackMix wifi cameras on Amazon for $130, and other than a few hiccups it looks likely that this piece of hardware would work, unless anyone knows of any “gotchas” that I’ve missed? Otherwise I’ll do a bit more research and then order one of the cameras to see how far I can get with it.




  • A lot of it will depend on what age of hardware you are looking for, especially the price. Last year I upgraded all my machines to Poweredge R620 servers. These are old enough that you can find a lot of options for CPUs and memory dirt cheap, and you can find them with either 2.5" or 3.5" internal hot-swap bays. The 6xx series is 1U and the 7xx series is 2U chassis. If power is a concern, I run some VM servers with around 10 VMs in use, 64GB of memory, and a pair of 12-core Xeon E5-2630L v2 processors (2.4GHz, low power) at around 84W, but there’s plenty of options to customize to your needs unless you need current-generation horsepower. The PERC controller in them can be flashed to IT mode for full control, and I run ZFS through it for some of my machines. I built these machines for around $150-200 each and picked them up from ebay (there’s a US seller I can recommend if you’re interested in going that route).

    Keep in mind the R* series are rack servers, but Dell also has tower versions of the same machines available – I think those are labeled as M620?



  • Shdwdrgn@mander.xyztoSelfhosted@lemmy.worldwhat can I host on a webserver?
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    3 months ago

    If you can work from the command line (and assuming you have a linux server) then SSH is simple – really all it does is give you a secure connection to the command line. You should get familiar with it because if something goes wrong with your server that may be the only way you can connect to it.

    Next you need tools to transfer files to the server. While wget is useful for grabbing stuff from other web servers, while something like scp can get you to any host that also accepts ssh. I use this all the time to transfer files between home and work. Or you might set up an sFTP service to accept a GUI connection from a client like FileZilla.

    As for what you can put on your web server… Well if you install php then you can run any php code. If you write javascript code then the web browser interprets that, so nothing to add to your server, but NodeJS code would require some installation. You also want to take some time to learn about security practices. For example if you have pages that use a database, an attacker can write a URL to gain access to your server if the code simply accepts any random input. There’s not really any limit to what can be run, but some things (like the php example) require you to install more components on your server.

    Alternatively, there are also functional services you can run that have nothing to do with web pages. For example, a caldav service would allow you to host your own calendar that can be shared between multiple people or locations. Or maybe you want to start up a chat server like IRC or Matrix? Maybe you want to start a Mosquitto server for your personal IoT content? Think of it this way – literally anything and everything that makes the internet run is something you can host yourself.


  • Hmm I know there used to be the issue with the aluminum beds being warped – mine is like that but was resolved with some layers of aluminum foil under the glass to flatten it out. And I do hear occasionally of someone getting a unit with an incorrectly cut rail length, but they’ve always just called Creality and gotten a replacement without any hassle. I haven’t heard of anyone having trouble with their customer service though, so I’m not sure what changed there, but that’s unfortunate that you had trouble with them.

    I do agree about the hit-or-miss quality though. My own experience was the first glass bed I got from them was absolutely fantastic, nothing else beats the adhesion I had there. Then after a few years when the coating wore out I ordered a new one from them… and nothing will stick to that bed without using hairspray/glue/etc, so what’s the point? I finally settled on a slab of G10 with a PEI sticker which has worked well, but just the fact that the two glass beds which should have been identical says a lot about their quality control. I would say anyone getting an order from them should not expect a working machine right out of the box, however replacement parts have been easy to obtain for most people. And since you have to assemble these yourself, you definitely need to pay close attention to the online videos (I used the one from Tomb of 3D Horrors) to make sure everything is properly squared up, otherwise you’ll have nothing but trouble if you just slap them together.


  • Agreed that time is money, and I’ve spent a fair amount of time on mine. I think the worst time-sink was after converting to direct drive and basically having to start from scratch on all my slicer settings, and then working out cable management to reclaim my Z height. At one point I was playing with faster speeds (thus the dual-Z upgrade) but eventually I want to switch to a 0.2mm nozzle and try to dial in miniatures (HO scale trains). I would be better off switching to a resin printer for that but I don’t have an option for good ventilation so that’s not really a consideration right now.


  • I’ve always wondered where this comes from, the thought that a person would spend a huge amount to upgrade an Ender? I spent maybe $100 upgrading mine until I screwed up and fried my motherboard, but even adding the extra $60 for a decent upgrade I’ve still spent less than the original cost of the printer, and way WAY less than the cost of a Prusa. At this point the main upgrades include a direct drive and dual-Z to handle some NinjaFlex. I’ve always considered ABL a waste of money, and every other upgrade was just things I printed myself. You certainly can’t beat the reliability, I mean my printer has been sitting idle for nearly a year and I just fired it up a couple weeks ago to print some new items – no leveling or anything else, I just loaded up a spool of PLA and off it went. So what exactly are people spending these exorbitant amounts of money on for upgrades?


  • There was no such thing as a default firewall, but even now when I set up a new Debian machine there are no firewall rules, just the base iptables installed so you CAN add rules. Back then we also had insecure things like telnet installed by default and exposed to the world, so there’s really no telling exactly how they managed to get into my machine. It’s still good to learn about network security up front rather than relying on any default settings if someone is planning on self-hosting.