I am looking at compiling OpenWRT for my UniFi 6+ and I would like to include only what I need. I’ve never compiled before so this is something new for me. I have read some of the documentation and have setup a compiler VM on my Proxmox server to do just that. Specs are 4 vCPU cores and 8GB of RAM. I’m hoping maybe someone could help guide me with what I am trying do. I am more than willing to learn and research, I just need someone to steer me in the right direction and answer any questions I have. If DM’ing is easier, I’m all for it.
Basically I would just need the functions of an AP and be able to implement Dynamic PSK. No odhcpd, firewall, dnsmasq, or anything else I don't need (I have the aforementioned items disabled so I assume I can build without them?). Just trying to make it as light as possible while retaining only the functions I need. If it's not possible to build an image without those items above, please let me know. Again, compiling is new tome but I would love to learn more.
So I believe I am. I am using this article as a base to follow. I have cloned to my build-vm and switched to the 24.10 branch, updated the feeds and was able to load the make menuconfig. From there is where I need a little guidance on what to do next. There are a lot of options and I just want to make sure I get it right. I want to make sure I build for the correct device, which would be mediatek/filogic.
I would like to have LuCI (GUI) installed but not sure what packages I need. Looks like there are a lot to choose from. As of now I have the image installed on my device with all the default packages installed, including LuCI. Since I will be removing a few and adding one in particular, do I still need to install LuCI or is it already included in the image by default?
I did find another command to show all the packages installed on the current image I have installed. I do see a bunch of other LuCI packs installed aside from luci and luci-ssl (see below).
Since I am removing the packages I mentioned above, I assume I could remove those LuCI packages that look to be related to them? IE; luci-app-firewall, etc.
I vaguely remember that some packages can't be removed using the image builder and you'd have to use the full SDK to change that. But you can experiment and see for yourself.
So I was able to create a customized image. Had a couple issues after installing but got most figured out for now. However I'm getting s SSL error when trying to update the package list in LuCI.
When adding the no-check-certificate option in the opkg configuration, I am able to update the package list. So it seems like I am missing an SSL package in my image. Would anyone know what package I need to install? I am choosing the correct image in Image Builder so it pulls the default packages. Below is a list if what I remove and add when running the build.
Ok I got everything working the way I want. Excluded/included specific packages, disabled specific services on start, things are working great so far.
I do have another question....I think I saw this in the article I referenced earlier in the thread so not sure I can do this in image builder, but is there any way to be able to change the default IP address so it matches my own subnet? I plan on buying one more of these APs so wanted to see if I could just have it set after I do the initial flash from stock UniFi firmware.
Awesome! I am looking thru it now and I was able to see the default files in /rom/etc/uci-defaults. I will look this over so I can get a better idea on how to correctly configure those files.
Just wanted to say thanks to everyone here who helped me out, especially you @Dante. Thanks for the info, the guidance, and patience while I learned this. I have never done anything like this but have always wanted to. This will make things easier for me in the future. Now I will need to do that same thing for my NetGear R7800 that is running as a dumb AP (which will be replaced with the other UniFi6Plus I will be purchasing soon), since it is running on the previous branch.
Ok another question, sorry....I have enabled roaming (802.11r) on both my APs (one is an R7800 configured as a dumb AP and the other is the UniFi6Plus that I just flashed). When I had the default firmware installed (the one you download from the table of hardware), my iPhone was able to switch from 1 AP to the other without any issue. Since creating my custom image in image builder, my iPhone won't switch over. Is there a specific package I need to install for this? I would think it's installed by default by not sure.