Live data from Hacker News

How to repurpose your old phone into a web server

far.computer

111–120 of 122 posts

Re: How to repurpose your old phone into a web server

#112
post #89
post #40

Earlier quoted context omitted.

I'm not educated enough in this area to have any expertise, however, in my personal experience leaving a lithium-ion battery plugged all the time results in scary semi-exploded batteries that also stop working. Would you say this is a chemistry/QA problem? Have there been advances in battery / controller technology that achieves the above?

How uh, does one find out about battery problems? I almost exclusively use laptops, and I tend to leave them plugged in most of the time. I don't want a sudden lithium-ion battery fire. Can I detect ahead of time that things are going bad? (My current machine is a Thinkpad P52 if it matters, but I also use older Macbooks and newer Thinkpads and older Dell machines this way, although they're plugged in less often thes…

With old MacBooks, the bottom bulges out and you notice because it doesn't sit on the four rubber feet anymore but on one central point – it wobbles and you can spin it around.

Re: How to repurpose your old phone into a web server

#113
post #104
post #41

Earlier quoted context omitted.

There were several generalizations in that statement that align with my similar fears to the OP. Most firmware should minimize the charge cycling, most batteries should be stable at constant charge... most isn't great for something that I want to sit in the corner undisturbed for a decade just chugging along - I have a few old desktops I use whenever I need a stand alone server or to host something web-live for a whi…

What makes your UPS any less of a fire timebomb?

My UPS is a single device that I have accepted the cost of maintaining and require for my daily use computer - it has to be regularly replaced because the nature of UPSes is a very limited and usually well documented shelf-life.

Re: How to repurpose your old phone into a web server

#114
post #84
post #83

Earlier quoted context omitted.

I don't think people generally turn off their phones so it would be interesting to learn exactly what the difference was.

Exactly but I suspect phones last longer when they are in idle/near sleep mode with screen off.

There was an era of mobile chips where they would clock very high for burst performance and get very warm, then throttle, and then repeat the cycle. It might be an issue of not properly getting into "sustained performance mode."

Re: How to repurpose your old phone into a web server

#115

so once you have a web server on the phone how are you able to make it available publicly on the internet? don't ISPs detect these and ban? are you using wireguard or something like that? ive been looking to build and serve my own servers and i have been considering to use old android phones to outright racks but the part I am still struggling to figure out is how to serve it publicly without ISP catching on as they…

In my experience (in Germany and Switzerland) ISPs don’t care, but they will rotate everybody’s IP once or twice a year.

Friends from other countries, India for example, have had different experiences though, where IPs were on a much more frequent rotation and required scripted solutions.

Re: How to repurpose your old phone into a web server

#116
post #91
post #41

Earlier quoted context omitted.

There were several generalizations in that statement that align with my similar fears to the OP. Most firmware should minimize the charge cycling, most batteries should be stable at constant charge... most isn't great for something that I want to sit in the corner undisturbed for a decade just chugging along - I have a few old desktops I use whenever I need a stand alone server or to host something web-live for a whi…

Every old hardware needing a fan is also a silent fire risk.

A fire risk? I think it'd be exceptionally rare for that kind of thing to lead to a fire instead of just dead parts (assuming no overtemperature protections). Even people with the 600 w melting GPU cables don't end up with an actual fire.

Batteries, however, are absolute hellfire when they go wrong (because of chemistry - not just the temperature).

Re: How to repurpose your old phone into a web server

#118
post #27

The thing that holds me back from this is always the battery. I want to have my battery removed so that it doesn't eventually become a time bomb, but it's a pain on modern phones and I'm not even sure if they boot without. The mobile hardware reuse space can suck for hobbyists.

They don't boot without it, but you can make it think that there's a battery by connecting power directly to the battery pins [1].

[1] https://www.youtube.com/watch?v=7f8SliNGeDM&pp=ygUYZ3JlYXRzY...

Re: How to repurpose your old phone into a web server

#119

This sounds more like "How to add more devices to a botnet." Exposing a port isn't exactly a safe thing to do nowadays, and I'd be wary of the security posture of an "old phone". Proceed with caution.

Asking from ignorance here.

Assuming you are using an old phone with termux to serve de webpage. What could be an attack vector?

The phone will be running Android 7.1

Re: How to repurpose your old phone into a web server

#120

Nothing beats my toaster serving my webpages.

I have wireguard and basic home automation things running as an experiment on vacuum cleaner. Its app was deadly slow, so having 2 cores and some memory to spare he became his own savior, with Valetudo included.
Post reply on HN