ser2net has 2 config files, if I understand correctly.
- /etc/config/ser2net
- /etc/ser2net.conf
What should be defined in one or the other config file?
ser2net has 2 config files, if I understand correctly.
What should be defined in one or the other config file?
I just checked the init script here: On start of the service, the init script reads /etc/ser2net.conf
and copies it to /tmp/ser2net.conf
. Then it appends all entries configured in /etc/config/ser2net
to this temporary file and launches ser2net with the file in /tmp
.
Using UCI and/or LuCI, you can only edit /etc/config/ser2net
.
I would put all values that UCI/LuCI understand into /etc/config/ser2net
, since that's OpenWrt's way of configuring services.
There is no need to edit /etc/ser2net.conf unless you'd rather configure in native format. By default /etc/ser2net.conf is only comments, so it does nothing. The UCI system will generate a temporary .conf by parsing the options in /etc/config/ser2net. This is explained in ser2net.conf
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.