5 ms·
The Reasonable Effectiveness of Using Old Phones as Servers
- alexmolas 3y agoNoob question: is it possible to run a small website in such a server? Something like a static blog?
- kristopolous 3y agoAbsolutely. Just don't expect it to handle massive traffic edit: I'll concede my definition of "old" might be different. My current phone is a pixel 3 from 2018 and before that was an n900 from 2009.
- pinkgolem 3y agoFor a static blog? The limiting thing likely is the outgoing connection... Would not be surprised if you could saturate a 10 gig link if the USB link allows
- deleted 3y ago[deleted]
- bspammer 3y agoIf you’re only serving static content, I’d expect the home router to be more of a bottleneck than the phone itself.
- pavs 3y agoWhy not. Put it behind cloudflare and you are good to go. Even if you don't put it behind cloudflare you should be good. There are many entry level vps that are not nearly as powerful as a podern smartphone, and people host plugin heavy WordPress on then.
- falcor84 3y agoIf you compile it to a static site with something like Jekyll, I expect an old phone could handle pretty much any single blog in the world. And of course if you ever reach astronomical traffic, you can always add a CDN.
- Ekaros 3y agoJust remember we have been running web sites for past 30 years. Actual computing power to serve something static is minimal in current day.
- brucethemoose2 3y agoAnother benefit: modern smartphones have large GPUs, large media blocks, and fast RAM. With the right software, they can be a surprisingly powerful AI host or transcoding server.
- bjornsing 3y ago> $90 for 8GB RAM, 128GB storage, 2.8GHz 8-core CPU Just struck me this is double the spec compared to the “servers” I was planning to rent on AWS…
- llm_trw 3y agoIt just struck me how much more capable than a raspberry pi this is as well, if you don't need the screen or pins that is.
- binary132 3y agoIs it actually better than a pi 5 though?
- jareklupinski 3y agophones + servers made me think of phone farms https://www.youtube.com/watch?v=THJfNJk08ds https://www.youtube.com/watch?v=THJfNJk08ds
- bizzleDawg 3y agoDoes anyone know if it supports ethernet when plugged in to a generic USB-C dock? This seems like it would be a huge step up from the raspberry pi 3 I'm using for home assistant!
- johndough 3y agoAndroid supports Ethernet over USB-C, but a quick Google search seems to suggest that performance is lacking. I found this odyssey of some developer trying to reach someone at Google to get it fixed, but they keep giving him the ol' runaround. Works fine on Apple devices though. * https://support.google.com/android/thread/251842240/ethernet-speed-limited-on-android-devices?hl=en https://support.google.com/android/thread/251842240/ethernet... * https://support.google.com/googleplay/android-developer/thread/252767967/ethernet-speed-limited-on-android-devices?hl=en https://support.google.com/googleplay/android-developer/thre... * https://issuetracker.google.com/issues/319406707 https://issuetracker.google.com/issues/319406707
- endisneigh 3y agoA neat trick would be solar panels mounted on tall trees with waterproof phones attached. Set up a daemon and spread them worldwide and you have something neat. Maybe you could have some geographic sharding going on for the right applications.
- Retr0id 3y agoI have a pipe dream of setting up self-sufficient devices like that, and stowing them on public transport (e.g. buses, trains), and letting them travel around opportunistically connecting to open wifi hotspots. If you have enough of them, and if you have clever enough software, you can be reasonably confident that at least one "server" will be up at any given time.
- cromniomancer 3y agoSounds a lot like this bit from Kill Process by William Hertling: "The little computers run a secure variant of Linux, with a single open port, protected with heavy encryption. Part of the computer board contains a sensitive accelerometer, which means I can detect when the computer is moved. When I travel, I find coffee shops and homes with wi-fi signals and flat roofs, and I toss one of these onto the roof. If you were to find one, pick it up, and look at it, you might not be sure what it was. If you plug a headphone into the jack, it plays pirate music stations. Of course, that’s what it does only if it’s been moved or if the battery level drops too low. Because when the accelerometer detects motion, the code I wrote replaces my extensive software with a simple dummy music app and erases the remaining storage a hundred times over. If it hasn’t been moved, and the battery level has never dropped too low, then it does what it’s supposed to do: operate as part of my private onion routing network with hundreds of nodes to disguise my digital trail so others can’t trace my location.”
- ncann 3y agoThe main issue is the battery. If you keep a phone plugged in 24/7 the battery will eventually die, and most phones don't support power passthrough.
- thaumasiotes 3y agoIf the phone is old enough, you can just pop the battery out.
- kukkamario 3y agoAnd phone batteries turn quickly into spicy pillows if they are kept constantly attached to a charger.
- allarm 3y agoYou can use a smart plug that turns on when the battery drops below 20%. I’m going to use this kind of automation for a tablet with HomeAssistant in kiosk mode.
- jonatron 3y agoIf you don't mind disassembling and finding connectors or soldering, you can connect a power supply with the same voltage as the battery to the battery connector on the main board.
- Retr0id 3y agoThis doesn't always work nicely - sometimes the phone estimates the battery capacity and thinks it's depleting, even if the voltage is constant.
- btbuildem 3y agoI guess you increase the cost of your setup by adding an intermittent power switch / timer that turns charger power on and off. With MQTT, the server itself could drive the switch, and turn the charger on when the battery is low enough, turn it off when full enough.
- 3y ago
- ramshanker 3y agoIf there was a reliable way to keep locally deployed app running persistently, without getting killed by android OS, even newer Samsung low end phones could be used as server. Home WiFi connection auto with 5G fallback. It is too good a setup. USB type C Ethernet adapter with power pass through should work as well. Battery acts a power backup. Edit: Something like https://amzn.in/d/gUg2zhT https://amzn.in/d/gUg2zhT
- undebuggable 3y agoWell... what else are we going to do with these drawers full of old smartphones?
- xlii 3y ago> Surprisingly, many images support ARM! My darwin-aarch64 isn't surprised at all ;) I did check OnePlus6T and it seems that its Kryo processor is ARM64, and not ARM8 (which I suppose would have smaller coverage). Now my inner child screams to get a desktop nano linux on desk in form of a phone and run Emacs of it. Not necessarily old one. Any recommendations?
- deleted 3y ago[deleted]
- arter4 3y agoA friend of mine used to work at a startup which ran part of their (user-facing) solution on a plain Windows desktop without power saving. I don't think the PC itself was exposed to the Internet, but it was used as a server to support a production, customer-facing platform. It's pretty weird but, hey, "if it works don't touch it", I guess...
- butz 3y agoDoes wired internet work with Ethernet dongle connected? Or my assumption that wireless might use more power is incorrect?
- zeroq 3y agoA side note: I use old/broken phones as dedicated tablets for stuff like Spotify or calendar.
- gmuslera 3y agoAnd don’t forget the sensors they are usually packed with. Reasonably good camera, gps, accelerometers and more, it is not just a generic server. And with such amount of RAM, it could even run some small enough AI to give not so predefined sense to what the sensors may be getting.
- flemhans 3y agoDid it on my old Compaq iPaq PDA
- 47282847 3y agoUsing the gyroscope for shutting it down when moved/touched plus disk crypto would make a nice little secure server.