After migration from TOS 5.3.5 to TOS 6 my wireguard configuration stopped working and /var/log/messages is full of errors. Configuration in /etc/config/network that was perfectly fine for TOS 5.3.5 became useles. Were there any syntax change in the format of /etc/config/network for TOS 6 ?
LUCI wireguard section is also empty and does not show anything
my /etc/config/network wireguard config
config interface ‘wg0’
option proto ‘wireguard’
option private_key ‘CP/------------------------------------eJ2c=’
option listen_port ‘51820’
list addresses ‘192.168.245.1/24’
error statements in /var/log/messages
Feb 26 16:43:45 omnia netifd: Interface ‘wg0’ is setting up now
Feb 26 16:43:45 omnia netifd: wg0 (11443): Error: Unknown device type.
Feb 26 16:43:45 omnia netifd: wg0 (11443): Unable to modify interface: Protocol not supported
Feb 26 16:43:50 omnia netifd: Interface ‘wg0’ is now down
Feb 26 16:43:50 omnia netifd: Interface ‘wg0’ is setting up now
Feb 26 16:43:51 omnia netifd: wg0 (11669): Error: Unknown device type.
Feb 26 16:43:51 omnia netifd: wg0 (11669): Unable to modify interface: Protocol not supported
Feb 26 16:43:56 omnia netifd: Interface ‘wg0’ is now down
Feb 26 16:43:56 omnia netifd: Interface ‘wg0’ is setting up now
Feb 26 16:43:56 omnia netifd: wg0 (11889): Error: Unknown device type.
Feb 26 16:43:56 omnia netifd: wg0 (11889): Unable to modify interface: Protocol not supported
Feb 26 16:44:01 omnia netifd: Interface ‘wg0’ is now down
Feb 26 16:44:01 omnia netifd: Interface ‘wg0’ is setting up now
Feb 26 16:44:01 omnia netifd: wg0 (12113): Error: Unknown device type.
Feb 26 16:44:01 omnia netifd: wg0 (12113): Unable to modify interface: Protocol not supported
Feb 26 16:44:07 omnia netifd: Interface ‘wg0’ is now down
Feb 26 16:44:07 omnia netifd: Interface ‘wg0’ is setting up now
Feb 26 16:44:07 omnia netifd: wg0 (12345): Error: Unknown device type.
Feb 26 16:44:07 omnia netifd: wg0 (12345): Unable to modify interface: Protocol not supported
How ? all config is done in /etc/config/network file and up is part of my file related to wireguard config. It is working perfectly under TOS 5.3.5 on my Turris 1x but when moved to TOS 6 on omnia (without any changes) it does not work at all.
Yesterday I spend some time config wireguard under TOS 6.0.1 kernel 5.15.74.
But i can not configure my wg interface. That seems like unsuported type of interface. I can not choose wireguard from list menu.