This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Change the network settings of the logic machine by script
#5
(23.07.2019, 11:04)admin Wrote: You can change network configuration like this, reboot is required afterwards:
Code:
require('uci')
uci.set('network', 'lan', 'ipaddr', '192.168.1.2')
uci.commmit('network')

Other possible configuration values apart from ipaddr are gateway, dns, netmask.

This is still both a security and reliability issue. If client configures any parameters incorrectly then the device won't be reachable at all. I don't see how changing IP addresses improves security.

Would it be possible to change BACnet settings as well, BACnet ID, port etc?
There are 10 kinds of people in the world; those who can read binary and those who don't  Cool
Reply


Messages In This Thread
RE: Change the network settings of the logic machine by script - by Trond Hoyem - 14.04.2023, 10:12

Forum Jump: