Closed DaniilTroshkovTII closed 11 months ago
FYI
root@br_hardened:~# cat /opt/0_mesh.conf
ROLE=sleeve
MSVERSION=nats
id0_MODE=ap+mesh_scc
id0_IP=192.168.1.2
id0_MASK=255.255.255.0
id0_MAC=00:11:22:33:44:55
id0_KEY=1234567890
id0_ESSID=test_mesh
id0_FREQ=5220
id0_FREQ_MCC=2412
id0_TXPOWER=5
id0_COUNTRY=FI
id0_ROUTING=batman-adv
id0_PRIORITY=long_range
id0_MESH_VIF=halow1
id0_MPTCP=disable
id0_BATMAN_IFACE=bat0
id0_BRIDGE='br-lan bat0 eth1 lan1 eth0 usb0'
id0_SLAAC='usb0 halow1'
root@br_hardened:~#
ERROR :: KeyError features field in config
This error because MDM server is not yet delivering this field in the JSON. That Error can be ignored now.
Also id0_SLAAC needs to be defined in mesh_start.sh which creates default config.
Is the actual usage of SLAAC parameter in some other files which are not delivered in this PR?
Here is (in this PR) MDM SLAAc integration (Merge to mdm_client
branch)
And here is a general SLAAC integration in develop
: https://github.com/tiiuae/mesh_com/pull/346
Is the actual usage of SLAAC parameter in some other files which are not delivered in this PR?
yes it has done here: https://github.com/tiiuae/tc_distro/pull/158/files
I have tested this changes as follow:
I only have doubt related to this last
2023-11-16 09:16:29,160 :: comms.controller :: ERROR :: KeyError features field in config
. I will check soon if it is because of my fixes, and if does, how can I fix it. So I will do some more test but now I am creating this PR because it is basically what Mika asked and maybe there will be some more notes and ideas. Also, Mika, if you have any ideas on thisERROR :: KeyError features field in config
please share.On server side I just used this patch for testing:
I will create PR accordingly as soon as I get credentials from Seb.