r/HomeServer • • 7d ago

I'm a server

Post image
1.7k Upvotes

82 comments sorted by

126

u/codear 7d ago

Where's your Ethernet cable, server?

28

u/boraam 7d ago

Out the ass end

10

u/codear 7d ago

And it's a loopback 🫣

1

u/adirajk05_cmd 6d ago

I have been wanting to buy DGX spark to run local ai for my home assistant, with a proper switch I will set it up later

15

u/Mikekeb 7d ago

My Plex server runs fine over wireless. I'd prefer it have a hardwired connection, but don't have the setup for it right now.

I'll say I haven't had a single issue playing anything off it.

5

u/codear 7d ago

So what's the worst that would happen if someone turned it off? Or start dropping packets?

Because here someone really cares this doesn't happen.

12

u/Mikekeb 7d ago

If someone's gonna complain about the media they they are consuming from my server for free they can get it elsewhere haha.

11

u/Awkward-Flan6379 6d ago

You can actually turn the lid off and run the server 24/7 without worrying if you're using debian distro. There's a way to make it never sleep when the lid is closed.

5

u/adirajk05_cmd 6d ago

It is already doing that, just opened it for this post

4

u/gpsxsirus 6d ago

Hopefully it's placed on the carpet just for this post as well. Otherwise those fans a struggling for dear life.

1

u/metalwolf112002 5d ago

Really? Has the laptop been sitting on the floor open since you took this picture over 2 years ago?

Funny how many similar setups you'll find if you Google "laptop I'm a server".

7

u/k-sa 6d ago

Just make sure you have a laptop made to run with the lid closed. A lot of consumer laptops overheat when the lid is closed.

Any business laptop is typically safe, as they are made for running closed with a docking station.

1

u/Fensox 5d ago

Windows as well. Windows 11 Pro running in server mode on a closed laptop for years now.

4

u/fi33zie 7d ago

Ok, server.

1

u/adirajk05_cmd 7d ago

You got it 😂

3

u/frostyflakes1 7d ago

Is this a Lenovo Y510p or some variant? I had this same laptop. My first gaming computer. Had two 750Ms running in SLI. Good times.

1

u/adirajk05_cmd 6d ago

Yes sir it is

3

u/IlTossico 5d ago

You can close the lid and have it working. Probably better.

1

u/adirajk05_cmd 5d ago

It it already configured to do that

1

u/GeroldM972 5d ago

Working? Sure!
Throttling? Absolutely!

Laptop screens, when closed, block a lot of thermal venting, especially when the laptop is an older model, like shown in the OP. Result? The already poor performance will become poorer still, because of throttling.

Keep the lid open.

1

u/_-Mephist0-_ 4d ago

I'd be more concerned about it being on the floor than whether the lid was open.

0

u/IlTossico 5d ago

Depends on the laptop. This doesn't apply for all laptops. And 99% of them have their own duct in for the fan and duct out on the side or rear. Having the lid closed doesn't prevent air from getting in.

Plus this is a home lab, meaning the laptop is idling 99% of the time, probably the fan is not even spinning.

There are laptops, like my X390 Yoga, where the keyboard is air tied compared to the motherboard, so that if you spill liquids they don't get into the motherboard, in situations like mine, having the lid open would make 0 difference. So depends, but for experience, generally doesn't make a difference.

1

u/electi_007 5d ago

Well I want my screen working

0

u/sheep_duck 4d ago

Venting air is one thing but the keyboard and surrounding surfaces also act like a passive cooler

211

u/SleepyKoalas23 7d ago

We all did this once until you remember there's an option to keep the laptop on even when the screen is closed. Then you feel like a god.

77

u/Otherwise_Task7876 7d ago

I didn't. I left it open so it can actually breathe through its vents and ease of access.

20

u/I_Dunno_Its_A_Name 7d ago

I have a laptop like that. It blows the exhaust air between the monitor and the keyboard.

12

u/Renamis 6d ago

Mine doesn't blow the exhaust out, but it does radiate heat out from the keyboard. Even if the lid is mostly closed he gets hotter than hell. Then again, this is why I'm going to make myself a server cabinet to lock the laptop and server in to avoid issues.

3

u/new2bay 5d ago

This one is sitting on carpet. That’s a bad idea, and a fire hazard.

12

u/cpgeek 6d ago

