Modify

Opened 2 years ago

Last modified 22 months ago

#20522 new defect

Chaos Calmer 15.05 final on DIR-615 E4 — Wi-Fi non-functional (missing packages)

Reported by: octopus Owned by: developers
Priority: high Milestone: Chaos Calmer 15.05
Component: base system Version: Trunk
Keywords: wifi, wi-fi, final, cc, chaos calmer, e4, dir615, dir-615, 15.05 Cc:

Description

This issue had its roots in RC3 at least: /ticket/20207.html.
People figured out why it’s not working—the build is missing kmod-ath9k, kmod-ath9k-common and wpad-mini (maybe something else), however, there is no space to install them.

Attachments (0)

Change History (10)

comment:1 Changed 2 years ago by anonymous

You do have some options to run CC 15.05, each one however has a caveat:

1) Run the DIR 600-A1 CC 15.05 firmware in https://downloads.openwrt.org since both have similar hardware; You get LuCI and Ath9k drivers, in exchange for peak wireless throughput being nerfed and LED configuration being weird. Don't worry, it is completely stable. I ran this set up for a week in WDS Client mode and it had no dropped connections or any oddities whatsoever.

2) Modify some source files so that it copies the MTD layout for DIR 600-A1 CC 15.05; You get LuCI and Ath9k drivers, in exchange for a seriously unstable router that constantly crashes when more than 2 clients connect to it wirelessly (I've done this before and I had to Emergency Room flash to revert it).

3) Build DIR 615-E4 15.05 from source, configuring it without LuCI; You get stable performance and Ath9k drivers and the other stuff you're missing. LED configuration is perfect. You will lack the LuCI GUI as a trade-off and I don't know how important it is to you. This is my build based on r46943 (no packages whatsoever except those that are essential): https://www.mediafire.com/folder/0rmbu3847bpc2/Chaos_Calmer_15.05_Release_DIR_615-E4

https://i.imgur.com/P3C3fqD.png

Bottom Line: 4MB of Flash space isn't enough for the DIR 615-E4 to run Chaos Calmer any more. Barrier Breaker is the last build the fully supports this router. Better start learning up on the Command Line Interface if you want to use Chaos Calmer.

comment:2 Changed 2 years ago by anonymous

Maybe we can change compression method of fs to fit all required packages?

comment:3 follow-up: Changed 2 years ago by anonymous

I'm pretty sure that the file system that is in use right now, SquashFS gives us the maximum compression that is possible.

See: http://wiki.openwrt.org/doc/techref/filesystems#squashfs

We could change the compression algorithm from LZMA to something else, but that would take a lot of work. It may also cause the router to use up more CPU cycles to decompress the files if we use a much more aggressive algorithm.

If you are really desperate for the ability to install more packages, you could try the DIR 615 E1-E4 USB port mode as outlined here: http://wiki.openwrt.org/toh/d-link/dir-615/ex-usb
Following that, you can then use ExtRoot as shown by the guide here: http://wiki.openwrt.org/doc/howto/extroot

comment:4 Changed 2 years ago by anonymous

Can some rarely used packages (IPv6, Dropbear, etc.) be safely removed so the router can have original firmware-like functionality and enough space for WiFi packages without getting rid of LuCI?

comment:5 Changed 2 years ago by anonymous

I don't think you can do that. In Chaos Calmer at least, IPv6 will be required by LuCI.

Honestly, just run the DIR 600 A1 firmware. It is the most viable alternative for your needs.

comment:6 in reply to: ↑ 3 Changed 2 years ago by anonymous

Replying to anonymous:

I'm pretty sure that the file system that is in use right now, SquashFS gives us the maximum compression that is possible.

See: http://wiki.openwrt.org/doc/techref/filesystems#squashfs

We could change the compression algorithm from LZMA to something else, but that would take a lot of work. It may also cause the router to use up more CPU cycles to decompress the files if we use a much more aggressive algorithm.

Instead of using other algorithm , perhaps gzip -9 --best if its not being already enabled.
It only need a little bit more to enable the wireless driver

comment:7 Changed 2 years ago by anonymous

Another method could be explore is to use Zopfli

https://en.wikipedia.org/wiki/Zopfli

comment:8 Changed 2 years ago by bittorf@…

the user "anonymous" is right:
https://lists.openwrt.org/pipermail/openwrt-devel/2015-September/036117.html

btw: it *is* possible to have LuCI on this device with 4mb.
play with menuconfig.

comment:9 Changed 2 years ago by anonymous

Can someone please update the table list here:
https://wiki.openwrt.org/toh/start?dataflt[Model*~]=615
So that DIR-615 isn't listed against 15.05,

I installed it and then wasted hours until I found this bug report that there isn't enough space to support Wifi !

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.