Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 05:56 PM   #1
aperturec
Junior Member
aperturec began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2026
Device: K4NT, PW3
[K4NT] KDB: A Minimalist E-Ink Dashboard + K4NT Zero-Compromise Wi-Fi Takeover

Hi everyone,

I want to share a little project I’ve been working on to breathe some new life into our legacy devices, specifically the K4NT. It is called KDB (Kindle Desktop Dashboard), a highly optimized, offline-capable smart display for weather, calendar, and sticky notes, relying on RTC for deep sleep to squeeze out battery life.

While building this, I ran into the classic K4NT networking headache: connecting to modern Wi-Fi networks without the native wifid daemon panicking or dropping the connection. I ended up implementing a rather robust, zero-compromise network takeover encapsulated in Lua and Shell, which I thought might interest the developers here.

To achieve this without triggering system instability, the script freezes the native network manager using a killall -STOP wifid signal. Once the native daemon is asleep, KDB directly commands wpa_supplicant via wpa_cli to associate with the network. Since the native DHCP is also frozen, the script manually invokes udhcpc. If that fails, it mathematically derives and injects a dynamic IPv4 gateway via the route command.

Handling DNS on a read-only filesystem was another fun challenge. The script constructs a custom resolv.conf with reliable public DNS in /tmp, and dynamically injects it over the system's DNS file using a Linux mount bind. Finally, if DNS resolution still times out, the system falls back to a direct IPv4 request to the API.

My original code is written under the MIT license, but to respect and inherit the upstream libraries I used, the overall project is distributed under AGPL-3.0. You can check out the source code and the gallery here:
https://github.com/yuxiao1231/kindle-dashboard

I just wanted to drop this here in case anyone finds the network bypass approach or the dashboard useful. I am not very active on the forums or checking GitHub issues, so please feel free to fork the repo, explore the code, and tinker with it however you like. Have fun!
aperturec is offline   Reply With Quote
Reply

Tags
k4nt


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
K4nt for k3 3G Smartie Which one should I buy? 12 06-06-2014 09:59 PM
K4NT vs. the New $69 Kindle AintLDS Amazon Kindle 94 10-04-2012 07:42 PM
Cyrillic on the K4NT? Ivoch Amazon Kindle 2 09-09-2012 12:01 PM
Help with my K4NT MemorableCactus Kindle Developer's Corner 7 06-11-2012 01:02 AM
Troubleshooting K4NT Keep rebooting ilvnet Amazon Kindle 3 02-26-2012 01:18 PM


All times are GMT -4. The time now is 11:40 AM.


MobileRead.com is a privately owned, operated and funded community.