Hi, I'm respinning openwrt 19.07 from source (problems with nftables, that I need to get to the bottom of, and problem seems ion source).
Anyway respan a 19.07 upgrade, with much additional enabled in the kernel, and firewall disabled in the main menuconfig. Flashed the new openwrt.
It brings up the LAN fine, but its failing to bring up the ADSL wan, it gives the error:
Fri Jan 24 12:48:59 2020 daemon.err insmod: module is already loaded - slhc
Fri Jan 24 12:48:59 2020 daemon.err insmod: module is already loaded - ppp_generic
Fri Jan 24 12:48:59 2020 daemon.err insmod: module is already loaded - pppox
Fri Jan 24 12:48:59 2020 daemon.err insmod: module is already loaded - pppoatm
Fri Jan 24 12:49:00 2020 daemon.info pppd[21613]: Plugin pppoatm.so loaded.
Fri Jan 24 12:49:00 2020 daemon.info pppd[21613]: PPPoATM plugin_init
Fri Jan 24 12:49:00 2020 daemon.info pppd[21613]: PPPoATM setdevname_pppoatm - SUCCESS:0.38
Fri Jan 24 12:49:00 2020 daemon.notice pppd[21613]: pppd 2.4.7 started by root, uid 0
Fri Jan 24 12:49:00 2020 daemon.err pppd[21613]: connect(0.38): No such device
Fri Jan 24 12:49:00 2020 daemon.info pppd[21613]: Exit.
Fri Jan 24 12:49:00 2020 daemon.notice netifd: Interface 'wan' is now down
Now guess I've made a simple mistake, but will probably take some time for me to dig into it. SO to speed up the process, does anyone know what I did wrong?
Yes I was leaning between that, and it not being able to load the than lantiq firmware.
Just going through another recompile, based on the kernel config in the release 19.07; where only changes have been switching on all nf tables and netfilter options, and enabling usbnet and cdc_ether.
So hopefully I shouldn't touch anything that creates devices. Is it easy to find which device pppd is trying to connect to?
Well its ADSL that gives the WAN. So I expect it to be a serial port, rather than ethernet. Yes 0.38 is correct - its what I used for the last 15 years or so here in the UK, and was the setting before the reflash.
Ah yes - /etc/config/network says its dsl0 - so I guess /dev/dsl0, which I don't have. Hopefully the recompile will give the missing option. Anyway whilst the compile makes it way, I'll check the original kernel config, and see what it defined along the lines of a lantiq serial connection for ADSL ....
bus mtd2 network_latency
console mtd2ro network_throughput
cpu_dma_latency mtd3 null
dsl_cpe_api0 mtd3ro port
full mtd4 ppp
gpiochip0 mtd4ro ptmx
gpiochip1 mtd5 pts
gptu mtd5ro random
hwrng mtd6 shm
kmsg mtd6ro tty
log mtdblock0 ttyLTQ0
mei_cpe mtdblock1 ubi_ctrl
memory_bandwidth mtdblock2 urandom
mtd0 mtdblock3 watchdog
mtd0ro mtdblock4 zero
mtd1 mtdblock5
mtd1ro mtdblock6
The rebuild is still ongoing, looks like it starting again from scratch almost (probably because I added things like nftables to the image, and the various libraries needed ...)
Anyway now I'm back in released 19.07 I dig some more into the atomic replace problems with nftables. I suspect it some iptable nat kernel still left in the kernel ....