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

help-circle

  • node815@lemmy.worldtoLinux@lemmy.mlTinkering and Stability
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    9 days ago

    Instability you ask? This is like a slow creep to instability and freeze your system. It’s called the Bash Fork Bomb (look it up if you want), but it’s a copy/paste you put in and it slows your system down by consuming all the system resources and cause it to lock up HARD. It goes away after a system reboot, though.

    I was going to post the code here, but decided to play nice. But if you are curious:

    https://itsfoss.com/fork-bomb/

    (edit: Made ‘slow’ ‘slows’)


  • As a Gen X member who is 50 yrs old, a grandparent of two Grand kids, I never touched a computer until I was 12 years old (1986), this, I think gave me a head start into the computer world with an old Radio Shack Color Computer II (hooked up to my TV) with a Tape Drive to load programs with. With some of the older Gen X group starting to reach retirement age, I think we will probably have a larger portion of the population more adapted to computer than the Boomers before us. That’s not to say that during the 80’s and 90’s everyone was into computers though. The important thing was that schools had Timex Sinclair computers and mostly Apple II computers which were the workhorses even into my high school years in the early 90’s, so exposure to computer basics such as copy/paste and Word processing were certainly well know then!

    I say all of this to mention that while right now, some of the older generation generally knows how to copy/paste, isn’t scared of breaking the computer and pretty much get a long fine with them. I’m more skilled than my peers in a lot of areas but that’s because I’ve used them non stop for so long and the others used them only in school but never saw the value until around Windows 98 or Windows 2000.

    I believe there will be a shift of more computer literacy as the Millennials and Gen Z’s reach my age and older. The writers then may say that compared to the previous generation (ours), that they are miles ahead in their skills and literacy. Even my Grand kids are growing up with exposure to tablets and phones (VERY SPARINGLY), but also live out in the rural country so are getting great life exposure to great outdoors. :) (Ages 2 and 6). One can only dare to imagine what technology we may have 40-50 years from now when they reach my age range.


  • I have a TCL ROKU TV which is way too chatty on my network. It sends every single keypress on the remote to their servers (just look into the dev console which is easy enough to see what is logged). I have an adblock dns server on my network

    These are just in the last 23 minutes of the hour. As I understand, it’s not always doing this if they are not blocked, but when you block them, it starts to panic!

    The advantage of doing this is instead of having the ad on the right side of the home menu, I have a nice translucent adbox with nothing in it… Also, if you look up the secret codes for Roku menus, you can also toggle the ad server they use so sometimes if some slip through, you get some in house tested ones which are sometimes funny. But that’s extremely rare for us.

    Our next TV will probably be a display or offline only and be a streaming box with custom firmware such as Librelec or something else when the time comes.




  • I lost my respect for Asus when I had a Zenwatch 2 (I still have it), and they promised at the time Android Wear 2.0 in front our faces for months promising it would be released, but refused to even give an estimated time of release to OTA. This was well after WearOS 2 was released. Their online forum staff members were rude sometimes about it and other times, never responded to passionate asks about when it would be made available. The fact that they didn’t reply and care about giving any updates or indication at the time, was enough to push me far away from them.


  • I use Technitium DNS as both my DHCP and DNS Server on my network. I then have my ISP Router’s DHCP turned off, and point the primary DNS IP To Technitium’s on my network. I have roughly 66-67 network devices at a given time on my network, mostly wireless. (Think wiFi locks, Lights, Outlets etc) then I have my phones and gaming systems an any given thing.

    To manage my IP’s I use an Airtable type of database via BaseRow, also self hosted. Through my router’s records, I copied/pasted every single MAC address I found, into a column in my BaseRow table there, and then added the device name or friendly name to another with an assigned IP I want to use. I have a more organized system of ranges 192.168.1.1-10 is mobile devices, 192.168.1.11-30 is IoT etc…

    By having my network setup in this fashion, I accomplish a few things, all new devices which power on or connect to the router to get their IP assignment fail to get it since it’s turned off there, and they search the network for an available DHCP Server which lands squarely on the TechnitiumDNS server and are assigned it through there. I also have adblocking enabled through the same server so I have a more home wide adblock which works. (You’d be amazed at how much Telemetry a TV Sends out for every single remote keypress!) I have been able to block those with the adblock enabled. With the DNS server, you can also assign DHCP ranges address, it is really an overly complex server and probably overkill for a home network. I’ve only scratched the surface of what it can do.

    If you don’t want to fuss with TechnitiumDNS, there’s AdguardHome, or even PiHole you can use if you want to block Ads (or you can simply disable that function) and those also act as a DHCP Server.

    Or, if you are wanting to spend a few hours configuring it, you could run your own DHCP Server in a VM or dedicated device such as a Raspberry Pi.

    With all of these settings, it’s important to set your DHCP lease offer long enough that if you have to reboot the DHCP Server for kernel update, or it crashes, you won’t have any devices fail as some do regular polling to check for connectivity (My Linux computer does this a lot). I don’t remember if it’s KDE or Arch. Anyway, running the DNS Server also allows you to custom build your own “domain” system if you will. So could assign maybe your self hosted Calendar for example to http://calendar.local or http://calendar.internal.

    By setting up a dedicated DHCP Server, using the manual method or one of the different AdBlock systems, you can also turn off DHCP registration for ‘foreign’ devices or those which aren’t in your DHCP table. This offers a small element of extra security for your WiFi, but it’s not 100% secure if someone knows your IP ranges and Subnet Mask. Also, this will make it easier in the future for you if you upgrade your router or replace it as there’s just two settings to change. (DCHP Server off and the optional self hosted DNS).


  • Why not use a different DDNS service? There are plenty out there. :) I think this may solve your issue. I’ve been using freemyip.com’'s for a while and have had no problem in the past issusing LetsEncrypt SSL’s. At the moment, I’m on Cloudflare tunnels so it’s automatic with them, which I know is a huge trust issue for a lot of people, but I don’t mind it for my stuff. But I do like to have my DDNS as a backup service from time to time.


  • node815@lemmy.worldtoLinux@lemmy.mlAlpine as a desktop OS
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 months ago

    I’ve dabbled in it, but not really committed to it. It’s a great lightweight server of course. I am a KDE Plasma user so I did a quick test of that and was able to install it via Alpine, but at the time, the support for javaws was not there which I needed at the time for my job, so that killed my plans on using it. I may venture back to it later on .


  • I have been using Tailscale, connected it to my domain, I use Authentik for my OIDC/SSO Sign in and tied it that way for the MFA OIDC Login Tailscale let’s you use. All I needed to do is setup a webfinger for it and once it verified my domain, I was able to give them my OIDC settings for them. Tailscale so far for me in the last year or so has been quite simple to use. Plus, being able to log into my admin console and any devices I enroll through Authentik’s front end, has given me peace of mind knowing it’s quite secure. (All of this on a Proxmox server BTW).

    One may argue about self hosting Wireguard and I agree, it’s quite easy to do if you use something like wg-easy which makes it simple to add phones to your network. My concern with it though was having to poke a hole into my firewall for the WG traffic to hit the server, once I got into Tailscale, it’s made it easier and I don’t have any open ports on the router now. I think this is primarily why the Jupiter Broadcasting guys push it so much on their podcasts, not to mention one of the hosts on his podcast is an employee for Tailscale as well, so that probably helps a bit.

    As for funding for both Nebula, or Tailscale, they do cater to enterprise customers so you have the assurance that they do have to answer to them if they revoke a service or ruin it. :)

    For Tailscale, it’s just a matter of them allowing you to add 100 devices for free and it’s simple command to install it on any client via the cli including Apple TV for example. For phones, I have Tailscale on my phone connected 24/7 to my exit node which is my Proxmox server which acts as one, and as a backup, my Raspberry Pi which acts as one as well. So, even if I’m on the road or away from home, I’m always on my home network (unless blocked by overzealous sysadmins on their public WiFi networks). There’s not much to manage via the phone, but I like to think it’s ‘set and forget’ really, once you have it all configured, it just runs in the background and they do not decrypt your traffic much less care what goes through it.


  • I took a quick read of the comments and I apologize in advance if this has been suggested already.

    I use a self hosted DNS server (AdGuardHome) I was using TechnitiumDNS for a long while, but moved over to the other recently so I could do some more blocking as needed (adult special needs house dweller sometimes needs limited internet). It also acts as a DHCP Server so it takes the role of both the DHCP assignments away from the router. As it so happens, this week, I got to experience the benefit of having this setup live when my main router also went down, I was able to switch to a spare router (My ISP provided one) and all I had to do was turn the DHCP off and optionally point the DNS To my AdGuardHome address, set the SSID’s up and I was in business. All of my devices happily reconnected and grabbed their assigned IP’s.

    In short, if you have a spare computer, SBC such as a raspberry PI or whatnot, you can easily host something like that and not have to worry about setting those again.





  • I’ve seen a few mentions of PiHole and AdguardHome, I started on PiHole, then moved to AdguardHome for adblocking. Then I heard about and have been using TechnitiumDNS server which is sort of overkill for our needs, but with the right ad-lists, it is fantastic at blocking advertisements on my home network. Super fast install too, even on a Raspberry Pi 2 :) I run that along with Proxmox-VE (Protected behind OIDC Login) and several other containers on my cranky old Dell Desktop server.

    Mostly Vaultwarden, and a few other services for home private use such as PairDrop for inter system sharing and a self destructing file sharing server for when we need to send documents to our Attorney’s (rarely but sometimes we need to) office via Pingvin.

    I also run:

    • Home Assistant
    • Transmission Dockerized so I can help contribute to the Linux community and share the ISO’s.
    • For some of my externalized sites, I run Authentik It acts sort of like a Reverse Proxy if you configure it to do so. I love that I can simply identify myself with my WebAuthn device skipping any passwords. :)

    With Authentik setup, I can login to things like my Fresh Tomato Router TechnitiumDNS (Both use HTTP Auth headers) and Memos which uses OIDC/SSO. It’s meant to replace our Google Keep notes.

    • Tailscale is installed and I connect to it from my phone when away from home to always stay on my network. Sometimes, hotspots block it so I generally avoid those as much as possible.
    • Wallos to help keep track of our re-occuring subscriptions.
    • Grafana and Promethus - both are staged and ready for configuration and one of those I will get around to eventually.
    • InfluxDB - I plan on moving Home Assistsant logging soon to that which should tie nicely into Grafana later.
    • Ben Phelps’ Homepage - it’s my main server dashboard my wife and I use to access our server. Quite simply one of the best dashboards IMHO.
    • Wyze Cam Bridge - One of the better services in which you can log into your Wyze cams and convert their streams to RTSP, RTMP or HLS streams easily. I have that feed to my Home Assistant Security Dashboard.
    • Baserow It’s a good Airtable alternative and I use it to keep track of my Static IP assignments, Sleep tracker (I suffer from insomnia), and other data points. It’s pretty amazing. I even created a pain logging for for my wife so she just accesses it and answers basic questions about her pain levels and it pushes it to the database for later retrieval.
    • Joplin Server - Sorry, I don’t have the link, but it’s installed via compose. I use Joplin Notes on my phone and computer for keeping my code snippets. I’ve tried Obsidian and it didn’t really meet my needs and Also Anytype, but that’s not self-hosted. Joplin server is for me and that’s become handy a time or two when on the road.
    • Bookstack - my grand plan for that is to build a Wiki for my family to use in the event something should happen to me, they can know how to manage the server with nice screenshots and instructional steps. I have that protected behind Authentik’s OIDC logins.
    • IT-Tools - hands down one of the coolest self hosted tool sets you can use.
    • Webcheck - All-in-one OSINT tool for analyzing any website https://web-check.xyz/ is their demo site. :)
    • Stirling PDF - Kind of like a Swiss-army knife for PDF’s. :)
    • Dozzle - For those times with you really need to see what your Docker logs and too lazy do run a docker logs -follow command.

    I still use Portainer-CE and am happy there, I may try Dockage or the others, but it’s fine for what I need it for (It’s also protected by OIDC)

    I’m sure I may have missed a few, but this post has gone on long enough. :)


  • My biggest issue with YAY is the occasional mandatory compiling of an app seemingly randomly, so I go in thinking a quick update will turn into a much slower one because of the compiling it does. I haven’t looked into it, but if there was a way to alert before doing this via a flag, it’d save me time and sometimes frustration.

    I have learned over the years to try to install the -bin version as much as possible, but sometimes that’s not enough if flagged out of date (Joplin especially), so I sometimes end up installing the appimage.


  • I left Win8 to go full time on Linux. For several years before this, I used to host web sites professionally and build them so I was used to Centos and Debian servers but not comfortable enough to be able to manage them deeply. In other words, just enough to make them work, but more complex troubleshooting was not my strong suit.

    I later landed a job where their primary systems are Linux based and through that training and learning, I became more comfortable in the CLI and have never looked back.


  • First, confirm if you can access Cockpit by going to the https://localhost:9090, If not, follow the Fedora instructions here: Having some familiarity with Command Line is essential. Your graphical package manager may or may not include Cockpit.

    https://cockpit-project.org/running#fedora

    Cockpit does sometimes allow you to install “plugins” from the web GUI, but in my experience (both on Debian and Arch), it doesn’t do it to well. If you can’t install plugins for 45 Drives file sharing plugin, you will need to do it manually:

    For the 45 Drives plugin to enable sharing: https://github.com/45Drives/cockpit-file-sharing (I believe it’s the “Direct from .rpm” section if you scroll down in the Readme)

    From there, once you are logged into Cockpit on the left you will see a link for “File Sharing”

    This isn’t as complex as it may seem as long as you follow their steps you should be golden.


  • I only use a Windows VM For our ancient (in computer terms) Canon LIDE 60 scanner which seems to work best there (linux produces highly grey contrasted scans).

    For all of our scanned documents from the scanner, I have it mapped to a network drive via Samba Shares. Since you are using Fedora, I think you may already have Cockpit installed. This makes it a lot easier and is a web gui to manage servers. You can usually access it on your Desktop via https://localhost.9090 Then you would need to install 45 Drives File Sharing plugin and setup a SAMBA share.

    From the Windows VM, just map to the same workgroup you set in the SAMBA Share you created and give it a drive ID such as F: