Skip to main content


Running GoToSocial on an old wifi router


Someone on another Lemmy instance raised the question of whether an old wifi router could make a usable server of some sort, specifically a decade-old Google AC-1304. Since I happened to have a couple hanging around, I decided to give it a try.

I wrote a little about my experience in my blog but to summarize, I thought it would be fun to se if I could run a GoToSocial instance entirely on the router. It has an ARMv7 processor, 4GB of storage, and 512MB of RAM, so it falls a smidge short of the recommended minimum specs, but I figured that I might be able to get by if I kept the instance simple.

Surprisingly, GTS seemed to run fine after some basic configuration tweaks. The biggest issue I encountered was actually with ffmpeg, rather than GTS itself. The only GTS build available for ARMv7 is a nowasm build, meaning that it's missing the built-in media handling components, and instead relies on ffmpeg being proveded by the host system. The version of ffmpeg that ships with the OS I'm using (OpenWRT) didn't have the needed codecs to create webp files, which GTS requires when dealing with media. Using the OpenWRT SDK, I tried to build an ffmpeg package with the correct codecs, but it still failed to properly convert files to webp. My goal was just to run GTS, though, so I that digging deeper into ffmpeg felt like a tangent I didn't want to pursue.

But I digress. The instance is now online and running (though without media), and I created a simple bot account, named Gale, who will post a random fact about wifi and networking each day.
Feel free to give 'em a follow in your favorite Mastodon client at @gale@gts-googlewifi.k3can.us or you can view past toots here

Just wanted to share!

in reply to K3CAN

Great work, but I just want to share the stupid comment of

"Looks like a cup of internet"

in reply to Skullgrid

I saw the thumbnail and thought those were cables in a cup of water. I was ready for a meme like "the opposite of a firewall". I'm impressed and disappointed at the same time.
in reply to K3CAN

Nice! I just picked one of these up from the thrift store and flashed openwrt.
in reply to qbit

Oooh, they work with it?
... my family still has these as actual WiFi routers. the coverage kinda sucks.
in reply to GreenCrunch

I still use them and the 3 of them cover my entire house without issue?
in reply to Deceptichum

Idk how large your house is, but our house (3 stories + basement) and garden are easily covered by a single wifi router, so needing 3 doesn't sound so great
in reply to tofu

It's not about the size, it's the walls. Signal barely travels more than 2 rooms over without being dog-shit. All routers have been like this for me, it's only a mesh set-up that's helped mitigate it.

K3CAN doesn't like this.

in reply to Deceptichum

Hm, weird, our concrete walls and ceilings aren't that bad
in reply to K3CAN

Very, cool. But I can't help to notice the very odd placement of the ethernet ports on that router?

Edit: Ah, I see:

This entry was edited (8 hours ago)
in reply to BCsven

And a pain in the ass to get the power plug inserted especially in scenarios where you might need to pull power and reset power
in reply to K3CAN

Very cool - I think there is promise in Openwrt routers becoming more than just routers - I posted about it here in selfhosted a while back - lemmy.radio/post/10217918

Selfhosted reshared this.