riptidewave93 / UNVR-NAS

Convert your Unifi UNVR/UNVR Pro into a Debian OpenMediaVault NAS Appliance
73 stars 3 forks source link

Replace ubnthal kernel module #8

Closed riptidewave93 closed 4 months ago

riptidewave93 commented 5 months ago

Right now we load in Unifi's proprietary ubnthal kernel module, which seems to parse out information stored in /dev/mtd4 (EEPROM).

Because we need this information, we should look at either:

I am leaning twords the first, since our goal should be to remove all unifi proprietary components from the firmware as soon as possible.

riptidewave93 commented 4 months ago

Now that ubnteeprom is merged as part of https://github.com/riptidewave93/UNVR-NAS/pull/9 we are getting closer to being able to remove this, but we also need to complete https://github.com/riptidewave93/UNVR-NAS/issues/6 before we can do this unless we wanna write our own mock kernel module for this data (we can do this, but ugh I hate this idea)

riptidewave93 commented 4 months ago

In https://github.com/riptidewave93/UNVR-NAS/pull/11 we move more to ubnteeprom, final thing we need to do to kill ubnthal is https://github.com/riptidewave93/UNVR-NAS/issues/6, and look into our own custom kernel module to make sure we set the mtd partitions RO (may not be needed).

riptidewave93 commented 4 months ago

Ended up adding a module for kernel RO, we can call this done as we don't load ubnthal anymore! :partying_face: :tada: