New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
This is the weirdest way I've seen to use rev and basename and be less portable.
LOL typo missed for about a decade:
SALT=/var/lib/radom_salt
OS: Debian 9 Stretch
Yes
Yes
PHP and Python (for now)
Nope (only if it is easy and safe)
Then you'll be quite limited. Try to avoid MySql and rather use Sqlite and use one of the not monstrous web servers like cherokee. But evidently PHP plus the ugly familiy it brings along will occupy much space anyway.
No, 17.01 works fine. And I don't mean any special recompile, just the stock download with web interface included.
But on 18.06 there's too little space left on the flash to be usable.
Stickler: That would be LEDE, wouldn't it?
Really, though? Stock firmware with LuCI fits in 4M and 32M RAM? Can it do anything?
Nice memory leak you got there
Atop of this, you might consider Devuan - it's Debian, but without systemd, so it uses a lot less memory. If you're using a stock kernel, start learning how to lsmod, see what you aren't removing, add it to the blacklist, and update-initramfs to keep them from loading. Who the hell needs pcspkr or floppy in 2019?
Never had an issue.
Proof?
Yes.
What wouldn't it do? O.o
A typical home router with PPPoE and IPv6.
448KB total space in the /overlay partition, 196 KB free.
If you wanted samba and webserver and owncloud and node.js, then maybe not. But as a router this works no problem, especially as you can see RAM is not an issue whatsoever. For storage, if there's a USB port, you can plug in any old flash stick and have gigabytes free.
I agree, but I assumed that by now everyone knows that there is a "Debian without systemd" (Devuan). FWIW, I use only Devuan (as far as debian type distros are concerned).
IPv6? Many of these are locked to 4 in hardware, even is superficially. Also, I was thinking of the 4ROM/16RAM boxes like my old favorite hardware (and I'm so fickle, I forget what it was called).
Ehh, I've got about 30+ active clients at all times due to a large household. I like the ability to open up SSH and have it not cycle ports on me after a few minutes of inactivity in an effort to conserve resources. Especially since I'm stuck with SuperMicro IPMI. I broke down and got a $20 used router off of eBay last year, and I love it. I've hooked up a low power HD in lieu of flash. I didn't feel like repartitioning so it has a hell of a lot of swap space.
I specifically mentioned this is with IPv6, for a different reason though, because earlier versions of OpenWRT didn't come with v6-related packages by default, and you had to install those on top, consuming the valuable /overlay space.
OpenWRT tends to not use any hardware accelerated packet processing engines, because those typically only have a proprietary binary-only kernel module in the vendor's firmware. And these older 32MB/4MB models are more likely to not have any such engines to begin with. And aside from those, there's nothing that would be locking a router with OpenWRT to be IPv4-only.
Which is also why I requested further information regarding your statement, saying this doesn't always work OOTB.
As above, so below. We did have some interesting switch+bridge hardware back in the day so the 100Mhz mips processor would be able to handle the amazing task of actually handling out-of-local-area things without having to pass it back to the CPU to handle.
Older OpenWRT didn't have /any/ IPv6 support by default, and trying to run all of the goodies was /nearly/ impossible in low RAM, but again, I was thinking of 4/16, not 4/32, so that was my bad. I forgot just how shitty consumer grade routers were in the early 2000s.