From DB email on 10/2/2023:
So if you set in /etc/dahdi/system.conf:
nethdlc=X << Where X is 1 or more channels you want in HDLC mode
Then on running dahdi_cfg:
DAHDI_CHANCONFIG failed on channel 72: Function not implemented (38)
Because of in:
include/dahdi/config.h you have:
dahdi_config.h: * Uncomment CONFIG_DAHDI_NET to enable SyncPPP, CiscoHDLC, and Frame Relay
dahdi_config.h://#define CONFIG_DAHDI_NET
If we uncomment that, then on make we get:
/usr/src/dahdi-linux-3.2.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_net_ioctl’:
/usr/src/dahdi-linux-3.2.0/drivers/dahdi/dahdi-base.c:2164:32: error: passing argument 2 of ‘hdlc_ioctl’ from incompatible pointer type [-Werror=incompatible-pointer-types]
2164 | return hdlc_ioctl(dev, ifr); // , cmd);
| ^~~
| |
| struct ifreq *
I seem to recall that was just the start of the problems. This is DAHDI-Linux 3.2.0, on 5.15.0, this changed somewhere between Kernel 3.17 and 5.15+ to be if_settings. I recall starting to fix this in the past, and it becoming a monster undertaking.
You must be