some of them will overheat - I typically remove the display on the laptops i've used as servers. - it's usually *SUPER* easy. you just pop it open, unplug all the wires that go to the display module, and unscrew the display module from the hinge. - then you've got a proper headless server - typically storing away the display module in a closet or a high shelf, often in a towel or something, until it's needed again, along with it's screws in a small ziplock.

5

u/JohnArcher965 6d ago

Barely an inconvenience

0

u/variablemechanics 5d ago

Carn, took me bloody ages to suss the hibernate setting was overriding the lid action.

24

u/VegetarianZombie74 6d ago

Back in 2000, I worked for Disney for a bit, managing websites for a bunch of TV shows. One day, all the message boards went down. We did all this troubleshooting and couldn't find the cause.

Turns out the message board server was just a random server on some random desk in the office at Sunnyvale. When a new hire took the desk, no one told her about the server and its function. To her, it was just some random computer in her space. She found the noise distracting, so she turned it off.

-23

u/ryfromoz 6d ago

Hopefully they were fired for that blunder. If youre new, dont mess with shit

11

u/Brooklyn030 6d ago

The it guy should have been fired for leaving a server on a random desk instead of in a dedicated space clearly labeled.

13

u/HugsAllCats 7d ago

That's exactly what a non-server would say.

8

u/Jeff_B_83 6d ago

Should change the power settings to do nothing when screen is closed. That way it stays turned on even when the lid is closed

6

u/DankOverwood 6d ago

Yeah how do you run a server but not find your way through simple browsing and searching to disabling your laptop lid behaviors? kinda remarkable.

2

u/Not-Noah 5d ago

15 year old just discovered port forwarding and set up his own game server for his friends lol

5

u/devzwf 7d ago

/etc/systemd/logind.conf

1

u/rob417 7d ago

I've always wondered for people who use a spare laptop as a server. How long can it be plugged in before it runs into battery issues? Are we talking about a few months? A few years? Or randomly at no predefined time interval?

6

u/OldSchoolAJ 7d ago

The last one. Though closer to years than months.

6

u/skwerks 7d ago

I use an old thinkpad and I removed the internal battery completely. Not worth it to come home to a burnt down house if it were to explode lol.

I also went and edited one of the files in my Ubuntu server install that allows me to close the lid and now the laptop just sits there running full time behind my tv stand lol

I just remote on from my main computer whenever I need to do anything

3

u/cougomdd 6d ago

My father-in-law once told me that he had talked to a colleague about the danger of lithium batteries, and that my girlfriend and I had to pay attention.

I pointed out to him that their laptops have been permanently plugged in since 2019 because the battery was dead

He wanted me to be careful while making no effort on his part

1

u/AlterTableUsernames 6d ago

I believe this risk to be hugely overblown and would consider the fire hazard by a machine with closed lit higher than that of an okayish battery pack and open lit sitting there for 10+ years.

1

u/No_Suit7363 5d ago

With older laptops it's definitely a real risk. But a modern one from the last few years probably overblown.

1

u/Firemanlouvier 6d ago

This is the way

3

u/ipapipap 6d ago

I use my old lenovo laptop for my main sever with battery plug in. It's been almost 2 years. Let's find out.

2

u/Fensox 5d ago

Same. And I’ve seen them running for 5+ years.

1

u/deadduck_09 5d ago

i actually just setup my old laptop as a server like rn would it be better is i remove the battery completely and put it on charge??

2

u/ipapipap 5d ago

Depends on your laptop battery. If it's some kind of 18650 liion battery, you can. But if your battery type of flat cells, it's better to took them off

1

u/deadduck_09 5d ago

ohh i have liion one on top of that its a removable one too
thanks for the reply

1

u/Noclahle 3d ago

A menos que la batería esté en buen estado y te sirva como un mini UPS, lo mejor es sacarla y evitar calentamiento

1

u/deadduck_09 3d ago

Ah, gracias por el consejo.

2

u/GamerBears 7d ago

I had an old MSI laptop plugged in and running 24/7. It had no battery issues at all. As long as it was plugged in. I did have to restart it once in a while.

2

u/Zoltarr777 6d ago

I had a dead battery laptop that worked just fine while it was plugged into a wall, but wouldn't turn on with it, so not the end of the world either.

2

u/No_Suit7363 5d ago edited 5d ago

You remove the battery. Some people don't but that's a stupid move.

