Commit Graph

9 Commits

Author SHA1 Message Date
Tobias Mueller
3e686c79d3 bridge blue merle functionality to the Web
This follows the pattern of opkg. I took the luci-app-opkg package and
tried to follow its behaviour.
2023-10-16 12:35:55 +02:00
Tobias Mueller
4c29fe2732 removing v3 patches
The switch doesn't work yet but "uci  get switch-button.@main[0].func"
gets the currently active configured action for button.
I guess that /etc/rc.button/switch is called on every press of the
button.
2023-10-16 12:25:19 +02:00
Tobias Mueller
843ddf9e7d switch: attempt to react to the hardware button
I don't know whether this works. On the v4 firmware, we can see files in
/etc/gl-switch.d but I don't know yet how the system determines which
file to choose. I assume it's dependend on the "page" of the display.
But I haven't figured out yet how or rather where those pages are
organised.
2023-10-16 12:14:00 +02:00
Tobias Mueller
1a17e06a12 MAC address removal for v4 firmware
I have rsynced the whole device before associating with a new device and
after. The only file that got modified was /etc/oui-tertf/client.db.
We intend to have it stored in memory rather than on flash. This should
be okay since the kernel also holds the MAC addresses in memory.
2023-10-16 12:09:00 +02:00
Tobias Mueller
9c9ab738ac functions: Remove unsued restore function
This is not referenced anywhere so I guess that we don't need it.
2023-10-16 12:04:46 +02:00
Tobias Mueller
61a7466117 initial PoC for a Web interface 2023-10-16 11:53:08 +02:00
Tobias Mueller
da1a2f071c luci: first customisation of the Web UI
This is a very small baby step towards our own page.
2023-10-13 13:13:30 +02:00
Tobias Mueller
75b1291e00 vendorise upstream opkg app
This is for experimenting with building a LuCI app.
I hope we can take this as a base and extend it to our needs.
The source is
https://github.com/openwrt/luci/raw/openwrt-22.03/applications/luci-app-opkg/htdocs/luci-static/resources/view/opkg.js
2023-10-13 12:48:20 +02:00
kantorkel
cb4d73731f Initial commit 2022-10-21 10:14:38 +02:00