this post was submitted on 05 Feb 2024
39 points (100.0% liked)

Selfhosted

40670 readers
330 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Ok, this isn't my first post on the subject, but bear with me.

Saturday I set sail through these unknown waters with nothing but a dream, a few hundred gigabytes of movies and shows and this tutorial.

I wasn't a complete noob when it comes to Linux. I used Ubuntu from around 09.10 through 14.04, or something like that. But I have never used a server edition or any text only distro, not even in my wildest weekends dual booting weird systems.

I won't be too lost in this, I thought, as the OS installed in the machine. All set up, Ubuntu booted up and to the tutorial I go. Three minutes in and I already made a mistake. I installed with the SET THIS DISK AS AN LVM GROUP, better reinstall the right way.

Keep in mind that I DO NOT know what I am doing, all of this is new and didn't want to have to restart it all in the end due to a misstep on the first… well, first step.

Freshly reinstalled OS, first part done, now I'll set up this DHCP thing. Oh boy, this was an adventure. Until now, I have no idea of what I did. I got into my router settings and dove into this DHCP config. To my knowledge, I did nothing but change the last number in the IP address from 0 to 133. All connection went down.

I typed my regular IP to get into the router settings to change back that damn number, but no way. The Windows tray said I had internet, but nothing came up when I tried it. Phones, tablets, TVs, all went dark.

It was a Saturday night. My mom was watching YouTube on her phone, my sister and her boyfriend were watching a movie in their room, and I nuked the internet a few minutes before the pizza arrived. It was not cool.

I got my phone and started looking up ways to fix this. No luck whatsoever. After an entire hour of dead-end tutorials and a bunch of nagging, I just made a hard reset on the router.

But I am not such an unprepared man, oh no. I knew I would eventually screw the internet over. So when I installed our mesh Wi-Fi, and had a few similar problems with it, I made a backup of all the connection names and password changes I made. This way I could get everything to work as before, even Alexa could turn everything on and off easily.

Crisis averted. That one, at least.

I still had no static IP! That's when I found this guy! My savior!

Following his steps, I set it up and got back to the Kalos tutorial. It all worked fine until the very end. Wireguard just kept putting me down. Jellyfin worked OK when the phone I was testing it with was on Wi-Fi, but nothing else worked. And then that stopped working too. I was destroyed. I was already 1AM and my eyes were closing on their own. Time to sleep.

I woke up at 5h50 AM, after a series of dreams of me almost solving the problem and just said to myself, maybe PLEX is easier?

I followed some written tutorials for the PLEX install and set up (sorry, couldn't find those to link here) and BOOM, it worked!

I turned off my phone's Wi-Fi and still worked on cellular data, great! Now it is 07h30AM, and I am calling my brother to give it a test since he lives in another state, get a REAL out of local network test. AND IT WORKED! I was in a frenzy.

Great, right? All working, time to rest a bit. Went to a friend's house and played a few hours of Cuphead and came back home. I just knew the movie I was going to buy next to put on the server. Got home, made a cup of coffee and logged in. Where's my shared folder?

I simply cannot log into my server's folder anymore. The server still works fine, but I can't add or remove anything from there. I keep getting the error 0x80070043 on Windows. Disconnected from the network and tried to set up again, and that's when the error started, before it said the server was offline, when it clearly wasn't, PLEX worked fine.

Now it is 10PM here where I live and I just gave up for the weekend. I have no more ideas of how to write my problem on Google to try a new answer. I am lost once more.

But I lost the battle, the war's still going. This server will work. I will have a movie and shows drive, a music drive and a files drive. (no idea how to set up more drives, though. I installed the OS on a SSD and the movies for PLEX are on an external hard drive. But I'll find out)

If anyone has any tips on how to go on, please, enlighten me.

That's all for now, and see you guys in the next chapter of this crazy little project.

you are viewing a single comment's thread
view the rest of the comments
[–] BearOfaTime@lemm.ee 11 points 10 months ago* (last edited 10 months ago)

My advice - don't test on a production network.

If your router supports it, setup a DMZ, or a subnet (depending on the brand they call it different things, like virtual LAN, or some such, though I dislike that terminology).

Failing that, buy another consumer router, set it up with a different local network address range (say your current net is 10.x, use 192.168.x), set it's internet port to use DHCP, and connect that to your current production network.

This new router will keep your test stuff segmented, and should route to your current production network for stuff you need over there (or to get to the internet). Verify, sometimes consumer routers can act weird when setup this way.

Also, don't make multiple changes simultaneously. Do one thing, well planned out with notes, first. Then verify and verify. Let it simmer for a few days. Then do the next thing.

FYI, even when you borked your DHCP setup, your router most likely would come up on 192.168.1.1, or 192.168.0.1, even if your network is a different range (e.g. 10.x), as most companies configure consumer routers to always listen on that address, even when the local net is a different IP range.