EDIT: I should say if it's an ancient laptop you remove the battery. New ones don't really have that kind of risk that should be avoided. But those old ass laptops are the best servers. Cheap, run linux perfectly, and also cheap (so good I said it twice).

2

u/metalwolf112002 5d ago

Depends on the laptop. Some have property battery management. My work is getting some laptops back with battery discharge cycles in the double digits because they were work from home units only. Some of them are in excellent condition.

Other laptops, the batteries just float charge and after being plugged in for years are toast.

Your milage will vary.

1

u/kazurabakouta 7d ago

I don't think it's that problematic with modern machine. In my experience most of older machines that were used for this purpose would have had problematic battery anyway. I think what ruined the battery the most was drawing huge power from the battery WHILE it was charged. Fully charged machine would just draw its current from the wall socket.

0

u/adirajk05_cmd 5d ago

I've been using it for over a year now, and I haven't witnessed any battery issues or any other possible issue we can think of. It's working great. Before using it as a server, I upgraded its storage to a 2TB hard drive and 16GB of RAM, and I also undervolted my CPU for maximum efficiency. If there is a power cut — currently it is running a Minecraft server, some Docker containers with Kubernetes and Jellyfin inside it, along with some of my other personal stuff. I like to restore old applications and preserve them. It already has more than 800GB of data in it. I'm also thinking of adding a Mac Mini, or if my budget increases, a DGX Spark for a local AI to run my Home Assistant and all.

2

u/LA_Nail_Clippers 7d ago

Hey kids, I'm a computer. Stop all the downloading.

2

u/onkelFungus 7d ago

Still true for Apple notebooks without an external display connected

2

u/_angh_ 6d ago

3

u/P_moT 5d ago

Yeah it's mind boggling that this isn't being mentioned more and the OP is still pretending days later lmfao

2

u/Brooklyn030 6d ago

Why not disable lid functions?? I have a laptop in my rack with lid functions disabled running proxmox as the tie breaker plus running some light services. It sits in my server rack and just chills

2

u/wrd83 7d ago

He probably didnt find the setting for close lid -> do nothing

2

u/Shasla 7d ago

That's the most important setting for a laptop server too. Especially since if you close it people are less likely to mess with it.

1

u/_keyboard-bastard_ 7d ago

I had one of these on my desk in the office around 2014 running my on-prem helpdesk.

1

u/rilesmcjiles 7d ago

Server Steve

1

u/stinger32 7d ago

I was able to disable the lid or whatever feature it is on my razor. No luck with yours? Congrats!!

1

u/Vegetable_Flounder12 7d ago

wow, sitting on carpet , good luck with sucking in all that nice fibers/fluff. doubles as a vacuum cleaner.

1

u/mrAshpool 6d ago

Add a "don't step on me", with the rattlesnake

1

u/Tony1Rice 6d ago

I have a 2015 vintage laptop that I've been using as a desktop - plugged in 24/7 and running almost 24/7 - for three or four years and it's fine - even the battery appears to be healthy.

1

u/Fair-Promise4552 6d ago

you can disable the lid... and then put it into your shelf like a book to expose the fan intake.... nice server btw

1

u/No_Suit7363 5d ago

My first always on Plex server was like this. Good times.

1

u/Daniel18sep 5d ago

Can't disable the lid sensor? 

1

u/Turbo8ro 3d ago

Why don't you just change the line to make it "do nothing" on lid close?

1

u/TheAggressiveSloth 3d ago

Just close the lid and have to set to closing lid doesn't do anything to the screen. Case colved.

1

u/Brotakul 2d ago

sudo mkdir -p /etc/systemd/logind.conf.d && printf '[Login]\nHandleLidSwitch=ignore\nHandleLidSwitchExternalPower=ignore\nHandleLidSwitchDocked=ignore\n' | sudo tee /etc/systemd/logind.conf.d/99-lid.conf > /dev/null && sudo systemctl restart systemd-logind

1

u/Zealousideal-Ice2580 1d ago

I use one of my laptops as a jumpbox with the screen normally showing frigate camera view. I have it mounted semi-flat on the wall near my desk.

I have charging set to charge battery 60% max.

1

u/Different-Apple-1091 1d ago

There are settings you can use that keep the laptop on when you close the lid. Battery shmattery, take it out when it swells. You can also set power on at AC Input in your settings and plug it into a surge protector with a switch, then you never need to open it if you ssh it