I'm trying to build myself an image, adding my own packages. But Is too overhelming for a novice...
I can see the menuconfig, but I'm totally unsure about what selecting and what not. Too much options and I don't want to break anything.
Maybe someone can make a guide, step by step, about what to select to create an image with the basic (luci and NSS)? I suppose that after that, adding more packages will be easy. Or if someone can simply paste this default .config will be great.
And a question, after booting into the router, we need to add some extra configuration to "start" the nss driver, or it will be on by default? I've seen some strange commands in the thread that I don't understand.
has anyone noticed that the nss core1 doesn't get any ipv4 traffic?
also only the core1 nss_queue0 interrupt has any counters over 0
admitedly it could be that I am running nss on the qnap ? with a nss dts designed for the ax3600 ... or it could be by design that the core 1 is doing some kind of buffering mgmt
I'm getting errors in builds even when using .config file from bitthief. I managed to built couple of images about a week ago, after that problems. I have started from scratch in new directory.
@bitthief can you rebase your branch against openwrt master? I'm having some strange errors while building your branch that I don't have with master.
There is a new kernel version too.
Thanks!
EDIT: I've just seen that @bitthief just rebased it yesterday. I will test the new code. Thanks!
Same situation, learning by bricking (almost). I managed to create almost functioning build for AX9000 with bitthiefs .config. Today I try to refine the build by adding the QCN6024/9024/9074 radio and stripping not needed packages and applications. The basic nss drivers start automaticallly imo
I'm trying to generate a simply GitHub action, similar you the one that robimarko used on his builds. In this way is easier to customize it adding some packages and github will simply build it. And I don't need to mess with a big menu full of options. I will report if I get to something.
I saw a new commit in bitthief's repositoriy today, and now I have completed the compilation, but a warning about the SHA512 Bug appeared before the compilation ended, which should be fine. I can't wait to try it!
The new commit adds the compile option of kmod-qca-nss-drv, if there are errors about kmod-qca-nss-drv and qca-nss-client when compiling, please consider this. Here is my choice, for your reference.
I think I'm far from there. I'm trying first to build a version without any of the NSS modules. The default packages adding only luci and full wpad. With master OpenWrt this compiles. With bitthief branch it fails.
I was able to successfully compile using yesterday's sources, and using this config: https://pastebin.com/ZEBjmnam
During tests I've found out (all default settings) :
extra network is propagated (don't know where it came from) 169.254.0.0/16 trough all interfaces
also temporary IP is not released from wan: (fibre to ethernet converter):
ip address show wan
#ip a s wan
3: wan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
inet 85.ZZ.XX.AA/24 brd 85.ZZ.XX.255 scope global wan
valid_lft forever preferred_lft forever
inet 85.ZZ.XX.BB/24 brd 85.ZZ.XX.255 scope global secondary dynamic noprefixroute wan
valid_lft 1271sec preferred_lft 1046sec
inet6 fe80::e762:aba5:8147:4cb6/64 scope link
valid_lft forever preferred_lft forever
during that -> no internet access at all until lifetime won't expire
when connect to router via wireless 5GHz and 2,4GHz on intel 8265, I've noticed that ssh connection is frequently dropped same as WiFi
latency (ICMP) increased for almost 2ms on WiFi and 1ms on wired.
when bring up wireguard interface -> all connection from lan to internet gone.
When distance from router is increasing count of dropped/wrong packet is increased - behind 2 walls - speed is going very low (without nss it goes from 300Mbit to 180Mbit, with NSS to 2-3Mbit)
I'm pretty sure that I must do something wrong.. as above doesn't exist on clean build without NSS.
I didn't know about the -f parameter. I think this can be useful on local build, but I'm building on a Github Action, with a new Virtual Machine each time, so I don't think this can't make a difference.
I think I've found the reason why I can't build and others have no problem. I was building ALL the IPQ807x targets, and others only build one target, for example the AX3600. The error is being produced compiling some bluetooth drivers, I think remember that some IPQ807x target has added bluetooth support recently. So I modified:
@bitthief are you aware of this? do you build for all targets? OpenWrt master seems to build for all of them, but your branch fails if I try to build for all. Building for AX3600 for example seems ok.
When I get to something, I can push a PR to @bitthief repo with the Github Action that builds for all and in this way you will have a way to check it at least, if interested.
EDIT: the build has failed again, a lot later than before, but has failed.