LEDE on D-Link Dir-615 H1 (4MB Flash, 32 MB RAM)

Try removing odhcpd-ipv6only. Please add it to the wiki page (https://openwrt.org/docs/guide-user/additional-software/saving_space) if it works and doesn't create problems. There may be others as well. I think you will remove more if you configure your own build by using make menuconfig and deselect "Enable IPv6 support in packages" under "Global build settings".

I will try to remove odhcpd-ipv6only and report back

I also disabled these ones here in the .config file to free up some space

# CONFIG_KERNEL_CRASHLOG is not set
# CONFIG_KERNEL_DEBUG_INFO is not set
# CONFIG_KERNEL_DEBUG_KERNEL is not set
# CONFIG_PACKAGE_kmod-ppp is not set
# CONFIG_PACKAGE_ppp is not set

But I want to save a little bit more space to add abilities for a usb 3g-modem (kmod-usb-serial-option usb-modeswitch luci-proto-3g). It still don't fit with my config. :confused:

You could try skipping usb-modeswitch and luci-proto-3g, or use kmod-usb-net-rndis instead of those modules. Also, disabling PACKAGE_MAC80211_MESH if you don't need mesh support will save about 29 KB and disabling PACKAGE_MAC80211_DEBUGFS about 22 KB.

1 Like

I don't get a dhcpipv6 lease now but in luci the entry is still present
image

Is there really no way to have a prebuild minimal/lite/tiny image (without ipv6, ppp and e.g. debugging things) for our 4MB flash thingies without having a second degree in openwrt studies? It would be much better than providing a working minimal image then the buggy/broken images. Really...

Everything was so nice till 17.x. Even the provided images worked out of the box the good old days. Nowadays you start with a broken image from the official openwrt download page, then you figure out you need to download few hundred megs of image builder software and dependencies and a lot's of research, digging and debugging :slightly_frowning_face:

1 Like

There is, but nobody has considered it worth the effort. One tiny build would only hit a limited audience. Some want it to have everything but IPv6, some want mesh, some want ppp and some want 3G. It's always been like this for the lowest end devices. Those with a 1 MB flash router were probably disappointed when the first version of OpenWrt required 2 MB flash.

You can't say you weren't warned. From https://openwrt.org/supported_devices/432_warning which contains, among other warnings:

4MB devices can't fit anything noteworthy unless you use the Image Generator (Image Builder) (that requires a Linux system and some mild experience) or use Extroot. Experienced users creating custom builds may be able to Saving firmware space, but many packages won't ever fit no matter what you do.

32 MB can work for minimal router/AP functions, but may repeatedly “crash”, depending on your hardware and use case

Users that are not expert users of OpenWrt (those that can build their own images) should consider

16/64 as an absolute minimum for any device, with at least 128 MB of RAM being preferred.

Users should expect that devices with less than 16 MB of flash and/or 64 MB of RAM may be unstable in basic operation under current versions of OpenWrt (17.X, 18.X). They should further expect that support for the device may be dropped at any time and that security patches/updates to the kernel, drivers, and/or application software will not be available. While there is no warranty of ongoing support for any device under OpenWrt, those with insufficient resources are at great risk for “end of support”.

With that "end of support" of many 4/32 devices imminent, you might want to consider replacing a device from 2010 with any one of the many inexpensive devices (US$20 or less) that will have a longer lifespan and save you from spending so much time to get basic functionality. The better of these newer devices likely will far outperform your current device.

I run on 4M/32M ramips A5V11 even 1MB application Oscam, absolutelly stable, i use CC15.05.1

1 Like

Which is known to be insecure and vulnerable to a large number of exploits, as it has been out of active support for years at this point. These vulnerabilities and exploits include the kernel, third-party application software, as well as the protocols themselves, such as 802.11. They cannot be resolved through patches due to the age of the kernel. Kernel 3.18, even though LTS, hit end-of-life in January 2017, nearly two years ago.

No problem, thought it is possible the probability is zero to misuse router

If your wireless is on, then, unless you're in a Faraday cage or alone on a desert island, you're vulnerable. Same with connection to the Internet.

Mathematically speaking: it is possible /maybe but too many compicated things to overcome like no space left in device.../ to penetrate but probability is 0,000000000000000
And i would like to meet such expert personally, my wifi is behind providers NAT and my data comes on mobile phone number not on IP address
So any router is safe and i do not know anyone/never heard that it really happened unless malicious code was installed in factory or by user, never heard it to be installed because of vunerability, thera are milli0ns of different hardwares that it is not possible to develop virus that would spread over millions different machine codes and platforms
Jeff, sleep well and do not exaggarate

1 Like

And i also run on A5V11 softether.org project, look on internet what it is, i am sure nobody else in this world managed to do this, space left 0 bytes

1 Like

Is there any (critical) updates planned for Lede 17.01? Or are there any know (critical) flaws with Lede 17.01? Till when is the used kernel supported?

I'm totally against throwing things away just for obsolescence - and in this case it's a software obsolescence which is even worst. My devices survived already the EOS (software wise) from the manufacture and got a second live with openwrt and lede. Now things happening again and I should throw things away which are technically working and are perfectly doing there job. For sure the kernel get's bigger and we need to strip things down to get some spare bytes but I really don't understand why there is no lite/tiny version for these devices were for e.g. debugging stuff, ipv6 and ppp is not included by default. If this would be directly provided from the maintainers from openwrt who do this lite/tiny branch I guess my devices good for another 10 years. Probably we are talking about some tons(!) of device here

The size of the base install of OpenWrt has more than doubled in the 12 years since it started so I don't think that's a very good guess. More like another 2 years. The reason why not is that nobody who can do it thinks it worth the effort, and nobody who wants it enough can do it themselves. If you really want it then you need to do it yourself or pay someone else to do it..

"Waaaa, Microsoft EOLed Windows NT, Windows 2000, and Windows XP, now I can't run any software on my Pentium 90"

I think you need to come back to reality.

Remember 56k modems? Yeah, that's the world you're talking about. That technology first came to market in 1997, standardized in 1998, and generally available through ISPs c. 2000. Today gigabit speeds are available to home consumers even more widely than 56k modems were at that time.

By the way, have you noticed that your DIR-615 only has 100BASE-T Ethernet? No software magic can fix that. Have you noticed that current computers are shipping with 10GigE (yes, 10 gigabit) Ethernet?

I would much rather "the maintainers" focus on devices that support current users, especially when current devices are available for less than what many people spend on their morning coffee in a week.

Edit:

By the way

Jettisoning IPv6 seems like a size-reduction method that is not generally applicable, how is say ds-lite going to work on such a device?

and here's a professional response to the reality that 4/32 devices are not supportable for general use

I still have a bunch of Old Foneras and some TP-Link 703N and TL-MR11U
battery powered micro-routers.
The foneras are kinda useless, but the TP-Links are somewhat usefull
and I still use them with OpenWRT.

What other inexpensive routers would you sugest to substitute the ones
from TP-Link I just cited?

Jeff, it is totally oposit! All software i have /pcb design, vhdl design, simply speaking all useful soft/ runs best only on wxp, that i still use
No need to upgrade so far, let other people do testers, not me

What for 1gb network cards? I am in Austria and normal people at home can not even utilize 100mb devices! Maximum speed for internet i have 5mbit
I pay 10euro for 9gb monthly, no neef to overpay things

1 Like

The reality is that you can probably run a recent linux on your pentium machine with ease. Just think of it's wise if compare the power usage and the performance outcome for it. Maybe your 5 year old phone has a much better ratio - but this is a different chapter.

Luckily the reality is not trumplandia :trumpet:

Thank's for that information - I know my device and didn't try to hack my 100mbit/s ports to 1000mbit/s ones yet :man_facepalming: Maybe you should give a look outside of your filter bubble. There are probably many millions who have access to broadband and gigabit and some even to 10-gigabit networks. But there a billions out there who don't have it! In most part's of the world you are forced to stick with 3G - sometimes only 2G networks.

But anyway I'm think you are the wrong one for this topic. I just drop two articles for you:

1 Like

Thanks, great quote, sums up my points perfectly

Obsolescence frequently occurs because a replacement has become available that has, in sum, more advantages compared to the disadvantages incurred by maintaining or repairing the original.

Your DIR-615 is obsolete as there are more advantages to replacing it than there are in attempting to maintain it.

Yes i agree with dirlede, jeff, we have at work internet with peak speeds download 40Mbit , what for 1Gbit devices the hell? This world 99% is living now with less than 10Mbit! Very often drops down this "garanteed" speed to 1Mbit
Jeff, can you try banwidthplace.com? Select the server far from you what spped you have? I have now from Vienna download from Frankfurt 2Mbit download!!

1 Like